From cb38f7928cd818697312a23a37c2ed1929da464d Mon Sep 17 00:00:00 2001 From: Leonardo Florez-Valencia Date: Fri, 27 Mar 2015 17:43:18 -0500 Subject: [PATCH] Accessors added to gaussian model estimator --- .../Extensions/Algorithms/IterativeGaussianModelEstimator.h | 3 +++ 1 file changed, 3 insertions(+) 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; -- 2.47.1