X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=tools%2FclitkVFResampleGenericFilter.h;h=027be39d5d4014ea9fa90b135f4b94deb4b38553;hb=998ca9ca987553dc71578e5584e881f6bd537d91;hp=b98d2008c9a87b8ccf7408a852a1432566299d51;hpb=65aef3ac46440b21894dd0b360acaaabb906bea8;p=clitk.git diff --git a/tools/clitkVFResampleGenericFilter.h b/tools/clitkVFResampleGenericFilter.h old mode 100755 new mode 100644 index b98d200..027be39 --- a/tools/clitkVFResampleGenericFilter.h +++ b/tools/clitkVFResampleGenericFilter.h @@ -3,7 +3,7 @@ Authors belong to: - University of LYON http://www.universite-lyon.fr/ - - Léon Bérard cancer center http://oncora1.lyon.fnclcc.fr + - Léon Bérard cancer center http://www.centreleonberard.fr - CREATIS CNRS laboratory http://www.creatis.insa-lyon.fr This software is distributed WITHOUT ANY WARRANTY; without even @@ -14,7 +14,7 @@ - BSD See included LICENSE.txt file - CeCILL-B http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html -======================================================================-====*/ +===========================================================================**/ #ifndef CLITKIMAGERESAMPLEGENERICFILTER_H #define CLITKIMAGERESAMPLEGENERICFILTER_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"