18 #ifndef itkMixtureModelComponentBase_h
19 #define itkMixtureModelComponentBase_h
21 #include "vnl/vnl_vector.h"
22 #include "vnl/vnl_matrix.h"
56 template <
typename TSample>
82 SetSample(
const TSample * sample);
93 GetMembershipFunction();
98 m_MinimalParametersChange = change;
104 return m_MinimalParametersChange;
108 SetParameters(
const ParametersType & parameters);
110 virtual ParametersType
119 AreParametersModified(
bool flag);
123 AreParametersModified();
127 SetWeight(
unsigned int index,
double value);
131 GetWeight(
unsigned int index)
const;
135 Evaluate(MeasurementVectorType & measurements);
138 itkGetConstReferenceMacro(Weights, WeightArrayType);
147 PrintSelf(std::ostream & os,
Indent indent)
const override;
153 SetMembershipFunction(MembershipFunctionType *
function);
178 #ifndef ITK_MANUAL_INSTANTIATION
179 # include "itkMixtureModelComponentBase.hxx"