ITK
4.13.0
Insight Segmentation and Registration Toolkit
|
#include <itkImageClassifierFilter.h>
Image classification class.
This filter takes input image, membership functions, decision rule and produces as output image with each pixel labeled according to the classification result.
This class is templated over the type of input and output image and sample type.
Definition at line 48 of file itkImageClassifierFilter.h.
Static Public Attributes | |
static const unsigned int | InputImageDimension = TInputImage::ImageDimension |
static const unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
Static Public Attributes inherited from itk::ImageToImageFilter< TInputImage, TOutputImage > | |
static const unsigned int | InputImageDimension = TInputImage::ImageDimension |
static const unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
Static Public Attributes inherited from itk::ImageSource< TOutputImage > | |
static const unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
Private Attributes | |
DecisionRulePointer | m_DecisionRule |
unsigned int | m_NumberOfClasses |
virtual const char * | GetNameOfClass () const |
virtual ::itk::LightObject::Pointer | CreateAnother () const |
static Pointer | New () |
typedef IdentifierType itk::Statistics::ImageClassifierFilter< TSample, TInputImage, TOutputImage >::ClassLabelType |
typedef for class label type
Definition at line 112 of file itkImageClassifierFilter.h.
typedef ClassLabelVectorObjectType::Pointer itk::Statistics::ImageClassifierFilter< TSample, TInputImage, TOutputImage >::ClassLabelVectorObjectPointer |
Definition at line 116 of file itkImageClassifierFilter.h.
typedef SimpleDataObjectDecorator< ClassLabelVectorType > itk::Statistics::ImageClassifierFilter< TSample, TInputImage, TOutputImage >::ClassLabelVectorObjectType |
Definition at line 115 of file itkImageClassifierFilter.h.
typedef std::vector< ClassLabelType > itk::Statistics::ImageClassifierFilter< TSample, TInputImage, TOutputImage >::ClassLabelVectorType |
Definition at line 113 of file itkImageClassifierFilter.h.
typedef SmartPointer< const Self > itk::Statistics::ImageClassifierFilter< TSample, TInputImage, TOutputImage >::ConstPointer |
Definition at line 56 of file itkImageClassifierFilter.h.
typedef DecisionRuleType::ConstPointer itk::Statistics::ImageClassifierFilter< TSample, TInputImage, TOutputImage >::DecisionRulePointer |
Definition at line 120 of file itkImageClassifierFilter.h.
typedef DecisionRule itk::Statistics::ImageClassifierFilter< TSample, TInputImage, TOutputImage >::DecisionRuleType |
type of the decision rule
Definition at line 119 of file itkImageClassifierFilter.h.
typedef TInputImage::Pointer itk::Statistics::ImageClassifierFilter< TSample, TInputImage, TOutputImage >::InputImagePointer |
Image related typedefs.
Definition at line 70 of file itkImageClassifierFilter.h.
typedef TInputImage::RegionType itk::Statistics::ImageClassifierFilter< TSample, TInputImage, TOutputImage >::InputImageRegionType |
Definition at line 75 of file itkImageClassifierFilter.h.
typedef TInputImage itk::Statistics::ImageClassifierFilter< TSample, TInputImage, TOutputImage >::InputImageType |
Image pixel value typedef.
Definition at line 60 of file itkImageClassifierFilter.h.
typedef TInputImage::IndexType itk::Statistics::ImageClassifierFilter< TSample, TInputImage, TOutputImage >::InputIndexType |
Definition at line 74 of file itkImageClassifierFilter.h.
typedef TInputImage::PixelType itk::Statistics::ImageClassifierFilter< TSample, TInputImage, TOutputImage >::InputPixelType |
Definition at line 66 of file itkImageClassifierFilter.h.
typedef TInputImage::SizeType itk::Statistics::ImageClassifierFilter< TSample, TInputImage, TOutputImage >::InputSizeType |
Definition at line 73 of file itkImageClassifierFilter.h.
typedef SampleType::MeasurementType itk::Statistics::ImageClassifierFilter< TSample, TInputImage, TOutputImage >::MeasurementType |
typedefs from SampleType object
Definition at line 91 of file itkImageClassifierFilter.h.
typedef SampleType::MeasurementVectorType itk::Statistics::ImageClassifierFilter< TSample, TInputImage, TOutputImage >::MeasurementVectorType |
Definition at line 92 of file itkImageClassifierFilter.h.
typedef MembershipFunctionType::ConstPointer itk::Statistics::ImageClassifierFilter< TSample, TInputImage, TOutputImage >::MembershipFunctionPointer |
Definition at line 96 of file itkImageClassifierFilter.h.
typedef SimpleDataObjectDecorator< MembershipFunctionsWeightsArrayType > itk::Statistics::ImageClassifierFilter< TSample, TInputImage, TOutputImage >::MembershipFunctionsWeightsArrayObjectType |
Definition at line 107 of file itkImageClassifierFilter.h.
typedef MembershipFunctionsWeightsArrayObjectType::Pointer itk::Statistics::ImageClassifierFilter< TSample, TInputImage, TOutputImage >::MembershipFunctionsWeightsArrayPointer |
Definition at line 109 of file itkImageClassifierFilter.h.
typedef Array< double > itk::Statistics::ImageClassifierFilter< TSample, TInputImage, TOutputImage >::MembershipFunctionsWeightsArrayType |
typedef for membership functions weight proprtion
Definition at line 104 of file itkImageClassifierFilter.h.
typedef MembershipFunctionBase< MeasurementVectorType > itk::Statistics::ImageClassifierFilter< TSample, TInputImage, TOutputImage >::MembershipFunctionType |
typedef for the MembershipFunction
Definition at line 95 of file itkImageClassifierFilter.h.
typedef MembershipFunctionVectorObjectType::Pointer itk::Statistics::ImageClassifierFilter< TSample, TInputImage, TOutputImage >::MembershipFunctionVectorObjectPointer |
Definition at line 101 of file itkImageClassifierFilter.h.
typedef SimpleDataObjectDecorator< MembershipFunctionVectorType > itk::Statistics::ImageClassifierFilter< TSample, TInputImage, TOutputImage >::MembershipFunctionVectorObjectType |
Definition at line 99 of file itkImageClassifierFilter.h.
typedef std::vector< MembershipFunctionPointer > itk::Statistics::ImageClassifierFilter< TSample, TInputImage, TOutputImage >::MembershipFunctionVectorType |
Definition at line 97 of file itkImageClassifierFilter.h.
typedef TOutputImage::Pointer itk::Statistics::ImageClassifierFilter< TSample, TInputImage, TOutputImage >::OutputImagePointer |
Definition at line 71 of file itkImageClassifierFilter.h.
typedef TOutputImage::RegionType itk::Statistics::ImageClassifierFilter< TSample, TInputImage, TOutputImage >::OutputImageRegionType |
Definition at line 78 of file itkImageClassifierFilter.h.
typedef TOutputImage itk::Statistics::ImageClassifierFilter< TSample, TInputImage, TOutputImage >::OutputImageType |
Definition at line 65 of file itkImageClassifierFilter.h.
typedef TOutputImage::IndexType itk::Statistics::ImageClassifierFilter< TSample, TInputImage, TOutputImage >::OutputIndexType |
Definition at line 77 of file itkImageClassifierFilter.h.
typedef TOutputImage::PixelType itk::Statistics::ImageClassifierFilter< TSample, TInputImage, TOutputImage >::OutputPixelType |
Definition at line 67 of file itkImageClassifierFilter.h.
typedef TOutputImage::SizeType itk::Statistics::ImageClassifierFilter< TSample, TInputImage, TOutputImage >::OutputSizeType |
Definition at line 76 of file itkImageClassifierFilter.h.
typedef SmartPointer< Self > itk::Statistics::ImageClassifierFilter< TSample, TInputImage, TOutputImage >::Pointer |
Definition at line 55 of file itkImageClassifierFilter.h.
typedef TSample itk::Statistics::ImageClassifierFilter< TSample, TInputImage, TOutputImage >::SampleType |
Type of the input Sample
Definition at line 88 of file itkImageClassifierFilter.h.
typedef ImageClassifierFilter itk::Statistics::ImageClassifierFilter< TSample, TInputImage, TOutputImage >::Self |
Standard class typedef
Definition at line 53 of file itkImageClassifierFilter.h.
typedef ImageToImageFilter< TInputImage, TOutputImage > itk::Statistics::ImageClassifierFilter< TSample, TInputImage, TOutputImage >::Superclass |
Definition at line 54 of file itkImageClassifierFilter.h.
|
protected |
|
inlineoverrideprotectedvirtual |
Definition at line 154 of file itkImageClassifierFilter.h.
|
virtual |
Standard macros
Reimplemented from itk::Object.
|
overrideprotectedvirtual |
Starts the classification process
Reimplemented from itk::ImageSource< TOutputImage >.
|
virtual |
Set/Get the decision rule.
const InputImageType* itk::Statistics::ImageClassifierFilter< TSample, TInputImage, TOutputImage >::GetImage | ( | ) | const |
|
virtual |
Standard macros
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
|
virtual |
Number of classes. This must match the number of labels and membership functions provided by the user, otherwise an exception will be thrown at
|
static |
Standard macros
|
overrideprotectedvirtual |
Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
void itk::Statistics::ImageClassifierFilter< TSample, TInputImage, TOutputImage >::SetClassLabels | ( | const ClassLabelVectorObjectType * | classLabels | ) |
Sets input vector of class labels. The length of this vector must match the number of classes, otherwise an exception will be thrown at run time.
|
virtual |
Set/Get the decision rule.
void itk::Statistics::ImageClassifierFilter< TSample, TInputImage, TOutputImage >::SetImage | ( | const InputImageType * | image | ) |
Sets the input image
void itk::Statistics::ImageClassifierFilter< TSample, TInputImage, TOutputImage >::SetMembershipFunctions | ( | const MembershipFunctionVectorObjectType * | membershipFunctions | ) |
Sets input vector of membership functions. The length of this vector must match the number of classes, otherwise an exception will be thrown at run time.
void itk::Statistics::ImageClassifierFilter< TSample, TInputImage, TOutputImage >::SetMembershipFunctionsWeightsArray | ( | const MembershipFunctionsWeightsArrayObjectType * | weightsArray | ) |
Sets array of weights for the membership functions
|
virtual |
Number of classes. This must match the number of labels and membership functions provided by the user, otherwise an exception will be thrown at
|
static |
Image related typedefs.
Definition at line 82 of file itkImageClassifierFilter.h.
|
private |
Decision Rule
Definition at line 167 of file itkImageClassifierFilter.h.
|
private |
Definition at line 164 of file itkImageClassifierFilter.h.
|
static |
Image related typedefs.
Definition at line 84 of file itkImageClassifierFilter.h.