CASToR  3.0
Tomographic Reconstruction (PET/SPECT/CT)
Public Member Functions | Protected Attributes | Private Member Functions | List of all members
vDynamicModel Class Referenceabstract

This is the mother class of dynamic model classes. More...

#include <vDynamicModel.hh>

Inheritance diagram for vDynamicModel:
Inheritance graph
Collaboration diagram for vDynamicModel:
Collaboration graph

Public Member Functions

 vDynamicModel ()
 Constructor of vDynamicModel. Simply set all data members to default values. More...
 
virtual ~vDynamicModel ()
 Destructor of vDynamicModel. More...
 
void SetImageDimensionsAndQuantification (oImageDimensionsAndQuantification *ap_ImageDimensionsAndQuantification)
 Set the image dimensions in use. More...
 
void SetVerbose (int a_verbose)
 Set the verbose level. More...
 
virtual int CheckParameters ()
 This function is used to check parameters after the latter have been all set using Set functions. More...
 
virtual int CheckSpecificParameters ()=0
 This function is used to check the parameters of the child functions before initialization if required. More...
 
int ReadAndCheckConfigurationFile (string a_fileOptions)
 This function is used to read options from a configuration file.
It looks for the parameters implemented by the mother class, such as 'No image update', 'No parameters update', or 'Save parametric images'. More...
 
virtual int ReadAndCheckConfigurationFileSpecific ()=0
 This function is used to read options from a configuration file.
It is pure virtual so must be implemented by children. More...
 
virtual int ReadAndCheckOptionsList (string a_listOptions)=0
 This function is used to read parameters from a string.
It is pure virtual so must be implemented by children. More...
 
int Initialize ()
 A public function used to initialize the dynamic model. More...
 
virtual int InitializeSpecific ()=0
 A private function used to initialize everything specific to the child model. More...
 
virtual void ShowHelp ()=0
 This function is used to print out specific help about the deformation and its options. It is pure virtual so must be implemented by children. More...
 
virtual int EstimateModel (oImageSpace *ap_Image, int a_ite, int a_sset)
 This function checks if the EstimateModelParameters() function (specific to each model) must be called at this stage of the reconstruction depending on the m_xxxUpdateflags. More...
 
virtual int EstimateModelParameters (oImageSpace *ap_Image, int a_ite, int a_sset)=0
 This function is pure virtual so must be implemented by children.
It can be used to estimate any temporal functions or coefficients related to the dynamic model, if required. More...
 
virtual int EstimateImage (oImageSpace *ap_Image, int a_ite, int a_sset)
 
virtual int EstimateImageWithModel (oImageSpace *ap_Image, int a_ite, int a_sset)=0
 This function checks if the EstimateImageWithModel() function (specific to each model) must be called at this stage of the reconstruction depending on the m_xxxUpdateflags. More...
 
int SaveParametricImages (int a_iteration, int a_subset=-1)
 This function is virtual it can be overloaded by children if required. More...
 
virtual int ApplyOutputFOVMaskingOnParametricImages ()
 Mask the outside of the transaxial FOV based on the m_fovOutPercent. More...
 
bool GetAICflag ()
 
bool GetModelBasisFunctionsRequiredFlag ()
 
int GetNbTimeBasisFunctions ()
 
FLTNB ** GetTimeBasisFunctions ()
 
virtual void ComputeOutputParImage ()
 Compute output image using the m2p_parametricImages matrix Store the result in the m2p_outputParImages matrix. More...
 
int NNLS (FLTNB **A, int m, int n, FLTNB *B, FLTNB *X, FLTNB *rnorm, FLTNB *wp, FLTNB *zzp, int *indexp)
 Implementation of NNLS (non-negative least squares) algorithm Derived from Turku PET center libraries (authors: Vesa Oikonen and Kaisa Sederholm) This routine is based on the text and fortran code in C.L. Lawson and R.J. Hanson, Solving Least Squares Problems, Prentice-Hall, Englewood Cliffs, New Jersey, 1974. More...
 

Protected Attributes

