Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itk::Statistics::SampleClassifierWithMask< TSample, TMaskSample > Class Template Reference

Integration point for MembershipCalculator, DecisionRule, and target sample data. This class is functionally identical to the SampleClassifier, except that users can perform only part of the input sample that belongs to the subset of classes. More...

#include <itkSampleClassifierWithMask.h>

Inheritance diagram for itk::Statistics::SampleClassifierWithMask< TSample, TMaskSample >:

Inheritance graph
[legend]
Collaboration diagram for itk::Statistics::SampleClassifierWithMask< TSample, TMaskSample >:

Collaboration graph
[legend]
List of all members.

[NOHEADER]

virtual const char * GetClassName () const
Pointer New ()

Public Types

typedef SampleClassifierWithMask Self
typedef SampleClassifier<
TSample > 
Superclass
typedef SmartPointer< SelfPointer
typedef SmartPointer< const
Self
ConstPointer
typedef Superclass::OutputType OutputType
typedef Superclass::ClassLabelType ClassLabelType
typedef Superclass::ClassLabelVectorType ClassLabelVectorType
typedef TSample::MeasurementType MeasurementType
typedef TSample::MeasurementVectorType MeasurementVectorType
typedef Superclass::MembershipFunctionPointerVector MembershipFunctionPointerVector

Public Member Functions

 itkStaticConstMacro (MeasurementVectorSize, unsigned int, TSample::MeasurementVectorSize)
void SetMask (TMaskSample *mask)
TMaskSample * GetMask ()
void SetSelectedClassLabels (ClassLabelVectorType &labels)
void SetOtherClassLabel (ClassLabelType label)

Protected Member Functions

 SampleClassifierWithMask ()
virtual ~SampleClassifierWithMask ()
void PrintSelf (std::ostream &os, Indent indent) const
void GenerateData ()

Detailed Description

template<class TSample, class TMaskSample>
class itk::Statistics::SampleClassifierWithMask< TSample, TMaskSample >

Integration point for MembershipCalculator, DecisionRule, and target sample data. This class is functionally identical to the SampleClassifier, except that users can perform only part of the input sample that belongs to the subset of classes.

To this purpose, this class needs a class mask sample that has class labels as measurement vectors. Using SetMask method, users can provide the class mask sample.

To specify which classes should be included for classification, users must call SetSelectedClassLabels method with class labels that will be included. All measurement vectors that belong to the non-selected classes will be classified to the class label that has been given by the SetOtherClassLabel method.

Except for the modifications mentioned above, the basic behavior and methods are identical to those of SampleClassifier.

See also:
SampleClassifier

Definition at line 54 of file itkSampleClassifierWithMask.h.


Member Typedef Documentation

template<class TSample, class TMaskSample>
typedef Superclass::ClassLabelType itk::Statistics::SampleClassifierWithMask< TSample, TMaskSample >::ClassLabelType
 

Reimplemented from itk::Statistics::SampleClassifier< TSample >.

Definition at line 71 of file itkSampleClassifierWithMask.h.

Referenced by itk::Statistics::SampleClassifierWithMask< TSample, TMaskSample >::~SampleClassifierWithMask().

template<class TSample, class TMaskSample>
typedef Superclass::ClassLabelVectorType itk::Statistics::SampleClassifierWithMask< TSample, TMaskSample >::ClassLabelVectorType
 

Reimplemented from itk::Statistics::SampleClassifier< TSample >.

Definition at line 72 of file itkSampleClassifierWithMask.h.

Referenced by itk::Statistics::SampleClassifierWithMask< TSample, TMaskSample >::~SampleClassifierWithMask().

template<class TSample, class TMaskSample>
typedef SmartPointer<const Self> itk::Statistics::SampleClassifierWithMask< TSample, TMaskSample >::ConstPointer
 

Reimplemented from itk::Statistics::SampleClassifier< TSample >.

Definition at line 62 of file itkSampleClassifierWithMask.h.

template<class TSample, class TMaskSample>
typedef TSample::MeasurementType itk::Statistics::SampleClassifierWithMask< TSample, TMaskSample >::MeasurementType
 

typedefs from TSample object

Reimplemented from itk::Statistics::SampleClassifier< TSample >.

Definition at line 75 of file itkSampleClassifierWithMask.h.

template<class TSample, class TMaskSample>
typedef TSample::MeasurementVectorType itk::Statistics::SampleClassifierWithMask< TSample, TMaskSample >::MeasurementVectorType
 

Sets the decision rule

Reimplemented from itk::Statistics::SampleClassifier< TSample >.

Definition at line 76 of file itkSampleClassifierWithMask.h.

