ecat 6.0.0
matrix.h File Reference
#include <stdio.h>
#include <sys/types.h>
#include <ecat/kernel/machine_indep.h>
#include <netinet/in.h>
Include dependency graph for matrix.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  MatDir
 
struct  matdir
 
struct  Matval
 
struct  Matlimits
 
struct  matdirnode
 
struct  matdirlist
 
struct  matdirblk
 
struct  XMAIN_HEAD
 
struct  XSCAN_SUB
 
struct  X3DSCAN_SUB
 
struct  XIMAGE_SUB
 
struct  XNORM_SUB
 
struct  X3DNORM_SUB
 
struct  XATTEN_SUB
 
struct  matrix_file
 
struct  matrixdata
 

Macros

#define MatBLKSIZE   512
 
#define MatFirstDirBlk   2
 
#define MatMagic   0x67452301
 
#define V7   70
 
#define MagicNumLen   14
 
#define NameLen   32
 
#define IDLen   16
 
#define NumDataMasks   12
 
#define MAX_FRAMES   512
 
#define MAX_SLICES   1024
 
#define MAX_GATES   32
 
#define MAX_BED_POS   32
 
#define MAT_SUB_HEADER   255 /* operation to sub-header only */
 

Typedefs

typedef struct matdirnode MatDirNode
 
typedef struct matdirlist MatDirList
 
typedef struct matdirblk MatDirBlk
 
typedef struct XMAIN_HEAD Main_header
 
typedef struct XSCAN_SUB Scan_subheader
 
typedef struct X3DSCAN_SUB Scan3D_subheader
 
typedef struct XIMAGE_SUB Image_subheader
 
typedef struct XNORM_SUB Norm_subheader
 
typedef struct X3DNORM_SUB Norm3D_subheader
 
typedef struct XATTEN_SUB Attn_subheader
 
typedef struct matrix_file MatrixFile
 
typedef struct matrixdata MatrixData
 

Enumerations

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 }
 

Functions

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 *)
 
MatrixFilematrix_create (const char *, int, Main_header *)
 
MatrixFilematrix_open (const char *, int, int)
 
MatrixDatamatrix_read (MatrixFile *, int matnum, int type)
 
MatrixDatamatrix_read_slice (MatrixFile *, MatrixData *volume, int slice_num, int segment)
 
MatrixDatamatrix_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,...)
 
MatrixDataload_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 matdirmat_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)
 

Variables

int numDisplayUnits
 
char * datasettype [NumDataSetTypes]
 
char * dstypecode [NumDataSetTypes]
 
char * scantype [NumScanTypes]
 
char * scantypecode [NumScanTypes]
 
char * customDisplayUnits []
 
float ecfconverter [NumOldUnits]
 
char * calstatus [NumCalibrationStatus]
 
char * sexcode
 
char * dexteritycode
 
char * typeFilterLabel [NumDataMasks]
 
MatrixErrorCode matrix_errno
 
char matrix_errtxt []
 
int ecat_default_version
 

Macro Definition Documentation

◆ IDLen

#define IDLen   16

Definition at line 43 of file matrix.h.

◆ MagicNumLen

#define MagicNumLen   14

Definition at line 41 of file matrix.h.

◆ MAT_SUB_HEADER

#define MAT_SUB_HEADER   255 /* operation to sub-header only */

Definition at line 160 of file matrix.h.

◆ MatBLKSIZE

#define MatBLKSIZE   512

Definition at line 37 of file matrix.h.

◆ MatFirstDirBlk

#define MatFirstDirBlk   2

Definition at line 38 of file matrix.h.

◆ MatMagic

#define MatMagic   0x67452301

Definition at line 39 of file matrix.h.

◆ MAX_BED_POS

#define MAX_BED_POS   32

Definition at line 49 of file matrix.h.

◆ MAX_FRAMES

#define MAX_FRAMES   512

Definition at line 46 of file matrix.h.

◆ MAX_GATES

#define MAX_GATES   32

Definition at line 48 of file matrix.h.

◆ MAX_SLICES

#define MAX_SLICES   1024

Definition at line 47 of file matrix.h.

◆ NameLen

#define NameLen   32

Definition at line 42 of file matrix.h.

◆ NumDataMasks

#define NumDataMasks   12

Definition at line 44 of file matrix.h.

◆ V7

#define V7   70

Definition at line 40 of file matrix.h.

Typedef Documentation

◆ Attn_subheader

