18#ifndef itkImageModelEstimatorBase_h
19#define itkImageModelEstimatorBase_h
63template <
typename TInputImage,
typename TMembershipFunction>
79 itkSetMacro(NumberOfModels,
unsigned int);
82 itkGetConstReferenceMacro(NumberOfModels,
unsigned int);
105 m_MembershipFunctions = membershipFunctions;
109 const MembershipFunctionPointerVector
112 return m_MembershipFunctions;
119 return static_cast<unsigned int>(m_MembershipFunctions.size());
126 m_MembershipFunctions.resize(0);
151 unsigned int m_NumberOfModels{ 0 };
165#ifndef ITK_MANUAL_INSTANTIATION
166# include "itkImageModelEstimatorBase.hxx"
Base class for model estimation from images used for classification.
virtual void EstimateModels()=0
void PrintSelf(std::ostream &os, Indent indent) const override
ImageModelEstimatorBase()
void DeleteAllMembershipFunctions()
typename TMembershipFunction::Pointer MembershipFunctionPointer
unsigned int AddMembershipFunction(MembershipFunctionPointer function)
void GenerateData() override
const MembershipFunctionPointerVector GetMembershipFunctions() const
std::vector< MembershipFunctionPointer > MembershipFunctionPointerVector
void SetMembershipFunctions(MembershipFunctionPointerVector membershipFunctions)
typename TInputImage::Pointer InputImagePointer
unsigned int GetNumberOfMembershipFunctions()
~ImageModelEstimatorBase() override=default
TInputImage InputImageType
Control indentation during Print() invocation.
Light weight base class for most itk classes.
LightProcessObject is the base class for all process objects (source, filters, mappers) in the Insigh...
Base class for most ITK classes.
SmartPointer< Self > Pointer
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....