TPCCLIB
Loading...
Searching...
No Matches
PRMAT Struct Reference

#include <libtpcrec.h>

Data Fields

char status
 Prmat status.
char type
 Scanner information on the prmat. 0=ECAT931 1=GE Advance.
unsigned int viewNr
 Scanner geometrics, field viewNr.
unsigned int binNr
 Scanner geometrics, field binNr.
unsigned int imgDim
 Scanner geometrics, field imgDim.
int mode
 Discretisation model utilised.
int * prmatfov
float min
 Minimal factor value in the projection matrix.
float max
 Maximal factor value in the projection matrix.
float factor_sum
 The sum of all factors in the projection matrix.
float scaling_factor
 Scaling factor for factors (notice that factors are stored in integers).
unsigned int nrp
 Number of pixels inside the fov. i.e. number of rows in the look-up table.
unsigned int ** lines
unsigned int ** _linesdata
 Hidden pointer for the actual data.
unsigned int dimr
 Dimension of rows (lines of response) in the projection matrix.
float * factor_sqr_sum
 Square sums of factors in each row in the projection matrix.
unsigned int * dime
 Number of pixels hit by a line for every line.
unsigned short int *** fact
unsigned short int *** _factdata
 Hidden pointer for the actual data.

Detailed Description

PRMAT is the structure for storing and processing the projection (system) matrix utilized in PET image reconstruction and Radon transform.

Definition at line 162 of file libtpcrec.h.

Field Documentation

◆ _factdata

unsigned short int*** PRMAT::_factdata

Hidden pointer for the actual data.

Definition at line 210 of file libtpcrec.h.

Referenced by prmatAllocate(), prmatEmpty(), prmatInit(), radonSetBases(), radonSetBasesEA(), and radonSetLORS().

◆ _linesdata

unsigned int** PRMAT::_linesdata

Hidden pointer for the actual data.

Definition at line 196 of file libtpcrec.h.

Referenced by prmatAllocate(), prmatEmpty(), and prmatInit().

◆ binNr

unsigned int PRMAT::binNr

Scanner geometrics, field binNr.

Definition at line 170 of file libtpcrec.h.

Referenced by prmatGetNB(), prmatInit(), prmatReadMatrix(), prmatSaveMatrix(), radonSetBases(), and radonSetBasesEA().

◆ dime

unsigned int* PRMAT::dime

Number of pixels hit by a line for every line.

Definition at line 204 of file libtpcrec.h.

Referenced by prmatAllocate(), prmatEmpty(), prmatGetPixels(), prmatInit(), radonSetBases(), radonSetBasesEA(), and radonSetLORS().

◆ dimr

unsigned int PRMAT::dimr

Dimension of rows (lines of response) in the projection matrix.

Definition at line 200 of file libtpcrec.h.

Referenced by prmatAllocate(), prmatEmpty(), prmatGetRows(), prmatInit(), prmatReadMatrix(), prmatSaveMatrix(), radonSetBases(), radonSetBasesEA(), and radonSetLORS().

◆ fact

unsigned short int*** PRMAT::fact

Coordinates and factors of pixels hit by a line of response. fact[row][pix][0]=x-coordinate && fact[row][pix][1]=y-coordinate && fact[row][pix][2]=factor.

Definition at line 208 of file libtpcrec.h.

Referenced by prmatAllocate(), prmatGetCoord(), prmatGetFactor(), prmatGetXCoord(), prmatGetYCoord(), prmatInit(), prmatReadMatrix(), prmatSaveMatrix(), radonSetBases(), radonSetBasesEA(), and radonSetLORS().

◆ factor_sqr_sum

float* PRMAT::factor_sqr_sum

Square sums of factors in each row in the projection matrix.

Definition at line 202 of file libtpcrec.h.

Referenced by prmatAllocate(), prmatEmpty(), prmatGetFactorSqrSum(), prmatInit(), prmatReadMatrix(), radonSetBases(), radonSetBasesEA(), and radonSetLORS().

◆ factor_sum

float PRMAT::factor_sum

The sum of all factors in the projection matrix.

Definition at line 183 of file libtpcrec.h.

Referenced by prmatGetFactorSum(), prmatInit(), prmatReadMatrix(), prmatSaveMatrix(), radonSetBases(), and radonSetBasesEA().

◆ imgDim

unsigned int PRMAT::imgDim

Scanner geometrics, field imgDim.

Definition at line 172 of file libtpcrec.h.

Referenced by prmatGetCoord(), prmatGetID(), prmatReadMatrix(), prmatSaveMatrix(), radonSetBases(), and radonSetBasesEA().

◆ lines

unsigned int** PRMAT::lines

Coordinates of a pixel, number of lines of response intersecting the pixel and the coordinates of coincidence lines (nrp x (lines + 2) array). lines[row][0] = pixel coordinates , lines[row][1] = lines hitting a pixel.

Definition at line 194 of file libtpcrec.h.

Referenced by prmatAllocate(), prmatGetBinView(), prmatGetPixCoord(), prmatGetRays(), prmatInit(), and prmatReadMatrix().

◆ max

float PRMAT::max

Maximal factor value in the projection matrix.

Definition at line 181 of file libtpcrec.h.

Referenced by prmatGetMax(), prmatInit(), prmatReadMatrix(), prmatSaveMatrix(), radonSetBases(), and radonSetBasesEA().

◆ min

float PRMAT::min

Minimal factor value in the projection matrix.

Definition at line 179 of file libtpcrec.h.

Referenced by prmatGetMin(), prmatInit(), prmatReadMatrix(), prmatSaveMatrix(), radonSetBases(), and radonSetBasesEA().

◆ mode

int PRMAT::mode

Discretisation model utilised.

Definition at line 174 of file libtpcrec.h.

Referenced by prmatInit(), prmatReadMatrix(), prmatSaveMatrix(), radonSetBases(), and radonSetBasesEA().

◆ nrp

unsigned int PRMAT::nrp

Number of pixels inside the fov. i.e. number of rows in the look-up table.

Definition at line 189 of file libtpcrec.h.

Referenced by prmatAllocate(), prmatEmpty(), prmatGetPIX(), prmatInit(), prmatReadMatrix(), and prmatSaveMatrix().

◆ prmatfov

int* PRMAT::prmatfov

FOV of the projection matrix. prmatfov[0]=major semiaxe, prmatfov[1]=minor semiaxe.

Definition at line 177 of file libtpcrec.h.

Referenced by prmatGetMajor(), prmatGetMinor(), prmatInit(), prmatReadMatrix(), prmatSaveMatrix(), radonSetBases(), and radonSetBasesEA().

◆ scaling_factor

float PRMAT::scaling_factor

Scaling factor for factors (notice that factors are stored in integers).

Definition at line 185 of file libtpcrec.h.

Referenced by prmatGetFactor(), prmatInit(), prmatReadMatrix(), prmatSaveMatrix(), radonSetBases(), and radonSetBasesEA().

◆ status

char PRMAT::status

◆ type

char PRMAT::type

Scanner information on the prmat. 0=ECAT931 1=GE Advance.

Definition at line 166 of file libtpcrec.h.

Referenced by prmatInit(), prmatReadMatrix(), prmatSaveMatrix(), radonSetBases(), and radonSetBasesEA().

◆ viewNr

unsigned int PRMAT::viewNr

Scanner geometrics, field viewNr.

Definition at line 168 of file libtpcrec.h.

Referenced by prmatGetNV(), prmatInit(), prmatReadMatrix(), prmatSaveMatrix(), radonSetBases(), and radonSetBasesEA().


The documentation for this struct was generated from the following file: