18 #ifndef itkImageModelEstimatorBase_h
19 #define itkImageModelEstimatorBase_h
62 template<
typename TInputImage,
63 typename TMembershipFunction >
79 itkSetMacro(NumberOfModels,
unsigned int);
82 itkGetConstReferenceMacro(NumberOfModels,
unsigned int);
105 m_MembershipFunctions = membershipFunctions;
111 return m_MembershipFunctions;
117 return static_cast< unsigned int >( m_MembershipFunctions.size() );
123 m_MembershipFunctions.resize(0);
127 unsigned int AddMembershipFunction(MembershipFunctionPointer
function);
136 void PrintSelf(std::ostream & os,
Indent indent)
const override;
138 void GenerateData()
override;
142 unsigned int m_NumberOfModels{0};
151 virtual void EstimateModels() = 0;
155 #ifndef ITK_MANUAL_INSTANTIATION
156 #include "itkImageModelEstimatorBase.hxx"
unsigned int GetNumberOfMembershipFunctions()
Light weight base class for most itk classes.
const MembershipFunctionPointerVector GetMembershipFunctions() const
TInputImage InputImageType
std::vector< MembershipFunctionPointer > MembershipFunctionPointerVector
Base class for model estimation from images used for classification.
void DeleteAllMembershipFunctions()
void SetMembershipFunctions(MembershipFunctionPointerVector membershipFunctions)
InputImagePointer m_InputImage
LightProcessObject is the base class for all process objects (source, filters, mappers) in the Insigh...
Control indentation during Print() invocation.
MembershipFunctionPointerVector m_MembershipFunctions
typename TInputImage::Pointer InputImagePointer
typename TMembershipFunction::Pointer MembershipFunctionPointer
Base class for most ITK classes.