18 #ifndef itkExpectationMaximizationMixtureModelEstimator_h
19 #define itkExpectationMaximizationMixtureModelEstimator_h
60 template<
typename TSample >
174 virtual void PrintSelf(std::ostream & os,
Indent indent)
const ITK_OVERRIDE;
205 #ifndef ITK_MANUAL_INSTANTIATION
206 #include "itkExpectationMaximizationMixtureModelEstimator.hxx"
const ProportionVectorType & GetInitialProportions() const
SimpleDataObjectDecorator< MembershipFunctionVectorType > MembershipFunctionVectorObjectType
MembershipFunctionType::ConstPointer MembershipFunctionPointer
ComponentMembershipFunctionType * GetComponentMembershipFunction(int componentIndex) const
Light weight base class for most itk classes.
std::vector< ComponentType * > ComponentVectorType
GaussianMembershipFunctionType::Pointer GaussianMembershipFunctionPointer
const TSample * GetSample() const
double CalculateExpectation() const
std::vector< MembershipFunctionPointer > MembershipFunctionVectorType
GaussianMembershipFunction< MeasurementVectorType > GaussianMembershipFunctionType
int GetMaximumIteration() const
int GetCurrentIteration()
MembershipFunctionBase< MeasurementVectorType > ComponentMembershipFunctionType
SimpleDataObjectDecorator< ProportionVectorType > MembershipFunctionsWeightsArrayObjectType
void SetSample(const TSample *sample)
int AddComponent(ComponentType *component)
bool CalculateDensities()
void SetMaximumIteration(int numberOfIterations)
TSample::MeasurementVectorType MeasurementVectorType
unsigned int GetNumberOfComponents() const
const MembershipFunctionVectorObjectType * GetOutput() const
MembershipFunctionsWeightsArrayObjectType::Pointer MembershipFunctionsWeightsArrayPointer
virtual void PrintSelf(std::ostream &os, Indent indent) const override
MembershipFunctionVectorObjectType::Pointer MembershipFunctionVectorObjectPointer
Decorates any "simple" data type (data types without smart pointers) with a DataObject API...
GaussianMembershipFunction models class membership through a multivariate Gaussian function...
MembershipFunctionBase defines common interfaces for membership functions.
TERMINATION_CODE m_TerminationCode
TERMINATION_CODE GetTerminationCode() const
ProportionVectorType m_InitialProportions
bool UpdateComponentParameters()
SmartPointer< const Self > ConstPointer
const MembershipFunctionsWeightsArrayObjectType * GetMembershipFunctionsWeightsArray() const
MembershipFunctionVectorObjectPointer m_MembershipFunctionsObject
MixtureModelComponentBase< TSample > ComponentType
ExpectationMaximizationMixtureModelEstimator Self
virtual ~ExpectationMaximizationMixtureModelEstimator()
ComponentVectorType m_ComponentVector
Control indentation during Print() invocation.
void SetInitialProportions(ProportionVectorType &propotion)
TSample::MeasurementType MeasurementType
ProportionVectorType m_Proportions
base class for distribution modules that supports analytical way to update the distribution parameter...
MembershipFunctionsWeightsArrayPointer m_MembershipFunctionsWeightArrayObject
This class generates the parameter estimates for a mixture model using expectation maximization strat...
Array< double > ProportionVectorType
ExpectationMaximizationMixtureModelEstimator()
Base class for most ITK classes.
MembershipFunctionBase< MeasurementVectorType > MembershipFunctionType
SmartPointer< Self > Pointer
const ProportionVectorType & GetProportions() const