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;
};
} // ecapseman
+#ifndef ITK_MANUAL_INSTANTIATION
#include <fpa/Image/Functors/GaussianModelEstimatorFunction.hxx>
+#endif // ITK_MANUAL_INSTANTIATION
#endif // __FPA__IMAGE__FUNCTORS__GAUSSIANMODELESTIMATORFUNCTION__H__