CASToR
1.1
Tomographic Reconstruction (PET/SPECT)
|
This class is designed to manage pre-computed system matrices. More...
#include <oSystemMatrix.hh>
Public Member Functions | |
oSystemMatrix () | |
The constructor of oSystemMatrix. More... | |
~oSystemMatrix () | |
The destructor of oSystemMatrix. More... | |
int | Project (int a_direction, oProjectionLine *ap_ProjectionLine, uint32_t *ap_index1, uint32_t *ap_index2, int a_nbIndices) |
bool | GetCompatibilityWithSPECTAttenuationCorrection () |
Private Attributes | |
map< pair< int, int >, INTNB > | mp_nbVoxels |
map< pair< int, int >, INTNB * > | m2p_voxelIndicesMap |
map< pair< int, int >, FLTNB * > | m2p_voxelWeightsMap |
vScanner * | mp_Scanner |
bool | m_compatibleWithSPECTAttenuationCorrection |
This class is designed to manage pre-computed system matrices.
This class is basically a container for pre-computed system matrices able to read/write oProjectionLines. It can be used during the reconstruction process by the oProjectorManager. Everything needs to be implemented !
Definition at line 39 of file oSystemMatrix.hh.
oSystemMatrix::oSystemMatrix | ( | ) |
The constructor of oSystemMatrix.
This is the default and unique constructor. It does not take any parameter and its role is only to affect default values to each member of the class.
Definition at line 26 of file oSystemMatrix.cc.
oSystemMatrix::~oSystemMatrix | ( | ) |
The destructor of oSystemMatrix.
This is the default and unique destructor. It does not take any parameter and its role is only to free or delete all structures that were built by this class. It is virtual, so that it is automatically called when a child object is deleted.
Definition at line 40 of file oSystemMatrix.cc.
|
inline |
Definition at line 91 of file oSystemMatrix.hh.
int oSystemMatrix::Project | ( | int | a_direction, |
oProjectionLine * | ap_ProjectionLine, | ||
uint32_t * | ap_index1, | ||
uint32_t * | ap_index2, | ||
int | a_nbIndices | ||
) |
|
private |
The map associating pairs of indices to the list of voxels indices
Definition at line 99 of file oSystemMatrix.hh.
|
private |
The map associating pairs of indices to the list of voxels weights
Definition at line 100 of file oSystemMatrix.hh.
|
private |
Boolean that says if the projector is compatible with SPECT attenuation correction
Definition at line 102 of file oSystemMatrix.hh.
|
private |
The map associating pairs of indices to the number of contributing voxels
Definition at line 98 of file oSystemMatrix.hh.
|
private |
The pointer to the vScanner in use
Definition at line 101 of file oSystemMatrix.hh.