18 #ifndef itkImageModelEstimatorBase_h
19 #define itkImageModelEstimatorBase_h
63 template <
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);
134 AddMembershipFunction(MembershipFunctionPointer
function);
145 PrintSelf(std::ostream & os,
Indent indent)
const override;
148 GenerateData()
override;
151 unsigned int m_NumberOfModels{ 0 };
161 EstimateModels() = 0;
165 #ifndef ITK_MANUAL_INSTANTIATION
166 # include "itkImageModelEstimatorBase.hxx"