|
ITK
5.2.0
Insight Toolkit
|
Go to the documentation of this file.
18 #ifndef itkClassifierBase_h
19 #define itkClassifierBase_h
86 template <
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());
152 AddMembershipFunction(MembershipFunctionType *
function);
162 PrintSelf(std::ostream & os,
Indent indent)
const override;
167 GenerateData()
override = 0;
181 #ifndef ITK_MANUAL_INSTANTIATION
182 # include "itkClassifierBase.hxx"
void SetDecisionRule(DecisionRuleType *ptrToDecisionRule)
LightProcessObject is the base class for all process objects (source, filters, mappers) in the Insigh...
const MembershipFunctionType * GetMembershipFunction(unsigned int index) const
Base class for classifier objects.
typename TInputImage ::ValueType MeasurementVectorType
MembershipFunctionBase defines common interfaces for membership functions.
Control indentation during Print() invocation.
std::vector< MembershipFunctionPointer > MembershipFunctionPointerVector
DecisionRuleType::Pointer m_DecisionRule
Light weight base class for most itk classes.
unsigned int GetNumberOfMembershipFunctions()
MembershipFunctionPointerVector m_MembershipFunctions
Base class for decision rules that return a class label based on a set of discriminant scores.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
unsigned int m_NumberOfClasses
Base class for most ITK classes.
DecisionRuleType * GetDecisionRule()
typename MembershipFunctionType::Pointer MembershipFunctionPointer