CASToR  1.1
Tomographic Reconstruction (PET/SPECT)
 All Classes Files Functions Variables Typedefs Macros Groups Pages
oComputeProjection.hh
Go to the documentation of this file.
1 
8 #ifndef OCOMPUTEPROJECTION_HH
9 #define OCOMPUTEPROJECTION_HH 1
10 
11 #include "oProjectionLine.hh"
12 #include "oImageSpace.hh"
13 #include "vEvent.hh"
14 
15 
25 {
26  // Constructor & Destructor
27  public:
28 
34  oComputeProjection(oImageDimensionsAndQuantification* ap_ImageDimensionsAndQuantification);
35 
40 
41 
42  // -------------------------------------------------------------------
43  // Public member functions
44  public:
45 
61  int DataUpdateStep(vDataFile* ap_DataFile,
62  oProjectionLine* a2p_Line,
63  oImageSpace* ap_Image,
64  vEvent* ap_Event,
65  int a_fr,
66  int a_rg,
67  int a_cg,
68  int th,
69  uint32_t a_timestamp);
70 
71 
80  int InitNoiseModel(string aNoiseModel);
81 
93  uint32_t GetPoissonNoise(int32_t a_lambda);
94 
100  void SetVerbose(int a_verboseLevel) {m_verbose = a_verboseLevel;};
101 
102 
103  // -------------------------------------------------------------------
104  // Private member functions
105  private:
106 
107 
108  // -------------------------------------------------------------------
109  // Data members
110  private:
112  int m_verbose;
114 };
115 
116 #endif
117 
This class is designed to be a mother virtual class for Datafile.
Definition: vDataFile.hh:67
Class that manages the data update step of analytic projection.
int InitNoiseModel(string aNoiseModel)
This is a premature implementation of noise model initialization for analytic simulator. Currently, only the Poisson noise can be selected.
Declaration of class oProjectionLine.
Declaration of class vEvent.
oComputeProjection(oImageDimensionsAndQuantification *ap_ImageDimensionsAndQuantification)
oComputeProjection constructor.
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)
Perform the forward-projection, and send the result to the datafile for writing. Implements random ...
This class is designed to manage and store system matrix elements associated to a vEvent...
Declaration of class oImageSpace.
This class holds all the matrices in the image domain that can be used in the algorithm: image...
Definition: oImageSpace.hh:41
Mother class for the Event objects.
Definition: vEvent.hh:23
This class is designed to manage all dimensions and quantification related stuff. ...
uint32_t GetPoissonNoise(int32_t a_lambda)
Generate a Poisson random variable from a provided lambda.
oImageDimensionsAndQuantification * mp_ID
~oComputeProjection()
oComputeProjection destructor.
void SetVerbose(int a_verboseLevel)
set verbosity