18#ifndef itkMultipleValuedVnlCostFunctionAdaptor_h
19#define itkMultipleValuedVnlCostFunctionAdaptor_h
22#include "vnl/vnl_least_squares_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.
This class is a base for the CostFunctions returning a multiple values.
Superclass::ParametersType ParametersType
Array< double > MeasureType
Array2D< double > DerivativeType
SmartPointer< Self > Pointer
vnl_matrix< double > InternalDerivativeType
const MeasureType & GetCachedValue() const
MeasureType m_CachedValue
void ConvertExternalToInternalMeasures(const MeasureType &input, InternalMeasureType &output)
void ReportIteration(const EventObject &event) const
ScalesType m_InverseScales
virtual void compute(const InternalParametersType &x, InternalMeasureType *ff, InternalDerivativeType *g)
DerivativeType m_CachedDerivative
Array< double > ScalesType
MultipleValuedCostFunction::MeasureType MeasureType
MultipleValuedCostFunction::ParametersType ParametersType
MultipleValuedVnlCostFunctionAdaptor(unsigned int spaceDimension, unsigned int numberOfValues)
const DerivativeType & GetCachedDerivative() const
MultipleValuedCostFunction::DerivativeType DerivativeType
void SetScales(const ScalesType &scales)
void ConvertExternalToInternalGradient(const DerivativeType &input, InternalDerivativeType &output)
MultipleValuedCostFunction::Pointer m_CostFunction
void gradf(const InternalParametersType &inparameters, InternalDerivativeType &gradient) override
void SetCostFunction(MultipleValuedCostFunction *costFunction)
const MultipleValuedCostFunction * GetCostFunction() const
unsigned long AddObserver(const EventObject &event, Command *) const
const ParametersType & GetCachedCurrentParameters() const
Object::Pointer m_Reporter
void f(const InternalParametersType &inparameters, InternalMeasureType &measures) override
vnl_vector< double > InternalMeasureType
void SetUseGradient(bool)
ParametersType m_CachedCurrentParameters
bool GetUseGradient() const
vnl_vector< double > InternalParametersType
SmartPointer< Self > Pointer
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....