Medical Imaging Interaction Toolkit  2022.04.99-b2814023
Medical Imaging Interaction Toolkit
mitk::MVModelFitCostFunction Class Referenceabstract

#include <mitkMVModelFitCostFunction.h>

Inheritance diagram for mitk::MVModelFitCostFunction:
Collaboration diagram for mitk::MVModelFitCostFunction:

Public Types

typedef MVModelFitCostFunction Self
typedef itk::MultipleValuedCostFunction Superclass
typedef itk::SmartPointer< SelfPointer
typedef itk::SmartPointer< const SelfConstPointer
typedef ModelFitCostFunctionInterface::SignalType SignalType
typedef Superclass::MeasureType MeasureType
typedef Superclass::DerivativeType DerivativeType
- Public Types inherited from mitk::ModelFitCostFunctionInterface
typedef ModelFitCostFunctionInterface Self
typedef itk::Array< double > SignalType

Public Member Functions

void SetSample (const SignalType &sampleSet) override
MeasureType GetValue (const ParametersType &parameter) const override
void GetDerivative (const ParametersType &parameters, DerivativeType &derivative) const override
unsigned int GetNumberOfValues (void) const override
unsigned int GetNumberOfParameters (void) const override
virtual void SetModel (const ModelBase *_arg)
virtual const ModelBaseGetModel ()
virtual void SetDerivativeStepLength (double _arg)
virtual double GetDerivativeStepLength () const
- Public Member Functions inherited from mitk::ModelFitCostFunctionInterface
virtual const ModelBaseGetModel () const =0

Protected Member Functions

virtual MeasureType CalcMeasure (const ParametersType &parameters, const SignalType &signal) const =0
 MVModelFitCostFunction ()
 ~MVModelFitCostFunction () override
- Protected Member Functions inherited from mitk::ModelFitCostFunctionInterface
 ModelFitCostFunctionInterface ()
virtual ~ModelFitCostFunctionInterface ()

Protected Attributes

SignalType m_Sample

Detailed Description

Base class for all model fit cost function that return a multiple cost value It offers also a default implementation for the numerical computation of the derivatives. Normaly you just have to (re)implement CalcMeasure().

Definition at line 30 of file mitkMVModelFitCostFunction.h.

Member Typedef Documentation

◆ ConstPointer

◆ DerivativeType

typedef Superclass::DerivativeType mitk::MVModelFitCostFunction::DerivativeType

Definition at line 41 of file mitkMVModelFitCostFunction.h.

◆ MeasureType

typedef Superclass::MeasureType mitk::MVModelFitCostFunction::MeasureType

Definition at line 40 of file mitkMVModelFitCostFunction.h.

◆ Pointer

◆ Self

◆ SignalType

◆ Superclass

typedef itk::MultipleValuedCostFunction mitk::MVModelFitCostFunction::Superclass

Definition at line 35 of file mitkMVModelFitCostFunction.h.

Constructor & Destructor Documentation

◆ MVModelFitCostFunction()

mitk::MVModelFitCostFunction::MVModelFitCostFunction ( )

Definition at line 61 of file mitkMVModelFitCostFunction.h.

◆ ~MVModelFitCostFunction()

mitk::MVModelFitCostFunction::~MVModelFitCostFunction ( )

Definition at line 65 of file mitkMVModelFitCostFunction.h.

Member Function Documentation

◆ CalcMeasure()

virtual MeasureType mitk::MVModelFitCostFunction::CalcMeasure ( const ParametersType &  parameters,
const SignalType signal 
) const
protectedpure virtual

◆ GetDerivative()

void mitk::MVModelFitCostFunction::GetDerivative ( const ParametersType &  parameters,
DerivativeType derivative 
) const

◆ GetDerivativeStepLength()

virtual double mitk::MVModelFitCostFunction::GetDerivativeStepLength ( ) const

◆ GetModel()

virtual const ModelBase* mitk::MVModelFitCostFunction::GetModel ( )

◆ GetNumberOfParameters()

unsigned int mitk::MVModelFitCostFunction::GetNumberOfParameters ( void  ) const

◆ GetNumberOfValues()

unsigned int mitk::MVModelFitCostFunction::GetNumberOfValues ( void  ) const

◆ GetValue()

MeasureType mitk::MVModelFitCostFunction::GetValue ( const ParametersType &  parameter) const

◆ SetDerivativeStepLength()

virtual void mitk::MVModelFitCostFunction::SetDerivativeStepLength ( double  _arg)

◆ SetModel()

virtual void mitk::MVModelFitCostFunction::SetModel ( const ModelBase _arg)

◆ SetSample()

void mitk::MVModelFitCostFunction::SetSample ( const SignalType sampleSet)

Member Data Documentation

◆ m_Sample

SignalType mitk::MVModelFitCostFunction::m_Sample

Definition at line 67 of file mitkMVModelFitCostFunction.h.

The documentation for this class was generated from the following file: