ITK
4.1.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.
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 |
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
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.
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 70 of file itkImageClassifierFilter.h.
typedef TInputImage::RegionType itk::Statistics::ImageClassifierFilter< TSample, TInputImage, TOutputImage >::InputImageRegionType |
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 75 of file itkImageClassifierFilter.h.
typedef TInputImage itk::Statistics::ImageClassifierFilter< TSample, TInputImage, TOutputImage >::InputImageType |
Image pixel value typedef.
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
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 |
Reimplemented from itk::ImageSource< TOutputImage >.
Definition at line 71 of file itkImageClassifierFilter.h.
typedef TOutputImage::RegionType itk::Statistics::ImageClassifierFilter< TSample, TInputImage, TOutputImage >::OutputImageRegionType |
Superclass typedefs.
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 78 of file itkImageClassifierFilter.h.
typedef TOutputImage itk::Statistics::ImageClassifierFilter< TSample, TInputImage, TOutputImage >::OutputImageType |
Some convenient typedefs.
Reimplemented from itk::ImageSource< TOutputImage >.
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 |
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
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
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 53 of file itkImageClassifierFilter.h.
typedef ImageToImageFilter< TInputImage, TOutputImage > itk::Statistics::ImageClassifierFilter< TSample, TInputImage, TOutputImage >::Superclass |
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 54 of file itkImageClassifierFilter.h.
itk::Statistics::ImageClassifierFilter< TSample, TInputImage, TOutputImage >::ImageClassifierFilter | ( | ) | [protected] |
virtual itk::Statistics::ImageClassifierFilter< TSample, TInputImage, TOutputImage >::~ImageClassifierFilter | ( | ) | [inline, protected, virtual] |
Definition at line 154 of file itkImageClassifierFilter.h.
itk::Statistics::ImageClassifierFilter< TSample, TInputImage, TOutputImage >::ImageClassifierFilter | ( | const Self & | ) | [protected] |
virtual::itk::LightObject::Pointer itk::Statistics::ImageClassifierFilter< TSample, TInputImage, TOutputImage >::CreateAnother | ( | void | ) | const [virtual] |
Standard macros
Reimplemented from itk::Object.
void itk::Statistics::ImageClassifierFilter< TSample, TInputImage, TOutputImage >::GenerateData | ( | ) | [protected, virtual] |
Starts the classification process
Reimplemented from itk::ImageSource< TOutputImage >.
virtual const DecisionRuleType* itk::Statistics::ImageClassifierFilter< TSample, TInputImage, TOutputImage >::GetDecisionRule | ( | ) | [virtual] |
Set/Get the decision rule.
const InputImageType* itk::Statistics::ImageClassifierFilter< TSample, TInputImage, TOutputImage >::GetImage | ( | ) | const |
virtual const char* itk::Statistics::ImageClassifierFilter< TSample, TInputImage, TOutputImage >::GetNameOfClass | ( | ) | const [virtual] |
Standard macros
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
virtual unsigned int itk::Statistics::ImageClassifierFilter< TSample, TInputImage, TOutputImage >::GetNumberOfClasses | ( | ) | const [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 Pointer itk::Statistics::ImageClassifierFilter< TSample, TInputImage, TOutputImage >::New | ( | ) | [static] |
Standard macros
Reimplemented from itk::Object.
void itk::Statistics::ImageClassifierFilter< TSample, TInputImage, TOutputImage >::operator= | ( | const Self & | ) | [protected] |
PushBackInput(), PushFronInput() in the public section force the input to be the type expected by an ImageToImageFilter. However, these methods end of "hiding" the versions from the superclass (ProcessObject) whose arguments are DataObjects. Here, we re-expose the versions from ProcessObject to avoid warnings about hiding methods from the superclass.
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
void itk::Statistics::ImageClassifierFilter< TSample, TInputImage, TOutputImage >::PrintSelf | ( | std::ostream & | os, |
Indent | indent | ||
) | const [protected, virtual] |
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 void itk::Statistics::ImageClassifierFilter< TSample, TInputImage, TOutputImage >::SetDecisionRule | ( | const DecisionRuleType * | _arg | ) | [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 void itk::Statistics::ImageClassifierFilter< TSample, TInputImage, TOutputImage >::SetNumberOfClasses | ( | unsigned int | _arg | ) | [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
const unsigned int itk::Statistics::ImageClassifierFilter< TSample, TInputImage, TOutputImage >::InputImageDimension = TInputImage::ImageDimension [static] |
Image related typedefs.
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 82 of file itkImageClassifierFilter.h.
DecisionRulePointer itk::Statistics::ImageClassifierFilter< TSample, TInputImage, TOutputImage >::m_DecisionRule [private] |
Decision Rule
Definition at line 168 of file itkImageClassifierFilter.h.
unsigned int itk::Statistics::ImageClassifierFilter< TSample, TInputImage, TOutputImage >::m_NumberOfClasses [private] |
Definition at line 165 of file itkImageClassifierFilter.h.
const unsigned int itk::Statistics::ImageClassifierFilter< TSample, TInputImage, TOutputImage >::OutputImageDimension = TOutputImage::ImageDimension [static] |
Image related typedefs.
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 84 of file itkImageClassifierFilter.h.