oImageDimensionsAndQuantificationmp_ID
 
int m_verbose
 
int m_nbTimeBF
 
int m_nbWeightFactors
 
int m_nbModelParam
 
int m_nbRGModelParam
 
int m_nbCGModelParam
 
string m_AICfile
 
oArterialInputCurvemp_ArterialInputCurve
 
FLTNB ** m2p_parametricImages
 
FLTNBmp_blackListedvoxelsImage
 
FLTNB ** m2p_nestedModelTimeBasisFunctions
 
FLTNB ** m2p_outputParImages
 
FLTNB ** m2p_RGParametricImages
 
FLTNB ** m2p_CGParametricImages
 
string m_fileOptions
 
string m_listOptions
 
bool m_checked
 
bool m_initialized
 
bool m_saveParImageFlag
 
bool m_saveBlacklistedImageMaskFlag
 
bool m_AICfileProvided
 
bool m_ModelSpecificBasisFunctionsRequired
 
bool m_noImageUpdateFlag
 
bool m_noParametersUpdateFlag
 
int m_startIteUpdateFlag
 
FLTNBmp_maskModel
 
INTNB m_nbVoxelsMask
 
FLTNBmp_w
 
FLTNB *** m3p_nnlsA
 
FLTNB ** m2p_nnlsB
 
FLTNB ** m2p_nnlsMat
 
FLTNB ** m2p_nnlsX
 
FLTNB ** m2p_nnlsWp
 
int ** m2p_nnlsIdx
 
uint16_t m_nnlsN =0
 

Private Member Functions

int NNLS_LSS_H12 (int mode, int lpivot, int l1, int m, FLTNB *u, int u_dim1, FLTNB *up, FLTNB *cm, int ice, int icv, int ncv)
 
void NNLS_LSS_G1 (FLTNB a, FLTNB b, FLTNB *cterm, FLTNB *sterm, FLTNB *sig)
 This function is used by the NNLS function() Construction and/or application of a single Householder transformation: Q = I + U*(U**T)/B Derived from Turku PET center libraries (authors: Vesa Oikonen and Kaisa Sederholm) This routine is based on the text and fortran code in C.L. Lawson and R.J. Hanson, Solving Least Squares Problems, Prentice-Hall, Englewood Cliffs, New Jersey, 1974. More...
 

Detailed Description

This is the mother class of dynamic model classes.

This class is a virtual one, in the sense that it cannot be used on its own
because several pure virtual functions belong to it. Its children are implementations of actual dynamic models.
Everywhere in the code, this parent class should be used instead of any of its children.
It can be used during the reconstruction process by the oDynamicModelManager through the use of the EstimateModelParameters() and EstimateImageWithModel() functions

All children must implement the following pure virtual functions:

Definition at line 62 of file vDynamicModel.hh.

Constructor & Destructor Documentation

◆ vDynamicModel()

vDynamicModel::vDynamicModel ( )

Constructor of vDynamicModel. Simply set all data members to default values.

Definition at line 40 of file vDynamicModel.cc.

◆ ~vDynamicModel()

vDynamicModel::~vDynamicModel ( )
virtual

Destructor of vDynamicModel.

Definition at line 89 of file vDynamicModel.cc.

Member Function Documentation

◆ ApplyOutputFOVMaskingOnParametricImages()

int vDynamicModel::ApplyOutputFOVMaskingOnParametricImages ( )
virtual

Mask the outside of the transaxial FOV based on the m_fovOutPercent.

Similar to the eponym function in ImageSpace, but on parametric images

Definition at line 300 of file vDynamicModel.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ CheckParameters()

int vDynamicModel::CheckParameters ( )
virtual

This function is used to check parameters after the latter have been all set using Set functions.

Returns
0 if success, positive value otherwise.

Definition at line 120 of file vDynamicModel.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ CheckSpecificParameters()

vDynamicModel::CheckSpecificParameters ( )
pure virtual

This function is used to check the parameters of the child functions before initialization if required.

It could be overloaded by the child if needed. Default implementation is empty and return 0.

