![]() |
CASToR
1.0
Tomographic Reconstruction (PET/SPECT)
|
This class implements the Patlak model, to model kinetics of irreversible radiotracers. More...
#include <iPatlakModel.hh>
Public Member Functions | |
iPatlakModel () | |
Constructor of iPatlakModel. Simply set all data members to default values. | |
~iPatlakModel () | |
Destructor of iPatlakModel. | |
int | CheckSpecificParameters () |
This function is used to check whether all member variables have been correctly initialized or not. | |
int | ReadAndCheckConfigurationFile (string a_fileOptions) |
This function is used to read options from a configuration file. | |
int | ReadAndCheckOptionsList (string a_listOptions) |
This function is used to read parameters from a string. | |
int | Initialize () |
This function is used to initialize Patlak parametric images and basis functions. | |
void | ShowHelp () |
Print out specific help about the implementation of the Patlak model and its initialization. | |
int | EstimateModelParameters (oImageSpace *ap_Image, int a_ite, int a_sset) |
Estimate Patlak parametric images. | |
int | FitModel (oImageSpace *ap_Image, int a_ite, int a_sset) |
Estimate image using Patlak parametric images and basis functions. | |
int | SaveParametricImages (int a_iteration) |
Write parametric images on disk if 'm_savePImgFlag' is enabled. | |
Protected Attributes | |
FLTNB ** | m2p_parametricImages |
FLTNB ** | m2p_patlakTACs |
string | m_fileOptions |
string | m_listOptions |
bool | m_savePImgFlag |
This class implements the Patlak model, to model kinetics of irreversible radiotracers.
Definition at line 21 of file iPatlakModel.hh.
Constructor of iPatlakModel. Simply set all data members to default values.
Definition at line 30 of file iPatlakModel.cc.
Destructor of iPatlakModel.
Definition at line 53 of file iPatlakModel.cc.
int iPatlakModel::CheckSpecificParameters | ( | ) | [virtual] |
This function is used to check whether all member variables have been correctly initialized or not.
Implements vDynamicModel.
Definition at line 184 of file iPatlakModel.cc.
int iPatlakModel::EstimateModelParameters | ( | oImageSpace * | ap_Image, |
int | a_ite, | ||
int | a_sset | ||
) | [virtual] |
Estimate Patlak parametric images.
ap_ImageS | : pointer to the ImageSpace |
a_ite | : index of the actual iteration (not used) |
a_sset | : index of the actual subset (not used) |
Implements vDynamicModel.
Definition at line 410 of file iPatlakModel.cc.
int iPatlakModel::FitModel | ( | oImageSpace * | ap_Image, |
int | a_ite, | ||
int | a_sset | ||
) | [virtual] |
Estimate image using Patlak parametric images and basis functions.
ap_ImageS | : pointer to the ImageSpace |
a_ite | : index of the actual iteration (not used) |
a_sset | : index of the actual subset (not used) |
Implements vDynamicModel.
Definition at line 496 of file iPatlakModel.cc.
int iPatlakModel::Initialize | ( | ) | [virtual] |
This function is used to initialize Patlak parametric images and basis functions.
Implements vDynamicModel.
Definition at line 240 of file iPatlakModel.cc.
int iPatlakModel::ReadAndCheckConfigurationFile | ( | string | a_fileOptions | ) | [virtual] |
This function is used to read options from a configuration file.
const | string& a_configurationFile : ASCII file containing informations about a dynamic model |
Implements vDynamicModel.
Definition at line 121 of file iPatlakModel.cc.
int iPatlakModel::ReadAndCheckOptionsList | ( | string | a_listOptions | ) | [virtual] |
This function is used to read parameters from a string.
const | string& a_optionsList : a list of parameters separated by commas |
Implements vDynamicModel.
Definition at line 160 of file iPatlakModel.cc.
int iPatlakModel::SaveParametricImages | ( | int | a_iteration | ) | [virtual] |
Write parametric images on disk if 'm_savePImgFlag' is enabled.
ap_ImageS | : pointer to the ImageSpace |
a_ite | : index of the actual iteration |
Implements vDynamicModel.
Definition at line 541 of file iPatlakModel.cc.
void iPatlakModel::ShowHelp | ( | ) | [virtual] |
Print out specific help about the implementation of the Patlak model and its initialization.
Implements vDynamicModel.
Definition at line 80 of file iPatlakModel.cc.
FLTNB** iPatlakModel::m2p_parametricImages [protected] |
Image matrix containing the Patlak parametric images
2 pointers:
1: parametric image related to the Patlak slope(0) or intercept(1).
2: 3D voxels
Definition at line 113 of file iPatlakModel.hh.
FLTNB** iPatlakModel::m2p_patlakTACs [protected] |
Vector containing the Patlak temporal basis functions
2 pointers:
1: index of the temporal function (Patlak slope(0) or intercept(1))
2: coefficient of the functions for each time points of a dynamic acquisition
Definition at line 117 of file iPatlakModel.hh.
string iPatlakModel::m_fileOptions [protected] |
Path to a configuration file
Definition at line 121 of file iPatlakModel.hh.
string iPatlakModel::m_listOptions [protected] |
String containing a list of options
Definition at line 122 of file iPatlakModel.hh.
bool iPatlakModel::m_savePImgFlag [protected] |
Flag indicating if parametric images should be written on disk (default=true)
Definition at line 123 of file iPatlakModel.hh.