typedef struct XATTEN_SUB Attn_subheader

◆ Image_subheader

typedef struct XIMAGE_SUB Image_subheader

◆ Main_header

typedef struct XMAIN_HEAD Main_header

◆ MatDirBlk

typedef struct matdirblk MatDirBlk

◆ MatDirList

typedef struct matdirlist MatDirList

◆ MatDirNode

typedef struct matdirnode MatDirNode

◆ MatrixData

typedef struct matrixdata MatrixData

◆ MatrixFile

typedef struct matrix_file MatrixFile

◆ Norm3D_subheader

typedef struct X3DNORM_SUB Norm3D_subheader

◆ Norm_subheader

typedef struct XNORM_SUB Norm_subheader

◆ Scan3D_subheader

typedef struct X3DSCAN_SUB Scan3D_subheader

◆ Scan_subheader

typedef struct XSCAN_SUB Scan_subheader

Enumeration Type Documentation

◆ CalibrationStatus

Enumerator
Uncalibrated 
Calibrated 
Processed 
NumCalibrationStatus 

Definition at line 73 of file matrix.h.

◆ CurrentModels

Enumerator
E921 
E961 
E953 
E953B 
E951 
E951R 
E962 
E925 
NumEcatModels 

Definition at line 83 of file matrix.h.

◆ DataSetType

Enumerator
NoData 
Sinogram 
PetImage 
AttenCor 
Normalization 
PolarMap 
ByteVolume 
PetVolume 
ByteProjection 
PetProjection 
ByteImage 
Short3dSinogram 
Byte3dSinogram 
Norm3d 
Float3dSinogram 
InterfileImage 
NumDataSetTypes 

Definition at line 52 of file matrix.h.

◆ FileFormat

enum FileFormat
Enumerator
ECAT6 
ECAT7 
Interfile 

Definition at line 527 of file matrix.h.

◆ MatrixDataType

Enumerator
UnknownMatDataType 
ByteData 
VAX_Ix2 
VAX_Ix4 
VAX_Rx4 
IeeeFloat 
SunShort 
SunLong 
NumMatrixDataTypes 
UShort_BE 
UShort_LE 
Color_24 
Color_8 
BitData 

Definition at line 66 of file matrix.h.

◆ MatrixDataType_64

Enumerator
GENERIC 
BYTE_TYPE 
VAX_I2 
VAX_I4 
VAX_R4 
SUN_R4 
SUN_I2 
SUN_I4 

Definition at line 148 of file matrix.h.

◆ MatrixErrorCode

Enumerator
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 

Definition at line 100 of file matrix.h.

◆ MatrixFileAccessMode

Enumerator
MAT_READ_WRITE 
MAT_READ_ONLY 
MAT_CREATE 
MAT_OPEN_EXISTING 
MAT_CREATE_NEW_FILE 

Definition at line 230 of file matrix.h.

◆ MatrixFileType_64

Enumerator
MAT_UNKNOWN_FTYPE 
MAT_SCAN_DATA 
MAT_IMAGE_DATA 
MAT_ATTN_DATA 
MAT_NORM_DATA 

Definition at line 162 of file matrix.h.

◆ MatrixObjectAttribute

Enumerator
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 

Definition at line 241 of file matrix.h.

◆ OldDisplayUnits

Enumerator
TotalCounts 
UnknownEcfUnits 
EcatCountsPerSec 
UCiPerCC 
LMRGlu 
LMRGluUmol 
LMRGluMg 
NCiPerCC 
WellCounts 
BecquerelsPerCC 
MlPerMinPer100g 
MlPerMinPer1g 
NumOldUnits 

Definition at line 87 of file matrix.h.

◆ PatientOrientation

Enumerator
FeetFirstProne 
HeadFirstProne 
FeetFirstSupine 
HeadFirstSupine 
FeetFirstRight 
HeadFirstRight 
FeetFirstLeft 
HeadFirstLeft 
UnknownOrientation 
NumOrientations 

Definition at line 91 of file matrix.h.

◆ ProcessingCode

Enumerator
NotProc 
Norm 
Atten_Meas 
Atten_Calc 
Smooth_X 
Smooth_Y 
Smooth_Z 
Scat2d 
Scat3d 
ArcPrc 
DecayPrc 
OnComPrc 
RandomSub 

Definition at line 124 of file matrix.h.

◆ ScanType

