![]() |
CASToR
3.0
Tomographic Reconstruction (PET/SPECT/CT)
|
This class is designed to manage the Arterial Input Curve provided by the user. More...
#include <oArterialInputCurve.hh>
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... | |
HPFLTNB * | GetDownsampledAIC () |
Set the framing of the reconstruction for the AIC object. More... | |
HPFLTNB * | GetInterpolatedAIC () |
Set the framing of the reconstruction for the AIC object. More... | |
Private Attributes | |
string | m_pathToAICfile |
int | m_nbinputDataPoints |
HPFLTNB * | mp_AICDataPoints |
uint32_t * | mp_AICDataPointsTimes |
HPFLTNB * | mp_AICIntrpY |
HPFLTNB * | mp_AICIntrpY_downsampled |
int | m_nbTimeFrames |
uint32_t * | mp_frameTimeStartInMs |
uint32_t * | mp_frameTimeStopInMs |
int | m_verbose |
This class is designed to manage the Arterial Input Curve provided by the user.
Definition at line 41 of file oArterialInputCurve.hh.
oArterialInputCurve::oArterialInputCurve | ( | ) |
Constructor of oArterialInputCurve. Simply set all data members to default values.
Definition at line 43 of file oArterialInputCurve.cc.
oArterialInputCurve::~oArterialInputCurve | ( | ) |
Destructor of oArterialInputCurve. Free memory from all allocated tabs.
Definition at line 63 of file oArterialInputCurve.cc.
int oArterialInputCurve::CheckParameters | ( | ) |
This function is used to check that the required input parameters are provided from the file provided by the user.
Definition at line 73 of file oArterialInputCurve.cc.
int oArterialInputCurve::Downsample | ( | ) |
This function downsamples the interpolated arterial input function Currently needed to speed up convolution for the SpectralDynamicModel.
Definition at line 231 of file oArterialInputCurve.cc.
|
inline |
Set the framing of the reconstruction for the AIC object.
Definition at line 114 of file oArterialInputCurve.hh.
|
inline |
Set the framing of the reconstruction for the AIC object.
Definition at line 119 of file oArterialInputCurve.hh.
int oArterialInputCurve::InitializeInputData | ( | ) |
This function is used to initialize the input arterial curve samples from the file provided by the user.
Definition at line 98 of file oArterialInputCurve.cc.
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.
Definition at line 169 of file oArterialInputCurve.cc.
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.
|
inline |
Set path to file to get the sampled Arterial Input Curve.
Definition at line 97 of file oArterialInputCurve.hh.
|
inline |
Set the member m_verboseLevel to the provided value.
Definition at line 103 of file oArterialInputCurve.hh.
|
private |
Number of Arterial Input Function Datapoints
Definition at line 130 of file oArterialInputCurve.hh.
|
private |
Number of frames
Definition at line 138 of file oArterialInputCurve.hh.
|
private |
The string containing the path to the input AIC file
Definition at line 128 of file oArterialInputCurve.hh.
|
private |
Verbose level
Definition at line 143 of file oArterialInputCurve.hh.
|
private |
Pointer to array of Input Function Datapoints
Definition at line 131 of file oArterialInputCurve.hh.
|
private |
Pointer to array of Input Function Time points
Definition at line 132 of file oArterialInputCurve.hh.
|
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.
|
private |
The interpolated points of Y axis (Bq/ml) f the Arterial Input Function Downsampled
Definition at line 136 of file oArterialInputCurve.hh.
|
private |
Pointer to the array of frames Start Times
Definition at line 139 of file oArterialInputCurve.hh.
|
private |
Pointer to the array of frames End Times
Definition at line 140 of file oArterialInputCurve.hh.