|
| enum | DataSetType {
NoData
, Sinogram
, PetImage
, AttenCor
,
Normalization
, PolarMap
, ByteVolume
, PetVolume
,
ByteProjection
, PetProjection
, ByteImage
, Short3dSinogram
,
Byte3dSinogram
, Norm3d
, Float3dSinogram
, InterfileImage
,
NumDataSetTypes
} |
| |
| enum | MatrixDataType {
UnknownMatDataType
, ByteData
, VAX_Ix2
, VAX_Ix4
,
VAX_Rx4
, IeeeFloat
, SunShort
, SunLong
,
NumMatrixDataTypes
, UShort_BE
, UShort_LE
, Color_24
,
Color_8
, BitData
} |
| |
| enum | CalibrationStatus { Uncalibrated
, Calibrated
, Processed
, NumCalibrationStatus
} |
| |
| enum | ScanType {
UndefScan
, BlankScan
, TransmissionScan
, StaticEmission
,
DynamicEmission
, GatedEmission
, TransRectilinear
, EmissionRectilinear
,
NumScanTypes
} |
| |
| enum | CurrentModels {
E921
, E961
, E953
, E953B
,
E951
, E951R
, E962
, E925
,
NumEcatModels
} |
| |
| enum | OldDisplayUnits {
TotalCounts
, UnknownEcfUnits
, EcatCountsPerSec
, UCiPerCC
,
LMRGlu
, LMRGluUmol
, LMRGluMg
, NCiPerCC
,
WellCounts
, BecquerelsPerCC
, MlPerMinPer100g
, MlPerMinPer1g
,
NumOldUnits
} |
| |
| enum | PatientOrientation {
FeetFirstProne
, HeadFirstProne
, FeetFirstSupine
, HeadFirstSupine
,
FeetFirstRight
, HeadFirstRight
, FeetFirstLeft
, HeadFirstLeft
,
UnknownOrientation
, NumOrientations
} |
| |
| enum | SeptaPos { SeptaExtended
, SeptaRetracted
, NoSeptaInstalled
} |
| |
| enum | Sino3dOrder { ElAxVwRd
, ElVwAxRd
, NumSino3dOrders
} |
| |
| enum | MatrixErrorCode {
MAT_OK
, MAT_READ_ERROR
, MAT_WRITE_ERROR
, MAT_INVALID_DIRBLK
,
MAT_ACS_FILE_NOT_FOUND
, MAT_INTERFILE_OPEN_ERR
, MAT_FILE_TYPE_NOT_MATCH
, MAT_READ_FROM_NILFPTR
,
MAT_NOMHD_FILE_OBJECT
, MAT_NIL_SHPTR
, MAT_NIL_DATA_PTR
, MAT_MATRIX_NOT_FOUND
,
MAT_UNKNOWN_FILE_TYPE
, MAT_ACS_CREATE_ERR
, MAT_BAD_ATTRIBUTE
, MAT_BAD_FILE_ACCESS_MODE
,
MAT_INVALID_DIMENSION
, MAT_NO_SLICES_FOUND
, MAT_INVALID_DATA_TYPE
, MAT_INVALID_MBED_POSITION
} |
| |
| enum | ProcessingCode {
NotProc =0
, Norm =1
, Atten_Meas =2
, Atten_Calc =4
,
Smooth_X =8
, Smooth_Y =16
, Smooth_Z =32
, Scat2d =64
,
Scat3d =128
, ArcPrc =256
, DecayPrc =512
, OnComPrc =1024
,
RandomSub =2048
} |
| |
| enum | MatrixDataType_64 {
GENERIC
, BYTE_TYPE
, VAX_I2
, VAX_I4
,
VAX_R4
, SUN_R4
, SUN_I2
, SUN_I4
} |
| |
| enum | MatrixFileType_64 {
MAT_UNKNOWN_FTYPE
, MAT_SCAN_DATA
, MAT_IMAGE_DATA
, MAT_ATTN_DATA
,
MAT_NORM_DATA
} |
| |
| enum | MatrixFileAccessMode {
MAT_READ_WRITE
, MAT_READ_ONLY
, MAT_CREATE
, MAT_OPEN_EXISTING
,
MAT_CREATE_NEW_FILE
} |
| |
| enum | MatrixObjectAttribute {
MAT_NULL
, MAT_XDIM
, MAT_YDIM
, MAT_ZDIM
,
MAT_DATA_TYPE
, MAT_SCALE_FACTOR
, MAT_PIXEL_SIZE
, MAT_Y_SIZE
,
MAT_Z_SIZE
, MAT_DATA_MAX
, MAT_DATA_MIN
, MAT_PROTO
} |
| |
| enum | FileFormat { ECAT6
, ECAT7
, Interfile
} |
| |
|
| void | SWAB (const void *from, void *to, int len) |
| |
| void | SWAW (const short *from, short *to, int len) |
| |
| int | find_bmin (const u_char *, int size) |
| |
| int | find_bmax (const u_char *, int size) |
| |
| int | find_smin (const short *, int size) |
| |
| int | find_smax (const short *, int size) |
| |
| int | find_imin (const int *, int size) |
| |
| int | find_imax (const int *, int size) |
| |
| float | find_fmin (const float *, int size) |
| |
| float | find_fmax (const float *, int size) |
| |
| int | matspec (const char *specs, char *fname, int *matnum) |
| |
| char * | is_analyze (const char *) |
| |
| MatrixFile * | matrix_create (const char *, int, Main_header *) |
| |
| MatrixFile * | matrix_open (const char *, int, int) |
| |
| MatrixData * | matrix_read (MatrixFile *, int matnum, int type) |
| |
| MatrixData * | matrix_read_slice (MatrixFile *, MatrixData *volume, int slice_num, int segment) |
| |
| MatrixData * | matrix_read_view (MatrixFile *, MatrixData *volume, int view, int segment) |
| |
| int | matrix_write (MatrixFile *, int matnum, MatrixData *) |
| |
| int | mat_numcod (int frame, int plane, int gate, int data, int bed) |
| |
| int | mat_numdoc (int, struct Matval *) |
| |
| void | free_matrix_data (MatrixData *) |
| |
| void | matrix_perror (const char *) |
| |
| int | matrix_close (MatrixFile *) |
| |
| int | matrix_find (MatrixFile *, int matnum, struct MatDir *) |
| |
| int | crash (char *fmt,...) |
| |
| MatrixData * | load_volume7 (MatrixFile *matrix_file, int frame, int gate, int data, int bedstart, int bedend) |
| |
| int | save_volume7 (MatrixFile *mfile, Image_subheader *shptr, float *data_ptr, int frame, int gate, int data, int bed) |
| |
| int | unmap64_main_header (char *buf, Main_header *h) |
| |
| int | unmap64_scan_header (char *buf, Scan_subheader *, Main_header *) |
| |
| int | unmap64_attn_header (char *buf, Attn_subheader *, Main_header *) |
| |
| int | unmap64_image_header (char *buf, Image_subheader *, Main_header *) |
| |
| int | unmap64_norm_header (char *buf, Norm_subheader *, Main_header *) |
| |
| int | map64_main_header (char *buf, Main_header *h) |
| |
| int | map64_scan_header (char *buf, Scan_subheader *, Main_header *) |
| |
| int | map64_attn_header (char *buf, Attn_subheader *, Main_header *) |
| |
| int | map64_image_header (char *buf, Image_subheader *, Main_header *) |
| |
| int | map64_norm_header (char *buf, Norm_subheader *, Main_header *) |
| |
| int | unmap_main_header (char *buf, Main_header *h) |
| |
| int | unmap_Scan3D_header (char *buf, Scan3D_subheader *) |
| |
| int | unmap_scan_header (char *buf, Scan_subheader *) |
| |
| int | unmap_image_header (char *buf, Image_subheader *) |
| |
| int | unmap_attn_header (char *buf, Attn_subheader *) |
| |
| int | unmap_norm3d_header (char *buf, Norm3D_subheader *) |
| |
| int | unmap_norm_header (char *buf, Norm_subheader *) |
| |
| int | mat_read_main_header (FILE *fptr, Main_header *h) |
| |
| int | mat_read_scan_subheader (FILE *, Main_header *, int blknum, Scan_subheader *) |
| |
| int | mat_read_Scan3D_subheader (FILE *, Main_header *, int blknum, Scan3D_subheader *) |
| |
| int | mat_read_image_subheader (FILE *, Main_header *, int blknum, Image_subheader *) |
| |
| int | mat_read_attn_subheader (FILE *, Main_header *, int blknum, Attn_subheader *) |
| |
| int | mat_read_norm_subheader (FILE *, Main_header *, int blknum, Norm_subheader *) |
| |
| int | mat_read_norm3d_subheader (FILE *, Main_header *, int blknum, Norm3D_subheader *) |
| |
| int | mat_write_main_header (FILE *fptr, Main_header *h) |
| |
| int | mat_write_scan_subheader (FILE *, Main_header *, int blknum, Scan_subheader *) |
| |
| int | mat_write_Scan3D_subheader (FILE *, Main_header *, int blknum, Scan3D_subheader *) |
| |
| int | mat_write_image_subheader (FILE *, Main_header *, int blknum, Image_subheader *) |
| |
| int | mat_write_attn_subheader (FILE *, Main_header *, int blknum, Attn_subheader *) |
| |
| int | mat_write_norm_subheader (FILE *, Main_header *, int blknum, Norm_subheader *) |
| |
| struct matdir * | mat_read_dir (FILE *, Main_header *, char *selector) |
| |
| int | mat_read_matrix_data (FILE *, Main_header *, int blk, int nblks, short *bufr) |
| |
| int | mat_enter (FILE *, Main_header *mhptr, int matnum, int nblks) |
| |
| int | mat_lookup (FILE *fptr, Main_header *mhptr, int matnum, struct MatDir *entry) |
| |
| int | mat_rblk (FILE *fptr, int blkno, char *bufr, int nblks) |
| |
| int | mat_wblk (FILE *fptr, int blkno, char *bufr, int nblks) |
| |
| void | swaw (short *from, short *to, int length) |
| |
| int | insert_mdir (struct MatDir matdir, MatDirList *dirlist) |
| |
| FILE * | mat_create (char *fname, Main_header *mhead) |
| |