]> Creatis software - FrontAlgorithms.git/blobdiff - lib/fpa/Image/RegionGrowWithMultipleThresholds.h
Some visualizaton added
[FrontAlgorithms.git] / lib / fpa / Image / RegionGrowWithMultipleThresholds.h
index 409b18bb90895d8e65c4a70b303f604f6be3891e..3bcc7db7abe21be0dd71ff75f491b0cf396c47da 100644 (file)
@@ -40,7 +40,12 @@ namespace fpa
       itkNewMacro( Self );
       itkTypeMacro( RegionGrowWithMultipleThresholds, RegionGrow );
 
+      itkGetConstMacro( InsideValue, TPixel );
+      itkGetConstMacro( OutsideValue, TPixel );
       itkGetConstMacro( DifferenceThreshold, double );
+
+      itkSetMacro( InsideValue, TPixel );
+      itkSetMacro( OutsideValue, TPixel );
       itkSetMacro( DifferenceThreshold, double );
 
     public:
@@ -68,6 +73,8 @@ namespace fpa
 
     protected:
       TThresholds m_Thresholds;
+      TPixel m_InsideValue;
+      TPixel m_OutsideValue;
       double m_DifferenceThreshold;
       THistogram m_Histogram;
       unsigned long m_TotalCount;