18#ifndef itkSampleClassifierFilter_h
19#define itkSampleClassifierFilter_h
44template <
typename TSample>
109 itkSetMacro(NumberOfClasses,
unsigned int);
110 itkGetConstMacro(NumberOfClasses,
unsigned int);
165#ifndef ITK_MANUAL_INSTANTIATION
166# include "itkSampleClassifierFilter.hxx"
Array class with size defined at construction time.
Control indentation during Print() invocation.
virtual void SetInput(const DataObjectIdentifierType &key, DataObject *input)
Protected method for setting indexed and named inputs.
DataObjectPointerArray::size_type DataObjectPointerArraySizeType
DataObject::Pointer DataObjectPointer
virtual DataObjectPointer MakeOutput(DataObjectPointerArraySizeType idx)
Make a DataObject of the correct type to used as the specified output.
Decorates any "simple" data type (data types without smart pointers) with a DataObject API.
SmartPointer< Self > Pointer
Implements transparent reference counting.
Base class for decision rules that return a class label based on a set of discriminant scores.
SmartPointer< const Self > ConstPointer
MembershipFunctionBase defines common interfaces for membership functions.
SmartPointer< const Self > ConstPointer
Container for storing the instance-identifiers of other sample with their associated class labels.
SmartPointer< Self > Pointer
typename SampleType::MeasurementType MeasurementType
DataObjectPointer MakeOutput(DataObjectPointerArraySizeType idx) override
void SetMembershipFunctionsWeightsArray(const MembershipFunctionsWeightsArrayObjectType *weightsArray)
MembershipFunctionBase< MeasurementVectorType > MembershipFunctionType
typename MembershipFunctionType::ConstPointer MembershipFunctionPointer
void SetInput(const SampleType *sample)
typename MembershipFunctionVectorObjectType::Pointer MembershipFunctionVectorObjectPointer
SimpleDataObjectDecorator< MembershipFunctionVectorType > MembershipFunctionVectorObjectType
Array< double > MembershipFunctionsWeightsArrayType
DecisionRuleType::ConstPointer DecisionRulePointer
SmartPointer< Self > Pointer
void GenerateData() override
typename MembershipSampleType::Pointer MembershipSampleObjectPointer
~SampleClassifierFilter() override=default
ClassLabelVectorObjectType::Pointer ClassLabelVectorObjectPointer
ProcessObject::DataObjectPointerArraySizeType DataObjectPointerArraySizeType
std::vector< MembershipFunctionPointer > MembershipFunctionVectorType
MembershipSample< SampleType > MembershipSampleType
std::vector< ClassLabelType > ClassLabelVectorType
const MembershipSampleType * GetOutput() const
DecisionRule DecisionRuleType
SampleClassifierFilter Self
SimpleDataObjectDecorator< ClassLabelVectorType > ClassLabelVectorObjectType
SimpleDataObjectDecorator< MembershipFunctionsWeightsArrayType > MembershipFunctionsWeightsArrayObjectType
const SampleType * GetInput() const
DecisionRulePointer m_DecisionRule
SmartPointer< const Self > ConstPointer
void SetMembershipFunctions(const MembershipFunctionVectorObjectType *membershipFunctions)
void PrintSelf(std::ostream &os, Indent indent) const override
void SetClassLabels(const ClassLabelVectorObjectType *classLabels)
typename MembershipFunctionsWeightsArrayObjectType::Pointer MembershipFunctionsWeightsArrayPointer
IdentifierType ClassLabelType
typename SampleType::MeasurementVectorType MeasurementVectorType
unsigned int m_NumberOfClasses
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
SizeValueType IdentifierType