Returns
0 if success, other value otherwise.

Implemented in i1TCModel, iLinearModel, iLinearModelTemplate, iLinearPatlakModel, iLinearSpectralModel, and iDynamicModelTemplate.

Here is the caller graph for this function:

◆ ComputeOutputParImage()

void vDynamicModel::ComputeOutputParImage ( )
virtual

Compute output image using the m2p_parametricImages matrix Store the result in the m2p_outputParImages matrix.

Definition at line 265 of file vDynamicModel.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ EstimateImage()

int vDynamicModel::EstimateImage ( oImageSpace ap_Image,
int  a_ite,
int  a_sset 
)
virtual

Definition at line 452 of file vDynamicModel.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ EstimateImageWithModel()

vDynamicModel::EstimateImageWithModel ( oImageSpace ap_Image,
int  a_ite,
int  a_sset 
)
pure virtual

This function checks if the EstimateImageWithModel() function (specific to each model) must be called at this stage of the reconstruction depending on the m_xxxUpdateflags.

This function is pure virtual so must be implemented by children.
It is used to fit the dynamic model to the series of dynamic images.

Parameters
ap_ImageS: pointer to the ImageSpace
a_ite: index of the actual iteration
a_sset: index of the actual subset
Returns
0 if success, other value otherwise.

Implemented in iLinearModel, i1TCModel, and iDynamicModelTemplate.

Here is the caller graph for this function:

◆ EstimateModel()

int vDynamicModel::EstimateModel ( oImageSpace ap_Image,
int  a_ite,
int  a_sset 
)
virtual

This function checks if the EstimateModelParameters() function (specific to each model) must be called at this stage of the reconstruction depending on the m_xxxUpdateflags.

Parameters
ap_ImageS: pointer to the ImageSpace
a_ite: index of the actual iteration
a_sset: index of the actual subset
Returns
0 if success, other value otherwise.

Definition at line 414 of file vDynamicModel.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ EstimateModelParameters()

vDynamicModel::EstimateModelParameters ( oImageSpace ap_Image,
int  a_ite,
int  a_sset 
)
pure virtual

This function is pure virtual so must be implemented by children.
It can be used to estimate any temporal functions or coefficients related to the dynamic model, if required.

Parameters
ap_ImageS: pointer to the ImageSpace
a_ite: index of the actual iteration
a_sset: index of the actual subset
Returns
0 if success, other value otherwise.

Implemented in iLinearModel, i1TCModel, and iDynamicModelTemplate.

Here is the caller graph for this function:

◆ GetAICflag()

bool vDynamicModel::GetAICflag ( )
inline

Definition at line 225 of file vDynamicModel.hh.

◆ GetModelBasisFunctionsRequiredFlag()

bool vDynamicModel::GetModelBasisFunctionsRequiredFlag ( )
inline

Definition at line 230 of file vDynamicModel.hh.

Here is the caller graph for this function:

◆ GetNbTimeBasisFunctions()

int vDynamicModel::GetNbTimeBasisFunctions ( )
inline

Definition at line 235 of file vDynamicModel.hh.

Here is the caller graph for this function:

◆ GetTimeBasisFunctions()

FLTNB** vDynamicModel::GetTimeBasisFunctions ( )
inline

Definition at line 240 of file vDynamicModel.hh.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Initialize()

int vDynamicModel::Initialize ( )

A public function used to initialize the dynamic model.

This function does not take any parameter and is used to initialize everything that is generic and required for all models. At the end, it calls the pure virtual InitializeSpecific() function implemented by children models.

Returns
0 if success, other value otherwise.

Definition at line 187 of file vDynamicModel.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ InitializeSpecific()

vDynamicModel::InitializeSpecific ( )
pure virtual

A private function used to initialize everything specific to the child model.

This function is used to initialize everything specific to the model that should be initialized. It is called by the Initialize() function. It is pure virtual so is implemented only by children.

Returns
An integer reflecting the initialization status; 0 if no problem, another value otherwise.

