33 #ifndef __itkSiemensVisionImageIO_h
34 #define __itkSiemensVisionImageIO_h
71 virtual bool CanReadFile(
const char *FileNameToRead);
115 virtual GEImageHeader * ReadHeader(
const char *FileNameToRead);
120 HDR_STUDY_YEAR_LEN = 4,
122 HDR_STUDY_MONTH_LEN = 4,
124 HDR_STUDY_DAY_LEN = 4,
126 HDR_ACQ_YEAR_LEN = 4,
128 HDR_ACQ_MONTH_LEN = 4,
132 HDR_IMAGE_YEAR_LEN = 4,
133 HDR_IMAGE_MONTH = 28,
134 HDR_IMAGE_MONTH_LEN = 4,
136 HDR_IMAGE_DAY_LEN = 4,
138 HDR_STUDY_HOUR_LEN = 4,
140 HDR_STUDY_MIN_LEN = 4,
142 HDR_STUDY_SEC_LEN = 4,
144 HDR_ACQ_HOUR_LEN = 4,
150 HDR_IMAGE_HOUR_LEN = 4,
152 HDR_IMAGE_MIN_LEN = 4,
154 HDR_IMAGE_SEC_LEN = 4,
157 HDR_INSTUTE_NAME = 105,
158 HDR_INSTUTE_NAME_LEN = 25,
159 HDR_ANNOTATION = 186,
160 HDR_ANNOTATION_LEN = 32,
161 HDR_MODEL_NAME = 281,
162 HDR_MODEL_NAME_LEN = 12,
163 HDR_LMOVE_YEAR = 412,
164 HDR_LMOVE_YEAR_LEN = 4,
165 HDR_LMOVE_MONTH = 416,
166 HDR_LMOVE_MONTH_LEN = 4,
168 HDR_LMOVE_DAY_LEN = 4,
169 HDR_LMOVE_HOUR = 424,
170 HDR_LMOVE_HOUR_LEN = 4,
172 HDR_LMOVE_MIN_LEN = 4,
174 HDR_LMOVE_SEC_LEN = 4,
176 HDR_PAT_NAME_LEN = 25,
180 HDR_DOB_YEAR_LEN = 4,
182 HDR_DOB_MONTH_LEN = 4,
188 HDR_AGE_UNIT_LEN = 1,
190 HDR_REG_YEAR_LEN = 4,
191 HDR_REG_MONTH = 1056,
192 HDR_REG_MONTH_LEN = 4,
196 HDR_REG_HOUR_LEN = 4,
201 HDR_SLICE_THCK = 1544,
202 HDR_SLICE_THCK_LEN = 8,
212 HDR_CAL_YEAR_LEN = 4,
213 HDR_CAL_MONTH = 1716,
214 HDR_CAL_MONTH_LEN = 4,
218 HDR_CAL_HOUR_LEN = 4,
225 HDR_IMAGE_NUC = 1828,
226 HDR_IMAGE_NUC_LEN = 4,
227 HDR_FLIP_ANGLE = 2112,
228 HDR_FLIP_ANGLE_LEN = 8,
231 HDR_DISPLAY_SIZE = 2864,
232 HDR_DISPLAY_SIZE_LEN = 4,
233 HDR_SEQPROG_NAME = 2944,
234 HDR_SEQPROG_NAME_LEN = 65,
236 HDR_WKC_NAME_LEN = 65,
239 HDR_SEQUENCE_TYPE = 3083,
240 HDR_SEQUENCE_TYPE_LEN = 8,
243 HDR_FOV_COLUMN = 3752,
244 HDR_FOV_COLUMN_LEN = 8,
246 HDR_CENTER_X_LEN = 8,
248 HDR_CENTER_Y_LEN = 8,
250 HDR_CENTER_Z_LEN = 8,
258 HDR_DIST_ISO_LEN = 8,
266 HDR_COLMNV_X_LEN = 8,
268 HDR_COLMNV_Y_LEN = 8,
270 HDR_COLMNV_Z_LEN = 8,
271 HDR_ORNT_SET1X = 3880,
272 HDR_ORNT_SET1X_LEN = 3,
273 HDR_ORNT_SET1Y = 3884,
274 HDR_ORNT_SET1Y_LEN = 3,
275 HDR_ORNT_SET1Z = 3888,
276 HDR_ORNT_SET1Z_LEN = 3,
277 HDR_ORNT_SET2X = 3892,
278 HDR_ORNT_SET2X_LEN = 3,
279 HDR_ORNT_SET2Y = 3896,
280 HDR_ORNT_SET2Y_LEN = 3,
281 HDR_ORNT_SET2Z = 3900,
282 HDR_ORNT_SET2Z_LEN = 3,
283 HDR_PROTOCOL_NAME = 2944,
284 HDR_PROTOCOL_NAME_LEN = 64,
285 HDR_PIXELSIZE_ROW = 5000,
286 HDR_PIXELSIZE_ROW_LEN = 8,
287 HDR_PIXELSIZE_CLMN = 5008,
288 HDR_PIXELSIZE_CLMN_LEN = 8,
290 TEXT_PAT_ID_LEN = 12,
292 TEXT_PAT_SEX_LEN = 1,
294 TEXT_PAT_AGE_LEN = 3,
295 TEXT_AGE_UNIT = 5521,
296 TEXT_AGE_UNIT_LEN = 1,
298 TEXT_PAT_POS_LEN = 7,
299 TEXT_IMG_FLAG = 5541,
300 TEXT_IMG_FLAG_LEN = 5,
301 TEXT_IMG_NUMBER = 5546,
302 TEXT_IMG_NUMBER_LEN = 4,
304 TEXT_IMG_DAY_LEN = 2,
305 TEXT_IMG_MONTH = 5562,
306 TEXT_IMG_MONTH_LEN = 3,
307 TEXT_IMG_YEAR = 5566,
308 TEXT_IMG_YEAR_LEN = 4,
309 TEXT_IMG_HOUR = 5571,
310 TEXT_IMG_HOUR_LEN = 2,
312 TEXT_IMG_MIN_LEN = 2,
313 TEXT_ACQ_FLAG = 5577,
314 TEXT_ACQ_FLAG_LEN = 2,
316 TEXT_ACQ_MIN_LEN = 2,
318 TEXT_ACQ_SEC_LEN = 2,
319 TEXT_ANNOTATION = 5601,
320 TEXT_ANNOTATION_LEN = 32,
321 TEXT_ORGANIZATION = 5655,
322 TEXT_ORGANIZATION_LEN = 25,
324 TEXT_STATION_LEN = 5,
325 TEXT_ACQ_MTRX_PHASE = 5695,
326 TEXT_ACQ_MTRX_PHASE_LEN = 3,
327 TEXT_ACQ_PHASE_DIR = 5698,
328 TEXT_ACQ_PHASE_DIR_LEN = 1,
329 TEXT_ACQ_MTRX_FREQ = 5700,
330 TEXT_ACQ_MTRX_FREQ_LEN = 3,
331 TEXT_ACQ_MTRX_FREQO = 5703,
332 TEXT_ACQ_MTRX_FREQO_LEN = 1,
333 TEXT_ACQ_MTRX_FREQS = 5704,
334 TEXT_ACQ_MTRX_FREQS_LEN = 1,
335 TEXT_SEQUENCE = 5706,
336 TEXT_SEQUENCE_LEN = 8,
337 TEXT_FLIP_ANGLE = 5714,
338 TEXT_FLIP_ANGLE_LEN = 3,
339 TEXT_SCAN_FLAG = 5718,
340 TEXT_SCAN_FLAG_LEN = 4,
341 TEXT_SCANA_NUM = 5723,
342 TEXT_SCANA_NUM_LEN = 3,
343 TEXT_SCANB_NUM = 5726,
344 TEXT_SCANB_NUM_LEN = 3,
346 TEXT_TR_FLAG_LEN = 2,
350 TEXT_TE_FLAG_LEN = 2,
353 TEXT_ECHO_NUM = 5752,
354 TEXT_ECHO_NUM_LEN = 1,
355 TEXT_THCK_FLAG = 5790,
356 TEXT_THCK_FLAG_LEN = 2,
357 TEXT_SLICE_THCK = 5794,
358 TEXT_SLICE_THCK_LEN = 7,
359 TEXT_POS_FLAG = 5802,
360 TEXT_POS_FLAG_LEN = 2,
361 TEXT_SLICE_POS = 5806,
362 TEXT_SLICE_POS_LEN = 7,
363 TEXT_ANGLE_FLAG1 = 5814,
364 TEXT_ANGLE_FLAG1_LEN = 3,
365 TEXT_ANGLE_FLAG2 = 5817,
366 TEXT_ANGLE_FLAG2_LEN = 1,
367 TEXT_ANGLE_FLAG3 = 5818,
368 TEXT_ANGLE_FLAG3_LEN = 3,
371 TEXT_FOV_FLAG = 5838,
372 TEXT_FOV_FLAG_LEN = 3,
377 TEXT_TABLEPOS_FLAG = 5874,
378 TEXT_TABLEPOS_FLAG_LEN = 2,
379 TEXT_TABLE_POS = 5878,
380 TEXT_TABLE_POS_LEN = 7,
381 TEXT_STUDY_FLAG = 5938,
382 TEXT_STUDY_FLAG_LEN = 5,
383 TEXT_STUDY_NUM = 5943,
384 TEXT_STUDY_NUM_LEN = 2,
386 TEXT_DOB_DAY_LEN = 2,
387 TEXT_DOB_MONTH = 5959,
388 TEXT_DOB_MONTH_LEN = 3,
389 TEXT_DOB_YEAR = 5963,
390 TEXT_DOB_YEAR_LEN = 4,
391 TEXT_STUDY_FLAG2 = 5992,
392 TEXT_STUDY_FLAG2_LEN = 3,
393 TEXT_IMAGE_FLAG2 = 5996,
394 TEXT_IMAGE_FLAG2_LEN = 3,
395 TEXT_STUDY_NUM2 = 5999,
396 TEXT_STUDY_NUM2_LEN = 2,
397 TEXT_IMAGE_NUM2 = 6002,
398 TEXT_IMAGE_NUM2_LEN = 2,
399 TEXT_IMAGE_NUM3 = 6013,
400 TEXT_IMAGE_NUM3_LEN = 5,
401 TEXT_MODEL_NAME = 6031,
402 TEXT_MODEL_NAME_LEN = 15,
403 TEXT_PAT_NAME = 6058,
404 TEXT_PAT_NAME_LEN = 25,
405 TEXT_START_HOUR = 6085,
406 TEXT_START_HOUR_LEN = 2,
407 TEXT_START_MIN = 6088,
408 TEXT_START_MIN_LEN = 2,
409 TEXT_START_SEC = 6091,
410 TEXT_START_SEC_LEN = 2,
411 HDR_TOTAL_LENGTH = 6144
412 } SiemensVisionHeaderInfo;
414 void operator=(
const Self &);
418 #endif // __itkSiemensVisionImageIO_h