18#ifndef itkMixtureModelComponentBase_h
19#define itkMixtureModelComponentBase_h
21#include "vnl/vnl_vector.h"
22#include "vnl/vnl_matrix.h"
56template <
typename TSample>
98 m_MinimalParametersChange = change;
104 return m_MinimalParametersChange;
160 const TSample * m_Sample{};
162 double m_MinimalParametersChange{};
173 bool m_ParametersModified{};
178#ifndef ITK_MANUAL_INSTANTIATION
179# include "itkMixtureModelComponentBase.hxx"
Control indentation during Print() invocation.
Light weight base class for most itk classes.
Base class for most ITK classes.
MembershipFunctionBase defines common interfaces for membership functions.
base class for distribution modules that supports analytical way to update the distribution parameter...
virtual void SetSample(const TSample *sample)
typename TSample::MeasurementVectorType MeasurementVectorType
double GetWeight(unsigned int index) const
virtual void SetParameters(const ParametersType ¶meters)
bool AreParametersModified()
double GetMinimalParametersChange()
void AreParametersModified(bool flag)
MixtureModelComponentBase()
~MixtureModelComponentBase() override=default
void SetMinimalParametersChange(double change)
MembershipFunctionType * GetMembershipFunction()
typename TSample::MeasurementVectorSizeType MeasurementVectorSizeType
void SetWeight(unsigned int index, double value)
virtual void GenerateData()=0
virtual ParametersType GetFullParameters()
void SetMembershipFunction(MembershipFunctionType *function)
double Evaluate(MeasurementVectorType &measurements)
void PrintSelf(std::ostream &os, Indent indent) const override
const TSample * GetSample() const
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....