33 #ifndef itkSiemensVisionImageIO_h
34 #define itkSiemensVisionImageIO_h
35 #include "ITKIOSiemensExport.h"
76 CanReadFile(
const char * FileNameToRead)
override;
122 ReadHeader(
const char * FileNameToRead)
override;
128 HDR_STUDY_YEAR_LEN = 4,
130 HDR_STUDY_MONTH_LEN = 4,
132 HDR_STUDY_DAY_LEN = 4,
134 HDR_ACQ_YEAR_LEN = 4,
136 HDR_ACQ_MONTH_LEN = 4,
140 HDR_IMAGE_YEAR_LEN = 4,
141 HDR_IMAGE_MONTH = 28,
142 HDR_IMAGE_MONTH_LEN = 4,
144 HDR_IMAGE_DAY_LEN = 4,
146 HDR_STUDY_HOUR_LEN = 4,
148 HDR_STUDY_MIN_LEN = 4,
150 HDR_STUDY_SEC_LEN = 4,
152 HDR_ACQ_HOUR_LEN = 4,
158 HDR_IMAGE_HOUR_LEN = 4,
160 HDR_IMAGE_MIN_LEN = 4,
162 HDR_IMAGE_SEC_LEN = 4,
165 HDR_INSTUTE_NAME = 105,
166 HDR_INSTUTE_NAME_LEN = 25,
167 HDR_ANNOTATION = 186,
168 HDR_ANNOTATION_LEN = 32,
169 HDR_MODEL_NAME = 281,
170 HDR_MODEL_NAME_LEN = 12,
171 HDR_LMOVE_YEAR = 412,
172 HDR_LMOVE_YEAR_LEN = 4,
173 HDR_LMOVE_MONTH = 416,
174 HDR_LMOVE_MONTH_LEN = 4,
176 HDR_LMOVE_DAY_LEN = 4,
177 HDR_LMOVE_HOUR = 424,
178 HDR_LMOVE_HOUR_LEN = 4,
180 HDR_LMOVE_MIN_LEN = 4,
182 HDR_LMOVE_SEC_LEN = 4,
184 HDR_PAT_NAME_LEN = 25,
188 HDR_DOB_YEAR_LEN = 4,
190 HDR_DOB_MONTH_LEN = 4,
196 HDR_AGE_UNIT_LEN = 1,
198 HDR_REG_YEAR_LEN = 4,
199 HDR_REG_MONTH = 1056,
200 HDR_REG_MONTH_LEN = 4,
204 HDR_REG_HOUR_LEN = 4,
209 HDR_SLICE_THCK = 1544,
210 HDR_SLICE_THCK_LEN = 8,
220 HDR_CAL_YEAR_LEN = 4,
221 HDR_CAL_MONTH = 1716,
222 HDR_CAL_MONTH_LEN = 4,
226 HDR_CAL_HOUR_LEN = 4,
233 HDR_IMAGE_NUC = 1828,
234 HDR_IMAGE_NUC_LEN = 4,
235 HDR_FLIP_ANGLE = 2112,
236 HDR_FLIP_ANGLE_LEN = 8,
239 HDR_DISPLAY_SIZE = 2864,
240 HDR_DISPLAY_SIZE_LEN = 4,
241 HDR_SEQPROG_NAME = 2944,
242 HDR_SEQPROG_NAME_LEN = 65,
244 HDR_WKC_NAME_LEN = 65,
247 HDR_SEQUENCE_TYPE = 3083,
248 HDR_SEQUENCE_TYPE_LEN = 8,
251 HDR_FOV_COLUMN = 3752,
252 HDR_FOV_COLUMN_LEN = 8,
254 HDR_CENTER_X_LEN = 8,
256 HDR_CENTER_Y_LEN = 8,
258 HDR_CENTER_Z_LEN = 8,
266 HDR_DIST_ISO_LEN = 8,
274 HDR_COLMNV_X_LEN = 8,
276 HDR_COLMNV_Y_LEN = 8,
278 HDR_COLMNV_Z_LEN = 8,
279 HDR_ORNT_SET1X = 3880,
280 HDR_ORNT_SET1X_LEN = 3,
281 HDR_ORNT_SET1Y = 3884,
282 HDR_ORNT_SET1Y_LEN = 3,
283 HDR_ORNT_SET1Z = 3888,
284 HDR_ORNT_SET1Z_LEN = 3,
285 HDR_ORNT_SET2X = 3892,
286 HDR_ORNT_SET2X_LEN = 3,
287 HDR_ORNT_SET2Y = 3896,
288 HDR_ORNT_SET2Y_LEN = 3,
289 HDR_ORNT_SET2Z = 3900,
290 HDR_ORNT_SET2Z_LEN = 3,
291 HDR_PROTOCOL_NAME = 2944,
292 HDR_PROTOCOL_NAME_LEN = 64,
293 HDR_PIXELSIZE_ROW = 5000,
294 HDR_PIXELSIZE_ROW_LEN = 8,
295 HDR_PIXELSIZE_CLMN = 5008,
296 HDR_PIXELSIZE_CLMN_LEN = 8,
298 TEXT_PAT_ID_LEN = 12,
300 TEXT_PAT_SEX_LEN = 1,
302 TEXT_PAT_AGE_LEN = 3,
303 TEXT_AGE_UNIT = 5521,
304 TEXT_AGE_UNIT_LEN = 1,
306 TEXT_PAT_POS_LEN = 7,
307 TEXT_IMG_FLAG = 5541,
308 TEXT_IMG_FLAG_LEN = 5,
309 TEXT_IMG_NUMBER = 5546,
310 TEXT_IMG_NUMBER_LEN = 4,
312 TEXT_IMG_DAY_LEN = 2,
313 TEXT_IMG_MONTH = 5562,
314 TEXT_IMG_MONTH_LEN = 3,
315 TEXT_IMG_YEAR = 5566,
316 TEXT_IMG_YEAR_LEN = 4,
317 TEXT_IMG_HOUR = 5571,
318 TEXT_IMG_HOUR_LEN = 2,
320 TEXT_IMG_MIN_LEN = 2,
321 TEXT_ACQ_FLAG = 5577,
322 TEXT_ACQ_FLAG_LEN = 2,
324 TEXT_ACQ_MIN_LEN = 2,
326 TEXT_ACQ_SEC_LEN = 2,
327 TEXT_ANNOTATION = 5601,
328 TEXT_ANNOTATION_LEN = 32,
329 TEXT_ORGANIZATION = 5655,
330 TEXT_ORGANIZATION_LEN = 25,
332 TEXT_STATION_LEN = 5,
333 TEXT_ACQ_MTRX_PHASE = 5695,
334 TEXT_ACQ_MTRX_PHASE_LEN = 3,
335 TEXT_ACQ_PHASE_DIR = 5698,
336 TEXT_ACQ_PHASE_DIR_LEN = 1,
337 TEXT_ACQ_MTRX_FREQ = 5700,
338 TEXT_ACQ_MTRX_FREQ_LEN = 3,
339 TEXT_ACQ_MTRX_FREQO = 5703,
340 TEXT_ACQ_MTRX_FREQO_LEN = 1,
341 TEXT_ACQ_MTRX_FREQS = 5704,
342 TEXT_ACQ_MTRX_FREQS_LEN = 1,
343 TEXT_SEQUENCE = 5706,
344 TEXT_SEQUENCE_LEN = 8,
345 TEXT_FLIP_ANGLE = 5714,
346 TEXT_FLIP_ANGLE_LEN = 3,
347 TEXT_SCAN_FLAG = 5718,
348 TEXT_SCAN_FLAG_LEN = 4,
349 TEXT_SCANA_NUM = 5723,
350 TEXT_SCANA_NUM_LEN = 3,
351 TEXT_SCANB_NUM = 5726,
352 TEXT_SCANB_NUM_LEN = 3,
354 TEXT_TR_FLAG_LEN = 2,
358 TEXT_TE_FLAG_LEN = 2,
361 TEXT_ECHO_NUM = 5752,
362 TEXT_ECHO_NUM_LEN = 1,
363 TEXT_THCK_FLAG = 5790,
364 TEXT_THCK_FLAG_LEN = 2,
365 TEXT_SLICE_THCK = 5794,
366 TEXT_SLICE_THCK_LEN = 7,
367 TEXT_POS_FLAG = 5802,
368 TEXT_POS_FLAG_LEN = 2,
369 TEXT_SLICE_POS = 5806,
370 TEXT_SLICE_POS_LEN = 7,
371 TEXT_ANGLE_FLAG1 = 5814,
372 TEXT_ANGLE_FLAG1_LEN = 3,
373 TEXT_ANGLE_FLAG2 = 5817,
374 TEXT_ANGLE_FLAG2_LEN = 1,
375 TEXT_ANGLE_FLAG3 = 5818,
376 TEXT_ANGLE_FLAG3_LEN = 3,
379 TEXT_FOV_FLAG = 5838,
380 TEXT_FOV_FLAG_LEN = 3,
385 TEXT_TABLEPOS_FLAG = 5874,
386 TEXT_TABLEPOS_FLAG_LEN = 2,
387 TEXT_TABLE_POS = 5878,
388 TEXT_TABLE_POS_LEN = 7,
389 TEXT_STUDY_FLAG = 5938,
390 TEXT_STUDY_FLAG_LEN = 5,
391 TEXT_STUDY_NUM = 5943,
392 TEXT_STUDY_NUM_LEN = 2,
394 TEXT_DOB_DAY_LEN = 2,
395 TEXT_DOB_MONTH = 5959,
396 TEXT_DOB_MONTH_LEN = 3,
397 TEXT_DOB_YEAR = 5963,
398 TEXT_DOB_YEAR_LEN = 4,
399 TEXT_STUDY_FLAG2 = 5992,
400 TEXT_STUDY_FLAG2_LEN = 3,
401 TEXT_IMAGE_FLAG2 = 5996,
402 TEXT_IMAGE_FLAG2_LEN = 3,
403 TEXT_STUDY_NUM2 = 5999,
404 TEXT_STUDY_NUM2_LEN = 2,
405 TEXT_IMAGE_NUM2 = 6002,
406 TEXT_IMAGE_NUM2_LEN = 2,
407 TEXT_IMAGE_NUM3 = 6013,
408 TEXT_IMAGE_NUM3_LEN = 5,
409 TEXT_MODEL_NAME = 6031,
410 TEXT_MODEL_NAME_LEN = 15,
411 TEXT_PAT_NAME = 6058,
412 TEXT_PAT_NAME_LEN = 25,
413 TEXT_START_HOUR = 6085,
414 TEXT_START_HOUR_LEN = 2,
415 TEXT_START_MIN = 6088,
416 TEXT_START_MIN_LEN = 2,
417 TEXT_START_SEC = 6091,
418 TEXT_START_SEC_LEN = 2,
419 HDR_TOTAL_LENGTH = 6144
424 #endif // itkSiemensVisionImageIO_h