#include <itkSampleClassifierWithMask.h>
Inheritance diagram for itk::Statistics::SampleClassifierWithMask< TSample, TMaskSample >:
[NOHEADER] | |
virtual const char * | GetNameOfClass () const |
Pointer | New () |
Public Types | |
typedef SampleClassifierWithMask | Self |
typedef SampleClassifier< TSample > | Superclass |
typedef SmartPointer< Self > | Pointer |
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 | |
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 () |
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.
Recent API changes: The static const macro to get the length of a measurement vector, MeasurementVectorSize
has been removed to allow the length of a measurement vector to be specified at run time. Please use the function GetMeasurementVectorSize() instead.
Definition at line 60 of file itkSampleClassifierWithMask.h.
|
Reimplemented from itk::Statistics::SampleClassifier< TSample >. Definition at line 77 of file itkSampleClassifierWithMask.h. Referenced by itk::Statistics::SampleClassifierWithMask< TSample, TMaskSample >::~SampleClassifierWithMask(). |
|
Reimplemented from itk::Statistics::SampleClassifier< TSample >. Definition at line 78 of file itkSampleClassifierWithMask.h. Referenced by itk::Statistics::SampleClassifierWithMask< TSample, TMaskSample >::~SampleClassifierWithMask(). |
|
Reimplemented from itk::Statistics::SampleClassifier< TSample >. Definition at line 68 of file itkSampleClassifierWithMask.h. |
|
typedefs from TSample object Reimplemented from itk::Statistics::SampleClassifier< TSample >. Definition at line 81 of file itkSampleClassifierWithMask.h. |
|
Sets the decision rule Reimplemented from itk::Statistics::SampleClassifier< TSample >. Definition at line 82 of file itkSampleClassifierWithMask.h. |
|
typedefs from Superclass Reimplemented from itk::Statistics::SampleClassifier< TSample >. Definition at line 87 of file itkSampleClassifierWithMask.h. |
|
Superclass typedefs Reimplemented from itk::Statistics::SampleClassifier< TSample >. Definition at line 76 of file itkSampleClassifierWithMask.h. |
|
Reimplemented from itk::Statistics::SampleClassifier< TSample >. Definition at line 67 of file itkSampleClassifierWithMask.h. |
|
Standard class typedef Reimplemented from itk::Statistics::SampleClassifier< TSample >. Definition at line 65 of file itkSampleClassifierWithMask.h. |
|
Reimplemented from itk::Statistics::SampleClassifier< TSample >. Definition at line 66 of file itkSampleClassifierWithMask.h. |
|
|
|
|
Starts the classification process Reimplemented from itk::Statistics::SampleClassifier< TSample >. |
|
Definition at line 91 of file itkSampleClassifierWithMask.h. |
|
Standard macros Reimplemented from itk::Statistics::SampleClassifier< TSample >. |
|
Standard macros Reimplemented from itk::Statistics::SampleClassifier< TSample >. |
|
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 >. |
|
|
|
Definition at line 97 of file itkSampleClassifierWithMask.h. |
|
Definition at line 94 of file itkSampleClassifierWithMask.h. |