X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=tools%2FclitkVFResampleGenericFilter.h;h=027be39d5d4014ea9fa90b135f4b94deb4b38553;hb=998ca9ca987553dc71578e5584e881f6bd537d91;hp=b4068826b072bcd22d355fa49a73eeede0ad517e;hpb=a9a144f59b821751d19a41bd7b8e5bc6d6ff7a01;p=clitk.git diff --git a/tools/clitkVFResampleGenericFilter.h b/tools/clitkVFResampleGenericFilter.h index b406882..027be39 100644 --- a/tools/clitkVFResampleGenericFilter.h +++ b/tools/clitkVFResampleGenericFilter.h @@ -39,10 +39,16 @@ #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"