#include <itkMembershipSampleGenerator.h>
Inheritance diagram for itk::Statistics::MembershipSampleGenerator:
[NOHEADER] | |
virtual const char * | GetClassName () const |
Pointer | New () |
Public Types | |
typedef MembershipSampleGenerator | Self |
typedef Object | Superclass |
typedef SmartPointer< Self > | Pointer |
typedef TInputSample::MeasurementVectorType | MeasurementVectorType |
typedef MembershipSample< TInputSample > | OutputType |
typedef OutputType::Pointer | OutputPointer |
Public Methods | |
void | SetInput (TInputSample *sample) |
TInputSample * | GetInput () |
void | SetClassMask (TClassMaskSample *classMask) |
TClassMaskSample * | GetClassMask () |
void | SetNumberOfClasses (int numberOfClasses) |
int | GetNumberOfClasses () |
OutputType * | GetOutput () |
void | GenerateData () |
Protected Methods | |
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.
|
Input sample types alias Definition at line 66 of file itkMembershipSampleGenerator.h. |
|
Definition at line 70 of file itkMembershipSampleGenerator.h. |
|
Output: MembershipSample types Definition at line 69 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 97 of file itkMembershipSampleGenerator.h. References HardConnectedComponentImageFilter::PrintSelf(). |
|
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 |
|
|