![]() |
CASToR
3.2
Tomographic Reconstruction (PET/SPECT/CT)
|
Class that manages the data update step of analytic projection. More...
#include <oComputeProjection.hh>
Public Member Functions | |
oComputeProjection (oImageDimensionsAndQuantification *ap_ImageDimensionsAndQuantification) | |
oComputeProjection constructor. More... | |
~oComputeProjection () | |
oComputeProjection destructor. More... | |
int | DataUpdateStep (vDataFile *ap_DataFile, oProjectionLine *a2p_Line, oImageSpace *ap_Image, vEvent *ap_Event, int a_fr, int a_rg, int a_cg, int th, uint32_t a_timestamp, bool a_discardZeroEvent) |
int | InitNoiseModel (string aNoiseModel) |
uint32_t | GetPoissonNoise (FLTNB a_lambda) |
void | SetVerbose (int a_verboseLevel) |
oComputeProjection (oImageDimensionsAndQuantification *ap_ImageDimensionsAndQuantification) | |
oComputeProjection constructor. More... | |
~oComputeProjection () | |
oComputeProjection destructor. More... | |
int | DataUpdateStep (vDataFile *ap_DataFile, oProjectionLine *a2p_Line, oImageSpace *ap_Image, vEvent *ap_Event, int a_fr, int a_rg, int a_cg, int th, uint32_t a_timestamp, bool a_discardZeroEvent) |
int | InitNoiseModel (string aNoiseModel) |
uint32_t | GetPoissonNoise (FLTNB a_lambda) |
void | SetVerbose (int a_verboseLevel) |
Private Attributes | |
oImageDimensionsAndQuantification * | mp_ID |
int | m_verbose |
bool | m_noiseModelEnabled |
Class that manages the data update step of analytic projection.
The DataUpdateStep computes the data update step and manages Poisson RNG
For SPECT, the image of the projection is written in ImageSpace->m2p_projectionImage
This implementation will be subjected to major modifications with the next update of the analytic simulator tools.
Definition at line 24 of file code/include/analytic_simulator/oComputeProjection.hh.
oComputeProjection::oComputeProjection | ( | oImageDimensionsAndQuantification * | ap_ImageDimensionsAndQuantification | ) |
oComputeProjection constructor.
ap_ImageDimensionsAndQuantification | Initialize the member variables to their default values. |
Definition at line 20 of file code/src/analytic_simulator/oComputeProjection.cc.
oComputeProjection::~oComputeProjection | ( | ) |
oComputeProjection destructor.
Definition at line 36 of file code/src/analytic_simulator/oComputeProjection.cc.
oComputeProjection::oComputeProjection | ( | oImageDimensionsAndQuantification * | ap_ImageDimensionsAndQuantification | ) |
oComputeProjection constructor.
ap_ImageDimensionsAndQuantification | Initialize the member variables to their default values. |
oComputeProjection::~oComputeProjection | ( | ) |
oComputeProjection destructor.
int oComputeProjection::DataUpdateStep | ( | vDataFile * | ap_DataFile, |
oProjectionLine * | a2p_Line, | ||
oImageSpace * | ap_Image, | ||
vEvent * | ap_Event, | ||
int | a_fr, | ||
int | a_rg, | ||
int | a_cg, | ||
int | th, | ||
uint32_t | a_timestamp, | ||
bool | a_discardZeroEvent | ||
) |
Definition at line 64 of file code/src/analytic_simulator/oComputeProjection.cc.
int oComputeProjection::DataUpdateStep | ( | vDataFile * | ap_DataFile, |
oProjectionLine * | a2p_Line, | ||
oImageSpace * | ap_Image, | ||
vEvent * | ap_Event, | ||
int | a_fr, | ||
int | a_rg, | ||
int | a_cg, | ||
int | th, | ||
uint32_t | a_timestamp, | ||
bool | a_discardZeroEvent | ||
) |
uint32_t oComputeProjection::GetPoissonNoise | ( | FLTNB | a_lambda | ) |
uint32_t oComputeProjection::GetPoissonNoise | ( | FLTNB | a_lambda | ) |
Definition at line 252 of file code/src/analytic_simulator/oComputeProjection.cc.
int oComputeProjection::InitNoiseModel | ( | string | aNoiseModel | ) |
Definition at line 164 of file code/src/analytic_simulator/oComputeProjection.cc.
int oComputeProjection::InitNoiseModel | ( | string | aNoiseModel | ) |
|
inline |
Definition at line 102 of file code/include/analytic_simulator/oComputeProjection.hh.
|
inline |
Definition at line 102 of file include/analytic_simulator/oComputeProjection.hh.
|
private |
Poisson noise enabled or not (default=false)
Definition at line 115 of file code/include/analytic_simulator/oComputeProjection.hh.
|
private |
Verbosity (default=-1)
Definition at line 114 of file code/include/analytic_simulator/oComputeProjection.hh.
|
private |
Pointer to the oImageDimensionsAndQuantification object
Definition at line 102 of file code/include/analytic_simulator/oComputeProjection.hh.