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 >
122 itkSetObjectMacro(TrainingImage, TrainingImageType);
123 itkGetModifiableObjectMacro(TrainingImage, TrainingImageType);
129 virtual void PrintSelf(std::ostream & os,
Indent indent)
const ITK_OVERRIDE;
136 void operator=(const Self &) ITK_DELETE_FUNCTION;
144 InputImagePixelType::Dimension);
161 #ifndef ITK_MANUAL_INSTANTIATION 162 #include "itkImageGaussianModelEstimator.hxx" TTrainingImage::Pointer TrainingImagePointer
ImageRegionIterator< TTrainingImage > TrainingImageIterator
virtual void PrintSelf(std::ostream &os, Indent indent) const override
TInputImage InputImageType
ImageModelEstimatorBase< TInputImage, TMembershipFunction > Superclass
MatrixType * m_Covariance
virtual void EstimateModels() override
TInputImage::ConstPointer InputImageConstPointer
void GenerateData() override
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes...
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
static const unsigned int VectorDimension
SmartPointer< Self > Pointer
void EstimateGaussianModelParameters()
~ImageGaussianModelEstimator()
ImageGaussianModelEstimator()
A multi-dimensional iterator templated over image type that walks a region of pixels.
TrainingImagePointer m_TrainingImage
ImageRegionConstIterator< TTrainingImage > TrainingImageConstIterator
Control indentation during Print() invocation.
TInputImage::PixelType InputImagePixelType
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
MatrixType m_NumberOfSamples
TMembershipFunction MembershipFunctionType