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:
TYPbPrFunction m_YPbPrFunction;
unsigned long m_ModelSupport;
+ unsigned long m_RealModelSupport;
mutable bool m_Estimating;
};