X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=itk%2FclitkReconstructThroughDilationImageFilter.txx;h=8e30eb39e6dbb4efeae79b8a6493d1094a4d22d0;hb=8f2913259ad3f434058ed0360f66f04820051b82;hp=d2d3d31f5eae738967a25afef41635be3df0ec62;hpb=0d181563607d9b97bc296cfab1ab5f2bb69c3db9;p=clitk.git diff --git a/itk/clitkReconstructThroughDilationImageFilter.txx b/itk/clitkReconstructThroughDilationImageFilter.txx index d2d3d31..8e30eb3 100644 --- a/itk/clitkReconstructThroughDilationImageFilter.txx +++ b/itk/clitkReconstructThroughDilationImageFilter.txx @@ -1,3 +1,20 @@ +/*========================================================================= + Program: vv http://www.creatis.insa-lyon.fr/rio/vv + + Authors belong to: + - University of LYON http://www.universite-lyon.fr/ + - Léon Bérard cancer center http://www.centreleonberard.fr + - CREATIS CNRS laboratory http://www.creatis.insa-lyon.fr + + This software is distributed WITHOUT ANY WARRANTY; without even + the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR + PURPOSE. See the copyright notices for more information. + + It is distributed under dual licence + + - BSD See included LICENSE.txt file + - CeCILL-B http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html +===========================================================================*/ #ifndef clitkReconstructThroughDilationImageFilter_txx #define clitkReconstructThroughDilationImageFilter_txx @@ -51,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;