X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=itk%2FclitkReconstructThroughDilationImageFilter.txx;h=8e30eb39e6dbb4efeae79b8a6493d1094a4d22d0;hb=05736c934c5ecc1c43179f93db6aa778272d5aa9;hp=82e28e6e6c421be11de171eae8a1b7733791b30e;hpb=765020625fbc092d283e221e36c83e60a1844cb7;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;