template<class TSample, class TMaskSample>
typedef Superclass::MembershipFunctionPointerVector itk::Statistics::SampleClassifierWithMask< TSample, TMaskSample >::MembershipFunctionPointerVector
 

typedefs from Superclass

Reimplemented from itk::Statistics::SampleClassifier< TSample >.

Definition at line 83 of file itkSampleClassifierWithMask.h.

template<class TSample, class TMaskSample>
typedef Superclass::OutputType itk::Statistics::SampleClassifierWithMask< TSample, TMaskSample >::OutputType
 

Superclass typedefs

Reimplemented from itk::Statistics::SampleClassifier< TSample >.

Definition at line 70 of file itkSampleClassifierWithMask.h.

template<class TSample, class TMaskSample>
typedef SmartPointer< Self > itk::Statistics::SampleClassifierWithMask< TSample, TMaskSample >::Pointer
 

Reimplemented from itk::Statistics::SampleClassifier< TSample >.

Definition at line 61 of file itkSampleClassifierWithMask.h.

template<class TSample, class TMaskSample>
typedef SampleClassifierWithMask itk::Statistics::SampleClassifierWithMask< TSample, TMaskSample >::Self
 

Standard class typedef

Reimplemented from itk::Statistics::SampleClassifier< TSample >.

Definition at line 59 of file itkSampleClassifierWithMask.h.

template<class TSample, class TMaskSample>
typedef SampleClassifier< TSample > itk::Statistics::SampleClassifierWithMask< TSample, TMaskSample >::Superclass
 

Reimplemented from itk::Statistics::SampleClassifier< TSample >.

Definition at line 60 of file itkSampleClassifierWithMask.h.


Constructor & Destructor Documentation

template<class TSample, class TMaskSample>
itk::Statistics::SampleClassifierWithMask< TSample, TMaskSample >::SampleClassifierWithMask  )  [protected]
 

template<class TSample, class TMaskSample>
virtual itk::Statistics::SampleClassifierWithMask< TSample, TMaskSample >::~SampleClassifierWithMask  )  [inline, protected, virtual]
 

Definition at line 98 of file itkSampleClassifierWithMask.h.

References itk::Statistics::SampleClassifierWithMask< TSample, TMaskSample >::ClassLabelType, and itk::Statistics::SampleClassifierWithMask< TSample, TMaskSample >::ClassLabelVectorType.


Member Function Documentation

template<class TSample, class TMaskSample>
void itk::Statistics::SampleClassifierWithMask< TSample, TMaskSample >::GenerateData  )  [protected, virtual]
 

Starts the classification process

Reimplemented from itk::Statistics::SampleClassifier< TSample >.

template<class TSample, class TMaskSample>
virtual const char* itk::Statistics::SampleClassifierWithMask< TSample, TMaskSample >::GetClassName  )  const [virtual]
 

Standard macros

Reimplemented from itk::Statistics::SampleClassifier< TSample >.

template<class TSample, class TMaskSample>
TMaskSample* itk::Statistics::SampleClassifierWithMask< TSample, TMaskSample >::GetMask  )  [inline]
 

Definition at line 87 of file itkSampleClassifierWithMask.h.

template<class TSample, class TMaskSample>
itk::Statistics::SampleClassifierWithMask< TSample, TMaskSample >::itkStaticConstMacro MeasurementVectorSize  ,
unsigned  int,
TSample::MeasurementVectorSize 
 

Reimplemented from itk::Statistics::SampleClassifier< TSample >.

template<class TSample, class TMaskSample>
Pointer itk::Statistics::SampleClassifierWithMask< TSample, TMaskSample >::New  )  [static]
 

Standard macros

Reimplemented from itk::Statistics::SampleClassifier< TSample >.

template<class TSample, class TMaskSample>
void itk::Statistics::SampleClassifierWithMask< TSample, TMaskSample >::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::Statistics::SampleClassifier< TSample >.

template<class TSample, class TMaskSample>
void itk::Statistics::SampleClassifierWithMask< TSample, TMaskSample >::SetMask TMaskSample *  mask  ) 
 

template<class TSample, class TMaskSample>
void itk::Statistics::SampleClassifierWithMask< TSample, TMaskSample >::SetOtherClassLabel ClassLabelType  label  )  [inline]
 

Definition at line 93 of file itkSampleClassifierWithMask.h.

template<class TSample, class TMaskSample>
void itk::Statistics::SampleClassifierWithMask< TSample, TMaskSample >::SetSelectedClassLabels ClassLabelVectorType labels  )  [inline]
 

Definition at line 90 of file itkSampleClassifierWithMask.h.


The documentation for this class was generated from the following file:
Generated at Sun Apr 1 03:24:39 2007 for ITK by doxygen 1.3.8 written by Dimitri van Heesch, © 1997-2000