]> Creatis software - FrontAlgorithms.git/blobdiff - lib/fpa/Image/Functors/Base.h
...
[FrontAlgorithms.git] / lib / fpa / Image / Functors / Base.h
index 607b7c3b3fc025244106449c862c7b6debe70cfe..45bd84635afa5ad8b84a5e9bfa85320724a8c794 100644 (file)
@@ -3,6 +3,7 @@
 
 #include <fpa/Config.h>
 #include <itkFunctionBase.h>
+#include <itkImageBase.h>
 
 namespace fpa
 {
@@ -28,8 +29,8 @@ namespace fpa
       public:
         itkTypeMacro( Base, itk::FunctionBase );
 
-        itkGetConstObjectMacro( Image, TImageBase );
-        itkSetConstObjectMacro( Image, TImageBase );
+        itkGetConstObjectMacro( Image, TImage );
+        itkSetConstObjectMacro( Image, TImage );
 
       protected:
         Base( ) : Superclass( ) { }
@@ -41,7 +42,7 @@ namespace fpa
         Self& operator=( const Self& other );
 
       protected:
-        typename TImageBase::ConstPointer m_Image;
+        typename TImage::ConstPointer m_Image;
       };
 
     } // ecapseman