From ff7bc7bab634e15b2e7d8ac18cd19285710626c6 Mon Sep 17 00:00:00 2001 From: schaerer Date: Thu, 8 Apr 2010 15:18:08 +0000 Subject: [PATCH] fix the remaining things for release. The fix for resample is just a hack, should be fixed --- vv/qt_ui/vvMainWindow.ui | 4 ++-- vv/vvToolResample.cxx | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) 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); -- 2.45.1