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

This class is designed to manage the Arterial Input Curve provided by the user. More...

#include <oArterialInputCurve.hh>

Collaboration diagram for oArterialInputCurve:
Collaboration graph

Public Member Functions

 oArterialInputCurve ()
 Constructor of oArterialInputCurve. Simply set all data members to default values. More...
 
 ~oArterialInputCurve ()
 Destructor of oArterialInputCurve. Free memory from all allocated tabs. More...
 
int CheckParameters ()
 This function is used to check that the required input parameters are provided from the file provided by the user. More...
 
int InitializeInputData ()
 This function is used to initialize the input arterial curve samples from the file provided by the user. More...
 
int InterpolateAIC ()
 This function performs a linear interpolation within the provided AIC range for every discrete unit of millisecond up to the end of the last requested frame. More...
 
int Downsample ()
 This function downsamples the interpolated arterial input function Currently needed to speed up convolution for the SpectralDynamicModel. More...
 
void SetInputFilePath (const string &a_pathToAICfile)
 Set path to file to get the sampled Arterial Input Curve. More...
 
void SetVerbose (int a_verbose)
 Set the member m_verboseLevel to the provided value. More...
 
void SetFrames (int a_nbTimeFrames, uint32_t *a_frameTimeStartInMs, uint32_t *a_frameTimeStopInMs)
 Set the framing of the reconstruction for the AIC object. More...
 
HPFLTNBGetDownsampledAIC ()
 Set the framing of the reconstruction for the AIC object. More...
 
HPFLTNBGetInterpolatedAIC ()
 Set the framing of the reconstruction for the AIC object. More...
 

Private Attributes

string m_pathToAICfile
 
int m_nbinputDataPoints
 
HPFLTNBmp_AICDataPoints
 
uint32_t * mp_AICDataPointsTimes
 
HPFLTNBmp_AICIntrpY
 
HPFLTNBmp_AICIntrpY_downsampled
 
int m_nbTimeFrames
 
uint32_t * mp_frameTimeStartInMs
 
uint32_t * mp_frameTimeStopInMs
 
int m_verbose
 

Detailed Description

This class is designed to manage the Arterial Input Curve provided by the user.

Definition at line 41 of file oArterialInputCurve.hh.

Constructor & Destructor Documentation

◆ oArterialInputCurve()

oArterialInputCurve::oArterialInputCurve ( )

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

Definition at line 43 of file oArterialInputCurve.cc.

◆ ~oArterialInputCurve()

oArterialInputCurve::~oArterialInputCurve ( )

Destructor of oArterialInputCurve. Free memory from all allocated tabs.

Definition at line 63 of file oArterialInputCurve.cc.

Member Function Documentation

◆ CheckParameters()

int oArterialInputCurve::CheckParameters ( )

This function is used to check that the required input parameters are provided from the file provided by the user.

Returns
0 if success, positive value otherwise.

Definition at line 73 of file oArterialInputCurve.cc.

Here is the caller graph for this function:

◆ Downsample()

int oArterialInputCurve::Downsample ( )

This function downsamples the interpolated arterial input function Currently needed to speed up convolution for the SpectralDynamicModel.

Returns
0 if success, positive value otherwise.

Definition at line 231 of file oArterialInputCurve.cc.

Here is the caller graph for this function:

◆ GetDownsampledAIC()

public void oArterialInputCurve::GetDownsampledAIC ( )
inline

Set the framing of the reconstruction for the AIC object.

Definition at line 114 of file oArterialInputCurve.hh.

Here is the caller graph for this function:

◆ GetInterpolatedAIC()

public void oArterialInputCurve::GetInterpolatedAIC ( )
inline

Set the framing of the reconstruction for the AIC object.

Definition at line 119 of file oArterialInputCurve.hh.

Here is the caller graph for this function:

◆ InitializeInputData()

int oArterialInputCurve::InitializeInputData ( )

This function is used to initialize the input arterial curve samples from the file provided by the user.

Returns
0 if success, positive value otherwise.

Definition at line 98 of file oArterialInputCurve.cc.

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

◆ InterpolateAIC()

int oArterialInputCurve::InterpolateAIC ( )

This function performs a linear interpolation within the provided AIC range for every discrete unit of millisecond up to the end of the last requested frame.

Returns
0 if success, positive value otherwise.

Definition at line 169 of file oArterialInputCurve.cc.

Here is the caller graph for this function:

◆ SetFrames()

void oArterialInputCurve::SetFrames ( int  a_nbTimeFrames,
uint32_t *  a_frameTimeStartInMs,
uint32_t *  a_frameTimeStopInMs 
)

Set the framing of the reconstruction for the AIC object.

Definition at line 91 of file oArterialInputCurve.cc.

Here is the caller graph for this function:

◆ SetInputFilePath()

public inline void oArterialInputCurve::SetInputFilePath ( const string &  a_pathToAICfile)
inline

Set path to file to get the sampled Arterial Input Curve.

Definition at line 97 of file oArterialInputCurve.hh.

Here is the caller graph for this function:

◆ SetVerbose()

public inline void oArterialInputCurve::SetVerbose ( int  a_verbose)
inline

Set the member m_verboseLevel to the provided value.

Definition at line 103 of file oArterialInputCurve.hh.

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

Member Data Documentation

◆ m_nbinputDataPoints

int oArterialInputCurve::m_nbinputDataPoints
private

Number of Arterial Input Function Datapoints

Definition at line 130 of file oArterialInputCurve.hh.

◆ m_nbTimeFrames

int oArterialInputCurve::m_nbTimeFrames
private

Number of frames

Definition at line 138 of file oArterialInputCurve.hh.

◆ m_pathToAICfile

string oArterialInputCurve::m_pathToAICfile
private

The string containing the path to the input AIC file

Definition at line 128 of file oArterialInputCurve.hh.

◆ m_verbose

int oArterialInputCurve::m_verbose
private

Verbose level

Definition at line 143 of file oArterialInputCurve.hh.

◆ mp_AICDataPoints

HPFLTNB* oArterialInputCurve::mp_AICDataPoints
private

Pointer to array of Input Function Datapoints

Definition at line 131 of file oArterialInputCurve.hh.

◆ mp_AICDataPointsTimes

uint32_t* oArterialInputCurve::mp_AICDataPointsTimes
private

Pointer to array of Input Function Time points

Definition at line 132 of file oArterialInputCurve.hh.

◆ mp_AICIntrpY

HPFLTNB* oArterialInputCurve::mp_AICIntrpY
private

The interpolated points of Y axis (Bq/ml) of the Arterial Input Function Each index relates to the time in milliseconds

Definition at line 134 of file oArterialInputCurve.hh.

◆ mp_AICIntrpY_downsampled

HPFLTNB* oArterialInputCurve::mp_AICIntrpY_downsampled
private

The interpolated points of Y axis (Bq/ml) f the Arterial Input Function Downsampled

Definition at line 136 of file oArterialInputCurve.hh.

◆ mp_frameTimeStartInMs

uint32_t* oArterialInputCurve::mp_frameTimeStartInMs
private

Pointer to the array of frames Start Times

Definition at line 139 of file oArterialInputCurve.hh.

◆ mp_frameTimeStopInMs

uint32_t* oArterialInputCurve::mp_frameTimeStopInMs
private

Pointer to the array of frames End Times

Definition at line 140 of file oArterialInputCurve.hh.


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