Medical Imaging Interaction Toolkit  2024.06.99-60d9b802
Medical Imaging Interaction Toolkit
mitk::ExtendedToftsModel Class Reference

Implementation of the Model function of the Tofts pharmacokinetic model, using an Aterial Input Function The Model calculates the Concentration-Time-Curve as a convolution of the plasma curve Cp (the AIF) and a tissue specific residue function (in this case an exponential: R(t) = ktrans * exp(-ktrans/ve * (t)) ). C(t) = vp * Cp(t) + conv(Cp(t),R(t)) The parameters ktrans, ve and ve are subject to the fitting routine. More...

#include <mitkExtendedToftsModel.h>

Inheritance diagram for mitk::ExtendedToftsModel:
Collaboration diagram for mitk::ExtendedToftsModel:

Public Types

typedef ExtendedToftsModel Self
 
typedef AIFBasedModelBase Superclass
 
typedef itk::SmartPointer< SelfPointer
 
typedef itk::SmartPointer< const SelfConstPointer
 
- Public Types inherited from mitk::AIFBasedModelBase
typedef AIFBasedModelBase Self
 
typedef ModelBase Superclass
 
typedef itk::SmartPointer< SelfPointer
 
typedef itk::SmartPointer< const SelfConstPointer
 
typedef itk::Array< double > AterialInputFunctionType
 
- Public Types inherited from mitk::ModelBase
typedef ModelBase Self
 
typedef itk::Object Superclass
 
typedef itk::SmartPointer< SelfPointer
 
typedef itk::SmartPointer< const SelfConstPointer
 
typedef ModelTraitsInterface::ModelResultType ModelResultType
 
typedef ModelTraitsInterface::ParameterValueType ParameterValueType
 
typedef ModelTraitsInterface::ParametersType ParametersType
 
typedef itk::Array< double > TimeGridType
 
typedef ModelTraitsInterface::ParameterNameType ParameterNameType
 
typedef ModelTraitsInterface::ParameterNamesType ParameterNamesType
 
typedef ModelTraitsInterface::ParametersSizeType ParametersSizeType
 
typedef ModelTraitsInterface::DerivedParameterNamesType DerivedParameterNamesType
 
typedef ModelTraitsInterface::DerivedParametersSizeType DerivedParametersSizeType
 
typedef double StaticParameterValueType
 
typedef std::vector< StaticParameterValueTypeStaticParameterValuesType
 
typedef std::map< ParameterNameType, StaticParameterValuesTypeStaticParameterMapType
 
typedef double DerivedParameterValueType
 
typedef std::map< ParameterNameType, DerivedParameterValueTypeDerivedParameterMapType
 
- Public Types inherited from mitk::ModelTraitsInterface
typedef itk::Array< double > ModelResultType
 
using ParameterValueType = double
 
typedef itk::Array< ParameterValueTypeParametersType
 
typedef std::string ParameterNameType
 
typedef std::vector< ParameterNameTypeParameterNamesType
 
typedef ParametersType::SizeValueType ParametersSizeType
 
typedef ParameterNamesType DerivedParameterNamesType
 
typedef ParametersSizeType DerivedParametersSizeType
 
typedef std::map< ParameterNameType, double > ParamterScaleMapType
 
typedef std::map< ParameterNameType, std::string > ParamterUnitMapType
 
typedef std::map< ParameterNameType, double > DerivedParamterScaleMapType
 
typedef std::map< ParameterNameType, std::string > DerivedParamterUnitMapType
 
typedef std::string FunctionStringType
 
typedef std::string ModellClassIDType
 

Public Member Functions

Pointer Clone () const
 
virtual const char * GetClassName () const
 
std::string GetModelDisplayName () const override
 
std::string GetModelType () const override
 
ParameterNamesType GetParameterNames () const override
 
ParametersSizeType GetNumberOfParameters () const override
 
ParamterUnitMapType GetParameterUnits () const override
 
ParameterNamesType GetDerivedParameterNames () const override
 
ParametersSizeType GetNumberOfDerivedParameters () const override
 
ParamterUnitMapType GetDerivedParameterUnits () const override
 
- Public Member Functions inherited from mitk::AIFBasedModelBase
virtual const AterialInputFunctionTypeGetAterialInputFunctionValues ()
 
