X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2Ffpa%2FBase%2FFunctors%2FGaussianModel.h;h=8d32f51de050d0fc4ee26f4a32dbc2f4aedd9e7b;hb=40fb0405cfef444001429f8ba49c407ce9168a94;hp=f147b26a3ab8c42e7caae835340e8028a2e7c0fe;hpb=ea46079b5aef76c1782648ed23e70ea944649635;p=FrontAlgorithms.git diff --git a/lib/fpa/Base/Functors/GaussianModel.h b/lib/fpa/Base/Functors/GaussianModel.h index f147b26..8d32f51 100644 --- a/lib/fpa/Base/Functors/GaussianModel.h +++ b/lib/fpa/Base/Functors/GaussianModel.h @@ -35,15 +35,17 @@ namespace fpa itkNewMacro( Self ); itkTypeMacro( GaussianModel, itk::FunctionBase ); - itkGetConstMacro( SupportSize, unsigned int ); - itkGetConstMacro( MinimumCost, TOutput ); - itkGetObjectMacro( Model, TModel ); - itkGetConstObjectMacro( Model, TModel ); - itkSetMacro( SupportSize, unsigned int ); - itkSetMacro( MinimumCost, TOutput ); + /* TODO + itkGetConstMacro( SupportSize, unsigned int ); + itkGetConstMacro( MinimumCost, TOutput ); + itkGetObjectMacro( Model, TModel ); + itkGetConstObjectMacro( Model, TModel ); + itkSetMacro( SupportSize, unsigned int ); + itkSetMacro( MinimumCost, TOutput ); + */ public: - virtual TOutput Evaluate( const TInput& x ) const fpa_OVERRIDE; + virtual TOutput Evaluate( const TInput& x ) const override; protected: GaussianModel( ); @@ -55,9 +57,14 @@ namespace fpa Self& operator=( const Self& other ); protected: - unsigned int m_SupportSize; - TOutput m_MinimumCost; - typename TModel::Pointer m_Model; + /* TODO + unsigned int m_SupportSize; + TOutput m_MinimumCost; + typename TModel::Pointer m_Model; + */ + mutable double m_S1; + mutable double m_S2; + mutable unsigned long m_N; }; } // ecapseman