18#ifndef itkImageGaussianModelEstimator_h
19#define itkImageGaussianModelEstimator_h
25#include "vnl/vnl_vector.h"
26#include "vnl/vnl_matrix.h"
27#include "vnl/vnl_matrix_fixed.h"
29#include "vnl/algo/vnl_matrix_inverse.h"
76template <
typename TInputImage,
typename TMembershipFunction,
typename TTrainingImage>
164#ifndef ITK_MANUAL_INSTANTIATION
165# include "itkImageGaussianModelEstimator.hxx"
typename TTrainingImage::Pointer TrainingImagePointer
ImageModelEstimatorBase< TInputImage, TMembershipFunction > Superclass
void PrintSelf(std::ostream &os, Indent indent) const override
ImageGaussianModelEstimator Self
~ImageGaussianModelEstimator() override=default
void EstimateModels() override
typename TInputImage::Pointer InputImagePointer
TInputImage InputImageType
typename TInputImage::ConstPointer InputImageConstPointer
typename TTrainingImage::PixelType TrainingImagePixelType
ImageRegionIterator< TInputImage > InputImageIterator
typename TInputImage::SizeType InputImageSizeType
ImageRegionConstIterator< TInputImage > InputImageConstIterator
typename TMembershipFunction::Pointer MembershipFunctionPointer
ImageGaussianModelEstimator()=default
void EstimateGaussianModelParameters()
typename TTrainingImage::ConstPointer TrainingImageConstPointer
static constexpr unsigned int VectorDimension
MatrixType m_NumberOfSamples
ImageRegionConstIterator< TTrainingImage > TrainingImageConstIterator
typename TInputImage::PixelType InputImagePixelType
TTrainingImage TrainingImageType
TMembershipFunction MembershipFunctionType
SmartPointer< const Self > ConstPointer
ImageRegionIterator< TTrainingImage > TrainingImageIterator
void GenerateData() override
TrainingImagePointer m_TrainingImage
vnl_matrix< double > MatrixType
SmartPointer< Self > Pointer
std::unique_ptr< MatrixType[]> m_Covariance
ImageModelEstimatorBase()
A multi-dimensional iterator templated over image type that walks a region of pixels.
A multi-dimensional iterator templated over image type that walks a region of pixels.
Control indentation during Print() invocation.
Implements transparent reference counting.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....