virtual const TimeGridTypeGetAterialInputFunctionTimeGrid ()
 
virtual void SetAterialInputFunctionValues (AterialInputFunctionType _arg)
 
virtual void SetAterialInputFunctionTimeGrid (TimeGridType _arg)
 
std::string GetXAxisName () const override
 
std::string GetXAxisUnit () const override
 
std::string GetYAxisName () const override
 
std::string GetYAxisUnit () const override
 
const TimeGridTypeGetCurrentAterialInputFunctionTimeGrid () const
 
const AterialInputFunctionType GetAterialInputFunction (TimeGridType currentTimeGrid) const
 
ParameterNamesType GetStaticParameterNames () const override
 
ParametersSizeType GetNumberOfStaticParameters () const override
 
ParamterUnitMapType GetStaticParameterUnits () const override
 
- Public Member Functions inherited from mitk::ModelBase
ParamterScaleMapType GetParameterScales () const override
 
DerivedParamterScaleMapType GetDerivedParameterScales () const override
 
FunctionStringType GetFunctionString () const override
 
ModellClassIDType GetClassID () const override
 
std::string GetXName () const override
 
void SetStaticParameters (const StaticParameterMapType &parameters, bool allParameters=true)
 
StaticParameterMapType GetStaticParameters () const
 
DerivedParameterMapType GetDerivedParameters (const ParametersType &parameters) const
 
virtual void SetTimeGrid (const TimeGridType &grid)
 
virtual const TimeGridTypeGetTimeGrid ()
 
ModelResultType GetSignal (const ParametersType &parameters) const
 

Static Public Member Functions

static Pointer New ()
 

Static Public Attributes

static const std::string NAME_PARAMETER_Ktrans
 
static const std::string NAME_PARAMETER_ve
 
static const std::string NAME_PARAMETER_vp
 
static const std::string UNIT_PARAMETER_Ktrans
 
static const std::string UNIT_PARAMETER_ve
 
static const std::string UNIT_PARAMETER_vp
 
static const unsigned int POSITION_PARAMETER_Ktrans
 
static const unsigned int POSITION_PARAMETER_ve
 
static const unsigned int POSITION_PARAMETER_vp
 
static const unsigned int NUMBER_OF_PARAMETERS
 
static const std::string NAME_DERIVED_PARAMETER_kep
 
static const unsigned int NUMBER_OF_DERIVED_PARAMETERS
 
static const std::string UNIT_DERIVED_PARAMETER_kep
 
static const std::string MODEL_DISPLAY_NAME
 
static const std::string MODEL_TYPE
 
- Static Public Attributes inherited from mitk::AIFBasedModelBase
static const std::string NAME_STATIC_PARAMETER_AIF
 
static const std::string NAME_STATIC_PARAMETER_AIFTimeGrid
 
static const std::string UNIT_STATIC_PARAMETER_AIF
 
static const std::string UNIT_STATIC_PARAMETER_AIFTimeGrid
 
static const unsigned int NUMBER_OF_STATIC_PARAMETERS
 
static const std::string X_AXIS_NAME
 
static const std::string X_AXIS_UNIT
 
static const std::string Y_AXIS_NAME
 
static const std::string Y_AXIS_UNIT
 

Protected Member Functions

 ExtendedToftsModel ()
 
 ~ExtendedToftsModel () override
 
itk::LightObject::Pointer InternalClone () const override
 
ModelResultType ComputeModelfunction (const ParametersType &parameters) const override
 
DerivedParameterMapType ComputeDerivedParameters (const mitk::ModelBase::ParametersType &parameters) const override
 
void PrintSelf (std::ostream &os, ::itk::Indent indent) const override
 
- Protected Member Functions inherited from mitk::AIFBasedModelBase
 AIFBasedModelBase ()
 
 ~AIFBasedModelBase () override
 
bool ValidateModel (std::string &error) const override
 
void PrintSelf (std::ostream &os, ::itk::Indent indent) const override
 
void SetStaticParameter (const ParameterNameType &name, const StaticParameterValuesType &values) override
 
StaticParameterValuesType GetStaticParameterValue (const ParameterNameType &name) const override
 
