]> Creatis software - clitk.git/commitdiff
fix the remaining things for release. The fix for resample is just a hack, should...
authorschaerer <schaerer>
Thu, 8 Apr 2010 15:18:08 +0000 (15:18 +0000)
committerschaerer <schaerer>
Thu, 8 Apr 2010 15:18:08 +0000 (15:18 +0000)
vv/qt_ui/vvMainWindow.ui
vv/vvToolResample.cxx

index 7f880c22c3690dd84aae2b1a859bef485132e5a2..55054fefd6716639ebac4cb14a33a81275861bdb 100644 (file)
      <string>Tools</string>
     </property>
     <addaction name="actionMaximum_Intensity_Projection"/>
-    <addaction name="actionCompute_mid_position_image"/>
    </widget>
    <widget class="QMenu" name="menuExperimental">
     <property name="title">
     <addaction name="actionDeformable_Registration"/>
     <addaction name="actionSegmentation"/>
     <addaction name="actionWarp_image_with_vector_field"/>
+    <addaction name="actionCompute_mid_position_image"/>
    </widget>
    <addaction name="menuFile"/>
    <addaction name="menuOverlay"/>
   </action>
   <action name="actionWarp_image_with_vector_field">
    <property name="text">
-    <string>Warp image with vector field</string>
+    <string>Verify Registration</string>
    </property>
   </action>
   <action name="actionMaximum_Intensity_Projection">
index cfd7f994b2c23ebb165bb56f663388d86b4ad853..3ac1701452ff8c5a703bbe569e4e482e994f5d63 100644 (file)
@@ -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);