X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=itk%2FclitkReconstructThroughDilationImageFilter.txx;h=8e30eb39e6dbb4efeae79b8a6493d1094a4d22d0;hb=e0561dae1fa08ae95f620029a50de7a370e55d04;hp=82e28e6e6c421be11de171eae8a1b7733791b30e;hpb=573d80d0f7a17607d2ee883c21c940c0ba020282;p=clitk.git diff --git a/itk/clitkReconstructThroughDilationImageFilter.txx b/itk/clitkReconstructThroughDilationImageFilter.txx index 82e28e6..8e30eb3 100644 --- a/itk/clitkReconstructThroughDilationImageFilter.txx +++ b/itk/clitkReconstructThroughDilationImageFilter.txx @@ -68,7 +68,11 @@ namespace clitk typedef itk::StatisticsImageFilter StatisticsImageFilterType; typedef itk::BinaryBallStructuringElement KernelType; typedef clitk::ConditionalBinaryDilateImageFilter ConditionalBinaryDilateImageFilterType; +#if ITK_VERSION_MAJOR >= 4 + typedef itk::Testing::ComparisonImageFilter DifferenceImageFilterType; +#else typedef itk::DifferenceImageFilter DifferenceImageFilterType; +#endif typedef itk::CastImageFilter OutputCastImageFilterType; typedef clitk::SetBackgroundImageFilter SetBackgroundImageFilterType;