- Protected Member Functions inherited from mitk::ModelBase
 ModelBase ()
 
 ~ModelBase () override
 
void PrintSelf (std::ostream &os, ::itk::Indent indent) const override
 
- Protected Member Functions inherited from mitk::ModelTraitsInterface
 ModelTraitsInterface ()
 
virtual ~ModelTraitsInterface ()
 

Additional Inherited Members

- Protected Attributes inherited from mitk::AIFBasedModelBase
TimeGridType m_AterialInputFunctionTimeGrid
 
AterialInputFunctionType m_AterialInputFunctionValues
 
- Protected Attributes inherited from mitk::ModelBase
TimeGridType m_TimeGrid
 

Detailed Description

Implementation of the Model function of the Tofts pharmacokinetic model, using an Aterial Input Function The Model calculates the Concentration-Time-Curve as a convolution of the plasma curve Cp (the AIF) and a tissue specific residue function (in this case an exponential: R(t) = ktrans * exp(-ktrans/ve * (t)) ). C(t) = vp * Cp(t) + conv(Cp(t),R(t)) The parameters ktrans, ve and ve are subject to the fitting routine.

Definition at line 28 of file mitkExtendedToftsModel.h.

Member Typedef Documentation

◆ ConstPointer

◆ Pointer

◆ Self

◆ Superclass

Constructor & Destructor Documentation

◆ ExtendedToftsModel()

mitk::ExtendedToftsModel::ExtendedToftsModel ( )
protected

◆ ~ExtendedToftsModel()

mitk::ExtendedToftsModel::~ExtendedToftsModel ( )
overrideprotected

Member Function Documentation

◆ Clone()

Pointer mitk::ExtendedToftsModel::Clone ( ) const

◆ ComputeDerivedParameters()

DerivedParameterMapType mitk::ExtendedToftsModel::ComputeDerivedParameters ( const mitk::ModelBase::ParametersType parameters) const
overrideprotectedvirtual

Helper function called by GetDerivedParameters(). Implement in derived classes to realize the concrete computation of derived parameters.

Remarks
Default implementation has no derived parameters

Reimplemented from mitk::ModelBase.

◆ ComputeModelfunction()

ModelResultType mitk::ExtendedToftsModel::ComputeModelfunction ( const ParametersType parameters) const
overrideprotectedvirtual

Implements mitk::ModelBase.

◆ GetClassName()

virtual const char* mitk::ExtendedToftsModel::GetClassName ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from mitk::AIFBasedModelBase.

◆ GetDerivedParameterNames()

ParameterNamesType mitk::ExtendedToftsModel::GetDerivedParameterNames ( ) const
overridevirtual

Returns the names of derived parameters that can/will be computed by the model given specific model parameters.

Remarks
Default implementation has no derived parameters

Reimplemented from mitk::ModelBase.

◆ GetDerivedParameterUnits()

ParamterUnitMapType mitk::ExtendedToftsModel::GetDerivedParameterUnits ( ) const
overridevirtual

Default implementation returns no unit string ("") for every defined derived parameter.

Reimplemented from mitk::ModelBase.

◆ GetModelDisplayName()

std::string mitk::ExtendedToftsModel::GetModelDisplayName ( ) const
overridevirtual

Default implementation returns GetClassID as display name.

Reimplemented from mitk::ModelBase.

◆ GetModelType()

std::string mitk::ExtendedToftsModel::GetModelType ( ) const
overridevirtual

Default implementation returns "Unkown" as model type.

Reimplemented from mitk::ModelBase.

◆ GetNumberOfDerivedParameters()

ParametersSizeType mitk::ExtendedToftsModel::GetNumberOfDerivedParameters ( ) const
overridevirtual

Returns the number of derived parameters that can/will be computed by the model given specific model parameters.

Remarks
Default implementation has no derived parameters

Reimplemented from mitk::ModelBase.

◆ GetNumberOfParameters()

ParametersSizeType mitk::ExtendedToftsModel::GetNumberOfParameters ( ) const
overridevirtual

Returns the number of parameters that must be defined when using the model to compute the signal (GetSignal()).

Implements mitk::ModelTraitsInterface.

◆ GetParameterNames()

