18#ifndef itkImageClassifierFilter_h
19#define itkImageClassifierFilter_h
48template <
typename TSample,
typename TInputImage,
typename TOutputImage>
83 static constexpr unsigned int InputImageDimension = TInputImage::ImageDimension;
84 static constexpr unsigned int OutputImageDimension = TOutputImage::ImageDimension;
126 itkSetMacro(NumberOfClasses,
unsigned int);
127 itkGetConstMacro(NumberOfClasses,
unsigned int);
162 unsigned int m_NumberOfClasses{};
170#ifndef ITK_MANUAL_INSTANTIATION
171# include "itkImageClassifierFilter.hxx"
Base class for all process objects that output image data.
typename OutputImageType::RegionType OutputImageRegionType
TOutputImage OutputImageType
typename OutputImageType::Pointer OutputImagePointer
Base class for filters that take an image as input and produce an image as output.
TInputImage InputImageType
typename InputImageType::Pointer InputImagePointer
typename InputImageType::RegionType InputImageRegionType
Control indentation during Print() invocation.
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
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.
Image classification class.
typename MembershipFunctionVectorObjectType::Pointer MembershipFunctionVectorObjectPointer
typename TOutputImage::IndexType OutputIndexType
const InputImageType * GetImage() const
void SetClassLabels(const ClassLabelVectorObjectType *classLabels)
void SetMembershipFunctions(const MembershipFunctionVectorObjectType *membershipFunctions)
void SetImage(const InputImageType *image)
typename MembershipFunctionsWeightsArrayObjectType::Pointer MembershipFunctionsWeightsArrayPointer
std::vector< ClassLabelType > ClassLabelVectorType
std::vector< MembershipFunctionPointer > MembershipFunctionVectorType
typename TOutputImage::PixelType OutputPixelType
typename SampleType::MeasurementType MeasurementType
typename TOutputImage::SizeType OutputSizeType
typename TInputImage::SizeType InputSizeType
typename MembershipFunctionType::ConstPointer MembershipFunctionPointer
typename SampleType::MeasurementVectorType MeasurementVectorType
typename TInputImage::PixelType InputPixelType
void PrintSelf(std::ostream &os, Indent indent) const override
void SetMembershipFunctionsWeightsArray(const MembershipFunctionsWeightsArrayObjectType *weightsArray)
IdentifierType ClassLabelType
~ImageClassifierFilter() override=default
void GenerateData() override
typename TInputImage::IndexType InputIndexType
MembershipFunctionBase defines common interfaces for membership functions.
SmartPointer< const Self > ConstPointer
SmartPointer< Self > Pointer
ImageBaseType::RegionType RegionType
ImageBaseType::IndexType IndexType
ImageBaseType::SizeType SizeType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
SizeValueType IdentifierType