ITK  4.1.0
Insight Segmentation and Registration Toolkit
Ge5xHdr.h
Go to the documentation of this file.
00001 /*=========================================================================
00002  *
00003  *  Copyright Insight Software Consortium
00004  *
00005  *  Licensed under the Apache License, Version 2.0 (the "License");
00006  *  you may not use this file except in compliance with the License.
00007  *  You may obtain a copy of the License at
00008  *
00009  *         http://www.apache.org/licenses/LICENSE-2.0.txt
00010  *
00011  *  Unless required by applicable law or agreed to in writing, software
00012  *  distributed under the License is distributed on an "AS IS" BASIS,
00013  *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00014  *  See the License for the specific language governing permissions and
00015  *  limitations under the License.
00016  *
00017  *=========================================================================*/
00018 /*
00019  * The definitions in this file were derived from genesis.tcl from
00020  * David Clunies Dicom3Tools
00021  *
00022  *
00023  * Copyright (c) 1993-2006, David A. Clunie DBA PixelMed Publishing. All rights reserved.
00024  *
00025  * Redistribution and use in source and binary forms, with or without modification, are
00026  * permitted provided that the following conditions are met:
00027  *
00028  * 1. Redistributions of source code must retain the above copyright notice, this list of
00029  *    conditions and the following disclaimers.
00030  *
00031  * 2. Redistributions in binary form must reproduce the above copyright notice, this list of
00032  *    conditions and the following disclaimers in the documentation and/or other materials
00033  *    provided with the distribution.
00034  *
00035  * 3. Neither the name of PixelMed Publishing nor the names of its contributors may
00036  *    be used to endorse or promote products derived from this software.
00037  *
00038  * This software is provided by the copyright holders and contributors "as is" and any
00039  * express or implied warranties, including, but not limited to, the implied warranties
00040  * of merchantability and fitness for a particular purpose are disclaimed. In no event
00041  * shall the copyright owner or contributors be liable for any direct, indirect, incidental,
00042  * special, exemplary, or consequential damages (including, but not limited to, procurement
00043  * of substitute goods or services; loss of use, data or profits; or business interruption)
00044  * however caused and on any theory of liability, whether in contract, strict liability, or
00045  * tort (including negligence or otherwise) arising in any way out of the use of this software,
00046  * even if advised of the possibility of such damage.
00047  *
00048  * This software has neither been tested nor approved for clinical use or for incorporation in
00049  * a medical device. It is the redistributor's or user's responsibility to comply with any
00050  * applicable local, state, national or international regulations.
00051  *
00052  */
00053 
00054 #ifndef __Ge5xHdr_h
00055 #define __Ge5xHdr_h
00056 
00057 #define GE_5X_MAGIC_NUMBER       0x494d4746
00058 
00059 typedef struct GE_5x_ImgHdr {
00060   int GENESIS_IH_img_magic;
00061   int GENESIS_IH_img_hdr_length;
00062   int GENESIS_IH_img_width;
00063   int GENESIS_IH_img_height;
00064   int GENESIS_IH_img_depth;
00065   int GENESIS_IH_img_compress;
00066   int GENESIS_IH_img_dwindow;
00067   int GENESIS_IH_img_dlevel;
00068   int GENESIS_IH_img_bgshade;
00069   int GENESIS_IH_img_ovrflow;
00070   int GENESIS_IH_img_undflow;
00071   int GENESIS_IH_img_top_offset;
00072   int GENESIS_IH_img_bot_offset;
00073   short GENESIS_IH_img_version;
00074   unsigned short GENESIS_IH_img_checksum;
00075   int GENESIS_IH_img_p_id;
00076   int GENESIS_IH_img_l_id;
00077   int GENESIS_IH_img_p_unpack;
00078   int GENESIS_IH_img_l_unpack;
00079   int GENESIS_IH_img_p_compress;
00080   int GENESIS_IH_img_l_compress;
00081   int GENESIS_IH_img_p_histo;
00082   int GENESIS_IH_img_l_histo;
00083   int GENESIS_IH_img_p_text;
00084   int GENESIS_IH_img_l_text;
00085   int GENESIS_IH_img_p_graphics;
00086   int GENESIS_IH_img_l_graphics;
00087   int GENESIS_IH_img_p_dbHdr;
00088   int GENESIS_IH_img_l_dbHdr;
00089   int GENESIS_IH_img_levelOffset;
00090   int GENESIS_IH_img_p_user;
00091   int GENESIS_IH_img_l_user;
00092   int GENESIS_IH_img_p_suite;
00093   int GENESIS_IH_img_l_suite;
00094   int GENESIS_IH_img_p_exam;
00095   int GENESIS_IH_img_l_exam;
00096   int GENESIS_IH_img_p_series;
00097   int GENESIS_IH_img_l_series;
00098   int GENESIS_IH_img_p_image;
00099   int GENESIS_IH_img_l_image;
00100 } Ge5xPixelHeader;
00101 
00102 
00103 enum GE_SUITE_HDR_ENUM {
00104   GENESIS_SU_ID = 0,        /*  Suite ID */
00105   GENESIS_SU_UNIQ = 4,      /*  Make Unique Flag */
00106   GENESIS_SU_DISKID = 6,    /*  Disk ID */
00107   GENESIS_SU_PRODID = 7,    /*  Product ID */
00108   GENESIS_SU_VERSCRE = 20,  /*  Original Version of Record */
00109   GENESIS_SU_VERSCUR = 22,  /*  Current Version of Record */
00110   GENESIS_SU_CHECKSUM = 24, /*  Suite Record Checksum */
00111   GENESIS_SU_PADDING = 28,  /*  Spare Space */
00112   GENESIS_SU_HDR_LEN = 114  /*  Length of Suite Header */
00113 };
00114 
00115 enum GE_EXAM_HDR_ENUM {
00116   GENESIS_EX_SUID   =        0,   /* Suite Id for this Exam */
00117   GENESIS_EX_UNIQ     =      4,   /* Make-Unique Flag */
00118   GENESIS_EX_DISKID   =      6,   /* Disk ID for this Exam */
00119   GENESIS_EX_NO      =       8,   /* Exam Number */
00120   GENESIS_EX_HOSPNAME  =    10,   /* Hospital Name */
00121   GENESIS_EX_DETECT  =      44,   /* Detector Type */
00122   GENESIS_EX_NUMCELLS  =    46,   /* Number of cells in det */
00123   GENESIS_EX_ZEROCELL  =    50,   /* Cell number at theta */
00124   GENESIS_EX_CELLSPACE  =   54,   /* Cell spacing */
00125   GENESIS_EX_SRCTODET =    58,
00126   GENESIS_EX_SRCTOISO =    62,
00127   GENESIS_EX_TUBETYP =     66,
00128   GENESIS_EX_DASTYP =      68,
00129   GENESIS_EX_NUM_DCNK =    70,
00130   GENESIS_EX_DCN_LEN =     72,
00131   GENESIS_EX_DCN_DENSITY = 76,
00132   GENESIS_EX_DCN_SHIFTCNT =78,
00133   GENESIS_EX_MAGSTRENGTH = 80,   /* Magnetic Strength Gauss*/
00134   GENESIS_EX_PATID =       84,   /* Patient ID for this Exam*/
00135   GENESIS_EX_PATNAME =     97,   /* Patient Name*/
00136   GENESIS_EX_PATAGE =      122,  /* Patient Age */
00137   GENESIS_EX_PATIAN =      124,  /* Patient Age Notation */
00138   GENESIS_EX_PATSEX =      126,
00139   GENESIS_EX_PATWEIGHT =   128,  /* Patient Weight */
00140   GENESIS_EX_TRAUMA =      132,
00141   GENESIS_EX_HIST =        134,
00142   GENESIS_EX_REQNUM =      195,
00143   GENESIS_EX_EX_DATETIME = 208,
00144   GENESIS_EX_REFPHY =      212,
00145   GENESIS_EX_DIAGRAD =     245,
00146   GENESIS_EX_OP =          278,
00147   GENESIS_EX_DESC =        282,
00148   GENESIS_EX_TYP =         305,
00149   GENESIS_EX_FORMAT =      308,
00150   GENESIS_EX_FIRSTAXTIME = 310,
00151   GENESIS_EX_SYSID =       318,
00152   GENESIS_EX_LASTMOD =     328,
00153   GENESIS_EX_PROTOCOLFLAG =332,
00154   GENESIS_EX_ALLOC_KEY =   334,
00155   GENESIS_EX_DELTA_CNT =   348,
00156   GENESIS_EX_VERSCRE =     352,
00157   GENESIS_EX_VERSCUR =     354,
00158   GENESIS_EX_CHECKSUM =    356,
00159   GENESIS_EX_COMPLETE =    360,
00160   GENESIS_EX_SERIESCT = 364,
00161   GENESIS_EX_NUMARCH =  368,
00162   GENESIS_EX_NUMSERIES =372,
00163   GENESIS_EX_NUMUNSER = 384,
00164   GENESIS_EX_TOARCHCNT =396,
00165   GENESIS_EX_PROSPCNT = 408,
00166   GENESIS_EX_MODELNUM = 420,
00167   GENESIS_EX_MODELCNT = 424,
00168   GENESIS_EX_STAT =     436,
00169   GENESIS_EX_UNIQ_SYS_ID = 438,
00170   GENESIS_EX_SERVICE_ID =  454,
00171   GENESIS_EX_MOBILE_LOC =  470,
00172   GENESIS_EX_STUDY_UID =   474,
00173   GENESIS_EX_PADDING =  506,
00174   GENESIS_EX_HDR_LEN =  1024
00175 };
00176 
00177 enum GE_5X_SEHDR_ENUM {
00178   GENESIS_SE_SUID = 0,
00179   GENESIS_SE_UNIQ = 4,
00180   GENESIS_SE_DISKID = 6,
00181   GENESIS_SE_EXNO = 8,
00182   GENESIS_SE_NO = 10,
00183   GENESIS_SE_DATETIME = 12,
00184   GENESIS_SE_ACTUAL_DT = 16,
00185   GENESIS_SE_DESC = 20,
00186   GENESIS_SE_PR_SYSID = 50,
00187   GENESIS_SE_PANSYSID = 59,
00188   GENESIS_SE_TYP = 68,
00189   GENESIS_SE_SOURCE  = 70,
00190   GENESIS_SE_PLANE  = 72,
00191   GENESIS_SE_SCAN_TYPE  = 74,
00192   GENESIS_SE_POSITION = 76,
00193   GENESIS_SE_ENTRY  = 80,
00194   GENESIS_SE_ANREF  = 84,
00195   GENESIS_SE_LMHOR  = 88,
00196   GENESIS_SE_PRTCL = 92,
00197   GENESIS_SE_CONTRAST = 118,
00198   GENESIS_SE_START_RAS  = 120,
00199   GENESIS_SE_START_LOC  = 122,
00200   GENESIS_SE_END_RAS  = 126,
00201   GENESIS_SE_END_LOC  = 128,
00202   GENESIS_SE_SE_PSEQ = 132,
00203   GENESIS_SE_SORTORDER  = 134,
00204   GENESIS_SE_LNDMRKCNT  = 136,
00205   GENESIS_SE_NACQ  = 140,
00206   GENESIS_SE_XBASEST  = 142,
00207   GENESIS_SE_XBASEEND  = 144,
00208   GENESIS_SE_XENHST  = 146,
00209   GENESIS_SE_XENHEND = 148,
00210   GENESIS_SE_LASTMOD  = 150,
00211   GENESIS_SE_ALLOC_KEY = 154,
00212   GENESIS_SE_DELTA_CNT = 168,
00213   GENESIS_SE_VERSCRE  = 172,
00214   GENESIS_SE_VERSCUR  = 174,
00215   GENESIS_SE_PDS_A  = 176,
00216   GENESIS_SE_PDS_C = 180,
00217   GENESIS_SE_PDS_U  = 184,
00218   GENESIS_SE_CHECKSUM  = 188,
00219   GENESIS_SE_COMPLETE  = 192,
00220   GENESIS_SE_NUMARCH  = 196,
00221   GENESIS_SE_IMAGECT = 200,
00222   GENESIS_SE_NUMIMAGES = 204,
00223   GENESIS_SE_NUMUNIMG = 216,
00224   GENESIS_SE_TOARCHCNT  = 228,
00225   GENESIS_SE_ECHO1_ALPHA = 240,
00226   GENESIS_SE_ECHO1_BETA  = 244,
00227   GENESIS_SE_ECHO1_WINDOW  = 248,
00228   GENESIS_SE_ECHO1_LEVEL = 250,
00229   GENESIS_SE_ECHO2_ALPHA  = 252,
00230   GENESIS_SE_ECHO2_BETA  = 256,
00231   GENESIS_SE_ECHO2_WINDOW = 260,
00232   GENESIS_SE_ECHO2_LEVEL = 262,
00233   GENESIS_SE_ECHO3_ALPHA = 264,
00234   GENESIS_SE_ECHO3_BETA  = 268,
00235   GENESIS_SE_ECHO3_WINDOW  = 272,
00236   GENESIS_SE_ECHO3_LEVEL = 274,
00237   GENESIS_SE_ECHO4_ALPHA = 276,
00238   GENESIS_SE_ECHO4_BETA = 280,
00239   GENESIS_SE_ECHO4_WINDOW = 284,
00240   GENESIS_SE_ECHO4_LEVEL = 286,
00241   GENESIS_SE_ECHO5_ALPHA =  288,
00242   GENESIS_SE_ECHO5_BETA = 292,
00243   GENESIS_SE_ECHO5_WINDOW = 296,
00244   GENESIS_SE_ECHO5_LEVEL = 298,
00245   GENESIS_SE_ECHO6_ALPHA = 300,
00246   GENESIS_SE_ECHO6_BETA = 304,
00247   GENESIS_SE_ECHO6_WINDOW = 308,
00248   GENESIS_SE_ECHO6_LEVEL = 310,
00249   GENESIS_SE_ECHO7_ALPHA =  312,
00250   GENESIS_SE_ECHO7_BETA = 316,
00251   GENESIS_SE_ECHO7_WINDOW = 320,
00252   GENESIS_SE_ECHO7_LEVEL = 322,
00253   GENESIS_SE_ECHO8_ALPHA = 324,
00254   GENESIS_SE_ECHO8_BETA =  328,
00255   GENESIS_SE_ECHO8_WINDOW =  332,
00256   GENESIS_SE_ECHO8_LEVEL = 334,
00257   GENESIS_SE_SERIES_UID = 336,
00258   GENESIS_SE_LANDMARK_UID = 368,
00259   GENESIS_SE_EQUIPMENT_UID = 400,
00260   GENESIS_SE_PADDING = 432,
00261   GENESIS_SE_HDR_LEN  = 1020
00262 };
00263 
00264 enum GE_5X_CTHDR_ENUM {
00265   GENESIS_CT_IM_SUID = 0,
00266   GENESIS_CT_IM_UNIQ = 4,
00267   GENESIS_CT_IM_DISKID = 6,
00268   GENESIS_CT_IM_EXNO = 8,
00269   GENESIS_CT_IM_SENO = 10,
00270   GENESIS_CT_IM_NO = 12,
00271   GENESIS_CT_IM_DATETIME = 14,
00272   GENESIS_CT_IM_ACTUAL_DT = 18,
00273   GENESIS_CT_SCTIME = 22,
00274   GENESIS_CT_SLTHICK = 26,
00275   GENESIS_CT_IMATRIX_X = 30,
00276   GENESIS_CT_IMATRIX_Y = 32,
00277   GENESIS_CT_DFOV = 34,
00278   GENESIS_CT_DFOV_RECT = 38,
00279   GENESIS_CT_DIM_X = 42,
00280   GENESIS_CT_DIM_Y = 46,
00281   GENESIS_CT_PIXSIZE_X = 50,
00282   GENESIS_CT_PIXSIZE_Y = 54,
00283   GENESIS_CT_PDID = 58,
00284   GENESIS_CT_CONTRASTIV = 72,
00285   GENESIS_CT_CONTRASTORAL = 89,
00286   GENESIS_CT_CONTMODE = 106,
00287   GENESIS_CT_SERRX = 108,
00288   GENESIS_CT_IMGRX = 110,
00289   GENESIS_CT_SCREENFORMAT = 112,
00290   GENESIS_CT_PLANE = 114,
00291   GENESIS_CT_SCANSPACING = 116,
00292   GENESIS_CT_IM_COMPRESS = 120,
00293   GENESIS_CT_IM_SCOUTTYPE = 122,
00294   GENESIS_CT_LOC_RAS = 124,
00295   GENESIS_CT_LOC = 126,
00296   GENESIS_CT_CTR_R = 130,
00297   GENESIS_CT_CTR_A = 134,
00298   GENESIS_CT_CTR_S = 138,
00299   GENESIS_CT_NORM_R = 142,
00300   GENESIS_CT_NORM_A = 146,
00301   GENESIS_CT_NORM_S = 150,
00302   GENESIS_CT_TLHC_R = 154,
00303   GENESIS_CT_TLHC_A = 158,
00304   GENESIS_CT_TLHC_S = 162,
00305   GENESIS_CT_TRHC_R = 166,
00306   GENESIS_CT_TRHC_A = 170,
00307   GENESIS_CT_TRHC_S = 174,
00308   GENESIS_CT_BRHC_R = 178,
00309   GENESIS_CT_BRHC_A = 182,
00310   GENESIS_CT_BRHC_S = 186,
00311   GENESIS_CT_FORIMGREV = 190,
00312   GENESIS_CT_SCTSTR = 194,
00313   GENESIS_CT_SCTEND = 198,
00314   GENESIS_CT_TBLSPD = 202,
00315   GENESIS_CT_TBLHT = 206,
00316   GENESIS_CT_MIDSTIME = 210,
00317   GENESIS_CT_MIDSFLAG = 214,
00318   GENESIS_CT_KVOLT = 216,
00319   GENESIS_CT_MAMP = 220,
00320   GENESIS_CT_GANTILT = 224,
00321   GENESIS_CT_AZIMUTH = 228,
00322   GENESIS_CT_GANVEL = 232,
00323   GENESIS_CT_GANFILT = 236,
00324   GENESIS_CT_TRIGON = 240,
00325   GENESIS_CT_DEGROT = 244,
00326   GENESIS_CT_XRAYON = 248,
00327   GENESIS_CT_XRAYOFF = 252,
00328   GENESIS_CT_NUMTRIG = 256,
00329   GENESIS_CT_INVIEWS = 260,
00330   GENESIS_CT_VIEW1ANG = 262,
00331   GENESIS_CT_TRIGFREQ = 266,
00332   GENESIS_CT_TRIGSRC = 270,
00333   GENESIS_CT_FPAGAIN = 274,
00334   GENESIS_CT_SCANOPMODE = 278,
00335   GENESIS_CT_OUTSRC = 282,
00336   GENESIS_CT_ADIN = 286,
00337   GENESIS_CT_CALMODE = 290,
00338   GENESIS_CT_CALFREQ = 294,
00339   GENESIS_CT_REGXM = 298,
00340   GENESIS_CT_AUTOZERO = 302,
00341   GENESIS_CT_SFOVTYP = 306,
00342   GENESIS_CT_PHANTSIZE = 308,
00343   GENESIS_CT_PHANTTYP = 310,
00344   GENESIS_CT_FILTTYP = 312,
00345   GENESIS_CT_RECONALG = 314,
00346   GENESIS_CT_PERISFLAG = 316,
00347   GENESIS_CT_IBONEFLAG = 318,
00348   GENESIS_CT_STATFLAG = 320,
00349   GENESIS_CT_COMPUTETYP = 322,
00350   GENESIS_CT_SEGNUM = 324,
00351   GENESIS_CT_SEGSTOTAL = 326,
00352   GENESIS_CT_ISD = 328,
00353   GENESIS_CT_SFOVMM = 332,
00354   GENESIS_CT_SCANNUM = 336,
00355   GENESIS_CT_VIEWSTRTCHAN = 338,
00356   GENESIS_CT_VIEWCOMPFCTR = 340,
00357   GENESIS_CT_OUTVIEWS = 342,
00358   GENESIS_CT_OVERRANGES = 344,
00359   GENESIS_CT_TOTREFCHAN = 346,
00360   GENESIS_CT_SCDATASIZE = 348,
00361   GENESIS_CT_REFCHAN1 = 352,
00362   GENESIS_CT_REFCHAN2 = 354,
00363   GENESIS_CT_REFCHAN3 = 356,
00364   GENESIS_CT_REFCHAN4 = 358,
00365   GENESIS_CT_REFCHAN5 = 360,
00366   GENESIS_CT_REFCHAN6 = 362,
00367   GENESIS_CT_POSTPROC = 364,
00368   GENESIS_CT_XMPAT = 366,
00369   GENESIS_CT_ROTTYP = 370,
00370   GENESIS_CT_RAWDATAFLAG = 372,
00371   GENESIS_CT_CT_SCALEFACT = 374,
00372   GENESIS_CT_CT_WATER_NUM = 378,
00373   GENESIS_CT_CT_BONE_NUM = 380,
00374   GENESIS_CT_BBH_COEF1 = 382,
00375   GENESIS_CT_BBH_COEF2 = 386,
00376   GENESIS_CT_BBH_COEF3 = 390,
00377   GENESIS_CT_BBH_NUMBLEND = 394,
00378   GENESIS_CT_FIRSTCHAN = 396,
00379   GENESIS_CT_NUMCHAN = 400,
00380   GENESIS_CT_CHANINC = 404,
00381   GENESIS_CT_FIRSTVIEW = 408,
00382   GENESIS_CT_NUMVIEW = 412,
00383   GENESIS_CT_VIEWINC = 416,
00384   GENESIS_CT_WINDOWRANGE = 420,
00385   GENESIS_CT_SCALEMIN = 424,
00386   GENESIS_CT_SCALEMAX = 428,
00387   GENESIS_CT_DATAMOD = 432,
00388   GENESIS_CT_QCALFILE = 436,
00389   GENESIS_CT_CALMODFILE = 449,
00390   GENESIS_CT_WORDSPERVIEW = 462,
00391   GENESIS_CT_RL_RAS = 464,
00392   GENESIS_CT_AP_RAS = 465,
00393   GENESIS_CT_SCTSTR_RAS = 466,
00394   GENESIS_CT_SCTEND_RAS = 467,
00395   GENESIS_CT_SCT_ANREF = 468,
00396   GENESIS_CT_PPS_SCALWIN = 472,
00397   GENESIS_CT_PPS_QCALFLAG = 474,
00398   GENESIS_CT_PPS_PCALFLAG = 476,
00399   GENESIS_CT_PPS_THETAFIX = 478,
00400   GENESIS_CT_PPS_BHFLAG = 480,
00401   GENESIS_CT_SPOT_SIZE = 482,
00402   GENESIS_CT_SPOT_POS = 484,
00403   GENESIS_CT_RECONDATASET = 486,
00404   GENESIS_CT_NDETCELLSFOV = 488,
00405   GENESIS_CT_STRTSCANTIME = 490,
00406   GENESIS_CT_GANDIR = 498,
00407   GENESIS_CT_ROTORSPEED = 500,
00408   GENESIS_CT_TRIGMODE = 502,
00409   GENESIS_CT_SITILT = 504,
00410   GENESIS_CT_TARGCEN_R = 508,
00411   GENESIS_CT_TARGCEN_A = 512,
00412   GENESIS_CT_BACKPROJFLAG = 516,
00413   GENESIS_CT_FATQESTFLAG = 518,
00414   GENESIS_CT_ZAVG = 520,
00415   GENESIS_CT_LEFTREFAVG = 524,
00416   GENESIS_CT_LEFTREFMAX = 528,
00417   GENESIS_CT_RIGHTREFAVG = 532,
00418   GENESIS_CT_RIGHTREFMAX = 536,
00419   GENESIS_CT_IM_ALLOC_KEY = 540,
00420   GENESIS_CT_IM_LASTMOD = 554,
00421   GENESIS_CT_IM_VERSCRE = 558,
00422   GENESIS_CT_IM_VERSCUR = 560,
00423   GENESIS_CT_IM_PDS_A = 562,
00424   GENESIS_CT_IM_PDS_C = 566,
00425   GENESIS_CT_IM_PDS_U = 570,
00426   GENESIS_CT_IM_CHECKSUM = 574,
00427   GENESIS_CT_IM_ARCHIVED = 578,
00428   GENESIS_CT_IM_COMPLETE = 582,
00429   GENESIS_CT_BIOP_POS = 586,
00430   GENESIS_CT_BIOP_TLOC = 588,
00431   GENESIS_CT_BIOP_REFLOC = 592,
00432   GENESIS_CT_REF_CHAN = 596,
00433   GENESIS_CT_BP_COEF = 598,
00434   GENESIS_CT_PSC = 602,
00435   GENESIS_CT_OVERRNG_CORR = 604,
00436   GENESIS_CT_DYN_Z_ALPHA = 606,
00437   GENESIS_CT_REF_IMG = 610,
00438   GENESIS_CT_SUM_IMG = 611,
00439   GENESIS_CT_IMG_WINDOW = 612,
00440   GENESIS_CT_IMG_LEVEL = 614,
00441   GENESIS_CT_SLOP_INT_1 = 616,
00442   GENESIS_CT_SLOP_INT_2 = 620,
00443   GENESIS_CT_SLOP_INT_3 = 624,
00444   GENESIS_CT_SLOP_INT_4 = 628,
00445   GENESIS_CT_SLOP_INT_5 = 632,
00446   GENESIS_CT_SLOP_FLOAT_1 = 636,
00447   GENESIS_CT_SLOP_FLOAT_2 = 640,
00448   GENESIS_CT_SLOP_FLOAT_3 = 644,
00449   GENESIS_CT_SLOP_FLOAT_4 = 648,
00450   GENESIS_CT_SLOP_FLOAT_5 = 652,
00451   GENESIS_CT_SLOP_STR_1 = 656,
00452   GENESIS_CT_SLOP_STR_2 = 672,
00453   GENESIS_CT_DELTASTART = 688,
00454   GENESIS_CT_MAXOVERRANGE = 692,
00455   GENESIS_CT_AVGOVERRANGE = 696,
00456   GENESIS_CT_AFTERGLOW = 700,
00457   GENESIS_CT_Z_BLOCKED = 702,
00458   GENESIS_CT_REF1_BLOCKED = 704,
00459   GENESIS_CT_REF2_BLOCKED = 706,
00460   GENESIS_CT_REF3_BLOCKED = 708,
00461   GENESIS_CT_REF4_BLOCKED = 710,
00462   GENESIS_CT_REF5_BLOCKED = 712,
00463   GENESIS_CT_INTEGRITY = 714,
00464   GENESIS_CT_PITCHRATIO = 716,
00465   GENESIS_CT_IMAGE_UID = 724,
00466   GENESIS_CT_SOP_UID = 756,
00467   GENESIS_CT_XRAYDELAY = 788,
00468   GENESIS_CT_XRAYDURATION = 792,
00469   GENESIS_CT_PADDING = 796
00470 };
00471 
00472 enum GE_5X_MRHDR_ENUM {
00473   GENESIS_MR_IM_SUID = 0,
00474   GENESIS_MR_IM_UNIQ = 4,
00475   GENESIS_MR_IM_DISKID = 6,
00476   GENESIS_MR_IM_EXNO = 8,
00477   GENESIS_MR_IM_SENO = 10,
00478   GENESIS_MR_IM_NO = 12,
00479   GENESIS_MR_IM_DATETIME = 14,
00480   GENESIS_MR_IM_ACTUAL_DT = 18,
00481   GENESIS_MR_SCTIME = 22,
00482   GENESIS_MR_SLTHICK = 26,
00483   GENESIS_MR_IMATRIX_X = 30,
00484   GENESIS_MR_IMATRIX_Y = 32,
00485   GENESIS_MR_DFOV = 34,
00486   GENESIS_MR_DFOV_RECT = 38,
00487   GENESIS_MR_DIM_X = 42,
00488   GENESIS_MR_DIM_Y = 46,
00489   GENESIS_MR_PIXSIZE_X = 50,
00490   GENESIS_MR_PIXSIZE_Y = 54,
00491   GENESIS_MR_PDID = 58,
00492   GENESIS_MR_CONTRASTIV = 72,
00493   GENESIS_MR_CONTRASTORAL = 89,
00494   GENESIS_MR_CONTMODE = 106,
00495   GENESIS_MR_SERRX = 108,
00496   GENESIS_MR_IMGRX = 110,
00497   GENESIS_MR_SCREENFORMAT = 112,
00498   GENESIS_MR_PLANE = 114,
00499   GENESIS_MR_SCANSPACING = 116,
00500   GENESIS_MR_IM_COMPRESS = 120,
00501   GENESIS_MR_IM_SCOUTTYPE = 122,
00502   GENESIS_MR_LOC_RAS = 124,
00503   GENESIS_MR_LOC = 126,
00504   GENESIS_MR_CTR_R = 130,
00505   GENESIS_MR_CTR_A = 134,
00506   GENESIS_MR_CTR_S = 138,
00507   GENESIS_MR_NORM_R = 142,
00508   GENESIS_MR_NORM_A = 146,
00509   GENESIS_MR_NORM_S = 150,
00510   GENESIS_MR_TLHC_R = 154,
00511   GENESIS_MR_TLHC_A = 158,
00512   GENESIS_MR_TLHC_S = 162,
00513   GENESIS_MR_TRHC_R = 166,
00514   GENESIS_MR_TRHC_A = 170,
00515   GENESIS_MR_TRHC_S = 174,
00516   GENESIS_MR_BRHC_R = 178,
00517   GENESIS_MR_BRHC_A = 182,
00518   GENESIS_MR_BRHC_S = 186,
00519   GENESIS_MR_FORIMGREV = 190,
00520   GENESIS_MR_TR = 194,
00521   GENESIS_MR_TI = 198,
00522   GENESIS_MR_TE = 202,
00523   GENESIS_MR_TE2 = 206,
00524   GENESIS_MR_NUMECHO = 210,
00525   GENESIS_MR_ECHONUM = 212,
00526   GENESIS_MR_TBLDLTA = 214,
00527   GENESIS_MR_NEX = 218,
00528   GENESIS_MR_CONTIG = 222,
00529   GENESIS_MR_HRTRATE = 224,
00530   GENESIS_MR_TDEL = 226,
00531   GENESIS_MR_SARAVG = 230,
00532   GENESIS_MR_SARPEAK = 234,
00533   GENESIS_MR_MONSAR = 238,
00534   GENESIS_MR_TRGWINDOW = 240,
00535   GENESIS_MR_REPTIME = 242,
00536   GENESIS_MR_IMGPCYC = 246,
00537   GENESIS_MR_XMTGAIN = 248,
00538   GENESIS_MR_RCVGAIN1 = 250,
00539   GENESIS_MR_RCVGAIN2 = 252,
00540   GENESIS_MR_FLIP = 254,
00541   GENESIS_MR_MINDAT = 256,
00542   GENESIS_MR_CPHASE = 260,
00543   GENESIS_MR_SWAPPF = 262,
00544   GENESIS_MR_PAUSEINT= 264,
00545   GENESIS_MR_PAUSETIME= 266,
00546   GENESIS_MR_OBPLANE = 270,
00547   GENESIS_MR_SLOCFOV = 274,
00548   GENESIS_MR_XMTFREQ = 278,
00549   GENESIS_MR_AUTOXMTFREQ = 282,
00550   GENESIS_MR_AUTOXMTGAIN = 286,
00551   GENESIS_MR_PRESCAN_R1 = 288,
00552   GENESIS_MR_PRESCAN_R2 = 290,
00553   GENESIS_MR_USER_BITMAP = 292,
00554   GENESIS_MR_CENFREQ = 296,
00555   GENESIS_MR_IMODE = 298,
00556   GENESIS_MR_IOPT = 300,
00557   GENESIS_MR_PSEQ = 304,
00558   GENESIS_MR_PSEQMODE = 306,
00559   GENESIS_MR_PSDNAME = 308,
00560   GENESIS_MR_PSD_DATETIME = 342,
00561   GENESIS_MR_PSD_INAME = 346,
00562   GENESIS_MR_CTYP = 360,
00563   GENESIS_MR_CNAME = 362,
00564   GENESIS_MR_SURFCTYP = 380,
00565   GENESIS_MR_SURFCEXT = 382,
00566   GENESIS_MR_RAWRUNNUM = 384,
00567   GENESIS_MR_CAL_FLDSTR = 388,
00568   GENESIS_MR_SUPP_TECH = 392,
00569   GENESIS_MR_VBW = 394,
00570   GENESIS_MR_SLQUANT = 398,
00571   GENESIS_MR_GPRE = 400,
00572   GENESIS_MR_INTR_DEL = 402,
00573   GENESIS_MR_USER0 = 406,
00574   GENESIS_MR_USER1 = 410,
00575   GENESIS_MR_USER2 = 414,
00576   GENESIS_MR_USER3 = 418,
00577   GENESIS_MR_USER4 = 422,
00578   GENESIS_MR_USER5 = 426,
00579   GENESIS_MR_USER6 = 430,
00580   GENESIS_MR_USER7 = 434,
00581   GENESIS_MR_USER8 = 438,
00582   GENESIS_MR_USER9 = 442,
00583   GENESIS_MR_USER10 = 446,
00584   GENESIS_MR_USER11 = 450,
00585   GENESIS_MR_USER12 = 454,
00586   GENESIS_MR_USER13 = 458,
00587   GENESIS_MR_USER14 = 462,
00588   GENESIS_MR_USER15 = 466,
00589   GENESIS_MR_USER16 = 470,
00590   GENESIS_MR_USER17 = 474,
00591   GENESIS_MR_USER18 = 478,
00592   GENESIS_MR_USER19 = 482,
00593   GENESIS_MR_USER20 = 486,
00594   GENESIS_MR_USER21 = 490,
00595   GENESIS_MR_USER22 = 494,
00596   GENESIS_MR_USER23 = 498,
00597   GENESIS_MR_USER24 = 502,
00598   GENESIS_MR_IM_ALLOC_KEY = 506,
00599   GENESIS_MR_IM_LASTMOD = 520,
00600   GENESIS_MR_IM_VERSCRE = 524,
00601   GENESIS_MR_IM_VERSCUR = 526,
00602   GENESIS_MR_IM_PDS_A = 528,
00603   GENESIS_MR_IM_PDS_C = 532,
00604   GENESIS_MR_IM_PDS_U = 536,
00605   GENESIS_MR_IM_CHECKSUM = 540,
00606   GENESIS_MR_IM_ARCHIVED = 544,
00607   GENESIS_MR_IM_COMPLETE = 548,
00608   GENESIS_MR_SATBITS = 552,
00609   GENESIS_MR_SCIC = 554,
00610   GENESIS_MR_SATXLOC1 = 556,
00611   GENESIS_MR_SATXLOC2 = 558,
00612   GENESIS_MR_SATYLOC1 = 560,
00613   GENESIS_MR_SATYLOC2 = 562,
00614   GENESIS_MR_SATZLOC1 = 564,
00615   GENESIS_MR_SATZLOC2 = 566,
00616   GENESIS_MR_SATXTHICK= 568,
00617   GENESIS_MR_SATYTHICK= 570,
00618   GENESIS_MR_SATZTHICK= 572,
00619   GENESIS_MR_FLAX = 574,
00620   GENESIS_MR_VENC = 576,
00621   GENESIS_MR_THK_DISCLMR = 578,
00622   GENESIS_MR_PS_FLAG = 580,
00623   GENESIS_MR_PS_STATUS = 582,
00624   GENESIS_MR_IMAGE_TYPE= 584,
00625   GENESIS_MR_VAS_COLLAPSE = 586,
00626   GENESIS_MR_USER23N= 588,
00627   GENESIS_MR_USER24N= 592,
00628   GENESIS_MR_PROJ_ALG= 596,
00629   GENESIS_MR_PROJ_NAME= 598,
00630   GENESIS_MR_X_AXIS_ROT= 612,
00631   GENESIS_MR_Y_AXIS_ROT= 616,
00632   GENESIS_MR_Z_AXIS_ROT = 620,
00633   GENESIS_MR_THRESH_MIN1 = 624,
00634   GENESIS_MR_THRESH_MAX1 = 628,
00635   GENESIS_MR_THRESH_MIN2 = 632,
00636   GENESIS_MR_THRESH_MAX2 = 636,
00637   GENESIS_MR_ECHO_TRN_LEN = 640,
00638   GENESIS_MR_FRAC_ECHO = 642,
00639   GENESIS_MR_PREP_PULSE = 644,
00640   GENESIS_MR_CPHASENUM = 646,
00641   GENESIS_MR_VAR_ECHO = 648,
00642   GENESIS_MR_REF_IMG     = 650,
00643   GENESIS_MR_SUM_IMG     = 651,
00644   GENESIS_MR_IMG_WINDOW  = 652,
00645   GENESIS_MR_IMG_LEVEL   = 654,
00646   GENESIS_MR_SLOP_INT_1  = 656,
00647   GENESIS_MR_SLOP_INT_2  = 660,
00648   GENESIS_MR_SLOP_INT_3  = 664,
00649   GENESIS_MR_SLOP_INT_4  = 668,
00650   GENESIS_MR_SLOP_INT_5  = 672,
00651   GENESIS_MR_SLOP_FLOAT_1= 676,
00652   GENESIS_MR_SLOP_FLOAT_2= 680,
00653   GENESIS_MR_SLOP_FLOAT_3= 684,
00654   GENESIS_MR_SLOP_FLOAT_4= 688,
00655   GENESIS_MR_SLOP_FLOAT_5= 692,
00656   GENESIS_MR_SLOP_STR_1  = 696,
00657   GENESIS_MR_SLOP_STR_2  = 712,
00658   GENESIS_MR_SCANACTNO   = 728,
00659   GENESIS_MR_VASFLAGS    = 730,
00660   GENESIS_MR_VENCSCALE   = 732,
00661   GENESIS_MR_INTEGRITY   = 736,
00662   GENESIS_MR_FPHASE      = 738,
00663   GENESIS_MR_FREQ_DIR    = 742,
00664   GENESIS_MR_VAS_MODE    = 744,
00665   GENESIS_MR_IMAGE_UID   = 746,
00666   GENESIS_MR_SOP_UID     = 778,
00667   GENESIS_MR_PADDING  = 810,
00668   GENESIS_MR_HDR_LEN = 1022
00669 };
00670 
00671 
00672 enum GE_5X_ON_OFF_ENUM {
00673   GE_5X_OFF = 0,
00674   GE_5X_ON  = 1
00675 };
00676 
00677 enum GE_5X_YES_NO_ENUM {
00678   GE_5X_NO = 0,
00679   GE_5X_YES  = 1
00680 };
00681 
00682 enum GE_5X_PREP_PULSE_ENUM {
00683   GE_5X_PREP_NONE = 0,        /* None */
00684   GE_5X_PREP_IR = 1,          /* Inversion Recovery*/
00685   GE_5X_PREP_DE = 2           /* Driven Equilibrium */
00686 };
00687 
00688 enum GE_5X_PROJECT_TYPE_ENUM {
00689   GE_5X_PROJECT_NONE = 0,
00690   GE_5X_PROJECT_PROTO = 1,
00691   GE_5X_PROJECT_MIN = 2,
00692   GE_5X_PROJECT_MAX = 3
00693 };
00694 
00695 enum GE_5X_IMAGE_TYPE_ENUM {
00696   GE_5X_IMAGE_MAG = 0,
00697   GE_5X_IMAGE_PHASE = 1,
00698   GE_5X_IMAGE_REAL = 2,
00699   GE_5X_IMAGE_IMAG = 3
00700 };
00701 
00702 enum GE_5X_VASCULAR_TYPE_ENUM {
00703   GE_5X_COLLAPSE_NONE = 0,
00704   GE_5X_COLLAPSE_COL = 1,
00705   GE_5X_COLLAPSE_MAG = 2,
00706   GE_5X_COLLAPSE_RL = 3,
00707   GE_5X_COLLAPSE_AP = 4,
00708   GE_5X_COLLAPSE_SI = 5,
00709   GE_5X_COLLAPSE_PJN = 6,
00710   GE_5X_COLLAPSE_ALL = 7
00711 };
00712 
00713 enum GE_5X_SAT_TYPE_ENUM {
00714   GE_5X_SAT_NONE = 0,
00715   GE_5X_SAT_FAT = 1,
00716   GE_5X_SAT_WATER = 2
00717 };
00718 
00719 enum GE_5X_GRX_TYPE_ENUM {
00720   GE_5X_GRX_NONE = 0,
00721   GE_5X_GRX_LOC1 = 1,
00722   GE_5X_GRX_LOC2 = 2
00723 };
00724 
00725 enum GE_5X_IMG_MODE_ENUM {
00726   GE_5X_IMG_2D = 0,
00727   GE_5X_IMG_3D = 2,
00728   GE_5X_IMG_3DFOURIER = 3,
00729   GE_5X_IMG_CINE = 4,
00730   GE_5X_IMG_ANGIO = 5,
00731   GE_5X_IMG_SPECT = 6,
00732   GE_5X_IMG_FLOURO = 7,
00733   GE_5X_IMG_RM = 8
00734 };
00735 
00736 enum GE_5X_SEQ_TYPE_ENUM {
00737   GE_5X_SEQ_SE = 0,
00738   GE_5X_SEQ_IR = 1,
00739   GE_5X_SEQ_RM = 2,
00740   GE_5X_SEQ_RMGE = 3,
00741   GE_5X_SEQ_GRE = 4,
00742   GE_5X_SEQ_MPGR = 5,
00743   GE_5X_SEQ_MPIRS = 6,
00744   GE_5X_SEQ_MPIRI = 7,
00745   GE_5X_SEQ_VOGRE = 8,
00746   GE_5X_SEQ_CINEGRE = 9,
00747   GE_5X_SEQ_SPGR = 10,
00748   GE_5X_SEQ_SSFP = 11,
00749   GE_5X_SEQ_TOF = 12,
00750   GE_5X_SEQ_PC = 13,
00751   GE_5X_SEQ_CINE = 14,
00752   GE_5X_SEQ_TOFGR = 15,
00753   GE_5X_SEQ_TOFSPGR = 16,
00754   GE_5X_SEQ_PCGR = 17,
00755   GE_5X_SEQ_PCSPGR = 18,
00756   GE_5X_SEQ_FSE = 19,
00757   GE_5X_SEQ_FGR = 20,
00758   GE_5X_SEQ_FMPGR = 21,
00759   GE_5X_SEQ_FSPGR = 22,
00760   GE_5X_SEQ_FMPSPGR = 23,
00761   GE_5X_SEQ_SPECT = 24,
00762   GE_5X_SEQ_MIXED = 25
00763 };
00764 
00765 enum GE_5X_CT_GANTRY_ROT_ENUM {
00766   GE_5X_CT_GANTRY_CW = 1,
00767   GE_5X_CT_GANTRY_CCW = 2
00768 };
00769 
00770 enum GE_5X_CT_ROT_SPEED_ENUM {
00771   GE_5X_CT_ROT_SPEED_OFF = 1,
00772   GE_5X_CT_ROT_SPEED_LOW = 2,
00773   GE_5X_CT_ROT_SPEED_MED = 3,
00774   GE_5X_CT_ROT_SPEED_HIGH = 4
00775 };
00776 
00777 enum GE_5X_CT_TRIG_ENUM {
00778   GE_5X_CT_TRIG_XTTX = 1,
00779   GE_5X_CT_TRIG_TT = 2,
00780   GE_5X_CT_TRIG_TXXT = 3,
00781   GE_5X_CT_TRIG_XXTT = 4
00782 };
00783 
00784 enum GE_5X_CT_FS_ENUM {
00785   GE_5X_CT_FS_SMALL = 1,
00786   GE_5X_CT_FS_LARGE = 2
00787 };
00788 
00789 enum GE_5X_CT_SCOUT_ENUM {
00790   GE_5X_CT_SCOUT_VERT = 1,
00791   GE_5X_CT_SCOUT_HORZ = 2
00792 };
00793 
00794 enum GE_5X_CT_PHANTOM_SIZE_ENUM {
00795   GE_5X_CT_PHANTOM_SIZE_NONE = 1,
00796   GE_5X_CT_PHANTOM_SIZE_SMALL = 2,
00797   GE_5X_CT_PHANTOM_SIZE_MED = 3,
00798   GE_5X_CT_PHANTOM_SIZE_LARGE = 4
00799 };
00800 
00801 enum GE_5X_CT_PHANTOM_TYPE_ENUM {
00802   GE_5X_CT_PHANTOM_TYPE_NONE = 1,
00803   GE_5X_CT_PHANTOM_TYPE_AIR = 2,
00804   GE_5X_CT_PHANTOM_TYPE_WATER = 3,
00805   GE_5X_CT_PHANTOM_TYPE_POLY = 4
00806 };
00807 
00808 enum GE_5X_CT_FILTER_TYPE_ENUM {
00809   GE_5X_CT_FILTER_TYPE_AIR = 1,
00810   GE_5X_CT_FILTER_TYPE_BODY = 2,
00811   GE_5X_CT_FILTER_TYPE_BOWTIE = 3,
00812   GE_5X_CT_FILTER_TYPE_FLAT = 4,
00813   GE_5X_CT_FILTER_TYPE_HIGH = 5
00814 };
00815 
00816 enum GE_5X_CT_COMPUTE_TYPE_ENUM {
00817   GE_5X_CT_COMPUTE_TYPE_AXIAL = 1,
00818   GE_5X_CT_COMPUTE_TYPE_CAL = 2,
00819   GE_5X_CT_COMPUTE_TYPE_SCOUT = 3,
00820   GE_5X_CT_COMPUTE_TYPE_PPSCAN = 4,
00821   GE_5X_CT_COMPUTE_TYPE_VIEWS = 5
00822 };
00823 
00824 enum GE_5X_ENTRY_TYPE_ENUM {
00825   GE_5X_ENTRY_HEAD_FIRST  = 1,
00826   GE_5X_ENTRY_FEET_FIRST  = 2
00827 };
00828 
00829 enum GE_5X_SERIES_TYPE_ENUM {
00830   GE_5X_SERIES_TYPE_PROSP = 1,
00831   GE_5X_SERIES_TYPE_RETRO = 2,
00832   GE_5X_SERIES_TYPE_SCOUT = 3,
00833   GE_5X_SERIES_TYPE_REFMT = 4,
00834   GE_5X_SERIES_TYPE_SSAVE = 5,
00835   GE_5X_SERIES_TYPE_XENON = 6,
00836   GE_5X_SERIES_TYPE_SERV = 7,
00837   GE_5X_SERIES_TYPE_PJN = 9
00838 };
00839 
00840 enum GE_5X_SCAN_TYPE_ENUM {
00841   GE_5X_SCAN_TYPE_SCOUT = 1,
00842   GE_5X_SCAN_TYPE_AXIAL = 2,
00843   GE_5X_SCAN_TYPE_SSAVE = 3
00844 };
00845 
00846 enum GE_RELATIVE_STARTS {
00847   GENESIS_SU_HDR_START  = 0,
00848   GENESIS_EX_HDR_START  = GENESIS_SU_HDR_LEN,
00849   GENESIS_SE_HDR_START  = GENESIS_EX_HDR_START+GENESIS_EX_HDR_LEN,
00850   GENESIS_IM_HDR_START  = GENESIS_SE_HDR_START+GENESIS_SE_HDR_LEN,
00851   GENESIS_IMG_HDR_START = 0
00852 };
00853 
00854 #endif  /* __Ge5xHdr_h */
00855