]> Creatis software - FrontAlgorithms.git/blobdiff - lib/fpa/Image/RegionGrowWithMultipleThresholds.h
Some more debug... almost there
[FrontAlgorithms.git] / lib / fpa / Image / RegionGrowWithMultipleThresholds.h
index 41fba37baae72af994d8b7881600a8e30f0f504c..b4c3e4e536480c084c1ba040fa3120c3918e99fc 100644 (file)
@@ -2,7 +2,9 @@
 #define __FPA__IMAGE__REGIONGROWWITHMULTIPLETHRESHOLDS__H__
 
 #include <map>
+#include <set>
 #include <fpa/Image/RegionGrowWithMultipleCriteria.h>
+#include <fpa/Image/Functors/RegionGrowThresholdFunction.h>
 
 namespace fpa
 {
@@ -28,6 +30,9 @@ namespace fpa
       typedef typename Superclass::TMembershipFunction TMembershipFunction;
       typedef typename Superclass::TFunctions          TFunctions;
 
+      typedef std::set< TPixel >                                     TThresholds;
+      typedef fpa::Image::Functors::RegionGrowThresholdFunction< I > TFunction;
+
     protected:
       typedef typename TBaseAlgorithm::_TNode _TNode;
 
@@ -59,6 +64,7 @@ namespace fpa
       void operator=( const Self& );                   // Not impl.
 
     protected:
+      TThresholds m_Thresholds;
       double m_DerivativeThreshold;
       THistogram m_Histogram;
     };