18 #ifndef __itkExpectationMaximizationMixtureModelEstimator_h
19 #define __itkExpectationMaximizationMixtureModelEstimator_h
60 template<
class TSample >
111 void SetSample(
const TSample *sample);
114 const TSample * GetSample()
const;
138 void SetMaximumIteration(
int numberOfIterations);
140 int GetMaximumIteration()
const;
143 int GetCurrentIteration()
145 return m_CurrentIteration;
149 int AddComponent(ComponentType *component);
152 unsigned int GetNumberOfComponents()
const;
161 TERMINATION_CODE GetTerminationCode()
const;
165 ComponentMembershipFunctionType * GetComponentMembershipFunction(
int componentIndex)
const;
169 const MembershipFunctionVectorObjectType * GetOutput()
const;
174 void PrintSelf(std::ostream & os,
Indent indent)
const;
176 bool CalculateDensities();
178 double CalculateExpectation()
const;
180 bool UpdateComponentParameters();
182 bool UpdateProportions();
205 #ifndef ITK_MANUAL_INSTANTIATION
206 #include "itkExpectationMaximizationMixtureModelEstimator.hxx"