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);
131 AddMembershipFunction(MembershipFunctionPointer
function);
142 PrintSelf(std::ostream & os,
Indent indent)
const override;
145 GenerateData()
override;
148 unsigned int m_NumberOfModels{ 0 };
158 EstimateModels() = 0;
162 #ifndef ITK_MANUAL_INSTANTIATION
163 # include "itkImageModelEstimatorBase.hxx"