#include <itkSingleValuedVnlCostFunctionAdaptor.h>
Collaboration diagram for itk::SingleValuedVnlCostFunctionAdaptor:
Public Types | |
typedef vnl_vector< double > | InternalParametersType |
typedef double | InternalMeasureType |
typedef vnl_vector< double > | InternalDerivativeType |
typedef SingleValuedCostFunction::ParametersType | ParametersType |
typedef SingleValuedCostFunction::DerivativeType | DerivativeType |
typedef Array< double > | ScalesType |
Public Member Functions | |
SingleValuedVnlCostFunctionAdaptor (unsigned int spaceDimension) | |
void | SetCostFunction (SingleValuedCostFunction *costFunction) |
const SingleValuedCostFunction * | GetCostFunction (void) const |
virtual InternalMeasureType | f (const InternalParametersType &inparameters) |
virtual void | gradf (const InternalParametersType &inparameters, InternalDerivativeType &gradient) |
virtual void | compute (const InternalParametersType &x, InternalMeasureType *f, InternalDerivativeType *g) |
void | ConvertExternalToInternalGradient (const DerivativeType &input, InternalDerivativeType &output) |
void | SetScales (const ScalesType &scales) |
This class returns a single valued.
Definition at line 36 of file itkSingleValuedVnlCostFunctionAdaptor.h.
|
Derivatives of the SingleValuedCostFunction Definition at line 54 of file itkSingleValuedVnlCostFunctionAdaptor.h. |
|
InternalGradientType typedef. Definition at line 48 of file itkSingleValuedVnlCostFunctionAdaptor.h. |
|
InternalMeasureType typedef. Definition at line 45 of file itkSingleValuedVnlCostFunctionAdaptor.h. |
|
InternalParametersType typedef. Definition at line 42 of file itkSingleValuedVnlCostFunctionAdaptor.h. |
|
Parameters of the SingleValuedCostFunction Definition at line 51 of file itkSingleValuedVnlCostFunctionAdaptor.h. |
|
Scales typedef Definition at line 57 of file itkSingleValuedVnlCostFunctionAdaptor.h. |
|
Constructor with size |
|
Delegate computation of value and gradient to the costFunction. |
|
Convert external derviative measures into internal type |
|
Delegate computation of the value to the CostFunction. |
|
Get the CostFunction deriving from SingleValuedCostFunction Definition at line 67 of file itkSingleValuedVnlCostFunctionAdaptor.h. |
|
Delegate computation of the gradient to the costFunction. |
|
Set the CostFunction deriving from SingleValuedCostFunction Definition at line 63 of file itkSingleValuedVnlCostFunctionAdaptor.h. |
|
Set current parameters scaling. |