Implemented in iLinearModel, i1TCModel, iLinearModelTemplate, iLinearPatlakModel, iLinearSpectralModel, and iDynamicModelTemplate.

Here is the caller graph for this function:

◆ NNLS()

int vDynamicModel::NNLS ( FLTNB **  A,
int  m,
int  n,
FLTNB B,
FLTNB X,
FLTNB rnorm,
FLTNB wp,
FLTNB zzp,
int *  indexp 
)

Implementation of NNLS (non-negative least squares) algorithm Derived from Turku PET center libraries (authors: Vesa Oikonen and Kaisa Sederholm) This routine is based on the text and fortran code in C.L. Lawson and R.J. Hanson, Solving Least Squares Problems, Prentice-Hall, Englewood Cliffs, New Jersey, 1974.

Parameters
a: On entry, a[ 0... N ][ 0 ... M ] contains the M by N matrix A.
On exit, a[][] contains the product matrix Q*A, where Q is an m by n
orthogonal matrix generated implicitly by this function.
m: Matrix dimension m
n: Matrix dimension n
b: On entry, b[] must contain the m-vector B.
On exit, b[] contains Q*B
x: On exit, x[] will contain the solution vector
rnorm: On exit, rnorm contains the Euclidean norm of the residual vector.
If NULL is given, no rnorm is calculated
wpAn n-array of working space, wp[].
On exit, wp[] will contain the dual solution vector.
wp[i]=0.0 for all i in set p and wp[i]<=0.0 for all i in set z.
Can be NULL, which causes this algorithm to allocate memory for it.
zzp: An m-array of working space, zz[].
Can be NULL, which causes this algorithm to allocate memory for it.
indexp: An n-array of working space, index[].
Can be NULL, which causes this algorithm to allocate memory for it. *

Given an m by n matrix A, and an m-vector B, computes an n-vector X, that solves the least squares problem A * X = B , subject to X>=0

Instead of pointers for working space, NULL can be given to let this function to allocate and free the required memory.

Returns
0 if success, positive value otherwise

Definition at line 836 of file vDynamicModel.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ NNLS_LSS_G1()

void vDynamicModel::NNLS_LSS_G1 ( FLTNB  a,
FLTNB  b,
FLTNB cterm,
FLTNB sterm,
FLTNB sig 
)
private

This function is used by the NNLS function() Construction and/or application of a single Householder transformation: Q = I + U*(U**T)/B Derived from Turku PET center libraries (authors: Vesa Oikonen and Kaisa Sederholm) This routine is based on the text and fortran code in C.L. Lawson and R.J. Hanson, Solving Least Squares Problems, Prentice-Hall, Englewood Cliffs, New Jersey, 1974.

This function is used by the NNLS function() Compute orthogonal rotation matrix: (C, S) so that (C, S)(A) = (sqrt(A**2+B**2)) (-S,C) (-S,C)(B) ( 0 ) sig is computed last to allow for the possibility that sig may be in the same location as A or B. Derived from Turku PET center libraries (authors: Vesa Oikonen and Kaisa Sederholm) This routine is based on the text and fortran code in C.L. Lawson and R.J. Hanson, Solving Least Squares Problems, Prentice-Hall, Englewood Cliffs, New Jersey, 1974.

Parameters
mode: mode=1 to construct and apply a Householder transformation, or
mode=2 to apply a previously constructed transformation
lpivotIndex of the pivot element, on pivot vector
l1Transformation is constructed to zero elements indexed from l1 to M
mTransformation is constructed to zero elements indexed from l1 to M
uWith mode=1: On entry, u[] must contain the pivot vector. On exit, u[] and up contain quantities defining the vector u[] of the Householder transformation. With mode=2: On entry, u[] and up should contain quantities previously computed with mode=1. These will not be modified
u_dim1u_dim1 is the storage increment between elements
upwith mode=1, here is stored an element defining housholder vector scalar, on mode=2 it's only used, and is not modified
cmOn entry, cm[] must contain the matrix (set of vectors) to which the Householder transformation is to be applied. On exit, cm[] will contain the set of transformed vectors
iceStorage increment between elements of vectors in cm[]
icvStorage increment between vectors in cm[]
nvcNr of vectors in cm[] to be transformed; if ncv<=0, then no operations will be done on cm[]
Returns
0 if success, positive value otherwise (erroneous parameters)
Parameters
a
b
cterm
sterm
sigsig = sqrt(A**2+B**2)

