18#ifndef itkImageClassifierFilter_h
19#define itkImageClassifierFilter_h
48template <
typename TSample,
typename TInputImage,
typename TOutputImage>
126 itkSetMacro(NumberOfClasses,
unsigned int);
127 itkGetConstMacro(NumberOfClasses,
unsigned int);
170#ifndef ITK_MANUAL_INSTANTIATION
171# include "itkImageClassifierFilter.hxx"
Array class with size defined at construction time.
Control indentation during Print() invocation.
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
typename MembershipFunctionVectorObjectType::Pointer MembershipFunctionVectorObjectPointer
typename TOutputImage::IndexType OutputIndexType
TOutputImage OutputImageType
const InputImageType * GetImage() const
void SetClassLabels(const ClassLabelVectorObjectType *classLabels)
void SetMembershipFunctions(const MembershipFunctionVectorObjectType *membershipFunctions)
TInputImage InputImageType
void SetImage(const InputImageType *image)
typename TInputImage::RegionType InputImageRegionType
typename MembershipFunctionsWeightsArrayObjectType::Pointer MembershipFunctionsWeightsArrayPointer
std::vector< ClassLabelType > ClassLabelVectorType
typename TInputImage::Pointer InputImagePointer
SmartPointer< Self > Pointer
std::vector< MembershipFunctionPointer > MembershipFunctionVectorType
MembershipFunctionBase< MeasurementVectorType > MembershipFunctionType
typename TOutputImage::PixelType OutputPixelType
DecisionRule DecisionRuleType
SmartPointer< const Self > ConstPointer
typename SampleType::MeasurementType MeasurementType
DecisionRuleType::ConstPointer DecisionRulePointer
SimpleDataObjectDecorator< ClassLabelVectorType > ClassLabelVectorObjectType
typename TOutputImage::SizeType OutputSizeType
ImageToImageFilter< TInputImage, TOutputImage > Superclass
SimpleDataObjectDecorator< MembershipFunctionsWeightsArrayType > MembershipFunctionsWeightsArrayObjectType
typename TInputImage::SizeType InputSizeType
ClassLabelVectorObjectType::Pointer ClassLabelVectorObjectPointer
static constexpr unsigned int OutputImageDimension
typename MembershipFunctionType::ConstPointer MembershipFunctionPointer
ImageClassifierFilter Self
static constexpr unsigned int InputImageDimension
typename SampleType::MeasurementVectorType MeasurementVectorType
typename TInputImage::PixelType InputPixelType
typename TOutputImage::RegionType OutputImageRegionType
SimpleDataObjectDecorator< MembershipFunctionVectorType > MembershipFunctionVectorObjectType
void PrintSelf(std::ostream &os, Indent indent) const override
void SetMembershipFunctionsWeightsArray(const MembershipFunctionsWeightsArrayObjectType *weightsArray)
typename TOutputImage::Pointer OutputImagePointer
Array< double > MembershipFunctionsWeightsArrayType
IdentifierType ClassLabelType
DecisionRulePointer m_DecisionRule
unsigned int m_NumberOfClasses
~ImageClassifierFilter() override=default
void GenerateData() override
typename TInputImage::IndexType InputIndexType
MembershipFunctionBase defines common interfaces for membership functions.
SmartPointer< const Self > ConstPointer
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
SizeValueType IdentifierType