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)
ClassLabelVectorObjectType::Pointer ClassLabelVectorObjectPointer
Light weight base class for most itk classes.
SimpleDataObjectDecorator< MembershipFunctionsWeightsArrayType > MembershipFunctionsWeightsArrayObjectType
virtual void GenerateData() override
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
virtual DataObjectPointer MakeOutput(DataObjectPointerArraySizeType idx) override
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
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)
Protected method for setting indexed and named inputs.
void operator=(const Self &)
SampleType::MeasurementVectorType MeasurementVectorType
DecisionRulePointer m_DecisionRule
IdentifierType ClassLabelType
virtual ~SampleClassifierFilter()
std::vector< ClassLabelType > ClassLabelVectorType
const SampleType * GetInput() const
virtual void PrintSelf(std::ostream &os, Indent indent) const override
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