![]() |
CASToR
3.2
Tomographic Reconstruction (PET/SPECT/CT)
|
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 () |
oSystemMatrix () | |
~oSystemMatrix () | |
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 |
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 38 of file code/include/projector/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 16 of file code/src/projector/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 30 of file code/src/projector/oSystemMatrix.cc.
oSystemMatrix::oSystemMatrix | ( | ) |
oSystemMatrix::~oSystemMatrix | ( | ) |
|
inline |
Definition at line 90 of file code/include/projector/oSystemMatrix.hh.
|
inline |
Definition at line 90 of file include/projector/oSystemMatrix.hh.
int oSystemMatrix::Project | ( | int | a_direction, |
oProjectionLine * | ap_ProjectionLine, | ||
uint32_t * | ap_index1, | ||
uint32_t * | ap_index2, | ||
int | a_nbIndices | ||
) |
int oSystemMatrix::Project | ( | int | a_direction, |
oProjectionLine * | ap_ProjectionLine, | ||
uint32_t * | ap_index1, | ||
uint32_t * | ap_index2, | ||
int | a_nbIndices | ||
) |
Definition at line 37 of file code/src/projector/oSystemMatrix.cc.
|
private |
The map associating pairs of indices to the list of voxels indices
Definition at line 98 of file code/include/projector/oSystemMatrix.hh.
|
private |
The map associating pairs of indices to the list of voxels weights
Definition at line 99 of file code/include/projector/oSystemMatrix.hh.
|
private |
Boolean that says if the projector is compatible with SPECT attenuation correction
Definition at line 101 of file code/include/projector/oSystemMatrix.hh.
|
private |
The map associating pairs of indices to the number of contributing voxels
Definition at line 97 of file code/include/projector/oSystemMatrix.hh.