#include <itkCumulativeGaussianOptimizer.h>
Inheritance diagram for itk::CumulativeGaussianOptimizer:
Public Types | |
typedef CumulativeGaussianOptimizer | Self |
typedef MultipleValuedNonLinearOptimizer | Superclass |
typedef SmartPointer< Self > | Pointer |
typedef SmartPointer< const Self > | ConstPointer |
typedef CumulativeGaussianCostFunction | CostFunctionType |
typedef CostFunctionType::MeasureType | MeasureType |
Public Member Functions | |
virtual const char * | GetClassName () const |
void | SetDataArray (MeasureType *dataArray) |
void | StartOptimization () |
void | PrintArray (MeasureType *array) |
virtual void | SetDifferenceTolerance (double _arg) |
virtual void | SetVerbose (bool _arg) |
virtual double | GetComputedMean () |
virtual double | GetComputedStandardDeviation () |
virtual double | GetUpperAsymptote () |
virtual double | GetLowerAsymptote () |
virtual MeasureType * | GetFinalSampledArray () |
virtual double | GetFitError () |
Static Public Member Functions | |
Pointer | New () |
Protected Member Functions | |
CumulativeGaussianOptimizer () | |
virtual | ~CumulativeGaussianOptimizer () |
void | PrintSelf (std::ostream &os, Indent indent) const |
This optimizer will only work if the data array is sampled from a Cumulative Gaussian curve. It's more of a curve fitter than an optimizer, with the advantage of being fast and specific. It works by taking the derivative of the Cumulative Gaussian sample then repeatedly extending the tails of the Gaussian and recalculating the Gaussian parameters until the change in iterations is within tolerance or very small. The Gaussian is then integrated to reproduce the Cumulative Gaussian and the asymptotes are estimated by using least squares fit to estimate the constant from integration.
Definition at line 47 of file itkCumulativeGaussianOptimizer.h.
|
Reimplemented from itk::MultipleValuedNonLinearOptimizer. Definition at line 57 of file itkCumulativeGaussianOptimizer.h. |
|
Cost function typedef. NOTE: This optimizer is specific to fitting a Cumulative Gaussian. Reimplemented from itk::MultipleValuedNonLinearOptimizer. Definition at line 60 of file itkCumulativeGaussianOptimizer.h. |
|
Data array typedef. Reimplemented from itk::MultipleValuedNonLinearOptimizer. Definition at line 63 of file itkCumulativeGaussianOptimizer.h. |
|
Reimplemented from itk::MultipleValuedNonLinearOptimizer. Definition at line 56 of file itkCumulativeGaussianOptimizer.h. |
|
Standard typedefs. Reimplemented from itk::MultipleValuedNonLinearOptimizer. Definition at line 54 of file itkCumulativeGaussianOptimizer.h. |
|
Reimplemented from itk::MultipleValuedNonLinearOptimizer. Definition at line 55 of file itkCumulativeGaussianOptimizer.h. |
|
|
|
|
|
Run-time type information (and related methods). Reimplemented from itk::MultipleValuedNonLinearOptimizer.
|
|
Set and get macros. |
|
Set and get macros. |
|
Set and get macros. |
|
Set and get macros. |
|
Set and get macros. |
|
Set and get macros. |
|
Method for creation through the object factory. Reimplemented from itk::MultipleValuedNonLinearOptimizer.
|
|
Print an array. |
|
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::MultipleValuedNonLinearOptimizer.
|
|
|
|
Set and get macros. |
|
Set and get macros. |
|
Start the optimizer. Reimplemented from itk::Optimizer.
|