Definition at line 1251 of file vDynamicModel.cc.

Here is the caller graph for this function:

◆ NNLS_LSS_H12()

int vDynamicModel::NNLS_LSS_H12 ( int  mode,
int  lpivot,
int  l1,
int  m,
FLTNB u,
int  u_dim1,
FLTNB up,
FLTNB cm,
int  ice,
int  icv,
int  ncv 
)
private

Definition at line 1152 of file vDynamicModel.cc.

Here is the caller graph for this function:

◆ ReadAndCheckConfigurationFile()

int vDynamicModel::ReadAndCheckConfigurationFile ( string  a_fileOptions)

This function is used to read options from a configuration file.
It looks for the parameters implemented by the mother class, such as 'No image update', 'No parameters update', or 'Save parametric images'.

Parameters
conststring& a_configurationFile : ASCII file containing informations about a dynamic model
Returns
0 if success, other value otherwise.

Definition at line 490 of file vDynamicModel.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ReadAndCheckConfigurationFileSpecific()

vDynamicModel::ReadAndCheckConfigurationFileSpecific ( )
pure virtual

This function is used to read options from a configuration file.
It is pure virtual so must be implemented by children.

Returns
0 if success, other value otherwise.

Implemented in i1TCModel, iLinearModel, iLinearModelTemplate, iLinearPatlakModel, iLinearSpectralModel, and iDynamicModelTemplate.

Here is the caller graph for this function:

◆ ReadAndCheckOptionsList()

vDynamicModel::ReadAndCheckOptionsList ( string  a_listOptions)
pure virtual

This function is used to read parameters from a string.
It is pure virtual so must be implemented by children.

Parameters
conststring& a_optionsList : a list of parameters separated by commas
Returns
0 if success, other value otherwise.

Implemented in i1TCModel, iLinearModel, iLinearModelTemplate, iLinearPatlakModel, iLinearSpectralModel, and iDynamicModelTemplate.

Here is the caller graph for this function:

◆ SaveParametricImages()

int vDynamicModel::SaveParametricImages ( int  a_iteration,
int  a_subset = -1 
)

This function is virtual it can be overloaded by children if required.

Parameters
a_iteration: current iteration index
a_subset: current number of subsets (or -1 by default)
Returns
0 if success, positive value otherwise

Definition at line 654 of file vDynamicModel.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetImageDimensionsAndQuantification()

vDynamicModel::SetImageDimensionsAndQuantification ( oImageDimensionsAndQuantification ap_ImageDimensionsAndQuantification)
inline

Set the image dimensions in use.

Parameters
ap_ImageDimensionsAndQuantification

Definition at line 87 of file vDynamicModel.hh.

Here is the caller graph for this function:

◆ SetVerbose()

vDynamicModel::SetVerbose ( int  a_verbose)
inline

Set the verbose level.

Parameters
a_verboseLevel

Definition at line 94 of file vDynamicModel.hh.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ShowHelp()

vDynamicModel::ShowHelp ( )
pure virtual

This function is used to print out specific help about the deformation and its options. It is pure virtual so must be implemented by children.

Implemented in iLinearModel, i1TCModel, iLinearModelTemplate, iLinearPatlakModel, iLinearSpectralModel, and iDynamicModelTemplate.

Here is the caller graph for this function:

Member Data Documentation

◆ m2p_CGParametricImages

FLTNB** vDynamicModel::m2p_CGParametricImages
protected

Image matrix containing the parametric images of the cardiac gating model
2 pointers:
1: Parametric image related to the cardiac gating model basis functions.
2: 3D voxels

Definition at line 401 of file vDynamicModel.hh.

◆ m2p_nestedModelTimeBasisFunctions

