18 #ifndef itkImageClassifierFilter_h 19 #define itkImageClassifierFilter_h 47 template<
typename TSample,
typename TInputImage,
typename TOutputImage >
82 TInputImage::ImageDimension);
84 TOutputImage::ImageDimension);
123 void SetImage(
const InputImageType *image);
125 const InputImageType *
GetImage()
const;
130 itkSetMacro(NumberOfClasses,
unsigned int);
131 itkGetConstMacro(NumberOfClasses,
unsigned int);
142 void SetClassLabels(
const ClassLabelVectorObjectType *classLabels);
158 void operator=(
const Self &) ITK_DELETE_FUNCTION;
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
void operator=(const Self &) ITK_DELETE_FUNCTION
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes...
Array< double > MembershipFunctionsWeightsArrayType
void SetImage(const InputImageType *image)
DecisionRulePointer m_DecisionRule
TOutputImage::SizeType OutputSizeType
std::vector< MembershipFunctionPointer > MembershipFunctionVectorType
TInputImage::RegionType InputImageRegionType
MembershipFunctionVectorObjectType::Pointer MembershipFunctionVectorObjectPointer
MembershipFunctionsWeightsArrayObjectType::Pointer MembershipFunctionsWeightsArrayPointer
TOutputImage::Pointer OutputImagePointer
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
void PrintSelf(std::ostream &os, Indent indent) const override
TOutputImage::IndexType OutputIndexType
MembershipFunctionBase defines common interfaces for membership functions.
TOutputImage::RegionType OutputImageRegionType
void GenerateData() override
std::vector< ClassLabelType > ClassLabelVectorType
SimpleDataObjectDecorator< MembershipFunctionsWeightsArrayType > MembershipFunctionsWeightsArrayObjectType
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