From: Leonardo Florez-Valencia Date: Fri, 27 Mar 2015 22:43:18 +0000 (-0500) Subject: Accessors added to gaussian model estimator X-Git-Tag: v0.1~408 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=cb38f7928cd818697312a23a37c2ed1929da464d;p=cpPlugins.git Accessors added to gaussian model estimator --- diff --git a/lib/cpPlugins/Extensions/Algorithms/IterativeGaussianModelEstimator.h b/lib/cpPlugins/Extensions/Algorithms/IterativeGaussianModelEstimator.h index 3e604d2..148fee9 100644 --- a/lib/cpPlugins/Extensions/Algorithms/IterativeGaussianModelEstimator.h +++ b/lib/cpPlugins/Extensions/Algorithms/IterativeGaussianModelEstimator.h @@ -46,6 +46,9 @@ namespace cpPlugins itkTypeMacro( IterativeGaussianModelEstimator, itkObject ); public: + const unsigned long& GetNumberOfSamples( ) const + { return( this->m_N ); } + template< class V, class M > void GetModel( V& m, M& E ) const;