#include <itkWeightedMeanCalculator.h>
Inheritance diagram for itk::Statistics::WeightedMeanCalculator:
[NOHEADER] | |
virtual const char * | GetClassName () const |
Pointer | New () |
Public Types | |
typedef WeightedMeanCalculator | Self |
typedef SampleAlgorithmBase< TSample > | Superclass |
typedef SmartPointer< Self > | Pointer |
typedef TSample::MeasurementVectorType | MeasurementVectorType |
typedef Vector< double, itkGetStaticConstMacro(MeasurementVectorSize) | OutputType ) |
typedef Array< double > | WeightArrayType |
typedef FunctionBase< MeasurementVectorType, double > | WeightFunctionType |
Public Methods | |
itkStaticConstMacro (MeasurementVectorSize, unsigned int, TSample::MeasurementVectorSize) | |
void | SetWeights (WeightArrayType *array) |
WeightArrayType * | GetWeights () |
void | SetWeightFunction (WeightFunctionType *func) |
WeightFunctionType * | GetWeightFunction () |
OutputType * | GetOutput () |
Protected Methods | |
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.
|
Definition at line 61 of file itkWeightedMeanCalculator.h. |
|
Mean (output) typedef Definition at line 64 of file itkWeightedMeanCalculator.h. |
|
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 67 of file itkWeightedMeanCalculator.h. |
|
Weight calculation function typedef Definition at line 76 of file itkWeightedMeanCalculator.h. |
|
|
|
Definition at line 91 of file itkWeightedMeanCalculator.h. |
|
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 |