ITK
4.2.0
Insight Segmentation and Registration Toolkit
|
#include <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 Public Attributes inherited from itk::ImageSource< TOutputImage > |
Private Attributes | |
DecisionRulePointer | m_DecisionRule |
unsigned int | m_NumberOfClasses |
virtual const char * | GetNameOfClass () const |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
static Pointer | New () |
Additional Inherited Members | |
Protected Types inherited from itk::ImageToImageFilter< TInputImage, TOutputImage > | |
typedef ImageToImageFilterDetail::ImageRegionCopier < itkGetStaticConstMacro(OutputImageDimension), itkGetStaticConstMacro(InputImageDimension) > | InputToOutputRegionCopierType |
typedef ImageToImageFilterDetail::ImageRegionCopier < itkGetStaticConstMacro(InputImageDimension), itkGetStaticConstMacro(OutputImageDimension) > | OutputToInputRegionCopierType |
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.
|
protected |
|
inlineprotectedvirtual |
Definition at line 154 of file itkImageClassifierFilter.h.
|
protected |
|
virtual |
Standard macros
Reimplemented from itk::Object.
|
protectedvirtual |
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
Reimplemented from itk::Object.
|
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 >.
|
protectedvirtual |
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.
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 82 of file itkImageClassifierFilter.h.
|
private |
Decision Rule
Definition at line 168 of file itkImageClassifierFilter.h.
|
private |
Definition at line 165 of file itkImageClassifierFilter.h.
|
static |
Image related typedefs.
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 84 of file itkImageClassifierFilter.h.