|
ITK
5.2.0
Insight Toolkit
|
Go to the documentation of this file.
18 #ifndef itkSingleValuedVnlCostFunctionAdaptorv4_h
19 #define itkSingleValuedVnlCostFunctionAdaptorv4_h
23 #include "vnl/vnl_cost_function.h"
110 itkGetConstReferenceMacro(CachedValue,
MeasureType);
void compute(const InternalParametersType &x, InternalMeasureType *fun, InternalDerivativeType *g) override
MeasureType m_CachedValue
unsigned long AddObserver(const EventObject &event, Command *) const
Object::Pointer m_Reporter
DerivativeType m_CachedDerivative
vnl_vector< InternalMeasureType > InternalDerivativeType
void gradf(const InternalParametersType &inparameters, InternalDerivativeType &gradient) override
ObjectToObjectMetricBase::DerivativeType DerivativeType
void SetScales(const ScalesType &scales)
ObjectToObjectMetricBase::Pointer m_ObjectMetric
void ConvertExternalToInternalGradient(const DerivativeType &input, InternalDerivativeType &output) const
Superclass for callback/observer methods.
void ReportIteration(const EventObject &event) const
typename Superclass::ParametersType ParametersType
OptimizerParameters< InternalMeasureType > ScalesType
ObjectToObjectMetricBase::MeasureType MeasureType
vnl_vector< InternalMeasureType > InternalParametersType
Base class for all object-to-object similarity metrics added in ITKv4.
const ParametersType & GetCachedCurrentParameters() const
double InternalMeasureType
This class is an Adaptor that allows to pass itk::ObjectToObjectMetricBase objects to vnl_optimizers ...
typename Superclass::MeasureType MeasureType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
ObjectToObjectMetricBase::ParametersType ParametersType
const ObjectToObjectMetricBase * GetCostFunction() const
SingleValuedVnlCostFunctionAdaptorv4(unsigned int spaceDimension)
Abstraction of the Events used to communicating among filters and with GUIs.
void SetCostFunction(ObjectToObjectMetricBase *costFunction)
typename Superclass::DerivativeType DerivativeType
InternalMeasureType f(const InternalParametersType &inparameters) override