#include <itkMembershipSampleGenerator.h>
Inheritance diagram for itk::Statistics::MembershipSampleGenerator< TInputSample, TClassMaskSample >:
[NOHEADER] | |
virtual const char * | GetClassName () const |
Pointer | New () |
Public Types | |
typedef MembershipSampleGenerator | Self |
typedef Object | Superclass |
typedef SmartPointer< Self > | Pointer |
typedef SmartPointer< const Self > | ConstPointer |
typedef TInputSample::MeasurementVectorType | MeasurementVectorType |
typedef MembershipSample< TInputSample > | OutputType |
typedef OutputType::Pointer | OutputPointer |
Public Member Functions | |
void | SetInput (const TInputSample *sample) |
const TInputSample * | GetInput () const |
void | SetClassMask (const TClassMaskSample *classMask) |
const TClassMaskSample * | GetClassMask () const |
void | SetNumberOfClasses (int numberOfClasses) |
int | GetNumberOfClasses () |
const OutputType * | GetOutput () const |
void | GenerateData () |
Protected Member Functions | |
MembershipSampleGenerator () | |
virtual | ~MembershipSampleGenerator () |
void | PrintSelf (std::ostream &os, Indent indent) const |
You can see it as a filter that takes two samples as input and generates a MembershipSample. There are two class template arguments first one is the type of basic sample that has measurement vectors in it, and the second one is the type of sample that its measurement vectors has only one component - class label. What it does is that it merges measurement vectors and class labels in a single MembershipSample object.
To get the MembershipSample object you should plug in the input sample and the class mask sample using SetInput and SetClassMask methods respectively.
NOTE: This generator expects the class labels in the class mask sample to be integer value where the value starts 0 and increases without any missing value between 0 to the last class label value.
Definition at line 51 of file itkMembershipSampleGenerator.h.
|
Reimplemented from itk::Object. Definition at line 59 of file itkMembershipSampleGenerator.h. |
|
Input sample types alias Definition at line 67 of file itkMembershipSampleGenerator.h. |
|
Definition at line 71 of file itkMembershipSampleGenerator.h. Referenced by itk::Statistics::MembershipSampleGenerator< TInputSample, TClassMaskSample >::~MembershipSampleGenerator(). |
|
Output: MembershipSample types Definition at line 70 of file itkMembershipSampleGenerator.h. |
|
Reimplemented from itk::Object. Definition at line 58 of file itkMembershipSampleGenerator.h. |
|
Standard class typedefs. Reimplemented from itk::Object. Definition at line 56 of file itkMembershipSampleGenerator.h. |
|
Reimplemented from itk::Object. Definition at line 57 of file itkMembershipSampleGenerator.h. |
|
|
|
Definition at line 98 of file itkMembershipSampleGenerator.h. References itk::Statistics::MembershipSampleGenerator< TInputSample, TClassMaskSample >::OutputPointer. |
|
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 |
|
|