FLTNB** vDynamicModel::m2p_nestedModelTimeBasisFunctions
protected

Vector containing the Model temporal basis functions
2 pointers:
1: index of the temporal function
2: coefficient of the functions for each time points of a dynamic acquisition

Definition at line 383 of file vDynamicModel.hh.

◆ m2p_nnlsB

FLTNB** vDynamicModel::m2p_nnlsB
protected

1D vector for NNLS estimation, containing the solution (multithreaded), dims must be [nb_th][nb_samples]

Definition at line 429 of file vDynamicModel.hh.

◆ m2p_nnlsIdx

int** vDynamicModel::m2p_nnlsIdx
protected

Working space array for NNLS estimation (multithreaded) dims must be [nb_th][m_nnlsN]

Definition at line 433 of file vDynamicModel.hh.

◆ m2p_nnlsMat

FLTNB** vDynamicModel::m2p_nnlsMat
protected

1D working vector for NNLS estimation (multithreaded) dims must be [nb_th][ (m_nnlsN+2)*nb_samples ]

Definition at line 430 of file vDynamicModel.hh.

◆ m2p_nnlsWp

FLTNB** vDynamicModel::m2p_nnlsWp
protected

Working space array for NNLS estimation (multithreaded) dims must be [nb_th][m_nnlsN]

Definition at line 432 of file vDynamicModel.hh.

◆ m2p_nnlsX

FLTNB** vDynamicModel::m2p_nnlsX
protected

1D solution vector for NNLS estimation (multithreaded) dims must be [nb_th][m_nnlsN]

Definition at line 431 of file vDynamicModel.hh.

◆ m2p_outputParImages

FLTNB** vDynamicModel::m2p_outputParImages
protected

Image matrix to gather the parametric image before writing on disk
By default it will point directly to the parametric m2p_parametricImages.
They are allocated if post-processing are enabled before writing the image (i.e FOV masking)
2 pointers:
1: Parametric image related to the dynamic model basis functions.
2: 3D voxels

Definition at line 389 of file vDynamicModel.hh.

◆ m2p_parametricImages

FLTNB** vDynamicModel::m2p_parametricImages
protected

Image matrix containing the parametric images
2 pointers:
1: Parametric image related to the dynamic model basis functions.
2: 3D voxels

Definition at line 374 of file vDynamicModel.hh.

◆ m2p_RGParametricImages

FLTNB** vDynamicModel::m2p_RGParametricImages
protected

Image matrix containing the parametric images of the respiratory gating model
2 pointers:
1: Parametric image related to the respiratory gating model basis functions.
2: 3D voxels

Definition at line 396 of file vDynamicModel.hh.

◆ m3p_nnlsA

FLTNB*** vDynamicModel::m3p_nnlsA
protected

2D coefficient matrix for NNLS estimation (multithreaded), dims must be [nb_th][m_nnlsN][nb_samples]

Definition at line 428 of file vDynamicModel.hh.

◆ m_AICfile

string vDynamicModel::m_AICfile
protected

The file containing the data of the sampled Arterial Input Curve

Definition at line 370 of file vDynamicModel.hh.

◆ m_AICfileProvided

bool vDynamicModel::m_AICfileProvided
protected

Flag indicating that an AIC file has been provided instead of Time Basis Functions

Definition at line 413 of file vDynamicModel.hh.

◆ m_checked

bool vDynamicModel::m_checked
protected

Boolean indicating whether the parameters were checked or not

Definition at line 409 of file vDynamicModel.hh.

◆ m_fileOptions

string vDynamicModel::m_fileOptions
protected

Path to a configuration file

Definition at line 406 of file vDynamicModel.hh.

◆ m_initialized

bool vDynamicModel::m_initialized
protected

Boolean indicating whether the manager was initialized or not

Definition at line 410 of file vDynamicModel.hh.

◆ m_listOptions

string vDynamicModel::m_listOptions
protected

String containing a list of options

Definition at line 407 of file vDynamicModel.hh.

◆ m_ModelSpecificBasisFunctionsRequired

