]> Creatis software - clitk.git/blobdiff - tools/clitkAffineTransformGenericFilter.txx
With ITKv5, change VectorResample and VectorCast Image Filter to Resample and Cast...
[clitk.git] / tools / clitkAffineTransformGenericFilter.txx
index a3ec42038e431c41c909550e5ed6b4c6f2eaf70f..c1fe88a40f4d06d6a94ba34983cc3f958cad1ade 100644 (file)
@@ -711,7 +711,11 @@ namespace clitk
     }
 
     //Filter
+#if ( ITK_VERSION_MAJOR < 5 )
     typedef  itk::VectorResampleImageFilter< InputImageType,OutputImageType, double >  ResampleFilterType;
+#else
+    typedef  itk::ResampleImageFilter< InputImageType,OutputImageType, double >  ResampleFilterType;
+#endif
     typename ResampleFilterType::Pointer resampler = ResampleFilterType::New();
 
     // Matrix