X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2Ffpa%2FImage%2FRegionGrowWithMultipleThresholds.h;h=3bcc7db7abe21be0dd71ff75f491b0cf396c47da;hb=58beec8ea1d7265ffa6a8842f6a56fc3c0706524;hp=409b18bb90895d8e65c4a70b303f604f6be3891e;hpb=c9880eac7f555da20538eb0eb95aa7e31fab3d51;p=FrontAlgorithms.git diff --git a/lib/fpa/Image/RegionGrowWithMultipleThresholds.h b/lib/fpa/Image/RegionGrowWithMultipleThresholds.h index 409b18b..3bcc7db 100644 --- a/lib/fpa/Image/RegionGrowWithMultipleThresholds.h +++ b/lib/fpa/Image/RegionGrowWithMultipleThresholds.h @@ -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;