]> 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 202d04e8fcadf4ed0b1bf4a62d5b5521dfe348d7..3ac1701452ff8c5a703bbe569e4e482e994f5d63 100644 (file)
@@ -198,6 +198,7 @@ QString vvToolResample::GetSizeInBytes(std::vector<int> & size) {
         result += QString::number(t);
         result += " KB)";
     }
+    else result += ")";
     return result;
 }
 //====================================================================
@@ -428,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);