18#ifndef itkClassifierBase_h
19#define itkClassifierBase_h
86template <
typename TDataContainer>
100 itkSetMacro(NumberOfClasses,
unsigned int);
103 itkGetConstReferenceMacro(NumberOfClasses,
unsigned int);
123 m_DecisionRule = ptrToDecisionRule;
130 return m_DecisionRule.GetPointer();
137 const MembershipFunctionType *
140 return m_MembershipFunctions[index].GetPointer();
147 return static_cast<unsigned int>(m_MembershipFunctions.size());
171 unsigned int m_NumberOfClasses{};
181#ifndef ITK_MANUAL_INSTANTIATION
182# include "itkClassifierBase.hxx"
Base class for classifier objects.
unsigned int AddMembershipFunction(MembershipFunctionType *function)
void SetDecisionRule(DecisionRuleType *ptrToDecisionRule)
unsigned int GetNumberOfMembershipFunctions()
void GenerateData() override=0
~ClassifierBase() override=default
typename MembershipFunctionType::Pointer MembershipFunctionPointer
std::vector< MembershipFunctionPointer > MembershipFunctionPointerVector
void PrintSelf(std::ostream &os, Indent indent) const override
const MembershipFunctionType * GetMembershipFunction(unsigned int index) const
DecisionRuleType * GetDecisionRule()
typename TDataContainer::ValueType MeasurementVectorType
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.
Base class for decision rules that return a class label based on a set of discriminant scores.
MembershipFunctionBase defines common interfaces for membership functions.
SmartPointer< Self > Pointer
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....