33 #ifndef itkSiemensVisionImageIO_h
34 #define itkSiemensVisionImageIO_h
35 #include "ITKIOSiemensExport.h"
74 bool CanReadFile(
const char *FileNameToRead)
override;
119 GEImageHeader * ReadHeader(
const char *FileNameToRead)
override;
124 HDR_STUDY_YEAR_LEN = 4,
126 HDR_STUDY_MONTH_LEN = 4,
128 HDR_STUDY_DAY_LEN = 4,
130 HDR_ACQ_YEAR_LEN = 4,
132 HDR_ACQ_MONTH_LEN = 4,
136 HDR_IMAGE_YEAR_LEN = 4,
137 HDR_IMAGE_MONTH = 28,
138 HDR_IMAGE_MONTH_LEN = 4,
140 HDR_IMAGE_DAY_LEN = 4,
142 HDR_STUDY_HOUR_LEN = 4,
144 HDR_STUDY_MIN_LEN = 4,
146 HDR_STUDY_SEC_LEN = 4,
148 HDR_ACQ_HOUR_LEN = 4,
154 HDR_IMAGE_HOUR_LEN = 4,
156 HDR_IMAGE_MIN_LEN = 4,
158 HDR_IMAGE_SEC_LEN = 4,
161 HDR_INSTUTE_NAME = 105,
162 HDR_INSTUTE_NAME_LEN = 25,
163 HDR_ANNOTATION = 186,
164 HDR_ANNOTATION_LEN = 32,
165 HDR_MODEL_NAME = 281,
166 HDR_MODEL_NAME_LEN = 12,
167 HDR_LMOVE_YEAR = 412,
168 HDR_LMOVE_YEAR_LEN = 4,
169 HDR_LMOVE_MONTH = 416,
170 HDR_LMOVE_MONTH_LEN = 4,
172 HDR_LMOVE_DAY_LEN = 4,
173 HDR_LMOVE_HOUR = 424,
174 HDR_LMOVE_HOUR_LEN = 4,
176 HDR_LMOVE_MIN_LEN = 4,
178 HDR_LMOVE_SEC_LEN = 4,
180 HDR_PAT_NAME_LEN = 25,
184 HDR_DOB_YEAR_LEN = 4,
186 HDR_DOB_MONTH_LEN = 4,
192 HDR_AGE_UNIT_LEN = 1,
194 HDR_REG_YEAR_LEN = 4,
195 HDR_REG_MONTH = 1056,
196 HDR_REG_MONTH_LEN = 4,
200 HDR_REG_HOUR_LEN = 4,
205 HDR_SLICE_THCK = 1544,
206 HDR_SLICE_THCK_LEN = 8,
216 HDR_CAL_YEAR_LEN = 4,
217 HDR_CAL_MONTH = 1716,
218 HDR_CAL_MONTH_LEN = 4,
222 HDR_CAL_HOUR_LEN = 4,
229 HDR_IMAGE_NUC = 1828,
230 HDR_IMAGE_NUC_LEN = 4,
231 HDR_FLIP_ANGLE = 2112,
232 HDR_FLIP_ANGLE_LEN = 8,
235 HDR_DISPLAY_SIZE = 2864,
236 HDR_DISPLAY_SIZE_LEN = 4,
237 HDR_SEQPROG_NAME = 2944,
238 HDR_SEQPROG_NAME_LEN = 65,
240 HDR_WKC_NAME_LEN = 65,
243 HDR_SEQUENCE_TYPE = 3083,
244 HDR_SEQUENCE_TYPE_LEN = 8,
247 HDR_FOV_COLUMN = 3752,
248 HDR_FOV_COLUMN_LEN = 8,
250 HDR_CENTER_X_LEN = 8,
252 HDR_CENTER_Y_LEN = 8,
254 HDR_CENTER_Z_LEN = 8,
262 HDR_DIST_ISO_LEN = 8,
270 HDR_COLMNV_X_LEN = 8,
272 HDR_COLMNV_Y_LEN = 8,
274 HDR_COLMNV_Z_LEN = 8,
275 HDR_ORNT_SET1X = 3880,
276 HDR_ORNT_SET1X_LEN = 3,
277 HDR_ORNT_SET1Y = 3884,
278 HDR_ORNT_SET1Y_LEN = 3,
279 HDR_ORNT_SET1Z = 3888,
280 HDR_ORNT_SET1Z_LEN = 3,
281 HDR_ORNT_SET2X = 3892,
282 HDR_ORNT_SET2X_LEN = 3,
283 HDR_ORNT_SET2Y = 3896,
284 HDR_ORNT_SET2Y_LEN = 3,
285 HDR_ORNT_SET2Z = 3900,
286 HDR_ORNT_SET2Z_LEN = 3,
287 HDR_PROTOCOL_NAME = 2944,
288 HDR_PROTOCOL_NAME_LEN = 64,
289 HDR_PIXELSIZE_ROW = 5000,
290 HDR_PIXELSIZE_ROW_LEN = 8,
291 HDR_PIXELSIZE_CLMN = 5008,
292 HDR_PIXELSIZE_CLMN_LEN = 8,
294 TEXT_PAT_ID_LEN = 12,
296 TEXT_PAT_SEX_LEN = 1,
298 TEXT_PAT_AGE_LEN = 3,
299 TEXT_AGE_UNIT = 5521,
300 TEXT_AGE_UNIT_LEN = 1,
302 TEXT_PAT_POS_LEN = 7,
303 TEXT_IMG_FLAG = 5541,
304 TEXT_IMG_FLAG_LEN = 5,
305 TEXT_IMG_NUMBER = 5546,
306 TEXT_IMG_NUMBER_LEN = 4,
308 TEXT_IMG_DAY_LEN = 2,
309 TEXT_IMG_MONTH = 5562,
310 TEXT_IMG_MONTH_LEN = 3,
311 TEXT_IMG_YEAR = 5566,
312 TEXT_IMG_YEAR_LEN = 4,
313 TEXT_IMG_HOUR = 5571,
314 TEXT_IMG_HOUR_LEN = 2,
316 TEXT_IMG_MIN_LEN = 2,
317 TEXT_ACQ_FLAG = 5577,
318 TEXT_ACQ_FLAG_LEN = 2,
320 TEXT_ACQ_MIN_LEN = 2,
322 TEXT_ACQ_SEC_LEN = 2,
323 TEXT_ANNOTATION = 5601,
324 TEXT_ANNOTATION_LEN = 32,
325 TEXT_ORGANIZATION = 5655,
326 TEXT_ORGANIZATION_LEN = 25,
328 TEXT_STATION_LEN = 5,
329 TEXT_ACQ_MTRX_PHASE = 5695,
330 TEXT_ACQ_MTRX_PHASE_LEN = 3,
331 TEXT_ACQ_PHASE_DIR = 5698,
332 TEXT_ACQ_PHASE_DIR_LEN = 1,
333 TEXT_ACQ_MTRX_FREQ = 5700,
334 TEXT_ACQ_MTRX_FREQ_LEN = 3,
335 TEXT_ACQ_MTRX_FREQO = 5703,
336 TEXT_ACQ_MTRX_FREQO_LEN = 1,
337 TEXT_ACQ_MTRX_FREQS = 5704,
338 TEXT_ACQ_MTRX_FREQS_LEN = 1,
339 TEXT_SEQUENCE = 5706,
340 TEXT_SEQUENCE_LEN = 8,
341 TEXT_FLIP_ANGLE = 5714,
342 TEXT_FLIP_ANGLE_LEN = 3,
343 TEXT_SCAN_FLAG = 5718,
344 TEXT_SCAN_FLAG_LEN = 4,
345 TEXT_SCANA_NUM = 5723,
346 TEXT_SCANA_NUM_LEN = 3,
347 TEXT_SCANB_NUM = 5726,
348 TEXT_SCANB_NUM_LEN = 3,
350 TEXT_TR_FLAG_LEN = 2,
354 TEXT_TE_FLAG_LEN = 2,
357 TEXT_ECHO_NUM = 5752,
358 TEXT_ECHO_NUM_LEN = 1,
359 TEXT_THCK_FLAG = 5790,
360 TEXT_THCK_FLAG_LEN = 2,
361 TEXT_SLICE_THCK = 5794,
362 TEXT_SLICE_THCK_LEN = 7,
363 TEXT_POS_FLAG = 5802,
364 TEXT_POS_FLAG_LEN = 2,
365 TEXT_SLICE_POS = 5806,
366 TEXT_SLICE_POS_LEN = 7,
367 TEXT_ANGLE_FLAG1 = 5814,
368 TEXT_ANGLE_FLAG1_LEN = 3,
369 TEXT_ANGLE_FLAG2 = 5817,
370 TEXT_ANGLE_FLAG2_LEN = 1,
371 TEXT_ANGLE_FLAG3 = 5818,
372 TEXT_ANGLE_FLAG3_LEN = 3,
375 TEXT_FOV_FLAG = 5838,
376 TEXT_FOV_FLAG_LEN = 3,
381 TEXT_TABLEPOS_FLAG = 5874,
382 TEXT_TABLEPOS_FLAG_LEN = 2,
383 TEXT_TABLE_POS = 5878,
384 TEXT_TABLE_POS_LEN = 7,
385 TEXT_STUDY_FLAG = 5938,
386 TEXT_STUDY_FLAG_LEN = 5,
387 TEXT_STUDY_NUM = 5943,
388 TEXT_STUDY_NUM_LEN = 2,
390 TEXT_DOB_DAY_LEN = 2,
391 TEXT_DOB_MONTH = 5959,
392 TEXT_DOB_MONTH_LEN = 3,
393 TEXT_DOB_YEAR = 5963,
394 TEXT_DOB_YEAR_LEN = 4,
395 TEXT_STUDY_FLAG2 = 5992,
396 TEXT_STUDY_FLAG2_LEN = 3,
397 TEXT_IMAGE_FLAG2 = 5996,
398 TEXT_IMAGE_FLAG2_LEN = 3,
399 TEXT_STUDY_NUM2 = 5999,
400 TEXT_STUDY_NUM2_LEN = 2,
401 TEXT_IMAGE_NUM2 = 6002,
402 TEXT_IMAGE_NUM2_LEN = 2,
403 TEXT_IMAGE_NUM3 = 6013,
404 TEXT_IMAGE_NUM3_LEN = 5,
405 TEXT_MODEL_NAME = 6031,
406 TEXT_MODEL_NAME_LEN = 15,
407 TEXT_PAT_NAME = 6058,
408 TEXT_PAT_NAME_LEN = 25,
409 TEXT_START_HOUR = 6085,
410 TEXT_START_HOUR_LEN = 2,
411 TEXT_START_MIN = 6088,
412 TEXT_START_MIN_LEN = 2,
413 TEXT_START_SEC = 6091,
414 TEXT_START_SEC_LEN = 2,
415 HDR_TOTAL_LENGTH = 6144
416 } SiemensVisionHeaderInfo;
420 #endif // itkSiemensVisionImageIO_h
Light weight base class for most itk classes.
Class that defines how to read SiemensVision file format.
Class that defines how to read GE4 file format.
This file was written as a modification to the itkMetaImageIO as a new method for reading in files fr...
Base class for most ITK classes.