18#ifndef itkSampleClassifierFilter_h
19#define itkSampleClassifierFilter_h
44template <
typename TSample>
95 using Superclass::SetInput;
109 itkSetMacro(NumberOfClasses,
unsigned int);
110 itkGetConstMacro(NumberOfClasses,
unsigned int);
151 using Superclass::MakeOutput;
157 unsigned int m_NumberOfClasses{};
165#ifndef ITK_MANUAL_INSTANTIATION
166# include "itkSampleClassifierFilter.hxx"
Control indentation during Print() invocation.
Light weight base class for most itk classes.
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
DataObjectPointerArray::size_type DataObjectPointerArraySizeType
Decorates any "simple" data type (data types without smart pointers) with a DataObject API.
Base class for decision rules that return a class label based on a set of discriminant scores.
MembershipFunctionBase defines common interfaces for membership functions.
Container for storing the instance-identifiers of other sample with their associated class labels.
Sample classification class.
typename SampleType::MeasurementType MeasurementType
DataObjectPointer MakeOutput(DataObjectPointerArraySizeType idx) override
void SetMembershipFunctionsWeightsArray(const MembershipFunctionsWeightsArrayObjectType *weightsArray)
typename MembershipFunctionType::ConstPointer MembershipFunctionPointer
void SetInput(const SampleType *sample)
typename MembershipFunctionVectorObjectType::Pointer MembershipFunctionVectorObjectPointer
void GenerateData() override
typename MembershipSampleType::Pointer MembershipSampleObjectPointer
~SampleClassifierFilter() override=default
std::vector< MembershipFunctionPointer > MembershipFunctionVectorType
std::vector< ClassLabelType > ClassLabelVectorType
const MembershipSampleType * GetOutput() const
const SampleType * GetInput() const
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
SmartPointer< const Self > ConstPointer
SmartPointer< Self > Pointer
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
class ITK_FORWARD_EXPORT ProcessObject
SizeValueType IdentifierType