]> Creatis software - cpPlugins.git/commitdiff
Accessors added to gaussian model estimator
authorLeonardo Florez-Valencia <florez-l@javeriana.edu.co>
Fri, 27 Mar 2015 22:43:18 +0000 (17:43 -0500)
committerLeonardo Florez-Valencia <florez-l@javeriana.edu.co>
Fri, 27 Mar 2015 22:43:18 +0000 (17:43 -0500)
lib/cpPlugins/Extensions/Algorithms/IterativeGaussianModelEstimator.h

index 3e604d27b9d4e633f5578c8a61c668af68ea15ae..148fee9d9bffedf4dc52cedfb03b8bd254810091 100644 (file)
@@ -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;