CASToR  3.2
Tomographic Reconstruction (PET/SPECT/CT)
code/include/analytic_simulator/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 
62  int DataUpdateStep(vDataFile* ap_DataFile,
63  oProjectionLine* a2p_Line,
64  oImageSpace* ap_Image,
65  vEvent* ap_Event,
66  int a_fr,
67  int a_rg,
68  int a_cg,
69  int th,
70  uint32_t a_timestamp,
71  bool a_discardZeroEvent );
72 
73 
82  int InitNoiseModel(string aNoiseModel);
83 
95  uint32_t GetPoissonNoise(FLTNB a_lambda);
96 
102  void SetVerbose(int a_verboseLevel) {m_verbose = a_verboseLevel;};
103 
104 
105  // -------------------------------------------------------------------
106  // Private member functions
107  private:
108 
109 
110  // -------------------------------------------------------------------
111  // Data members
112  private:
114  int m_verbose;
116 };
117 
118 #endif
119 
This class is designed to be a mother virtual class for DataFile.
Class that manages the data update step of analytic projection.
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)
oComputeProjection(oImageDimensionsAndQuantification *ap_ImageDimensionsAndQuantification)
oComputeProjection constructor.
This class is designed to manage and store system matrix elements associated to a vEvent...
This class holds all the matrices in the image domain that can be used in the algorithm: image...
Mother class for the Event objects.
This class is designed to manage all dimensions and quantification related stuff. ...
~oComputeProjection()
oComputeProjection destructor.