+// -------------------------------------------------------------------------
+template< class I, class S >
+bool fpa::Image::Functors::GaussianModelEstimatorFunction< I, S >::
+SaveModelToFile( const std::string& filename ) const
+{
+ this->m_Estimator->SaveModelToFile( filename );
+}
+
+// -------------------------------------------------------------------------
+template< class I, class S >
+bool fpa::Image::Functors::GaussianModelEstimatorFunction< I, S >::
+LoadModelFromFile( const std::string& filename )
+{
+ this->m_Estimator->LoadModelFromFile( filename );
+ this->m_RealModelSupport =
+ this->m_ModelSupport + this->m_Estimator->GetNumberOfSamples( );
+ this->m_Estimating = false;
+ this->Modified( );
+}
+
+// -------------------------------------------------------------------------
+template< class I, class S >
+void fpa::Image::Functors::GaussianModelEstimatorFunction< I, S >::
+SetModelSupport( const unsigned long& s )
+{
+ this->m_ModelSupport = s;
+ this->m_RealModelSupport = s;
+ this->Modified( );
+}
+