18 #ifndef itkImageGaussianModelEstimator_h
19 #define itkImageGaussianModelEstimator_h
24 #include "vnl/vnl_vector.h"
25 #include "vnl/vnl_matrix.h"
26 #include "vnl/vnl_matrix_fixed.h"
28 #include "vnl/algo/vnl_matrix_inverse.h"
74 template<
typename TInputImage,
75 typename TMembershipFunction,
76 typename TTrainingImage >
129 virtual
void PrintSelf(std::ostream & os,
Indent indent) const ITK_OVERRIDE;
132 void GenerateData() ITK_OVERRIDE;
142 itkStaticConstMacro(VectorDimension,
unsigned int,
145 MatrixType m_NumberOfSamples;
147 MatrixType *m_Covariance;
154 virtual
void EstimateModels() ITK_OVERRIDE;
156 void EstimateGaussianModelParameters();
160 #ifndef ITK_MANUAL_INSTANTIATION
161 #include "itkImageGaussianModelEstimator.hxx"
TTrainingImage::Pointer TrainingImagePointer
ImageRegionIterator< TTrainingImage > TrainingImageIterator
Light weight base class for most itk classes.
TInputImage InputImageType
ImageModelEstimatorBase< TInputImage, TMembershipFunction > Superclass
TInputImage::ConstPointer InputImageConstPointer
TTrainingImage TrainingImageType
ImageRegionIterator< TInputImage > InputImageIterator
ImageRegionConstIterator< TInputImage > InputImageConstIterator
TInputImage::SizeType InputImageSizeType
Base class for model estimation from images used for classification.
vnl_matrix< double > MatrixType
SmartPointer< Self > Pointer
A multi-dimensional iterator templated over image type that walks a region of pixels.
const unsigned int Dimension
ImageRegionConstIterator< TTrainingImage > TrainingImageConstIterator
Control indentation during Print() invocation.
TInputImage::PixelType InputImagePixelType
ImageBaseType::SizeType SizeType
TMembershipFunction::Pointer MembershipFunctionPointer
TInputImage::Pointer InputImagePointer
Base class for ImageGaussianModelEstimator object.
ImageGaussianModelEstimator Self
TTrainingImage::ConstPointer TrainingImageConstPointer
A multi-dimensional iterator templated over image type that walks a region of pixels.
SmartPointer< const Self > ConstPointer
TTrainingImage::PixelType TrainingImagePixelType
TMembershipFunction MembershipFunctionType