// We create an interpolator of the found type
typename InterpolatorType::Pointer interpolator = InterpolatorType::New();
filter->SetInterpolator( interpolator );
+printf("EED ResampleImageFilter NearestNeighbor \n");
}
else if ( bbGetInputInterpolation() == "BSpline") {
+printf("EED ResampleImageFilter BSpline \n");
typedef itk::BSplineInterpolateImageFunction < ImageType, double > InterpolatorType;
// We create an interpolator of the found type
typename InterpolatorType::Pointer interpolator = InterpolatorType::New();
} //end else if
// Interpolation
else { // if ( bbGetInputInterpolation() == "Linear" ) {
+printf("EED ResampleImageFilter Linear \n");
typedef itk::LinearInterpolateImageFunction < ImageType, double > InterpolatorType;
// We create an interpolator of the found type
typename InterpolatorType::Pointer interpolator = InterpolatorType::New();