#include <itkMeanCalculator.h>
Inheritance diagram for itk::Statistics::MeanCalculator< TSample >:
[NOHEADER] | |
virtual const char * | GetNameOfClass () const |
Pointer | New () |
Public Types | |
typedef MeanCalculator | Self |
typedef SampleAlgorithmBase< TSample > | Superclass |
typedef SmartPointer< Self > | Pointer |
typedef SmartPointer< const Self > | ConstPointer |
typedef Superclass::MeasurementVectorSizeType | MeasurementVectorSizeType |
typedef Superclass::MeasurementVectorType | MeasurementVectorType |
typedef Array< double > | OutputType |
Public Member Functions | |
OutputType * | GetOutput () |
Protected Member Functions | |
MeanCalculator () | |
virtual | ~MeanCalculator () |
void | PrintSelf (std::ostream &os, Indent indent) const |
void | GenerateData () |
You plug in the target sample data using SetSample method. Then call the GenerateData method to run the alogithm.
The return value that the GetOutput method where is the number of measurement vectors in the target
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. It is now obtained from the input sample. Please use the function GetMeasurementVectorSize() to obtain the length. The mean output is an Array rather than a Vector.
Definition at line 47 of file itkMeanCalculator.h.
|
Reimplemented from itk::Statistics::SampleAlgorithmBase< TSample >. Definition at line 55 of file itkMeanCalculator.h. |
|
Length of a measurement vector Reimplemented from itk::Statistics::SampleAlgorithmBase< TSample >. Definition at line 63 of file itkMeanCalculator.h. |
|
Measurement vector type Reimplemented from itk::Statistics::SampleAlgorithmBase< TSample >. Definition at line 66 of file itkMeanCalculator.h. |
|
Typedef for the mean output Definition at line 69 of file itkMeanCalculator.h. Referenced by itk::Statistics::MeanCalculator< TSample >::~MeanCalculator(). |
|
Reimplemented from itk::Statistics::SampleAlgorithmBase< TSample >. Definition at line 54 of file itkMeanCalculator.h. |
|
Standard class typedefs. Reimplemented from itk::Statistics::SampleAlgorithmBase< TSample >. Definition at line 52 of file itkMeanCalculator.h. |
|
Reimplemented from itk::Statistics::SampleAlgorithmBase< TSample >. Definition at line 53 of file itkMeanCalculator.h. |
|
|
|
Definition at line 76 of file itkMeanCalculator.h. References itk::Statistics::MeanCalculator< TSample >::OutputType. |
|
Calculates the mean and save it Reimplemented from itk::Statistics::SampleAlgorithmBase< TSample >. |
|
Standard Macros Reimplemented from itk::Statistics::SampleAlgorithmBase< TSample >. |
|
Returns the mean vector |
|
Standard Macros Reimplemented from itk::Statistics::SampleAlgorithmBase< 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::SampleAlgorithmBase< TSample >. |