bool vDynamicModel::m_ModelSpecificBasisFunctionsRequired
protected

Flag indicating if model specific Time Basis Functions are required

Definition at line 414 of file vDynamicModel.hh.

◆ m_nbCGModelParam

int vDynamicModel::m_nbCGModelParam
protected

Number of cardiac model parameters

Definition at line 368 of file vDynamicModel.hh.

◆ m_nbModelParam

int vDynamicModel::m_nbModelParam
protected

Number of dynamic model parameters

Definition at line 366 of file vDynamicModel.hh.

◆ m_nbRGModelParam

int vDynamicModel::m_nbRGModelParam
protected

Number of respiratory model parameters

Definition at line 367 of file vDynamicModel.hh.

◆ m_nbTimeBF

int vDynamicModel::m_nbTimeBF
protected

Number of time basis functions in the model

Definition at line 364 of file vDynamicModel.hh.

◆ m_nbVoxelsMask

INTNB vDynamicModel::m_nbVoxelsMask
protected

Number of voxels in mask

Definition at line 424 of file vDynamicModel.hh.

◆ m_nbWeightFactors

int vDynamicModel::m_nbWeightFactors
protected

Number of weight factors for WLS optimisation

Definition at line 365 of file vDynamicModel.hh.

◆ m_nnlsN

uint16_t vDynamicModel::m_nnlsN =0
protected

Number of parameters in NNLS estimation

Definition at line 435 of file vDynamicModel.hh.

◆ m_noImageUpdateFlag

bool vDynamicModel::m_noImageUpdateFlag
protected

If true, the reconstructed images are not estimated from the parametric images, the EstimateImageWithModel() functions is not called so the class only estimate parametric images from each current estimation of the images (default=false)

Definition at line 416 of file vDynamicModel.hh.

◆ m_noParametersUpdateFlag

bool vDynamicModel::m_noParametersUpdateFlag
protected

If true, the parameters are not estimated from the serie of dynamic images, the EstimateModelParameters() functions is not called (default=false)

Definition at line 420 of file vDynamicModel.hh.

◆ m_saveBlacklistedImageMaskFlag

bool vDynamicModel::m_saveBlacklistedImageMaskFlag
protected

Flag indicating if the blacklisted voxels mask image should be written on disk

Definition at line 412 of file vDynamicModel.hh.

◆ m_saveParImageFlag

bool vDynamicModel::m_saveParImageFlag
protected

Flag indicating if parametric images should be written on disk (default=true)

Definition at line 411 of file vDynamicModel.hh.

◆ m_startIteUpdateFlag

int vDynamicModel::m_startIteUpdateFlag
protected

Number of iterations after which the reconstructed images are estimated from the parametric images. (default or negative value =0)

Definition at line 422 of file vDynamicModel.hh.

◆ m_verbose

int vDynamicModel::m_verbose
protected

The verbose level

Definition at line 363 of file vDynamicModel.hh.

◆ mp_ArterialInputCurve

oArterialInputCurve* vDynamicModel::mp_ArterialInputCurve
protected

oArterialInputCurve object related to processing of Arterial Input Curves

Definition at line 371 of file vDynamicModel.hh.

◆ mp_blackListedvoxelsImage

FLTNB* vDynamicModel::mp_blackListedvoxelsImage
protected

Image matrix containing the voxels which the model cannot fit
1 pointer:
1: 3D voxels

Definition at line 379 of file vDynamicModel.hh.

◆ mp_ID

oImageDimensionsAndQuantification* vDynamicModel::mp_ID
protected

Pointer to the oImageDimensionsAndQuantification object in use

Definition at line 362 of file vDynamicModel.hh.

◆ mp_maskModel

FLTNB* vDynamicModel::mp_maskModel
protected

Input image containing a mask defining in which voxels the model must be applied (1) or not (0). Default: all voxels to 1

Definition at line 423 of file vDynamicModel.hh.

◆ mp_w

FLTNB* vDynamicModel::mp_w
protected

Vector containing the weights for NNLS estimation

Definition at line 427 of file vDynamicModel.hh.


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