]> Creatis software - clitk.git/blobdiff - vv/vvToolResample.cxx
fix the remaining things for release. The fix for resample is just a hack, should...
[clitk.git] / vv / vvToolResample.cxx
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);