#include <itkWeightedMeanCalculator.h>
Inheritance diagram for itk::Statistics::WeightedMeanCalculator< TSample >:
[NOHEADER] | |
virtual const char * | GetClassName () const |
Pointer | New () |
Public Types | |
typedef WeightedMeanCalculator | Self |
typedef SampleAlgorithmBase< TSample > | Superclass |
typedef SmartPointer< Self > | Pointer |
typedef SmartPointer< const Self > | ConstPointer |
typedef TSample::MeasurementVectorType | MeasurementVectorType |
typedef Vector< double, itkGetStaticConstMacro(MeasurementVectorSize) | OutputType ) |
typedef Array< double > | WeightArrayType |
typedef FunctionBase< MeasurementVectorType, double > | WeightFunctionType |
Public Member Functions | |
itkStaticConstMacro (MeasurementVectorSize, unsigned int, TSample::MeasurementVectorSize) | |
void | SetWeights (WeightArrayType *array) |
WeightArrayType * | GetWeights () |
void | SetWeightFunction (WeightFunctionType *func) |
WeightFunctionType * | GetWeightFunction () |
OutputType * | GetOutput () |
Protected Member Functions | |
WeightedMeanCalculator () | |
virtual | ~WeightedMeanCalculator () |
void | PrintSelf (std::ostream &os, Indent indent) const |
void | GenerateData () |
To run this algorithm, you have plug in the target sample data using SetInpuSample method and provides weight by an array or function. . Then call the Update method to run the alogithm.
Definition at line 44 of file itkWeightedMeanCalculator.h.
|
Reimplemented from itk::Statistics::SampleAlgorithmBase< TSample >. Definition at line 52 of file itkWeightedMeanCalculator.h. |
|
Definition at line 62 of file itkWeightedMeanCalculator.h. |
|
Mean (output) typedef Definition at line 65 of file itkWeightedMeanCalculator.h. Referenced by itk::Statistics::WeightedMeanCalculator< TSample >::~WeightedMeanCalculator(). |
|
Reimplemented from itk::Statistics::SampleAlgorithmBase< TSample >. Definition at line 51 of file itkWeightedMeanCalculator.h. |
|
Standard class typedefs. Reimplemented from itk::Statistics::SampleAlgorithmBase< TSample >. Definition at line 49 of file itkWeightedMeanCalculator.h. |
|
Reimplemented from itk::Statistics::SampleAlgorithmBase< TSample >. Definition at line 50 of file itkWeightedMeanCalculator.h. |
|
Array typedef for weights Definition at line 68 of file itkWeightedMeanCalculator.h. Referenced by itk::Statistics::WeightedMeanCalculator< TSample >::~WeightedMeanCalculator(). |
|
Weight calculation function typedef Definition at line 77 of file itkWeightedMeanCalculator.h. Referenced by itk::Statistics::WeightedMeanCalculator< TSample >::~WeightedMeanCalculator(). |
|
|
|
|
Calculates the mean and save it Reimplemented from itk::Statistics::SampleAlgorithmBase< TSample >.
|
|
Standard Macros Reimplemented from itk::Statistics::SampleAlgorithmBase< TSample >.
|
|
Returns the mean vector as the result |
|
Gets the weight function |
|
Gets the weights array |
|
|
|
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 >.
|
|
Sets the wiehts using an function the function should have a method, Evaluate(MeasurementVectorType&) |
|
Sets the weights using an array |