X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=vv%2FvvToolResample.cxx;h=403775e8c917477bf7c048d1f119ce09145b4709;hb=b24d2dc847c898f19fe694c8e05878c27d5f8011;hp=f9b7a4a25d61fbbda6261140e3d1a14ead4bb98b;hpb=1e034c70105f0926939acaaa27ddb46e904ae8bf;p=clitk.git diff --git a/vv/vvToolResample.cxx b/vv/vvToolResample.cxx index f9b7a4a..403775e 100644 --- a/vv/vvToolResample.cxx +++ b/vv/vvToolResample.cxx @@ -136,7 +136,7 @@ void vvToolResample::InputIsSelected(vvSlicerManager* m) mInputFileName = mCurrentSlicerManager->GetFileName().c_str(); // Set current information - mPixelType = mCurrentImage->GetScalarTypeAsString().c_str(); + mPixelType = mCurrentImage->GetScalarTypeAsITKString().c_str(); //ds ComponentType = mCurrentImageGetNumberOfScalarComponents(); mDimension = mCurrentImage->GetNumberOfDimensions(); @@ -413,7 +413,7 @@ void vvToolResample::UpdateInterpolation() bSplineOrderSpinBox->show(); bLUTFactorLabel->hide(); bLUTSpinBox->hide(); - } else if (interpolationComboBox->currentText() == "B-LUT (faster BSpline)") { + } else if (interpolationComboBox->currentText() == "Blut (faster BSpline)") { bSplineLabel->show(); bSplineOrderSpinBox->show(); bLUTFactorLabel->show(); @@ -464,7 +464,7 @@ void vvToolResample::apply() if (interpolationComboBox->currentText() == "BSpline") mFilter->SetBSplineOrder(bSplineOrderSpinBox->value()); - else if (interpolationComboBox->currentText() == "B-LUT (faster BSpline)") { + else if (interpolationComboBox->currentText() == "Blut (faster BSpline)") { mFilter->SetInterpolationName("blut"); mFilter->SetBSplineOrder(bSplineOrderSpinBox->value()); mFilter->SetBLUTSampling(bLUTSpinBox->value());