]> Creatis software - clitk.git/blobdiff - itk/clitkReconstructThroughDilationImageFilter.txx
Remove ITK3 and ITK4.2 tests and dependencies
[clitk.git] / itk / clitkReconstructThroughDilationImageFilter.txx
index 8e30eb39e6dbb4efeae79b8a6493d1094a4d22d0..de290f96c1ae05f534a1a7e3e13603ab66e0a9c8 100644 (file)
@@ -68,11 +68,7 @@ namespace clitk
     typedef itk::StatisticsImageFilter<InternalImageType> StatisticsImageFilterType;
     typedef itk::BinaryBallStructuringElement<InternalPixelType,InputImageDimension > KernelType;
     typedef clitk::ConditionalBinaryDilateImageFilter<InternalImageType, InternalImageType , KernelType> ConditionalBinaryDilateImageFilterType;
-#if ITK_VERSION_MAJOR >= 4
     typedef itk::Testing::ComparisonImageFilter<InternalImageType, InternalImageType> DifferenceImageFilterType;
-#else
-    typedef itk::DifferenceImageFilter<InternalImageType, InternalImageType> DifferenceImageFilterType;
-#endif
     typedef itk::CastImageFilter<InternalImageType, OutputImageType> OutputCastImageFilterType;
     typedef clitk::SetBackgroundImageFilter<InternalImageType, InternalImageType, InternalImageType> SetBackgroundImageFilterType;