18 #ifndef __itkSampleClassifierFilter_h
19 #define __itkSampleClassifierFilter_h
43 template<
typename TSample >
109 itkSetMacro(NumberOfClasses,
unsigned int);
110 itkGetConstMacro(NumberOfClasses,
unsigned int);
134 virtual void PrintSelf(std::ostream & os,
Indent indent)
const ITK_OVERRIDE;
150 virtual
DataObjectPointer MakeOutput(DataObjectPointerArraySizeType idx) ITK_OVERRIDE;
163 #ifndef ITK_MANUAL_INSTANTIATION
164 #include "itkSampleClassifierFilter.hxx"
void SetMembershipFunctionsWeightsArray(const MembershipFunctionsWeightsArrayObjectType *weightsArray)
virtual void GenerateData() ITK_OVERRIDE
ClassLabelVectorObjectType::Pointer ClassLabelVectorObjectPointer
Light weight base class for most itk classes.
SimpleDataObjectDecorator< MembershipFunctionsWeightsArrayType > MembershipFunctionsWeightsArrayObjectType
void SetMembershipFunctions(const MembershipFunctionVectorObjectType *membershipFunctions)
MembershipFunctionsWeightsArrayObjectType::Pointer MembershipFunctionsWeightsArrayPointer
DecisionRule DecisionRuleType
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
Container for storing the instance-identifiers of other sample with their associated class labels...
MembershipFunctionType::ConstPointer MembershipFunctionPointer
SimpleDataObjectDecorator< MembershipFunctionVectorType > MembershipFunctionVectorObjectType
const MembershipSampleType * GetOutput() const
void SetClassLabels(const ClassLabelVectorObjectType *classLabels)
SizeValueType IdentifierType
SmartPointer< const Self > ConstPointer
Base class for decision rules that return a class label based on a set of discriminant scores...
DecisionRuleType::ConstPointer DecisionRulePointer
virtual void PrintSelf(std::ostream &os, Indent indent) const ITK_OVERRIDE
Sample classification class.
Decorates any "simple" data type (data types without smart pointers) with a DataObject API...
DataObjectPointerArray::size_type DataObjectPointerArraySizeType
SampleType::MeasurementType MeasurementType
std::vector< MembershipFunctionPointer > MembershipFunctionVectorType
MembershipSample< SampleType > MembershipSampleType
MembershipFunctionBase defines common interfaces for membership functions.
virtual void SetInput(const DataObjectIdentifierType &key, DataObject *input)
void operator=(const Self &)
SampleType::MeasurementVectorType MeasurementVectorType
DecisionRulePointer m_DecisionRule
IdentifierType ClassLabelType
virtual ~SampleClassifierFilter()
virtual DataObjectPointer MakeOutput(DataObjectPointerArraySizeType idx) ITK_OVERRIDE
std::vector< ClassLabelType > ClassLabelVectorType
const SampleType * GetInput() const
Control indentation during Print() invocation.
Array< double > MembershipFunctionsWeightsArrayType
void SetInput(const SampleType *sample)
MembershipFunctionVectorObjectType::Pointer MembershipFunctionVectorObjectPointer
SampleClassifierFilter Self
MembershipSampleType::Pointer MembershipSampleObjectPointer
unsigned int m_NumberOfClasses
MembershipFunctionBase< MeasurementVectorType > MembershipFunctionType
SimpleDataObjectDecorator< ClassLabelVectorType > ClassLabelVectorObjectType
SmartPointer< Self > Pointer