]> Creatis software - FrontAlgorithms.git/blobdiff - lib/fpa/Image/Functors/GaussianModelEstimatorFunction.h
Gaussian estimation region grow updated
[FrontAlgorithms.git] / lib / fpa / Image / Functors / GaussianModelEstimatorFunction.h
index 10178033fe397f77f8967ba5be99ddc96566446d..e3cabfe34387b3e2ee27b712de786e00b00694a1 100644 (file)
@@ -33,9 +33,12 @@ namespace fpa
         itkTypeMacro( GaussianModelEstimatorFunction, itkFunctionBase );
 
         itkGetConstMacro( ModelSupport, unsigned long );
-        itkSetMacro( ModelSupport, unsigned long );
 
       public:
+        bool SaveModelToFile( const std::string& filename ) const;
+        bool LoadModelFromFile( const std::string& filename );
+
+        virtual void SetModelSupport( const unsigned long& s );
         virtual bool Evaluate( const typename I::PixelType& rgb ) const;
 
       protected:
@@ -52,6 +55,7 @@ namespace fpa
         TYPbPrFunction m_YPbPrFunction;
 
         unsigned long m_ModelSupport;
+        unsigned long m_RealModelSupport;
         mutable bool m_Estimating;
       };