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 ( )
inlineprotected

Definition at line 61 of file mitkMVModelFitCostFunction.h.

◆ ~MVModelFitCostFunction()

mitk::MVModelFitCostFunction::~MVModelFitCostFunction ( )
inlineoverrideprotected

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
override

◆ GetDerivativeStepLength()

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

◆ GetModel()

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

◆ GetNumberOfParameters()

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

◆ GetNumberOfValues()

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

◆ GetValue()

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

◆ SetDerivativeStepLength()

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

◆ SetModel()

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

◆ SetSample()

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

Member Data Documentation

◆ m_Sample

SignalType mitk::MVModelFitCostFunction::m_Sample
protected

Definition at line 67 of file mitkMVModelFitCostFunction.h.


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