enum ScanType
Enumerator
UndefScan 
BlankScan 
TransmissionScan 
StaticEmission 
DynamicEmission 
GatedEmission 
TransRectilinear 
EmissionRectilinear 
NumScanTypes 

Definition at line 77 of file matrix.h.

◆ SeptaPos

enum SeptaPos
Enumerator
SeptaExtended 
SeptaRetracted 
NoSeptaInstalled 

Definition at line 96 of file matrix.h.

◆ Sino3dOrder

Enumerator
ElAxVwRd 
ElVwAxRd 
NumSino3dOrders 

Definition at line 98 of file matrix.h.

Function Documentation

◆ crash()

int crash ( char * fmt,
... )

◆ find_bmax()

int find_bmax ( const u_char * ,
int size )

◆ find_bmin()

int find_bmin ( const u_char * ,
int size )

◆ find_fmax()

float find_fmax ( const float * ,
int size )

◆ find_fmin()

float find_fmin ( const float * ,
int size )

◆ find_imax()

int find_imax ( const int * ,
int size )

◆ find_imin()

int find_imin ( const int * ,
int size )

◆ find_smax()

int find_smax ( const short * ,
int size )

◆ find_smin()

int find_smin ( const short * ,
int size )

◆ free_matrix_data()

void free_matrix_data ( MatrixData * )

◆ insert_mdir()

int insert_mdir ( struct MatDir matdir,
MatDirList * dirlist )

◆ is_analyze()

char * is_analyze ( const char * )

◆ load_volume7()

MatrixData * load_volume7 ( MatrixFile * matrix_file,
int frame,
int gate,
int data,
int bedstart,
int bedend )

◆ map64_attn_header()

int map64_attn_header ( char * buf,
Attn_subheader * ,
Main_header *  )

◆ map64_image_header()

int map64_image_header ( char * buf,
Image_subheader * ,
Main_header *  )

◆ map64_main_header()

int map64_main_header ( char * buf,
Main_header * h )

◆ map64_norm_header()

int map64_norm_header ( char * buf,
Norm_subheader * ,
Main_header *  )

◆ map64_scan_header()

int map64_scan_header ( char * buf,
Scan_subheader * ,
Main_header *  )

◆ mat_create()

FILE * mat_create ( char * fname,
Main_header * mhead )

◆ mat_enter()

int mat_enter ( FILE * ,
Main_header * mhptr,
int matnum,
int nblks )

◆ mat_lookup()

int mat_lookup ( FILE * fptr,
Main_header * mhptr,
int matnum,
struct MatDir * entry )

◆ mat_numcod()

int mat_numcod ( int frame,
int plane,
int gate,
int data,
int bed )

◆ mat_numdoc()

int mat_numdoc ( int ,
struct Matval *  )

◆ mat_rblk()

int mat_rblk ( FILE * fptr,
int blkno,
char * bufr,
int nblks )

◆ mat_read_attn_subheader()

int mat_read_attn_subheader ( FILE * ,
Main_header * ,
int blknum,
Attn_subheader *  )

◆ mat_read_dir()

struct matdir * mat_read_dir ( FILE * ,
Main_header * ,
char * selector )

◆ mat_read_image_subheader()

int mat_read_image_subheader ( FILE * ,
Main_header * ,
int blknum,
Image_subheader *  )

◆ mat_read_main_header()

int mat_read_main_header ( FILE * fptr,
Main_header * h )

◆ mat_read_matrix_data()

int mat_read_matrix_data ( FILE * ,
Main_header * ,
int blk,
int nblks,
short * bufr )

◆ mat_read_norm3d_subheader()

int mat_read_norm3d_subheader ( FILE * ,
Main_header * ,
int blknum,
Norm3D_subheader *  )

◆ mat_read_norm_subheader()

int mat_read_norm_subheader ( FILE * ,
Main_header * ,
int blknum,
Norm_subheader *  )

◆ mat_read_Scan3D_subheader()

int mat_read_Scan3D_subheader ( FILE * ,
Main_header * ,
int blknum,
Scan3D_subheader *  )

◆ mat_read_scan_subheader()

int mat_read_scan_subheader ( FILE * ,
Main_header * ,
int blknum,
Scan_subheader *  )

◆ mat_wblk()

int mat_wblk ( FILE * fptr,
int blkno,
char * bufr,
int nblks )

◆ mat_write_attn_subheader()

int mat_write_attn_subheader ( FILE * ,
Main_header * ,
int blknum,
Attn_subheader *  )

◆ mat_write_image_subheader()

