18 #ifndef itkSampleClassifierFilter_h 19 #define itkSampleClassifierFilter_h 43 template<
typename TSample >
99 void SetInput(
const SampleType *sample);
101 const SampleType *
GetInput()
const;
104 const MembershipSampleType *
GetOutput()
const;
109 itkSetMacro(NumberOfClasses,
unsigned int);
110 itkGetConstMacro(NumberOfClasses,
unsigned int);
121 void SetClassLabels(
const ClassLabelVectorObjectType *classLabels);
134 virtual void PrintSelf(std::ostream & os,
Indent indent)
const ITK_OVERRIDE;
137 void operator=(
const Self &) ITK_DELETE_FUNCTION;
163 #ifndef ITK_MANUAL_INSTANTIATION 164 #include "itkSampleClassifierFilter.hxx" void SetMembershipFunctionsWeightsArray(const MembershipFunctionsWeightsArrayObjectType *weightsArray)
ClassLabelVectorObjectType::Pointer ClassLabelVectorObjectPointer
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...
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes...
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.
ProcessObject::DataObjectPointerArraySizeType DataObjectPointerArraySizeType
virtual void SetInput(const DataObjectIdentifierType &key, DataObject *input)
Protected method for setting indexed and named inputs.
virtual DataObjectPointer MakeOutput(DataObjectPointerArraySizeType idx)
Make a DataObject of the correct type to used as the specified output.
SampleType::MeasurementVectorType MeasurementVectorType
DecisionRulePointer m_DecisionRule
IdentifierType ClassLabelType
virtual ~SampleClassifierFilter()
void operator=(const Self &) ITK_DELETE_FUNCTION
std::vector< ClassLabelType > ClassLabelVectorType
const SampleType * GetInput() const
Control indentation during Print() invocation.
Array< double > MembershipFunctionsWeightsArrayType
virtual void PrintSelf(std::ostream &os, Indent indent) const override
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