X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=tools%2FclitkAffineTransformGenericFilter.txx;fp=tools%2FclitkAffineTransformGenericFilter.txx;h=c1fe88a40f4d06d6a94ba34983cc3f958cad1ade;hb=998ca9ca987553dc71578e5584e881f6bd537d91;hp=a3ec42038e431c41c909550e5ed6b4c6f2eaf70f;hpb=a9a144f59b821751d19a41bd7b8e5bc6d6ff7a01;p=clitk.git diff --git a/tools/clitkAffineTransformGenericFilter.txx b/tools/clitkAffineTransformGenericFilter.txx index a3ec420..c1fe88a 100644 --- a/tools/clitkAffineTransformGenericFilter.txx +++ b/tools/clitkAffineTransformGenericFilter.txx @@ -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