18 #ifndef itkImageModelEstimatorBase_h
19 #define itkImageModelEstimatorBase_h
62 template<
typename TInputImage,
63 typename TMembershipFunction >
77 itkSetMacro(NumberOfModels,
unsigned int);
80 itkGetConstReferenceMacro(NumberOfModels,
unsigned int);
85 typedef std::vector< MembershipFunctionPointer >
104 m_MembershipFunctions = membershipFunctions;
110 return m_MembershipFunctions;
116 return static_cast< unsigned int >( m_MembershipFunctions.size() );
122 m_MembershipFunctions.resize(0);
126 unsigned int AddMembershipFunction(MembershipFunctionPointer
function);
135 virtual
void PrintSelf(std::ostream & os,
Indent indent) const ITK_OVERRIDE;
137 virtual
void GenerateData() ITK_OVERRIDE;
143 unsigned int m_NumberOfModels;
152 virtual
void EstimateModels() = 0;
156 #ifndef ITK_MANUAL_INSTANTIATION
157 #include "itkImageModelEstimatorBase.hxx"
unsigned int GetNumberOfMembershipFunctions()
TMembershipFunction::Pointer MembershipFunctionPointer
const MembershipFunctionPointerVector GetMembershipFunctions() const
SmartPointer< const Self > ConstPointer
Base class for model estimation from images used for classification.
ImageModelEstimatorBase Self
void DeleteAllMembershipFunctions()
SmartPointer< Self > Pointer
LightProcessObject Superclass
void SetMembershipFunctions(MembershipFunctionPointerVector membershipFunctions)
std::vector< MembershipFunctionPointer > MembershipFunctionPointerVector
LightProcessObject is the base class for all process objects (source, filters, mappers) in the Insigh...
Control indentation during Print() invocation.
TInputImage::Pointer InputImagePointer
TInputImage InputImageType