ParameterNamesType mitk::ExtendedToftsModel::GetParameterNames ( ) const
overridevirtual

Returns the names of parameters that must be defined when using the model to compute the signal (GetSignal()).

Implements mitk::ModelTraitsInterface.

◆ GetParameterUnits()

ParamterUnitMapType mitk::ExtendedToftsModel::GetParameterUnits ( ) const
overridevirtual

Default implementation returns no unit string ("") for every defined parameter.

Reimplemented from mitk::ModelBase.

◆ InternalClone()

itk::LightObject::Pointer mitk::ExtendedToftsModel::InternalClone ( ) const
overrideprotected

Actual implementation of the clone method. This method should be reimplemeted in subclasses to clone the extra required parameters.

◆ New()

static Pointer mitk::ExtendedToftsModel::New ( )
static

Method for creation through the object factory.

◆ PrintSelf()

void mitk::ExtendedToftsModel::PrintSelf ( std::ostream &  os,
::itk::Indent  indent 
) const
overrideprotected

Member Data Documentation

◆ MODEL_DISPLAY_NAME

const std::string mitk::ExtendedToftsModel::MODEL_DISPLAY_NAME
static

Definition at line 64 of file mitkExtendedToftsModel.h.

◆ MODEL_TYPE

const std::string mitk::ExtendedToftsModel::MODEL_TYPE
static

Definition at line 66 of file mitkExtendedToftsModel.h.

◆ NAME_DERIVED_PARAMETER_kep

const std::string mitk::ExtendedToftsModel::NAME_DERIVED_PARAMETER_kep
static

Definition at line 58 of file mitkExtendedToftsModel.h.

◆ NAME_PARAMETER_Ktrans

const std::string mitk::ExtendedToftsModel::NAME_PARAMETER_Ktrans
static

Definition at line 42 of file mitkExtendedToftsModel.h.

◆ NAME_PARAMETER_ve

const std::string mitk::ExtendedToftsModel::NAME_PARAMETER_ve
static

Definition at line 45 of file mitkExtendedToftsModel.h.

◆ NAME_PARAMETER_vp

const std::string mitk::ExtendedToftsModel::NAME_PARAMETER_vp
static

Definition at line 46 of file mitkExtendedToftsModel.h.

◆ NUMBER_OF_DERIVED_PARAMETERS

const unsigned int mitk::ExtendedToftsModel::NUMBER_OF_DERIVED_PARAMETERS
static

Definition at line 60 of file mitkExtendedToftsModel.h.

◆ NUMBER_OF_PARAMETERS

const unsigned int mitk::ExtendedToftsModel::NUMBER_OF_PARAMETERS
static

Definition at line 56 of file mitkExtendedToftsModel.h.

◆ POSITION_PARAMETER_Ktrans

const unsigned int mitk::ExtendedToftsModel::POSITION_PARAMETER_Ktrans
static

Definition at line 52 of file mitkExtendedToftsModel.h.

◆ POSITION_PARAMETER_ve

const unsigned int mitk::ExtendedToftsModel::POSITION_PARAMETER_ve
static

Definition at line 53 of file mitkExtendedToftsModel.h.

◆ POSITION_PARAMETER_vp

const unsigned int mitk::ExtendedToftsModel::POSITION_PARAMETER_vp
static

Definition at line 54 of file mitkExtendedToftsModel.h.

◆ UNIT_DERIVED_PARAMETER_kep

const std::string mitk::ExtendedToftsModel::UNIT_DERIVED_PARAMETER_kep
static

Definition at line 62 of file mitkExtendedToftsModel.h.

◆ UNIT_PARAMETER_Ktrans

const std::string mitk::ExtendedToftsModel::UNIT_PARAMETER_Ktrans
static

Definition at line 48 of file mitkExtendedToftsModel.h.

◆ UNIT_PARAMETER_ve

const std::string mitk::ExtendedToftsModel::UNIT_PARAMETER_ve
static

Definition at line 49 of file mitkExtendedToftsModel.h.

◆ UNIT_PARAMETER_vp

const std::string mitk::ExtendedToftsModel::UNIT_PARAMETER_vp
static

Definition at line 50 of file mitkExtendedToftsModel.h.


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