]> Creatis software - cpPlugins.git/blobdiff - lib/cpExtensions/Algorithms/ImageToBoundingBoxFromThreshold.h
Cast image filter added. ROI filter modified.
[cpPlugins.git] / lib / cpExtensions / Algorithms / ImageToBoundingBoxFromThreshold.h
index 5b7d84f57ef7ed85d6402ce663b9ba57b52d83e7..b970df46e46c1064d67c9f74a3efe85b0da85ea3 100644 (file)
@@ -6,6 +6,7 @@
 #define __cpExtensions__Algorithms__ImageToBoundingBoxFromThreshold__h__
 
 #include <itkObject.h>
+#include <itkObjectFactory.h>
 
 namespace cpExtensions
 {
@@ -36,11 +37,13 @@ namespace cpExtensions
       itkGetConstMacro( LowerThreshold, TPixel );
       itkGetConstMacro( UpperThreshold, TPixel );
       itkGetConstMacro( Region, TRegion );
+      itkGetConstMacro( PAD, unsigned int );
 
       itkSetConstObjectMacro( Image, TImage );
       itkSetMacro( LowerThreshold, TPixel );
       itkSetMacro( UpperThreshold, TPixel );
       itkSetMacro( Region, TRegion );
+      itkSetMacro( PAD, unsigned int );
 
     public:
       void Compute( );
@@ -59,6 +62,7 @@ namespace cpExtensions
       TPixel m_LowerThreshold;
       TPixel m_UpperThreshold;
       TRegion m_Region;
+      unsigned int m_PAD;
     };
 
   } // ecapseman