Medical Imaging Interaction Toolkit  2022.04.99-01b95b17
Medical Imaging Interaction Toolkit
mitk::AterialInputFunctionGenerator Class Reference

Compute the Aterial Input Function from a given dynamic image and a mask defining the tumour supplying artery. More...

#include <mitkAterialInputFunctionGenerator.h>

Inheritance diagram for mitk::AterialInputFunctionGenerator:
Collaboration diagram for mitk::AterialInputFunctionGenerator:

Public Member Functions

 mitkClassMacroItkParent (AterialInputFunctionGenerator, itk::Object)
 
virtual void SetDynamicImage (const Image *_arg)
 Setter and Getter for Input Image for calculation of AIF, already converted to concentrations Getter calls CheckValidInputs() and CalculateAIFAndGetResult() if HasOutdatedResults() is true. More...
 
virtual const ImageGetDynamicImage ()
 
virtual void SetMask (const Image *_arg)
 Setter and Getter for mask defining the tumour feeding atery Getter calls CheckValidInputs() and CalculateAIFAndGetResult() if HasOutdatedResults() is true. More...
 
virtual const ImageGetMask ()
 
virtual void SetHCL (double _arg)
 Setter and Getter for the hematocritlevel, important for conversion to plasma curve. More...
 
virtual const double & GetHCL ()
 
void SetDefaultHematocritLevel ()
 
double GetDefaultHematocritLevel ()
 
AIFBasedModelBase::AterialInputFunctionType GetAterialInputFunction ()
 
ModelBase::TimeGridType GetAterialInputFunctionTimeGrid ()
 

Static Public Member Functions

static Pointer New ()
 

Static Public Attributes

static const double DEFAULT_HEMATOCRIT_LEVEL
 

Protected Member Functions

 AterialInputFunctionGenerator ()
 
 ~AterialInputFunctionGenerator () override
 
virtual void CalculateAIFAndGetResult ()
 Passes m_DynamicImage and m_Mask to the itkMaskedNaryStatisticsImageFilter and mitkExtractTimeGrid and inserts the result into m_AIFValues and m_AIFTimeGrid and modiefies the Timestamp. More...
 
virtual void CheckValidInputs () const
 Makes sure that m_DynamicImage and m_Mask are set. More...
 
bool HasOutdatedResults ()
 

Protected Attributes

itk::TimeStamp m_GenerationTimeStamp
 

Detailed Description

Compute the Aterial Input Function from a given dynamic image and a mask defining the tumour supplying artery.

The AterialInputFunctionGenerator takes a given 4D dynamic image and a corresponding mask and returns an array of the averaged values and an array of the corresponding TimeGrid within the mask over time. No conversion is performed, so conversion from signal to concentration has to be performed in advanced and the resulting image is fed into the Generator. The generator checks wether both image and mask are set and passes them to the itkMaskedNaryStatisticsImageFilter and the mitkExtractTimeGrid, to calculate the mean of every time slice within the ROI and extract the corresponding time grid from the date set.

Definition at line 33 of file mitkAterialInputFunctionGenerator.h.

Constructor & Destructor Documentation

◆ AterialInputFunctionGenerator()

mitk::AterialInputFunctionGenerator::AterialInputFunctionGenerator ( )
inlineprotected

Definition at line 70 of file mitkAterialInputFunctionGenerator.h.

◆ ~AterialInputFunctionGenerator()

mitk::AterialInputFunctionGenerator::~AterialInputFunctionGenerator ( )
inlineoverrideprotected

Definition at line 77 of file mitkAterialInputFunctionGenerator.h.

Member Function Documentation

◆ CalculateAIFAndGetResult()

virtual void mitk::AterialInputFunctionGenerator::CalculateAIFAndGetResult ( )
protectedvirtual

Passes m_DynamicImage and m_Mask to the itkMaskedNaryStatisticsImageFilter and mitkExtractTimeGrid and inserts the result into m_AIFValues and m_AIFTimeGrid and modiefies the Timestamp.

◆ CheckValidInputs()

virtual void mitk::AterialInputFunctionGenerator::CheckValidInputs ( ) const
protectedvirtual

Makes sure that m_DynamicImage and m_Mask are set.

◆ GetAterialInputFunction()

AIFBasedModelBase::AterialInputFunctionType mitk::AterialInputFunctionGenerator::GetAterialInputFunction ( )

◆ GetAterialInputFunctionTimeGrid()

ModelBase::TimeGridType mitk::AterialInputFunctionGenerator::GetAterialInputFunctionTimeGrid ( )

◆ GetDefaultHematocritLevel()

double mitk::AterialInputFunctionGenerator::GetDefaultHematocritLevel ( )
inline

Definition at line 61 of file mitkAterialInputFunctionGenerator.h.

◆ GetDynamicImage()

virtual const Image* mitk::AterialInputFunctionGenerator::GetDynamicImage ( )
virtual

◆ GetHCL()

virtual const double& mitk::AterialInputFunctionGenerator::GetHCL ( )
virtual

◆ GetMask()

virtual const Image* mitk::AterialInputFunctionGenerator::GetMask ( )
virtual

◆ HasOutdatedResults()

bool mitk::AterialInputFunctionGenerator::HasOutdatedResults ( )
protected

◆ mitkClassMacroItkParent()

mitk::AterialInputFunctionGenerator::mitkClassMacroItkParent ( AterialInputFunctionGenerator  ,
itk::Object   
)

◆ New()

static Pointer mitk::AterialInputFunctionGenerator::New ( )
static

◆ SetDefaultHematocritLevel()

void mitk::AterialInputFunctionGenerator::SetDefaultHematocritLevel ( )
inline

Definition at line 57 of file mitkAterialInputFunctionGenerator.h.

◆ SetDynamicImage()

virtual void mitk::AterialInputFunctionGenerator::SetDynamicImage ( const Image _arg)
virtual

Setter and Getter for Input Image for calculation of AIF, already converted to concentrations Getter calls CheckValidInputs() and CalculateAIFAndGetResult() if HasOutdatedResults() is true.

◆ SetHCL()

virtual void mitk::AterialInputFunctionGenerator::SetHCL ( double  _arg)
virtual

Setter and Getter for the hematocritlevel, important for conversion to plasma curve.

◆ SetMask()

virtual void mitk::AterialInputFunctionGenerator::SetMask ( const Image _arg)
virtual

Setter and Getter for mask defining the tumour feeding atery Getter calls CheckValidInputs() and CalculateAIFAndGetResult() if HasOutdatedResults() is true.

Member Data Documentation

◆ DEFAULT_HEMATOCRIT_LEVEL

const double mitk::AterialInputFunctionGenerator::DEFAULT_HEMATOCRIT_LEVEL
static

Definition at line 52 of file mitkAterialInputFunctionGenerator.h.

◆ m_GenerationTimeStamp

itk::TimeStamp mitk::AterialInputFunctionGenerator::m_GenerationTimeStamp
protected

Definition at line 92 of file mitkAterialInputFunctionGenerator.h.


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