]> Creatis software - clitk.git/commitdiff
itk4 migration
authorVivien Delmon <vivien.delmon@creatis.insa-lyon.fr>
Tue, 17 May 2011 08:06:24 +0000 (10:06 +0200)
committerVivien Delmon <vivien.delmon@creatis.insa-lyon.fr>
Tue, 17 May 2011 08:06:24 +0000 (10:06 +0200)
- Function namespace renamed into Functor in itkMinimumImageFilter.h

itk/RelativePositionPropImageFilter.h

index 93a3aa303541299be87153742d1eb0c538a03f3e..11797e78d72ed449edddafc67d1873f7b2a1a3d1 100644 (file)
@@ -80,11 +80,18 @@ namespace itk
    *   
    *   This filter is implemented using the propagation algorithm
    */
+
+#if ITK_VERSION_MAJOR == 4
+  template <class TInputImage, class TOutputImage, class TtNorm=Functor::Minimum<
+                                                     typename TOutputImage::PixelType,
+                                                     typename TOutputImage::PixelType,
+                                                     typename TOutputImage::PixelType>  >
+#else
   template <class TInputImage, class TOutputImage, class TtNorm=Function::Minimum<
                                                      typename TOutputImage::PixelType,
                                                      typename TOutputImage::PixelType,
                                                      typename TOutputImage::PixelType>  >
+#endif
   class ITK_EXPORT RelativePositionPropImageFilter :
     public ImageToImageFilter< TInputImage, TOutputImage > 
   {