X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=tools%2FclitkAffineTransformGenericFilter.txx;h=c1fe88a40f4d06d6a94ba34983cc3f958cad1ade;hb=021fc5db0afce1915a208fbc0eb7c269ebff3129;hp=a3ec42038e431c41c909550e5ed6b4c6f2eaf70f;hpb=babf100c0d140f6b2525532d001b7794fb47a625;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