]> Creatis software - clitk.git/blobdiff - tools/clitkVFResampleGenericFilter.h
With ITKv5, change VectorResample and VectorCast Image Filter to Resample and Cast...
[clitk.git] / tools / clitkVFResampleGenericFilter.h
index b4068826b072bcd22d355fa49a73eeede0ad517e..027be39d5d4014ea9fa90b135f4b94deb4b38553 100644 (file)
 #include "itkImageSeriesReader.h"
 #include "itkImageFileWriter.h"
 #include "itkRecursiveGaussianImageFilter.h"
+#if ( ITK_VERSION_MAJOR < 5 )
 #include "itkVectorResampleImageFilter.h"
-#include "itkAffineTransform.h"
 #include "itkVectorNearestNeighborInterpolateImageFunction.h"
 #include "itkVectorLinearInterpolateImageFunction.h"
+#else
+#include "itkResampleImageFilter.h"
+#include "itkNearestNeighborInterpolateImageFunction.h"
+#include "itkLinearInterpolateImageFunction.h"
+#endif
+#include "itkAffineTransform.h"
 #include "itkBSplineInterpolateImageFunction.h"
 #include "itkBSplineInterpolateImageFunctionWithLUT.h"
 #include "itkCommand.h"