18 #ifndef itkImageClassifierFilter_h
19 #define itkImageClassifierFilter_h
47 template<
typename TSample,
typename TInputImage,
typename TOutputImage >
82 TInputImage::ImageDimension);
84 TOutputImage::ImageDimension);
130 itkSetMacro(NumberOfClasses,
unsigned int);
131 itkGetConstMacro(NumberOfClasses,
unsigned int);
173 #ifndef ITK_MANUAL_INSTANTIATION
174 #include "itkImageClassifierFilter.hxx"
Image classification class.
IdentifierType ClassLabelType
void SetMembershipFunctionsWeightsArray(const MembershipFunctionsWeightsArrayObjectType *weightsArray)
TInputImage::SizeType InputSizeType
TInputImage::Pointer InputImagePointer
SampleType::MeasurementType MeasurementType
void SetMembershipFunctions(const MembershipFunctionVectorObjectType *membershipFunctions)
MembershipFunctionType::ConstPointer MembershipFunctionPointer
TInputImage::PixelType InputPixelType
void SetClassLabels(const ClassLabelVectorObjectType *classLabels)
SimpleDataObjectDecorator< ClassLabelVectorType > ClassLabelVectorObjectType
DecisionRuleType::ConstPointer DecisionRulePointer
MembershipFunctionBase< MeasurementVectorType > MembershipFunctionType
DecisionRule DecisionRuleType
unsigned int m_NumberOfClasses
ImageClassifierFilter Self
Array< double > MembershipFunctionsWeightsArrayType
void SetImage(const InputImageType *image)
DecisionRulePointer m_DecisionRule
TOutputImage::SizeType OutputSizeType
std::vector< MembershipFunctionPointer > MembershipFunctionVectorType
TInputImage::RegionType InputImageRegionType
MembershipFunctionVectorObjectType::Pointer MembershipFunctionVectorObjectPointer
Base class for all process objects that output image data.
MembershipFunctionsWeightsArrayObjectType::Pointer MembershipFunctionsWeightsArrayPointer
TOutputImage::Pointer OutputImagePointer
void operator=(const Self &)
const InputImageType * GetImage() const
SizeValueType IdentifierType
SampleType::MeasurementVectorType MeasurementVectorType
Base class for decision rules that return a class label based on a set of discriminant scores...
SmartPointer< Self > Pointer
Decorates any "simple" data type (data types without smart pointers) with a DataObject API...
TOutputImage OutputImageType
TInputImage InputImageType
TOutputImage::IndexType OutputIndexType
MembershipFunctionBase defines common interfaces for membership functions.
TOutputImage::RegionType OutputImageRegionType
TInputImage InputImageType
void GenerateData() override
std::vector< ClassLabelType > ClassLabelVectorType
SimpleDataObjectDecorator< MembershipFunctionsWeightsArrayType > MembershipFunctionsWeightsArrayObjectType
void PrintSelf(std::ostream &os, Indent indent) const override
static const unsigned int InputImageDimension
Base class for filters that take an image as input and produce an image as output.
Control indentation during Print() invocation.
virtual ~ImageClassifierFilter()
ImageToImageFilter< TInputImage, TOutputImage > Superclass
TOutputImage::PixelType OutputPixelType
SmartPointer< const Self > ConstPointer
SimpleDataObjectDecorator< MembershipFunctionVectorType > MembershipFunctionVectorObjectType
static const unsigned int OutputImageDimension
TInputImage::IndexType InputIndexType
ClassLabelVectorObjectType::Pointer ClassLabelVectorObjectPointer