#include <itkSelectiveSubsampleGenerator.h>
Inheritance diagram for itk::Statistics::SelectiveSubsampleGenerator< TInputSample, TClassMaskSample >:
[NOHEADER] | |
virtual const char * | GetClassName () const |
Pointer | New () |
Public Types | |
typedef SelectiveSubsampleGenerator | Self |
typedef Object | Superclass |
typedef SmartPointer< Self > | Pointer |
typedef SmartPointer< const Self > | ConstPointer |
typedef TInputSample::MeasurementVectorType | MeasurementVectorType |
typedef TClassMaskSample::MeasurementType | ClassLabelType |
typedef std::vector< ClassLabelType > | ClassLabelVectorType |
typedef Subsample< TInputSample > | OutputType |
typedef OutputType::Pointer | OutputPointer |
Public Member Functions | |
void | SetInput (TInputSample *sample) |
TInputSample * | GetInput () |
void | SetClassMask (const TClassMaskSample *classMask) |
const TClassMaskSample * | GetClassMask () const |
void | SetSelectedClassLabels (const ClassLabelVectorType &classLabels) |
const OutputType * | GetOutput () const |
void | GenerateData () |
Protected Member Functions | |
SelectiveSubsampleGenerator () | |
virtual | ~SelectiveSubsampleGenerator () |
void | PrintSelf (std::ostream &os, Indent indent) const |
To instantiate an object of this class you have to provide two template arguments: the type of the input sample and the type of class mask sample.
The input sample is a sample that has all the measurement vectors and the class mask sample contains class labels for their corresponding measurement vectors in the input sample. Therefore, the sizes of both should be the same.
To generate a subsample that a part of the input sample that belongs to a set of classes, you should call SetSelectedClassLabels method with the class labels that you want to include in the output.
Definition at line 49 of file itkSelectiveSubsampleGenerator.h.
|
Definition at line 67 of file itkSelectiveSubsampleGenerator.h. |
|
Definition at line 68 of file itkSelectiveSubsampleGenerator.h. Referenced by itk::Statistics::SelectiveSubsampleGenerator< TInputSample, TClassMaskSample >::~SelectiveSubsampleGenerator(). |
|
Reimplemented from itk::Object. Definition at line 57 of file itkSelectiveSubsampleGenerator.h. |
|
Input sample types alias Definition at line 65 of file itkSelectiveSubsampleGenerator.h. |
|
Definition at line 72 of file itkSelectiveSubsampleGenerator.h. Referenced by itk::Statistics::SelectiveSubsampleGenerator< TInputSample, TClassMaskSample >::~SelectiveSubsampleGenerator(). |
|
Output: MembershipSample types Definition at line 71 of file itkSelectiveSubsampleGenerator.h. |
|
Reimplemented from itk::Object. Definition at line 56 of file itkSelectiveSubsampleGenerator.h. |
|
Standard class typedefs. Reimplemented from itk::Object. Definition at line 54 of file itkSelectiveSubsampleGenerator.h. |
|
Reimplemented from itk::Object. Definition at line 55 of file itkSelectiveSubsampleGenerator.h. |
|
|
|
|
The actual output generation procedure. |
|
Returns the class mask sample pointer |
|
Standard Macros Reimplemented from itk::Object.
|
|
Returns the input sample pointer |
|
Returns the pointer to the MembershipSample object that has been generated by this |
|
Standard Macros Reimplemented from itk::Object.
|
|
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::Object.
|
|
Stores the class mask sample |
|
Stores the input sample |
|
Definition at line 86 of file itkSelectiveSubsampleGenerator.h. |