18#ifndef itkMixtureModelComponentBase_h
19#define itkMixtureModelComponentBase_h
21#include "vnl/vnl_vector.h"
22#include "vnl/vnl_matrix.h"
56template <
typename TSample>
178#ifndef ITK_MANUAL_INSTANTIATION
179# include "itkMixtureModelComponentBase.hxx"
Array class with size defined at construction time.
Control indentation during Print() invocation.
Implements transparent reference counting.
MembershipFunctionBase defines common interfaces for membership functions.
bool m_ParametersModified
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()
WeightArrayType m_Weights
void AreParametersModified(bool flag)
MixtureModelComponentBase()
Array< double > ParametersType
MixtureModelComponentBase Self
~MixtureModelComponentBase() override=default
SmartPointer< Self > Pointer
void SetMinimalParametersChange(double change)
MembershipFunctionType * GetMembershipFunction()
MembershipFunctionBase< MeasurementVectorType > MembershipFunctionType
ParametersType m_Parameters
typename TSample::MeasurementVectorSizeType MeasurementVectorSizeType
SmartPointer< const Self > ConstPointer
void SetWeight(unsigned int index, double value)
virtual void GenerateData()=0
Array< double > WeightArrayType
virtual ParametersType GetFullParameters()
void SetMembershipFunction(MembershipFunctionType *function)
double Evaluate(MeasurementVectorType &measurements)
void PrintSelf(std::ostream &os, Indent indent) const override
const TSample * GetSample() const
double m_MinimalParametersChange
MembershipFunctionType * m_MembershipFunction
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....