aimsdata 6.0.0
Neuroimaging data handling
ge_imageFileOffsets.h
Go to the documentation of this file.
1/* This software and supporting documentation are distributed by
2 * Institut Federatif de Recherche 49
3 * CEA/NeuroSpin, Batiment 145,
4 * 91191 Gif-sur-Yvette cedex
5 * France
6 *
7 * This software is governed by the CeCILL-B license under
8 * French law and abiding by the rules of distribution of free software.
9 * You can use, modify and/or redistribute the software under the
10 * terms of the CeCILL-B license as circulated by CEA, CNRS
11 * and INRIA at the following URL "http://www.cecill.info".
12 *
13 * As a counterpart to the access to the source code and rights to copy,
14 * modify and redistribute granted by the license, users are provided only
15 * with a limited warranty and the software's author, the holder of the
16 * economic rights, and the successive licensors have only limited
17 * liability.
18 *
19 * In this respect, the user's attention is drawn to the risks associated
20 * with loading, using, modifying and/or developing or reproducing the
21 * software by the user in light of its specific status of free software,
22 * that may mean that it is complicated to manipulate, and that also
23 * therefore means that it is reserved for developers and experienced
24 * professionals having in-depth computer knowledge. Users are therefore
25 * encouraged to load and test the software's suitability as regards their
26 * requirements in conditions enabling the security of their systems and/or
27 * data to be ensured and, more generally, to use and operate it in the
28 * same conditions as regards security.
29 *
30 * The fact that you are presently reading this means that you have had
31 * knowledge of the CeCILL-B license and that you accept its terms.
32 */
33
34/* (ghost) 11-Nov-91 */
35
36/* This file generated by <genincl.c> */
37
38#ifndef _IF_OFFSETS_H_
39#define _IF_OFFSETS_H_
40
41/* ImageFile PixHdr definitions */
42
43#define _IH_img_magic 0x0 /* 0 - int - magic number */
44#define _IH_img_hdr_length 0x4 /* 4 - int - a byte displacement to the <pixel data area> */
45#define _IH_img_width 0x8 /* 8 - int - width (pixels) of image */
46#define _IH_img_height 0xc /* 12 - int - height (pixels) of image */
47#define _IH_img_depth 0x10 /* 16 - int - depth (1, 8, 16, or 24 bits) of */
48#define _IH_img_compress 0x14 /* 20 - int - type of compression; see IC_* below */
49
50#define IC_AsIs 0 /* No image transformation */
51#define IC_RECT 1 /* image is width*height*depth/8 bytes */
52#define IC_PACKED 2 /* image is CT line mapped packed */
53#define IC_COMPRESSED 3 /* image is compressed */
54#define IC_COMPACK 4 /* image is compressed and packed */
55
56#define _IH_img_dwindow 0x18 /* 24 - int - default window setting */
57#define _IH_img_dlevel 0x1c /* 28 - int - default level setting */
58#define _IH_img_bgshade 0x20 /* 32 - int - background shade to use for non-image */
59#define _IH_img_ovrflow 0x24 /* 36 - int - overflow value */
60#define _IH_img_undflow 0x28 /* 40 - int - underflow value */
61#define _IH_img_top_offset 0x2c /* 44 - int - number of blank lines at image top */
62#define _IH_img_bot_offset 0x30 /* 48 - int - number of blank lines at image bottom */
63#define _IH_img_version 0x34 /* 52 - short - version of the header structure */
64#define _IH_img_checksum 0x36 /* 54 - u_short - 16 bit end_around_carry sum of pixels */
65#define _IH_img_p_id 0x38 /* 56 - int - a byte disp to unique image identifier */
66#define _IH_img_l_id 0x3c /* 60 - int - byte length of unique image identifier */
67#define _IH_img_p_unpack 0x40 /* 64 - int - a byte disp to <unpack control> */
68#define _IH_img_l_unpack 0x44 /* 68 - int - byte length of <unpack control> */
69#define _IH_img_p_compress 0x48 /* 72 - int - a byte disp to <compression control> */
70#define _IH_img_l_compress 0x4c /* 76 - int - byte length of <compression control> */
71#define _IH_img_p_histo 0x50 /* 80 - int - a byte disp to <histogram control> */
72#define _IH_img_l_histo 0x54 /* 84 - int - byte length of <histogram control> */
73#define _IH_img_p_text 0x58 /* 88 - int - a byte disp to <text plane data> */
74#define _IH_img_l_text 0x5c /* 92 - int - byte length of <text plane data> */
75#define _IH_img_p_graphics 0x60 /* 96 - int - a byte disp to <graphics plane data> */
76#define _IH_img_l_graphics 0x64 /* 100 - int - byte length of <graphics plane data> */
77#define _IH_img_p_dbHdr 0x68 /* 104 - int - a byte disp to <data base header data> */
78#define _IH_img_l_dbHdr 0x6c /* 108 - int - byte length of <data base header data> */
79#define _IH_img_levelOffset 0x70 /* 112 - int - value to add to stored Pixel Data values */
80#define _IH_img_p_user 0x74 /* 116 - int - byte displacement to user defined data */
81#define _IH_img_l_user 0x78 /* 120 - int - byte length of user defined data */
82#define _IH_img_p_suite 0x7c /* 124 - int - byte displacement to <suite> header data */
83#define _IH_img_l_suite 0x80 /* 128 - int - byte length of <suite> header data */
84#define _IH_img_p_exam 0x84 /* 132 - int - byte displacement to <exam> header data */
85#define _IH_img_l_exam 0x88 /* 136 - int - byte length of <exam> header data */
86#define _IH_img_p_series 0x8c /* 140 - int - byte displacement to <series> header data */
87#define _IH_img_l_series 0x90 /* 144 - int - byte length of <series> header data */
88#define _IH_img_p_image 0x94 /* 148 - int - byte displacement to <image> header data */
89#define _IH_img_l_image 0x98 /* 152 - int - byte length of <image> header data */
90#define _IH_sizeof 0x9c /* 156 - sizeof ImgHdr */
91
92/* ImgHst definitions */
93
94#define _HS_hs_version 0x0 /* 0 - int - version of the histogram structure */
95#define _HS_hs_sd 0x4 /* 4 - float - standard deviation of pixel data value */
96#define _HS_hs_mean 0x8 /* 8 - short - rounded mean pixel data value */
97#define _HS_hs_min 0xa /* 10 - short - minimum pixel data value */
98#define _HS_hs_max 0xc /* 12 - short - maximum pixel data value */
99#define _HS_hs_first 0xe /* 14 - short - first histogram entry used for <hs_sd> */
100#define _HS_hs_region 0x10 /* 16 - short - region entries used for <hs_sd> */
101#define _HS_hs_length 0x12 /* 18 - short - number of bins in the histogram area */
102#define _HS_hs_bins 0x814 /* 2068 - u_short[1024] - histogram bins */
103
104/* SUITEDATATYPE definitions */
105
106#define _SU_su_id 0x0 /* 0 - char[4] - Suite ID */
107#define _SU_su_uniq 0x4 /* 4 - short - Make Unique Flag */
108#define _SU_su_diskid 0x6 /* 6 - char[1] - Disk ID */
109#define _SU_prodid 0x7 /* 7 - char[13] - Product ID */
110#define _SU_su_verscre 0x14 /* 20 - char[2] - Original Version of Record */
111#define _SU_su_verscur 0x16 /* 22 - char[2] - Current Version of Record */
112#define _SU_su_checksum 0x18 /* 24 - u_int - Suite Record Checksum */
113#define _SU_su_padding 0x1c /* 28 - char[85] - Spare Space */
114#define _SU_sizeof 0x72 /* 114 - sizeof SUITEDATATYPE */
115
116/* EXAMDATATYPE definitions */
117
118#define _EX_ex_suid 0x0 /* 0 - char[4] - Suite ID for this Exam */
119#define _EX_ex_uniq 0x4 /* 4 - short - Make-Unique Flag */
120#define _EX_ex_diskid 0x6 /* 6 - char - Disk ID for this Exam */
121#define _EX_ex_no 0x8 /* 8 - u_short - Exam Number */
122#define _EX_hospname 0xa /* 10 - char[33] - Hospital Name */
123#define _EX_detect 0x2c /* 44 - short - Detector Type */
124#define _EX_numcells 0x2e /* 46 - int - Number of cells in det */
125#define _EX_zerocell 0x32 /* 50 - float - Cell number at theta */
126#define _EX_cellspace 0x36 /* 54 - float - Cell spacing */
127#define _EX_srctodet 0x3a /* 58 - float - Distance from source to detector */
128#define _EX_srctoiso 0x3e /* 62 - float - Distance from source to iso */
129#define _EX_tubetyp 0x42 /* 66 - short - Tube type */
130#define _EX_dastyp 0x44 /* 68 - int - DAS type */
131#define _EX_num_dcnk 0x46 /* 70 - short - Number of Decon Kernals */
132#define _EX_dcn_len 0x48 /* 72 - short - Number of elements in a Decon Kernal */
133#define _EX_dcn_density 0x4a /* 74 - short - Decon Kernal density */
134#define _EX_dcn_stepsize 0x4c /* 76 - short - Decon Kernal stepsize */
135#define _EX_dcn_shiftcnt 0x4e /* 78 - short - Decon Kernal Shift Count */
136#define _EX_magstrength 0x50 /* 80 - int - Magnet strength (in gauss) */
137#define _EX_patid 0x54 /* 84 - char[13] - Patient ID for this Exam */
138#define _EX_patname 0x61 /* 97 - char[25] - Patient Name */
139#define _EX_patage 0x7a /* 122 - short - Patient Age (years, months or days) */
140#define _EX_patian 0x7c /* 124 - short - Patient Age Notation */
141#define _EX_patsex 0x7e /* 126 - short - Patient Sex */
142#define _EX_patweight 0x80 /* 128 - int - Patient Weight */
143#define _EX_trauma 0x84 /* 132 - short - Trauma Flag */
144#define _EX_hist 0x86 /* 134 - char[61] - Patient History */
145#define _EX_reqnum 0xc3 /* 195 - char[13] - Requisition Number */
146#define _EX_ex_datetime 0xd0 /* 208 - int - Exam date/time stamp */
147#define _EX_refphy 0xd4 /* 212 - char[33] - Referring Physician */
148#define _EX_diagrad 0xf5 /* 245 - char[33] - Diagnostician/Radiologist */
149#define _EX_op 0x116 /* 278 - char[4] - Operator */
150#define _EX_ex_desc 0x11a /* 282 - char[23] - Exam Description */
151#define _EX_ex_typ 0x131 /* 305 - char[3] - Exam Type */
152#define _EX_ex_format 0x134 /* 308 - short - Exam Format */
153#define _EX_firstaxtime 0x136 /* 310 - double - Start time(secs) of first axial in exam */
154#define _EX_ex_sysid 0x13e /* 318 - char[9] - Creator Suite and Host */
155#define _EX_ex_lastmod 0x148 /* 328 - int - Date/Time of Last Change */
156#define _EX_protocolflag 0x14c /* 332 - short - Non-Zero indicates Protocol Exam */
157#define _EX_ex_alloc_key 0x14e /* 334 - char[13] - Process that allocated this record */
158#define _EX_ex_delta_cnt 0x15c /* 348 - int - Indicates number of updates to header */
159#define _EX_ex_verscre 0x160 /* 352 - char[2] - Version - Created */
160#define _EX_ex_verscur 0x162 /* 354 - char[2] - Version - Now */
161#define _EX_ex_checksum 0x164 /* 356 - u_int - Exam Record Checksum */
162#define _EX_ex_complete 0x168 /* 360 - int - Exam Complete Flag */
163#define _EX_ex_seriesct 0x16c /* 364 - int - Last Series Number Used */
164#define _EX_ex_numarch 0x170 /* 368 - int - Number of Series Archived */
165#define _EX_ex_numseries 0x174 /* 372 - int - Number of Series Existing */
166#define _EX_ex_series 0x178 /* 376 - VARTYPE - Series Keys for this Exam */
167#define _EX_ex_numunser 0x180 /* 384 - int - Number of Unstored Series */
168#define _EX_ex_unseries 0x184 /* 388 - VARTYPE - Unstored Series Keys for this Exam */
169#define _EX_ex_toarchcnt 0x18c /* 396 - int - Number of Unarchived Series */
170#define _EX_ex_toarchive 0x190 /* 400 - VARTYPE - Unarchived Series Keys for this Exam */
171#define _EX_ex_prospcnt 0x198 /* 408 - int - Number of Prospective/Scout Series */
172#define _EX_ex_prosp 0x19c /* 412 - VARTYPE - Prospective/Scout Series Keys for this Exam */
173#define _EX_ex_modelnum 0x1a4 /* 420 - int - Last Model Number used */
174#define _EX_ex_modelcnt 0x1a8 /* 424 - int - Number of ThreeD Models */
175#define _EX_ex_models 0x1ac /* 428 - VARTYPE - ThreeD Model Keys for Exam */
176#define _EX_ex_stat 0x1b4 /* 436 - short - Patient Status */
177#define _EX_uniq_sys_id 0x1b6 /* 438 - char[16] - Unique System ID */
178#define _EX_service_id 0x1c6 /* 454 - char[16] - Unique Service ID */
179#define _EX_mobile_loc 0x1d6 /* 470 - char[4] - Mobile Location Number */
180#define _EX_study_uid 0x1da /* 474 - char[32] - Study Entity Unique ID */
181#define _EX_ex_padding 0x1fc /* 508 - char[518] - Spare Space */
182#define _EX_sizeof 0x400 /* 1024 - sizeof EXAMDATATYPE */
183
184/* SERIESDATATYPE definitions */
185
186#define _SE_se_suid 0x0 /* 0 - char[4] - Suite ID for this Series */
187#define _SE_se_uniq 0x4 /* 4 - short - The Make-Unique Flag */
188#define _SE_se_diskid 0x6 /* 6 - char[1] - Disk ID for this Series */
189#define _SE_se_exno 0x8 /* 8 - u_short - Exam Number */
190#define _SE_se_no 0xa /* 10 - short - Series Number */
191#define _SE_se_datetime 0xc /* 12 - int - Allocation Series Data/Time stamp */
192#define _SE_se_actual_dt 0x10 /* 16 - int - Actual Series Data/Time stamp */
193#define _SE_se_desc 0x14 /* 20 - char[30] - Series Description */
194#define _SE_pr_sysid 0x32 /* 50 - char[9] - Primary Receiver Suite and Host */
195#define _SE_pansysid 0x3b /* 59 - char[9] - Archiver Suite and Host */
196#define _SE_se_typ 0x44 /* 68 - short - Series Type */
197#define _SE_se_source 0x46 /* 70 - short - Series from which prescribed */
198#define _SE_se_plane 0x48 /* 72 - short - Most-like Plane (for L/S) */
199#define _SE_scan_type 0x4a /* 74 - short - Scout or Axial (for CT) */
200#define _SE_position 0x4c /* 76 - int - Patient Position */
201#define _SE_entry 0x50 /* 80 - int - Patient Entry */
202#define _SE_anref 0x54 /* 84 - char[3] - Anatomical reference */
203#define _SE_lmhor 0x58 /* 88 - float - Horizontal Landmark */
204#define _SE_prtcl 0x5c /* 92 - char[25] - Scan Protocol Name */
205#define _SE_se_contrast 0x76 /* 118 - short - Non-zero if > 0 image used contrast(L/S) */
206#define _SE_start_ras 0x78 /* 120 - char[1] - RAS letter for first scan location (L/S) */
207#define _SE_start_loc 0x7a /* 122 - float - First scan location (L/S) */
208#define _SE_end_ras 0x7e /* 126 - char[1] - RAS letter for last scan location (L/S) */
209#define _SE_end_loc 0x80 /* 128 - float - Last scan location (L/S) */
210#define _SE_se_pseq 0x84 /* 132 - short - Last Pulse Sequence Used (L/S) */
211#define _SE_se_sortorder 0x86 /* 134 - short - Image Sort Order (L/S) */
212#define _SE_se_lndmrkcnt 0x88 /* 136 - int - Landmark Counter */
213#define _SE_se_nacq 0x8c /* 140 - short - Number of Acquisitions */
214#define _SE_xbasest 0x8e /* 142 - short - Starting number for baselines */
215#define _SE_xbaseend 0x90 /* 144 - short - Ending number for baselines */
216#define _SE_xenhst 0x92 /* 146 - short - Starting number for enhanced scans */
217#define _SE_xenhend 0x94 /* 148 - short - Ending number for enhanced scans */
218#define _SE_se_lastmod 0x96 /* 150 - int - Date/Time of Last Change */
219#define _SE_se_alloc_key 0x9a /* 154 - char[13] - Process that allocated this record */
220#define _SE_se_delta_cnt 0xa8 /* 168 - int - Indicates number of updates to header */
221#define _SE_se_verscre 0xac /* 172 - char[2] - Genesis Version - Created */
222#define _SE_se_verscur 0xae /* 174 - char[2] - Genesis Version - Now */
223#define _SE_se_pds_a 0xb0 /* 176 - float - PixelData size - as stored */
224#define _SE_se_pds_c 0xb4 /* 180 - float - PixelData size - Compressed */
225#define _SE_se_pds_u 0xb8 /* 184 - float - PixelData size - UnCompressed */
226#define _SE_se_checksum 0xbc /* 188 - u_int - Series Record checksum */
227#define _SE_se_complete 0xc0 /* 192 - int - Series Complete Flag */
228#define _SE_se_numarch 0xc4 /* 196 - int - Number of Images Archived */
229#define _SE_se_imagect 0xc8 /* 200 - int - Last Image Number Used */
230#define _SE_se_numimages 0xcc /* 204 - int - Number of Images Existing */
231#define _SE_se_images 0xd0 /* 208 - VARTYPE - Image Keys for this Series */
232#define _SE_se_numunimg 0xd8 /* 216 - int - Number of Unstored Images */
233#define _SE_se_unimages 0xdc /* 220 - VARTYPE - Unstored Image Keys for this Series */
234#define _SE_se_toarchcnt 0xe4 /* 228 - int - Number of Unarchived Images */
235#define _SE_se_toarchive 0xe8 /* 232 - VARTYPE - Unarchived Image Keys for this Series */
236#define _SE_echo1_alpha 0xf0 /* 240 - float - Echo 1 Alpha Value */
237#define _SE_echo1_beta 0xf4 /* 244 - float - Echo 1 Beta Value */
238#define _SE_echo1_window 0xf8 /* 248 - u_short - Echo 1 Window Value */
239#define _SE_echo1_level 0xfa /* 250 - short - Echo 1 Level Value */
240#define _SE_echo2_alpha 0xfc /* 252 - float - Echo 2 Alpha Value */
241#define _SE_echo2_beta 0x100 /* 256 - float - Echo 2 Beta Value */
242#define _SE_echo2_window 0x104 /* 260 - u_short - Echo 2 Window Value */
243#define _SE_echo2_level 0x106 /* 262 - short - Echo 2 Level Value */
244#define _SE_echo3_alpha 0x108 /* 264 - float - Echo 3 Alpha Value */
245#define _SE_echo3_beta 0x10c /* 268 - float - Echo 3 Beta Value */
246#define _SE_echo3_window 0x110 /* 272 - u_short - Echo 3 Window Value */
247#define _SE_echo3_level 0x112 /* 274 - short - Echo 3 Level Value */
248#define _SE_echo4_alpha 0x114 /* 276 - float - Echo 4 Alpha Value */
249#define _SE_echo4_beta 0x118 /* 280 - float - Echo 4 Beta Value */
250#define _SE_echo4_window 0x11c /* 284 - u_short - Echo 4 Window Value */
251#define _SE_echo4_level 0x11e /* 286 - short - Echo 4 Level Value */
252#define _SE_echo5_alpha 0x120 /* 288 - float - Echo 5 Alpha Value */
253#define _SE_echo5_beta 0x124 /* 292 - float - Echo 5 Beta Value */
254#define _SE_echo5_window 0x128 /* 296 - u_short - Echo 5 Window Value */
255#define _SE_echo5_level 0x12a /* 298 - short - Echo 5 Level Value */
256#define _SE_echo6_alpha 0x12c /* 300 - float - Echo 6 Alpha Value */
257#define _SE_echo6_beta 0x130 /* 304 - float - Echo 6 Beta Value */
258#define _SE_echo6_window 0x134 /* 308 - u_short - Echo 6 Window Value */
259#define _SE_echo6_level 0x136 /* 310 - short - Echo 6 Level Value */
260#define _SE_echo7_alpha 0x138 /* 312 - float - Echo 7 Alpha Value */
261#define _SE_echo7_beta 0x13c /* 316 - float - Echo 7 Beta Value */
262#define _SE_echo7_window 0x140 /* 320 - u_short - Echo 7 Window Value */
263#define _SE_echo7_level 0x142 /* 322 - short - Echo 7 Level Value */
264#define _SE_echo8_alpha 0x144 /* 324 - float - Echo 8 Alpha Value */
265#define _SE_echo8_beta 0x148 /* 328 - float - Echo 8 Beta Value */
266#define _SE_echo8_window 0x14c /* 332 - u_short - Echo 8 Window Value */
267#define _SE_echo8_level 0x14e /* 334 - short - Echo 8 Level Value */
268#define _SE_series_uid 0x150 /* 336 - char[32] - Series Entity Unique ID */
269#define _SE_landmark_uid 0x170 /* 368 - char[32] - Landmark Unique ID */
270#define _SE_equipmnt_uid 0x190 /* 400 - char[32] - Equipment Unique ID */
271#define _SE_se_padding 0x1b0 /* 432 - char[588] - Spare Space */
272#define _SE_sizeof 0x3fc /* 1020 - sizeof SERIESDATATYPE */
273
274/* CTIMAGEDATATYPE definitions */
275
276#define _CT_im_suid 0x0 /* 0 - char[4] - Suite id for this image */
277#define _CT_im_uniq 0x4 /* 4 - short - The Make-Unique Flag */
278#define _CT_im_diskid 0x6 /* 6 - char[1] - Disk ID for this Image */
279#define _CT_im_exno 0x8 /* 8 - u_short - Exam number for this image */
280#define _CT_im_seno 0xa /* 10 - short - Series Number for this image */
281#define _CT_im_no 0xc /* 12 - short - Image Number */
282#define _CT_im_datetime 0xe /* 14 - int - Allocation Image date/time stamp */
283#define _CT_im_actual_dt 0x12 /* 18 - int - Actual Image date/time stamp */
284#define _CT_sctime 0x16 /* 22 - float - Duration of scan (secs) */
285#define _CT_slthick 0x1a /* 26 - float - Slice Thickness (mm) */
286#define _CT_imatrix_X 0x1e /* 30 - short - Image matrix size - X */
287#define _CT_imatrix_Y 0x20 /* 32 - short - Image matrix size - Y */
288#define _CT_dfov 0x22 /* 34 - float - Display field of view - X */
289#define _CT_dfov_rect 0x26 /* 38 - float - Display field of view - Y */
290#define _CT_dim_X 0x2a /* 42 - float - Image dimension - X */
291#define _CT_dim_Y 0x2e /* 46 - float - Image dimension - Y */
292#define _CT_pixsize_X 0x32 /* 50 - float - Image pixel size - X */
293#define _CT_pixsize_Y 0x36 /* 54 - float - Image pixel size - Y */
294#define _CT_pdid 0x3a /* 58 - char[14] - Pixel Data ID */
295#define _CT_contrastIV 0x48 /* 72 - char[17] - IV Contrast Agent */
296#define _CT_contrastOral 0x59 /* 89 - char[17] - Oral Contrast Agent */
297#define _CT_contmode 0x6a /* 106 - short - Image Contrast Mode */
298#define _CT_serrx 0x6c /* 108 - short - Series from which prescribed */
299#define _CT_imgrx 0x6e /* 110 - short - Image from which prescribed */
300#define _CT_screenformat 0x70 /* 112 - short - Screen Format(8/16 bit) */
301#define _CT_plane 0x72 /* 114 - short - Plane Type */
302#define _CT_scanspacing 0x74 /* 116 - float - Spacing between scans (mm?) */
303#define _CT_im_compress 0x78 /* 120 - short - Image compression type for allocation */
304#define _CT_im_scouttype 0x7a /* 122 - short - Scout Type (AP or lateral) */
305#define _CT_loc_ras 0x7c /* 124 - char[1] - RAS letter of image location */
306#define _CT_loc 0x7e /* 126 - float - Image location */
307#define _CT_ctr_R 0x82 /* 130 - float - Center R coord of plane image */
308#define _CT_ctr_A 0x86 /* 134 - float - Center A coord of plane image */
309#define _CT_ctr_S 0x8a /* 138 - float - Center S coord of plane image */
310#define _CT_norm_R 0x8e /* 142 - float - Normal R coord */
311#define _CT_norm_A 0x92 /* 146 - float - Normal A coord */
312#define _CT_norm_S 0x96 /* 150 - float - Normal S coord */
313#define _CT_tlhc_R 0x9a /* 154 - float - R Coord of Top Left Hand */
314#define _CT_tlhc_A 0x9e /* 158 - float - A Coord of Top Left Hand */
315#define _CT_tlhc_S 0xa2 /* 162 - float - S Coord of Top Left Hand */
316#define _CT_trhc_R 0xa6 /* 166 - float - R Coord of Top Right Hand */
317#define _CT_trhc_A 0xaa /* 170 - float - A Coord of Top Right Hand */
318#define _CT_trhc_S 0xae /* 174 - float - S Coord of Top Right Hand */
319#define _CT_brhc_R 0xb2 /* 178 - float - R Coord of Bottom Right Hand */
320#define _CT_brhc_A 0xb6 /* 182 - float - A Coord of Bottom Right Hand */
321#define _CT_brhc_S 0xba /* 186 - float - S Coord of Bottom Right Hand */
322#define _CT_forimgrev 0xbe /* 190 - char[4] - Foreign Image Revision */
323#define _CT_sctstr 0xc2 /* 194 - float - Table Start Location */
324#define _CT_sctend 0xc6 /* 198 - float - Table End Location */
325#define _CT_tblspd 0xca /* 202 - float - Table Speed (mm/sec) */
326#define _CT_tblht 0xce /* 206 - float - Table Height */
327#define _CT_midstime 0xd2 /* 210 - float - Mid Scan Time */
328#define _CT_midsflag 0xd6 /* 214 - short - MidScan flag - does midstime apply */
329#define _CT_kvolt 0xd8 /* 216 - int - KVolt generator setting */
330#define _CT_mamp 0xdc /* 220 - int - MAmp generator setting */
331#define _CT_gantilt 0xe0 /* 224 - float - Gantry Tilt (degrees) */
332#define _CT_azimuth 0xe4 /* 228 - int - Degrees of Azimuth */
333#define _CT_ganvel 0xe8 /* 232 - float - Gantry Velocity */
334#define _CT_ganfilt 0xec /* 236 - int - Gantry Filter Position */
335#define _CT_trigon 0xf0 /* 240 - float - Trigger on Position */
336#define _CT_degrot 0xf4 /* 244 - float - Degrees of rotation */
337#define _CT_xrayon 0xf8 /* 248 - float - X-Ray On Position */
338#define _CT_xrayoff 0xfc /* 252 - float - X-Ray Off Position */
339#define _CT_numtrig 0x100 /* 256 - int - Number of Triggers */
340#define _CT_inviews 0x104 /* 260 - short - Total input views */
341#define _CT_view1ang 0x106 /* 262 - float - Angle of first view */
342#define _CT_trigfreq 0x10a /* 266 - float - Trigger frequency */
343#define _CT_trigsrc 0x10e /* 270 - int - DAS trigger source */
344#define _CT_fpagain 0x112 /* 274 - int - DAS fpa gain */
345#define _CT_scanopmode 0x116 /* 278 - int - Scan Type */
346#define _CT_outsrc 0x11a /* 282 - int - DAS output source */
347#define _CT_adin 0x11e /* 286 - int - DAS ad input */
348#define _CT_calmode 0x122 /* 290 - int - DAS cal mode */
349#define _CT_calfreq 0x126 /* 294 - int - DAS cal frequency */
350#define _CT_regxm 0x12a /* 298 - int - DAS reg xm */
351#define _CT_autozero 0x12e /* 302 - int - DAS auto zero */
352#define _CT_sfovtyp 0x132 /* 306 - short - Axial Type */
353#define _CT_phantsize 0x134 /* 308 - short - Calibration phantom size */
354#define _CT_phanttyp 0x136 /* 310 - short - Calibration phantom type */
355#define _CT_filttyp 0x138 /* 312 - short - Calibration filter type */
356#define _CT_reconalg 0x13a /* 314 - short - Recon Algorithm */
357#define _CT_perisflag 0x13c /* 316 - short - Perstaltic flag */
358#define _CT_iboneflag 0x13e /* 318 - short - IterBone flag */
359#define _CT_statflag 0x140 /* 320 - short - Stat Recon flag */
360#define _CT_computetyp 0x142 /* 322 - short - Compute Type */
361#define _CT_segnum 0x144 /* 324 - short - Segment Number */
362#define _CT_segstotal 0x146 /* 326 - short - Total Number of Segments Requested */
363#define _CT_isd 0x148 /* 328 - float - Inter scan delay (secs) */
364#define _CT_sfovmm 0x14c /* 332 - float - Scan field of view (mm) */
365#define _CT_scannum 0x150 /* 336 - short - Scan Number */
366#define _CT_viewstrtchan 0x152 /* 338 - short - Starting Channel of View */
367#define _CT_viewcompfctr 0x154 /* 340 - short - View Compression Factor */
368#define _CT_outviews 0x156 /* 342 - short - Total Output Views */
369#define _CT_overranges 0x158 /* 344 - short - Number of Overranges */
370#define _CT_totrefchan 0x15a /* 346 - short - Total Number of Ref Channels */
371#define _CT_scdatasize 0x15c /* 348 - int - data size for scan data */
372#define _CT_refchan1 0x160 /* 352 - short - z or q channel */
373#define _CT_refchan2 0x162 /* 354 - short - Reference channel 1 */
374#define _CT_refchan3 0x164 /* 356 - short - Reference channel 2 */
375#define _CT_refchan4 0x166 /* 358 - short - Reference channel 3 */
376#define _CT_refchan5 0x168 /* 360 - short - Reference channel 4 */
377#define _CT_refchan6 0x16a /* 362 - short - Reference channel 5 */
378#define _CT_postproc 0x16c /* 364 - short - Recon post processing flag */
379#define _CT_xmpat 0x16e /* 366 - int - DAS xm pattern */
380#define _CT_rottyp 0x172 /* 370 - short - Prescribed rotation type */
381#define _CT_rawdataflag 0x174 /* 372 - short - Save Raw Data Flag */
382#define _CT_ct_scalefact 0x176 /* 374 - float - IBH Image scale factors */
383#define _CT_ct_water_num 0x17a /* 378 - short - CT Water Number */
384#define _CT_ct_bone_num 0x17c /* 380 - short - CT Bone Number */
385#define _CT_bbh_coef1 0x17e /* 382 - float - BBH coefficient 1 */
386#define _CT_bbh_coef2 0x182 /* 386 - float - BBH coefficient 2 */
387#define _CT_bbh_coef3 0x186 /* 390 - float - BBH coefficient 3 */
388#define _CT_bbh_numblend 0x18a /* 394 - short - Num of BBH channels to blend */
389#define _CT_firstchan 0x18c /* 396 - int - Starting channel */
390#define _CT_numchan 0x190 /* 400 - int - Number of channels (1..512) */
391#define _CT_chaninc 0x194 /* 404 - int - Increment between channels */
392#define _CT_firstview 0x198 /* 408 - int - Starting view */
393#define _CT_numview 0x19c /* 412 - int - Number of views */
394#define _CT_viewinc 0x1a0 /* 416 - int - Increment between views */
395#define _CT_windowrange 0x1a4 /* 420 - int - Window Range (0..4095) */
396#define _CT_scalemin 0x1a8 /* 424 - float - Scaling value of the image data */
397#define _CT_scalemax 0x1ac /* 428 - float - Scaling value of the image data */
398#define _CT_datamod 0x1b0 /* 432 - int - Amount of processing that will be */
399#define _CT_qcalfile 0x1b4 /* 436 - char[13] - Source of the qcal vectors */
400#define _CT_calmodfile 0x1c1 /* 449 - char[13] - Source of the cal vectors */
401#define _CT_wordsperview 0x1ce /* 462 - short - Number of words per view */
402#define _CT_rl_ras 0x1d0 /* 464 - char[1] - RAS letter for side of image */
403#define _CT_ap_ras 0x1d1 /* 465 - char[1] - RAS letter for anterior/posterior */
404#define _CT_sctstr_ras 0x1d2 /* 466 - char[1] - RAS letter for scout start loc */
405#define _CT_sctend_ras 0x1d3 /* 467 - char[1] - RAS letter for scout end loc */
406#define _CT_sct_anref 0x1d4 /* 468 - char[3] - Anatomical reference for scout */
407#define _CT_pps_scalwin 0x1d8 /* 472 - short - PpScan window range for output Scaling */
408#define _CT_pps_qcalflag 0x1da /* 474 - short - PpScan Qcal modification flag */
409#define _CT_pps_pcalflag 0x1dc /* 476 - short - PpScan Pcal modification flag */
410#define _CT_pps_thetafix 0x1de /* 478 - short - PpScan Theta Fix (Angle Correction) */
411#define _CT_pps_bhflag 0x1e0 /* 480 - short - PpScan Beam Hardening Flag */
412#define _CT_spot_size 0x1e2 /* 482 - short - tube focal spot size */
413#define _CT_spot_pos 0x1e4 /* 484 - short - tube focal spot position */
414#define _CT_recondataset 0x1e6 /* 486 - short - Dependent on #views processed */
415#define _CT_ndetcellsfov 0x1e8 /* 488 - short - Field of view in detector cells */
416#define _CT_strtscantime 0x1ea /* 490 - double - Start time(secs) of this scan */
417#define _CT_gandir 0x1f2 /* 498 - short - Gantry Rotation Direction */
418#define _CT_rotorspeed 0x1f4 /* 500 - short - Tube Rotor Speed */
419#define _CT_trigmode 0x1f6 /* 502 - short - TGGC Trigger Mode */
420#define _CT_sitilt 0x1f8 /* 504 - float - Rxd gantry tilt - not annotated */
421#define _CT_targcen_R 0x1fc /* 508 - float - R/L coordinate for target recon center */
422#define _CT_targcen_A 0x200 /* 512 - float - A/P coordinate for target recon center */
423#define _CT_backprojflag 0x204 /* 516 - short - Value of Back Projection button */
424#define _CT_fatqestflag 0x206 /* 518 - short - Set if fatq estimates were used */
425#define _CT_zavg 0x208 /* 520 - float - Z chan avg over views */
426#define _CT_leftrefavg 0x20c /* 524 - float - avg of left ref chans over */
427#define _CT_leftrefmax 0x210 /* 528 - float - max left chan value over views */
428#define _CT_rightrefavg 0x214 /* 532 - float - avg of right ref chans over */
429#define _CT_rightrefmax 0x218 /* 536 - float - max right chan value over views */
430#define _CT_im_alloc_key 0x21c /* 540 - char[13] - */
431#define _CT_im_lastmod 0x22a /* 554 - int - Date/Time of Last Change */
432#define _CT_im_verscre 0x22e /* 558 - char[2] - Genesis Version - Created */
433#define _CT_im_verscur 0x230 /* 560 - char[2] - Genesis Version - Now */
434#define _CT_im_pds_a 0x232 /* 562 - int - PixelData size - as stored */
435#define _CT_im_pds_c 0x236 /* 566 - int - PixelData size - Compressed */
436#define _CT_im_pds_u 0x23a /* 570 - int - PixelData size - UnCompressed */
437#define _CT_im_checksum 0x23e /* 574 - u_int - AcqRecon record checksum */
438#define _CT_im_archived 0x242 /* 578 - int - Image Archive Flag */
439#define _CT_im_complete 0x246 /* 582 - int - Image Complete Flag */
440#define _CT_biop_pos 0x24a /* 586 - short - Biopsy Position */
441#define _CT_biop_tloc 0x24c /* 588 - float - Biopsy T Location */
442#define _CT_biop_refloc 0x250 /* 592 - float - Biopsy Ref Location */
443#define _CT_ref_chan 0x254 /* 596 - short - Reference Channel Used */
444#define _CT_bp_coef 0x256 /* 598 - float - Back Projector Coefficient */
445#define _CT_psc 0x25a /* 602 - short - Primary Speed Correction Used */
446#define _CT_overrng_corr 0x25c /* 604 - short - Overrange Correction Used */
447#define _CT_dyn_z_alpha 0x25e /* 606 - float - Dynamic Z Alpha Value */
448#define _CT_ref_img 0x262 /* 610 - char[1] - Reference Image Field */
449#define _CT_sum_img 0x263 /* 611 - char[1] - Summary Image Field */
450#define _CT_img_window 0x264 /* 612 - u_short - Window Value */
451#define _CT_img_level 0x266 /* 614 - short - Level Value */
452#define _CT_slop_int_1 0x268 /* 616 - int - Integer Slop Field 1 */
453#define _CT_slop_int_2 0x26c /* 620 - int - Integer Slop Field 2 */
454#define _CT_slop_int_3 0x270 /* 624 - int - Integer Slop Field 3 */
455#define _CT_slop_int_4 0x274 /* 628 - int - Integer Slop Field 4 */
456#define _CT_slop_int_5 0x278 /* 632 - int - Integer Slop Field 5 */
457#define _CT_slop_float_1 0x27c /* 636 - float - Float Slop Field 1 */
458#define _CT_slop_float_2 0x280 /* 640 - float - Float Slop Field 2 */
459#define _CT_slop_float_3 0x284 /* 644 - float - Float Slop Field 3 */
460#define _CT_slop_float_4 0x288 /* 648 - float - Float Slop Field 4 */
461#define _CT_slop_float_5 0x28c /* 652 - float - Float Slop Field 5 */
462#define _CT_slop_str_1 0x290 /* 656 - char[16] - String Slop Field 1 */
463#define _CT_slop_str_2 0x2a0 /* 672 - char[16] - String Slop Field 2 */
464#define _CT_deltastart 0x2b0 /* 688 - float - Delta Start Time */
465#define _CT_maxOverrange 0x2b4 /* 692 - int - Max Overranges In A View */
466#define _CT_avgOverrange 0x2b8 /* 696 - float - Avg Overranges All Views */
467#define _CT_afterglow 0x2bc /* 700 - short - Corrected Afterglow Terms */
468#define _CT_z_blocked 0x2be /* 702 - Unsign short - No Views z Channel Blocked */
469#define _CT_ref1_blocked 0x2c0 /* 704 - Unsign short - No Views Ref1 Channel Blocked */
470#define _CT_ref2_blocked 0x2c2 /* 706 - Unsign short - No Views Ref2 Channel Blocked */
471#define _CT_ref3_blocked 0x2c4 /* 708 - Unsign short - No Views Ref3 Channel Blocked */
472#define _CT_ref4_blocked 0x2c6 /* 710 - Unsign short - No Views Ref4 Channel Blocked */
473#define _CT_ref5_blocked 0x2c8 /* 712 - Unsign short - No Views Ref5 Channel Blocked */
474#define _CT_integrity 0x2ca /* 714 - short - GE Image Integrity */
475#define _CT_pitchRatio 0x2cc /* 716 - char[8] - Scan Pitch Ratio */
476#define _CT_image_uid 0x2d4 /* 724 - char[32] - Image Unique ID */
477#define _CT_sop_uid 0x2f4 /* 756 - char[32] - Service Obj Class Unique ID */
478#define _CT_xraydelay 0x314 /* 788 - float - Start Scan To Xray On Delay */
479#define _CT_xrayduration 0x318 /* 792 - float - Duration Of Xray On */
480#define _CT_ct_padding 0x32c /* 812 - char[223] - Spare Space */
481#define _CT_CTIMAGEDATATYPE 0x3fc /* 1020 - sizeof - sizeof CTIMAGEDATATYPE */
482
483/* MRIMAGEDATATYPE definitions */
484
485#define _MR_im_suid 0x0 /* 0 - char[4] - Suite id for this image */
486#define _MR_im_uniq 0x4 /* 4 - short - The Make-Unique Flag */
487#define _MR_im_diskid 0x6 /* 6 - char[1] - Disk ID for this Image */
488#define _MR_im_exno 0x8 /* 8 - u_short - Exam number for this image */
489#define _MR_im_seno 0xa /* 10 - short - Series Number for this image */
490#define _MR_im_no 0xc /* 12 - short - Image Number */
491#define _MR_im_datetime 0xe /* 14 - int - Allocation Image date/time stamp */
492#define _MR_im_actual_dt 0x12 /* 18 - int - Actual Image date/time stamp */
493#define _MR_sctime 0x16 /* 22 - float - Duration of scan (secs) */
494#define _MR_slthick 0x1a /* 26 - float - Slice Thickness (mm) */
495#define _MR_imatrix_X 0x1e /* 30 - short - Image matrix size - X */
496#define _MR_imatrix_Y 0x20 /* 32 - short - Image matrix size - Y */
497#define _MR_dfov 0x22 /* 34 - float - Display field of view - X (mm) */
498#define _MR_dfov_rect 0x26 /* 38 - float - Display field of view - Y (if different) */
499#define _MR_dim_X 0x2a /* 42 - float - Image dimension - X */
500#define _MR_dim_Y 0x2e /* 46 - float - Image dimension - Y */
501#define _MR_pixsize_X 0x32 /* 50 - float - Image pixel size - X */
502#define _MR_pixsize_Y 0x36 /* 54 - float - Image pixel size - Y */
503#define _MR_pdid 0x3a /* 58 - char[14] - Pixel Data ID */
504#define _MR_contrastIV 0x48 /* 72 - char[17] - IV Contrast Agent */
505#define _MR_contrastOral 0x59 /* 89 - char[17] - Oral Contrast Agent */
506#define _MR_contmode 0x6a /* 106 - short - Image Contrast Mode */
507#define _MR_serrx 0x6c /* 108 - short - Series from which prescribed */
508#define _MR_imgrx 0x6e /* 110 - short - Image from which prescribed */
509#define _MR_screenformat 0x70 /* 112 - short - Screen Format(8/16 bit) */
510#define _MR_plane 0x72 /* 114 - short - Plane Type */
511#define _MR_scanspacing 0x74 /* 116 - float - Spacing between scans (mm?) */
512#define _MR_im_compress 0x78 /* 120 - short - Image compression type for allocation */
513#define _MR_im_scouttype 0x7a /* 122 - short - Scout Type (AP or lateral) */
514#define _MR_loc_ras 0x7c /* 124 - char[] - RAS letter of image location */
515#define _MR_loc 0x7e /* 126 - float - Image location */
516#define _MR_ctr_R 0x82 /* 130 - float - Center R coord of plane image */
517#define _MR_ctr_A 0x86 /* 134 - float - Center A coord of plane image */
518#define _MR_ctr_S 0x8a /* 138 - float - Center S coord of plane image */
519#define _MR_norm_R 0x8e /* 142 - float - Normal R coord */
520#define _MR_norm_A 0x92 /* 146 - float - Normal A coord */
521#define _MR_norm_S 0x96 /* 150 - float - Normal S coord */
522#define _MR_tlhc_R 0x9a /* 154 - float - R Coord of Top Left Hand Corner */
523#define _MR_tlhc_A 0x9e /* 158 - float - A Coord of Top Left Hand Corner */
524#define _MR_tlhc_S 0xa2 /* 162 - float - S Coord of Top Left Hand Corner */
525#define _MR_trhc_R 0xa6 /* 166 - float - R Coord of Top Right Hand Corner */
526#define _MR_trhc_A 0xaa /* 170 - float - A Coord of Top Right Hand Corner */
527#define _MR_trhc_S 0xae /* 174 - float - S Coord of Top Right Hand Corner */
528#define _MR_brhc_R 0xb2 /* 178 - float - R Coord of Bottom Right Hand Corner */
529#define _MR_brhc_A 0xb6 /* 182 - float - A Coord of Bottom Right Hand Corner */
530#define _MR_brhc_S 0xba /* 186 - float - S Coord of Bottom Right Hand Corner */
531#define _MR_forimgrev 0xbe /* 190 - char[4] - Foreign Image Revision */
532#define _MR_tr 0xc2 /* 194 - int - Pulse repetition time(usec) */
533#define _MR_ti 0xc6 /* 198 - int - Pulse inversion time(usec) */
534#define _MR_te 0xca /* 202 - int - Pulse echo time(usec) */
535#define _MR_te2 0xce /* 206 - int - Second echo echo (usec) */
536#define _MR_numecho 0xd2 /* 210 - short - Number of echoes */
537#define _MR_echonum 0xd4 /* 212 - short - Echo Number */
538#define _MR_tbldlta 0xd6 /* 214 - float - Table Delta */
539#define _MR_nex 0xda /* 218 - float - Number of Excitations */
540#define _MR_contig 0xde /* 222 - short - Continuous Slices Flag */
541#define _MR_hrtrate 0xe0 /* 224 - short - Cardiac Heart Rate (bpm) */
542#define _MR_tdel 0xe2 /* 226 - int - Delay time after trigger (msec) */
543#define _MR_saravg 0xe6 /* 230 - float - Average SAR */
544#define _MR_sarpeak 0xea /* 234 - float - Peak SAR */
545#define _MR_monsar 0xee /* 238 - short - Monitor SAR flag */
546#define _MR_trgwindow 0xf0 /* 240 - short - Trigger window (% of R-R interval) */
547#define _MR_reptime 0xf2 /* 242 - float - Cardiac repetition time */
548#define _MR_imgpcyc 0xf6 /* 246 - short - Images per cardiac cycle */
549#define _MR_xmtgain 0xf8 /* 248 - short - Actual Transmit Gain (.1 db) */
550#define _MR_rcvgain1 0xfa /* 250 - short - Actual Receive Gain Analog (.1 db) */
551#define _MR_rcvgain2 0xfc /* 252 - short - Actual Receive Gain Digital (.1 db) */
552#define _MR_mr_flip 0xfe /* 254 - short - Flip Angle for GRASS scans (deg.) */
553#define _MR_mindat 0x100 /* 256 - int - Minimum Delay after Trigger (uSec) */
554#define _MR_cphase 0x104 /* 260 - short - Total Cardiac Phase prescribed */
555#define _MR_swappf 0x106 /* 262 - short - Swap Phase/Frequency Axis */
556#define _MR_pauseint 0x108 /* 264 - short - Pause Interval (slices) */
557#define _MR_pausetime 0x10a /* 266 - float - Pause Time */
558#define _MR_obplane 0x10e /* 270 - int - Oblique Plane */
559#define _MR_slocfov 0x112 /* 274 - int - Slice Offsets on Freq axis */
560#define _MR_xmtfreq 0x116 /* 278 - int - Center Frequency (0.1 Hz) */
561#define _MR_autoxmtfreq 0x11a /* 282 - int - Auto Center Frequency (0.1 Hz) */
562#define _MR_autoxmtgain 0x11e /* 286 - short - Auto Transmit Gain (0.1 dB) */
563#define _MR_prescan_r1 0x120 /* 288 - short - PreScan R1 - Analog */
564#define _MR_prescan_r2 0x122 /* 290 - short - PreScan R2 - Digital */
565#define _MR_user_bitmap 0x124 /* 292 - int - Bitmap defining user CVs */
566#define _MR_cenfreq 0x128 /* 296 - short - Center Frequency Method */
567#define _MR_imode 0x12a /* 298 - short - Imaging Mode */
568#define _MR_iopt 0x12c /* 300 - int - Imaging Options */
569#define _MR_pseq 0x130 /* 304 - short - Pulse Sequence */
570#define _MR_pseqmode 0x132 /* 306 - short - Pulse Sequence Mode */
571#define _MR_psdname 0x134 /* 308 - char[33] - Pulse Sequence Name */
572#define _MR_psd_datetime 0x156 /* 342 - int - PSD Creation Date and Time */
573#define _MR_psd_iname 0x15a /* 346 - char[13] - PSD name from inside PSD */
574#define _MR_ctyp 0x168 /* 360 - short - Coil Type */
575#define _MR_cname 0x16a /* 362 - char[17] - Coil Name */
576#define _MR_surfctyp 0x17c /* 380 - short - Surface Coil Type */
577#define _MR_surfcext 0x17e /* 382 - short - Extremity Coil Flag */
578#define _MR_rawrunnum 0x180 /* 384 - int - RawData Run Number */
579#define _MR_cal_fldstr 0x184 /* 388 - u_int - Calibrated Field Strength (x10 uGauss) */
580#define _MR_supp_tech 0x188 /* 392 - short - SAT fat/water/none */
581#define _MR_vbw 0x18a /* 394 - float - Variable Bandwidth (Hz) */
582#define _MR_slquant 0x18e /* 398 - short - Number of slices in this scan group */
583#define _MR_gpre 0x190 /* 400 - short - Graphically prescribed */
584#define _MR_intr_del 0x192 /* 402 - int - Interimage/interloc delay (uSec) */
585#define _MR_user0 0x196 /* 406 - float - User Variable 0 */
586#define _MR_user1 0x19a /* 410 - float - User Variable 1 */
587#define _MR_user2 0x19e /* 414 - float - User Variable 2 */
588#define _MR_user3 0x1a2 /* 418 - float - User Variable 3 */
589#define _MR_user4 0x1a6 /* 422 - float - User Variable 4 */
590#define _MR_user5 0x1aa /* 426 - float - User Variable 5 */
591#define _MR_user6 0x1ae /* 430 - float - User Variable 6 */
592#define _MR_user7 0x1b2 /* 434 - float - User Variable 7 */
593#define _MR_user8 0x1b6 /* 438 - float - User Variable 8 */
594#define _MR_user9 0x1ba /* 442 - float - User Variable 9 */
595#define _MR_user10 0x1be /* 446 - float - User Variable 10 */
596#define _MR_user11 0x1c2 /* 450 - float - User Variable 11 */
597#define _MR_user12 0x1c6 /* 454 - float - User Variable 12 */
598#define _MR_user13 0x1ca /* 458 - float - User Variable 13 */
599#define _MR_user14 0x1ce /* 462 - float - User Variable 14 */
600#define _MR_user15 0x1d2 /* 466 - float - User Variable 15 */
601#define _MR_user16 0x1d6 /* 470 - float - User Variable 16 */
602#define _MR_user17 0x1da /* 474 - float - User Variable 17 */
603#define _MR_user18 0x1de /* 478 - float - User Variable 18 */
604#define _MR_user19 0x1e2 /* 482 - float - User Variable 19 */
605#define _MR_user20 0x1e6 /* 486 - float - User Variable 20 */
606#define _MR_user21 0x1ea /* 490 - float - User Variable 21 */
607#define _MR_user22 0x1ee /* 494 - float - User Variable 22 */
608#define _MR_user23 0x1f2 /* 498 - float - Projection Angle */
609#define _MR_user24 0x1f6 /* 502 - float - Concat Sat Type Flag */
610#define _MR_im_alloc_key 0x1fa /* 506 - char[13] - */
611#define _MR_im_lastmod 0x208 /* 520 - int - Date/Time of Last Change */
612#define _MR_im_verscre 0x20c /* 524 - char[2] - Genesis Version - Created */
613#define _MR_im_verscur 0x20e /* 526 - char[2] - Genesis Version - Now */
614#define _MR_im_pds_a 0x210 /* 528 - int - PixelData size - as stored */
615#define _MR_im_pds_c 0x214 /* 532 - int - PixelData size - Compressed */
616#define _MR_im_pds_u 0x218 /* 536 - int - PixelData size - UnCompressed */
617#define _MR_im_checksum 0x21c /* 540 - u_int - AcqRecon record checksum */
618#define _MR_im_archived 0x220 /* 544 - int - Image Archive Flag */
619#define _MR_im_complete 0x224 /* 548 - int - Image Complete Flag */
620#define _MR_satbits 0x228 /* 552 - short - Bitmap of SAT selections */
621#define _MR_scic 0x22a /* 554 - short - Surface Coil Intensity Correction Flag */
622#define _MR_satxloc1 0x22c /* 556 - short - R-side SAT pulse loc rel to lndmrk */
623#define _MR_satxloc2 0x22e /* 558 - short - L-side SAT pulse loc rel to lndmrk */
624#define _MR_satyloc1 0x230 /* 560 - short - A-side SAT pulse loc rel to lndmrk */
625#define _MR_satyloc2 0x232 /* 562 - short - P-side SAT pulse loc rel to lndmrk */
626#define _MR_satzloc1 0x234 /* 564 - short - S-side SAT pulse loc rel to lndmrk */
627#define _MR_satzloc2 0x236 /* 566 - short - I-side SAT pulse loc rel to lndmrk */
628#define _MR_satxthick 0x238 /* 568 - short - Thickness of X-axis SAT pulse */
629#define _MR_satythick 0x23a /* 570 - short - Thickness of Y-axis SAT pulse */
630#define _MR_satzthick 0x23c /* 572 - short - Thickness of Z-axis SAT pulse */
631#define _MR_flax 0x23e /* 574 - short - Phase contrast flow axis */
632#define _MR_venc 0x240 /* 576 - short - Phase contrast velocity encoding */
633#define _MR_thk_disclmr 0x242 /* 578 - short - Slice Thickness */
634#define _MR_ps_flag 0x244 /* 580 - short - Auto/Manual Prescan flag */
635#define _MR_ps_status 0x246 /* 582 - short - Bitmap of changed values */
636#define _MR_image_type 0x248 /* 584 - short - Magnitude, Phase, Imaginary, or Real */
637#define _MR_vas_collapse 0x24a /* 586 - short - Collapse Image */
638#define _MR_user23n 0x24c /* 588 - float - User Variable 23 */
639#define _MR_user24n 0x250 /* 592 - float - User Variable 24 */
640#define _MR_proj_alg 0x254 /* 596 - short - Projection Algorithm */
641#define _MR_proj_name 0x256 /* 598 - char[13] - Projection Algorithm Name */
642#define _MR_x_axis_rot 0x264 /* 612 - float - X Axis Rotation */
643#define _MR_y_axis_rot 0x268 /* 616 - float - Y Axis Rotation */
644#define _MR_z_axis_rot 0x26c /* 620 - float - Z Axis Rotation */
645#define _MR_thresh_min1 0x270 /* 624 - int - Lower Range of Pixels 1 */
646#define _MR_thresh_max1 0x274 /* 628 - int - Upper Range of Pixels 1 */
647#define _MR_thresh_min2 0x278 /* 632 - int - Lower Range of Pixels 2 */
648#define _MR_thresh_max2 0x27c /* 636 - int - Upper Range of Pixels 2 */
649#define _MR_echo_trn_len 0x280 /* 640 - short - Echo Train Length for Fast Spin Echo */
650#define _MR_frac_echo 0x282 /* 642 - short - Fractional Echo - Effective TE Flag */
651#define _MR_prep_pulse 0x284 /* 644 - short - Preporatory Pulse Option */
652#define _MR_cphasenum 0x286 /* 646 - short - Cardiac Phase Number */
653#define _MR_var_echo 0x288 /* 648 - short - Variable Echo Flag */
654#define _MR_ref_img 0x28a /* 650 - char[1] - Reference Image Field */
655#define _MR_sum_img 0x28b /* 651 - char[1] - Summary Image Field */
656#define _MR_img_window 0x28c /* 652 - u_short - Window Value */
657#define _MR_img_level 0x28e /* 654 - short - Level Value */
658#define _MR_slop_int_1 0x290 /* 656 - int - Integer Slop Field 1 */
659#define _MR_slop_int_2 0x294 /* 660 - int - Integer Slop Field 2 */
660#define _MR_slop_int_3 0x298 /* 664 - int - Integer Slop Field 3 */
661#define _MR_slop_int_4 0x29c /* 668 - int - Integer Slop Field 4 */
662#define _MR_slop_int_5 0x2a0 /* 672 - int - Integer Slop Field 5 */
663#define _MR_slop_float_1 0x2a4 /* 676 - float - Float Slop Field 1 */
664#define _MR_slop_float_2 0x2a8 /* 680 - float - Float Slop Field 2 */
665#define _MR_slop_float_3 0x2ac /* 684 - float - Float Slop Field 3 */
666#define _MR_slop_float_4 0x2b0 /* 688 - float - Float Slop Field 4 */
667#define _MR_slop_float_5 0x2b4 /* 692 - float - Float Slop Field 5 */
668#define _MR_slop_str_1 0x2b8 /* 696 - char[16] - String Slop Field 1 */
669#define _MR_slop_str_2 0x2c8 /* 712 - char[16] - String Slop Field 2 */
670#define _MR_scanactno 0x2d8 /* 728 - short - Scan Acquisition Number */
671#define _MR_vasflags 0x2da /* 730 - short - Magnitude Weighting Flag */
672#define _MR_vencscale 0x2dc /* 732 - float - Scale Weighted Venc */
673#define _MR_integrity 0x2e0 /* 736 - short - GE Image Integrity */
674#define _MR_fphase 0x2e2 /* 738 - int - Number Of Phases */
675#define _MR_freq_dir 0x2e6 /* 742 - short - Frequency Direction */
676#define _MR_vas_mode 0x2e8 /* 744 - short - Vascular Mode */
677#define _MR_image_uid 0x2ea /* 746 - char[32] - Image Unique ID */
678#define _MR_sop_uid 0x30a /* 778 - char[32] - Service Obj Class Unique ID */
679#define _MR_mr_padding 0x35a /* 858 - char[212] - Spare Space */
680#define _MR_MRIMAGEDATATYPE 0x3fe /* 1022 - sizeof - sizeof MRIMAGEDATATYPE */
681
682
683#endif //_IF_OFFSETS_H_