Medical Imaging Interaction Toolkit
2023.12.00
Medical Imaging Interaction Toolkit
|
Base Class for all physiological perfusion models using an Aterial Input Function All AIF based models come with an array of AIF values and the corresponding TimeGrid ( AIF(t)) This class provides functions for setting the AIF Values and optionally a specific AIF TimeGrid. It also provides a method for interpolation of the AIF source array to a specified Timegrid that differs from AIFTimeGrid. The AIF must be set with an itk::Array. If no AIFTimeGrid is specified with the Setter, it is assumed that the AIFTimeGrid is the same as the ModelTimegrid (e.g. AIF is derived from data set to be fitted). In this case, AIFvalues must have the same length as ModelTimeGrid, otherwise an exception is generated. More...
#include <mitkAIFBasedModelBase.h>
Static Public Attributes | |
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 | |
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 | |
virtual ModelResultType | ComputeModelfunction (const ParametersType ¶meters) const =0 |
virtual DerivedParameterMapType | ComputeDerivedParameters (const ParametersType ¶meters) const |
ModelBase () | |
~ModelBase () override | |
void | PrintSelf (std::ostream &os, ::itk::Indent indent) const override |
Protected Member Functions inherited from mitk::ModelTraitsInterface | |
ModelTraitsInterface () | |
virtual | ~ModelTraitsInterface () |
Protected Attributes | |
TimeGridType | m_AterialInputFunctionTimeGrid |
AterialInputFunctionType | m_AterialInputFunctionValues |
Protected Attributes inherited from mitk::ModelBase | |
TimeGridType | m_TimeGrid |
Base Class for all physiological perfusion models using an Aterial Input Function All AIF based models come with an array of AIF values and the corresponding TimeGrid ( AIF(t)) This class provides functions for setting the AIF Values and optionally a specific AIF TimeGrid. It also provides a method for interpolation of the AIF source array to a specified Timegrid that differs from AIFTimeGrid. The AIF must be set with an itk::Array. If no AIFTimeGrid is specified with the Setter, it is assumed that the AIFTimeGrid is the same as the ModelTimegrid (e.g. AIF is derived from data set to be fitted). In this case, AIFvalues must have the same length as ModelTimeGrid, otherwise an exception is generated.
Definition at line 31 of file mitkAIFBasedModelBase.h.
typedef itk::Array<double> mitk::AIFBasedModelBase::AterialInputFunctionType |
Typedef for Aterial InputFunction AIF(t)
Definition at line 62 of file mitkAIFBasedModelBase.h.
typedef itk::SmartPointer< const Self > mitk::AIFBasedModelBase::ConstPointer |
Definition at line 38 of file mitkAIFBasedModelBase.h.
Definition at line 37 of file mitkAIFBasedModelBase.h.
Definition at line 35 of file mitkAIFBasedModelBase.h.
Definition at line 36 of file mitkAIFBasedModelBase.h.
|
protected |
|
overrideprotected |
const AterialInputFunctionType mitk::AIFBasedModelBase::GetAterialInputFunction | ( | TimeGridType | currentTimeGrid | ) | const |
Returns the Aterial Input function matching currentTimeGrid The original values are interpolated to the passed TimeGrid if currentTimeGrid.Size() = 0 , the Original AIF will be returned
|
virtual |
|
virtual |
|
virtual |
Run-time type information (and related methods).
Reimplemented from mitk::ModelBase.
Reimplemented in mitk::TwoCompartmentExchangeModel, mitk::ExtendedToftsModel, mitk::StandardToftsModel, mitk::ExtendedOneTissueCompartmentModel, mitk::TwoTissueCompartmentFDGModel, mitk::TwoTissueCompartmentModel, and mitk::OneTissueCompartmentModel.
const TimeGridType& mitk::AIFBasedModelBase::GetCurrentAterialInputFunctionTimeGrid | ( | ) | const |
Returns the TimeGrid used for the AIF. Either the externally set AIF time grid or the time grid of the model if nothing is set.
|
overridevirtual |
Returns the number of static parameters that will be used when using the model to compute the signal (but are not defined via GetSignal()).
Implements mitk::ModelBase.
|
overridevirtual |
Returns the names of static parameters that will be used when using the model to compute the signal (but are not defined via GetSignal()).
Implements mitk::ModelBase.
|
overridevirtual |
Default implementation returns no unit string ("") for every defined parameter.
Reimplemented from mitk::ModelBase.
|
overrideprotectedvirtual |
Helper function called by GetStaticParameters(). Implement in derived classes to realize the concrete retrieval of static parameters.
Implements mitk::ModelBase.
|
overridevirtual |
Default implementation returns an empty string.
Reimplemented from mitk::ModelBase.
|
overridevirtual |
Default implementation returns an empty string.
Reimplemented from mitk::ModelBase.
|
overridevirtual |
Default implementation returns an empty string.
Reimplemented from mitk::ModelBase.
|
overridevirtual |
Default implementation returns an empty string.
Reimplemented from mitk::ModelBase.
|
overrideprotected |
|
virtual |
|
virtual |
|
overrideprotectedvirtual |
Helper function called by SetStaticParameters(). Implement in derived classes to realize the concrete setting of static parameters.
Implements mitk::ModelBase.
|
overrideprotectedvirtual |
Reimplementation that checks if AIF and timegrid settings are valid.
[out] | error | Set internally to indicate the error reason if method returns false. Is used by GetSignal() for the exception comment. |
Reimplemented from mitk::ModelBase.
|
protected |
Definition at line 110 of file mitkAIFBasedModelBase.h.
|
protected |
Definition at line 111 of file mitkAIFBasedModelBase.h.
|
static |
Definition at line 42 of file mitkAIFBasedModelBase.h.
|
static |
Definition at line 46 of file mitkAIFBasedModelBase.h.
|
static |
Definition at line 51 of file mitkAIFBasedModelBase.h.
|
static |
Definition at line 48 of file mitkAIFBasedModelBase.h.
|
static |
Definition at line 49 of file mitkAIFBasedModelBase.h.
|
static |
Definition at line 53 of file mitkAIFBasedModelBase.h.
|
static |
Definition at line 55 of file mitkAIFBasedModelBase.h.
|
static |
Definition at line 57 of file mitkAIFBasedModelBase.h.
|
static |
Definition at line 59 of file mitkAIFBasedModelBase.h.