From: schaerer Date: Thu, 8 Apr 2010 15:18:08 +0000 (+0000) Subject: fix the remaining things for release. The fix for resample is just a hack, should... X-Git-Tag: v1.2.0~730 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=ff7bc7bab634e15b2e7d8ac18cd19285710626c6;p=clitk.git fix the remaining things for release. The fix for resample is just a hack, should be fixed --- diff --git a/vv/qt_ui/vvMainWindow.ui b/vv/qt_ui/vvMainWindow.ui index 7f880c2..55054fe 100644 --- a/vv/qt_ui/vvMainWindow.ui +++ b/vv/qt_ui/vvMainWindow.ui @@ -810,7 +810,6 @@ Tools - @@ -820,6 +819,7 @@ + @@ -1026,7 +1026,7 @@ - Warp image with vector field + Verify Registration diff --git a/vv/vvToolResample.cxx b/vv/vvToolResample.cxx index cfd7f99..3ac1701 100644 --- a/vv/vvToolResample.cxx +++ b/vv/vvToolResample.cxx @@ -429,6 +429,7 @@ void vvToolResample::apply() { sigma.push_back(xGaussianLineEdit->text().toDouble()); sigma.push_back(yGaussianLineEdit->text().toDouble()); if (mDimension > 2) sigma.push_back(zGaussianLineEdit->text().toDouble()); + if (mDimension == 4) sigma.push_back(0.01); //FIXME Don't filter along the temporal direction mFilter->SetOutputSize(mOutputSize); mFilter->SetOutputSpacing(mOutputSpacing);