|
ITK
5.2.0
Insight Toolkit
|
Go to the documentation of this file.
18 #ifndef itkExpectationMaximizationMixtureModelEstimator_h
19 #define itkExpectationMaximizationMixtureModelEstimator_h
21 #include <ITKStatisticsExport.h>
47 extern ITKStatistics_EXPORT std::ostream &
85 template <
typename TSample>
131 SetSample(
const TSample * sample);
143 GetInitialProportions()
const;
147 GetProportions()
const;
155 GetMembershipFunctionsWeightsArray()
const;
162 SetMaximumIteration(
int numberOfIterations);
165 GetMaximumIteration()
const;
171 return m_CurrentIteration;
176 AddComponent(ComponentType * component);
180 GetNumberOfComponents()
const;
187 #if !defined(ITK_LEGACY_REMOVE)
195 GetTerminationCode()
const;
200 GetComponentMembershipFunction(
int componentIndex)
const;
211 PrintSelf(std::ostream & os,
Indent indent)
const override;
214 CalculateDensities();
217 CalculateExpectation()
const;
220 UpdateComponentParameters();
233 int m_MaxIteration{ 100 };
234 int m_CurrentIteration{ 0 };
247 #ifndef ITK_MANUAL_INSTANTIATION
248 # include "itkExpectationMaximizationMixtureModelEstimator.hxx"
ComponentVectorType m_ComponentVector
base class for distribution modules that supports analytical way to update the distribution parameter...
Decorates any "simple" data type (data types without smart pointers) with a DataObject API.
MembershipFunctionVectorObjectPointer m_MembershipFunctionsObject
ProportionVectorType m_Proportions
MembershipFunctionBase defines common interfaces for membership functions.
Control indentation during Print() invocation.
ITKStatistics_EXPORT std::ostream & operator<<(std::ostream &out, const ExpectationMaximizationMixtureModelEstimatorEnums::TERMINATION_CODE value)
typename MembershipFunctionsWeightsArrayObjectType::Pointer MembershipFunctionsWeightsArrayPointer
This class generates the parameter estimates for a mixture model using expectation maximization strat...
std::vector< MembershipFunctionPointer > MembershipFunctionVectorType
Light weight base class for most itk classes.
MembershipFunctionsWeightsArrayPointer m_MembershipFunctionsWeightArrayObject
int GetCurrentIteration()
ProportionVectorType m_InitialProportions
typename MembershipFunctionType::ConstPointer MembershipFunctionPointer
Contains all enum classes used by ExpectationMaximizationMixtureModelEstimator class.
typename MembershipFunctionVectorObjectType::Pointer MembershipFunctionVectorObjectPointer
GaussianMembershipFunction models class membership through a multivariate Gaussian function.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
typename TSample::MeasurementType MeasurementType
Base class for most ITK classes.
typename GaussianMembershipFunctionType::Pointer GaussianMembershipFunctionPointer
std::vector< ComponentType * > ComponentVectorType
typename TSample::MeasurementVectorType MeasurementVectorType