int mat_write_image_subheader ( FILE * ,
Main_header * ,
int blknum,
Image_subheader *  )

◆ mat_write_main_header()

int mat_write_main_header ( FILE * fptr,
Main_header * h )

◆ mat_write_norm_subheader()

int mat_write_norm_subheader ( FILE * ,
Main_header * ,
int blknum,
Norm_subheader *  )

◆ mat_write_Scan3D_subheader()

int mat_write_Scan3D_subheader ( FILE * ,
Main_header * ,
int blknum,
Scan3D_subheader *  )

◆ mat_write_scan_subheader()

int mat_write_scan_subheader ( FILE * ,
Main_header * ,
int blknum,
Scan_subheader *  )

◆ matrix_close()

int matrix_close ( MatrixFile * )

◆ matrix_create()

MatrixFile * matrix_create ( const char * ,
int ,
Main_header *  )

◆ matrix_find()

int matrix_find ( MatrixFile * ,
int matnum,
struct MatDir *  )

◆ matrix_open()

MatrixFile * matrix_open ( const char * ,
int ,
int  )

◆ matrix_perror()

void matrix_perror ( const char * )

◆ matrix_read()

MatrixData * matrix_read ( MatrixFile * ,
int matnum,
int type )

◆ matrix_read_slice()

MatrixData * matrix_read_slice ( MatrixFile * ,
MatrixData * volume,
int slice_num,
int segment )

◆ matrix_read_view()

MatrixData * matrix_read_view ( MatrixFile * ,
MatrixData * volume,
int view,
int segment )

◆ matrix_write()

int matrix_write ( MatrixFile * ,
int matnum,
MatrixData *  )

◆ matspec()

int matspec ( const char * specs,
char * fname,
int * matnum )

◆ save_volume7()

int save_volume7 ( MatrixFile * mfile,
Image_subheader * shptr,
float * data_ptr,
int frame,
int gate,
int data,
int bed )

◆ SWAB()

void SWAB ( const void * from,
void * to,
int len )

◆ SWAW()

void SWAW ( const short * from,
short * to,
int len )

◆ swaw()

void swaw ( short * from,
short * to,
int length )

◆ unmap64_attn_header()

int unmap64_attn_header ( char * buf,
Attn_subheader * ,
Main_header *  )

◆ unmap64_image_header()

int unmap64_image_header ( char * buf,
Image_subheader * ,
Main_header *  )

◆ unmap64_main_header()

int unmap64_main_header ( char * buf,
Main_header * h )

◆ unmap64_norm_header()

int unmap64_norm_header ( char * buf,
Norm_subheader * ,
Main_header *  )

◆ unmap64_scan_header()

int unmap64_scan_header ( char * buf,
Scan_subheader * ,
Main_header *  )

◆ unmap_attn_header()

int unmap_attn_header ( char * buf,
Attn_subheader *  )

◆ unmap_image_header()

int unmap_image_header ( char * buf,
Image_subheader *  )

◆ unmap_main_header()

int unmap_main_header ( char * buf,
Main_header * h )

◆ unmap_norm3d_header()

int unmap_norm3d_header ( char * buf,
Norm3D_subheader *  )

◆ unmap_norm_header()

int unmap_norm_header ( char * buf,
Norm_subheader *  )

◆ unmap_Scan3D_header()

int unmap_Scan3D_header ( char * buf,
Scan3D_subheader *  )

◆ unmap_scan_header()

int unmap_scan_header ( char * buf,
Scan_subheader *  )

Variable Documentation

◆ calstatus

char* calstatus[NumCalibrationStatus]
extern

◆ customDisplayUnits

char* customDisplayUnits[]
extern

◆ datasettype

char* datasettype[NumDataSetTypes]
extern

◆ dexteritycode

char* dexteritycode
extern

◆ dstypecode

char* dstypecode[NumDataSetTypes]
extern

◆ ecat_default_version

int ecat_default_version
extern

◆ ecfconverter

float ecfconverter[NumOldUnits]
extern

◆ matrix_errno

MatrixErrorCode matrix_errno
extern

◆ matrix_errtxt

char matrix_errtxt[]
extern

◆ numDisplayUnits

int numDisplayUnits
extern

◆ scantype

char* scantype[NumScanTypes]
extern

◆ scantypecode

char* scantypecode[NumScanTypes]
extern

◆ sexcode

char* sexcode
extern

◆ typeFilterLabel

char* typeFilterLabel[NumDataMasks]
extern