18#ifndef itkSingleValuedVnlCostFunctionAdaptor_h
19#define itkSingleValuedVnlCostFunctionAdaptor_h
22#include "vnl/vnl_cost_function.h"
23#include "ITKOptimizersExport.h"
Array class with size defined at construction time.
Superclass for callback/observer methods.
Abstraction of the Events used to communicating among filters and with GUIs.
SmartPointer< Self > Pointer
This class is a base for the CostFunctions returning a single value.
SmartPointer< Self > Pointer
Array< ParametersValueType > DerivativeType
Superclass::ParametersType ParametersType
const MeasureType & GetCachedValue() const
const ParametersType & GetCachedCurrentParameters() const
Array< double > ScalesType
ParametersType m_CachedCurrentParameters
void compute(const InternalParametersType &x, InternalMeasureType *fun, InternalDerivativeType *g) override
ScalesType m_InverseScales
vnl_vector< double > InternalDerivativeType
void SetNegateCostFunction(bool flag)
vnl_vector< double > InternalParametersType
InternalMeasureType f(const InternalParametersType &inparameters) override
bool m_NegateCostFunction
void NegateCostFunctionOff()
SingleValuedVnlCostFunctionAdaptor(unsigned int spaceDimension)
Object::Pointer m_Reporter
bool GetNegateCostFunction() const
MeasureType m_CachedValue
void ReportIteration(const EventObject &event) const
SingleValuedCostFunction::MeasureType MeasureType
unsigned long AddObserver(const EventObject &event, Command *) const
SingleValuedCostFunction::ParametersType ParametersType
void SetCostFunction(SingleValuedCostFunction *costFunction)
void ConvertExternalToInternalGradient(const DerivativeType &input, InternalDerivativeType &output) const
SingleValuedCostFunction::DerivativeType DerivativeType
void gradf(const InternalParametersType &inparameters, InternalDerivativeType &gradient) override
DerivativeType m_CachedDerivative
void SetScales(const ScalesType &scales)
SingleValuedCostFunction::Pointer m_CostFunction
double InternalMeasureType
void NegateCostFunctionOn()
const DerivativeType & GetCachedDerivative() const
const SingleValuedCostFunction * GetCostFunction() const
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....