33 #ifndef __itkSiemensVisionImageIO_h
34 #define __itkSiemensVisionImageIO_h
35 #include "ITKIOSiemensExport.h"
72 virtual bool CanReadFile(
const char *FileNameToRead) ITK_OVERRIDE;
117 virtual GEImageHeader * ReadHeader(
const char *FileNameToRead) ITK_OVERRIDE;
122 HDR_STUDY_YEAR_LEN = 4,
124 HDR_STUDY_MONTH_LEN = 4,
126 HDR_STUDY_DAY_LEN = 4,
128 HDR_ACQ_YEAR_LEN = 4,
130 HDR_ACQ_MONTH_LEN = 4,
134 HDR_IMAGE_YEAR_LEN = 4,
135 HDR_IMAGE_MONTH = 28,
136 HDR_IMAGE_MONTH_LEN = 4,
138 HDR_IMAGE_DAY_LEN = 4,
140 HDR_STUDY_HOUR_LEN = 4,
142 HDR_STUDY_MIN_LEN = 4,
144 HDR_STUDY_SEC_LEN = 4,
146 HDR_ACQ_HOUR_LEN = 4,
152 HDR_IMAGE_HOUR_LEN = 4,
154 HDR_IMAGE_MIN_LEN = 4,
156 HDR_IMAGE_SEC_LEN = 4,
159 HDR_INSTUTE_NAME = 105,
160 HDR_INSTUTE_NAME_LEN = 25,
161 HDR_ANNOTATION = 186,
162 HDR_ANNOTATION_LEN = 32,
163 HDR_MODEL_NAME = 281,
164 HDR_MODEL_NAME_LEN = 12,
165 HDR_LMOVE_YEAR = 412,
166 HDR_LMOVE_YEAR_LEN = 4,
167 HDR_LMOVE_MONTH = 416,
168 HDR_LMOVE_MONTH_LEN = 4,
170 HDR_LMOVE_DAY_LEN = 4,
171 HDR_LMOVE_HOUR = 424,
172 HDR_LMOVE_HOUR_LEN = 4,
174 HDR_LMOVE_MIN_LEN = 4,
176 HDR_LMOVE_SEC_LEN = 4,
178 HDR_PAT_NAME_LEN = 25,
182 HDR_DOB_YEAR_LEN = 4,
184 HDR_DOB_MONTH_LEN = 4,
190 HDR_AGE_UNIT_LEN = 1,
192 HDR_REG_YEAR_LEN = 4,
193 HDR_REG_MONTH = 1056,
194 HDR_REG_MONTH_LEN = 4,
198 HDR_REG_HOUR_LEN = 4,
203 HDR_SLICE_THCK = 1544,
204 HDR_SLICE_THCK_LEN = 8,
214 HDR_CAL_YEAR_LEN = 4,
215 HDR_CAL_MONTH = 1716,
216 HDR_CAL_MONTH_LEN = 4,
220 HDR_CAL_HOUR_LEN = 4,
227 HDR_IMAGE_NUC = 1828,
228 HDR_IMAGE_NUC_LEN = 4,
229 HDR_FLIP_ANGLE = 2112,
230 HDR_FLIP_ANGLE_LEN = 8,
233 HDR_DISPLAY_SIZE = 2864,
234 HDR_DISPLAY_SIZE_LEN = 4,
235 HDR_SEQPROG_NAME = 2944,
236 HDR_SEQPROG_NAME_LEN = 65,
238 HDR_WKC_NAME_LEN = 65,
241 HDR_SEQUENCE_TYPE = 3083,
242 HDR_SEQUENCE_TYPE_LEN = 8,
245 HDR_FOV_COLUMN = 3752,
246 HDR_FOV_COLUMN_LEN = 8,
248 HDR_CENTER_X_LEN = 8,
250 HDR_CENTER_Y_LEN = 8,
252 HDR_CENTER_Z_LEN = 8,
260 HDR_DIST_ISO_LEN = 8,
268 HDR_COLMNV_X_LEN = 8,
270 HDR_COLMNV_Y_LEN = 8,
272 HDR_COLMNV_Z_LEN = 8,
273 HDR_ORNT_SET1X = 3880,
274 HDR_ORNT_SET1X_LEN = 3,
275 HDR_ORNT_SET1Y = 3884,
276 HDR_ORNT_SET1Y_LEN = 3,
277 HDR_ORNT_SET1Z = 3888,
278 HDR_ORNT_SET1Z_LEN = 3,
279 HDR_ORNT_SET2X = 3892,
280 HDR_ORNT_SET2X_LEN = 3,
281 HDR_ORNT_SET2Y = 3896,
282 HDR_ORNT_SET2Y_LEN = 3,
283 HDR_ORNT_SET2Z = 3900,
284 HDR_ORNT_SET2Z_LEN = 3,
285 HDR_PROTOCOL_NAME = 2944,
286 HDR_PROTOCOL_NAME_LEN = 64,
287 HDR_PIXELSIZE_ROW = 5000,
288 HDR_PIXELSIZE_ROW_LEN = 8,
289 HDR_PIXELSIZE_CLMN = 5008,
290 HDR_PIXELSIZE_CLMN_LEN = 8,
292 TEXT_PAT_ID_LEN = 12,
294 TEXT_PAT_SEX_LEN = 1,
296 TEXT_PAT_AGE_LEN = 3,
297 TEXT_AGE_UNIT = 5521,
298 TEXT_AGE_UNIT_LEN = 1,
300 TEXT_PAT_POS_LEN = 7,
301 TEXT_IMG_FLAG = 5541,
302 TEXT_IMG_FLAG_LEN = 5,
303 TEXT_IMG_NUMBER = 5546,
304 TEXT_IMG_NUMBER_LEN = 4,
306 TEXT_IMG_DAY_LEN = 2,
307 TEXT_IMG_MONTH = 5562,
308 TEXT_IMG_MONTH_LEN = 3,
309 TEXT_IMG_YEAR = 5566,
310 TEXT_IMG_YEAR_LEN = 4,
311 TEXT_IMG_HOUR = 5571,
312 TEXT_IMG_HOUR_LEN = 2,
314 TEXT_IMG_MIN_LEN = 2,
315 TEXT_ACQ_FLAG = 5577,
316 TEXT_ACQ_FLAG_LEN = 2,
318 TEXT_ACQ_MIN_LEN = 2,
320 TEXT_ACQ_SEC_LEN = 2,
321 TEXT_ANNOTATION = 5601,
322 TEXT_ANNOTATION_LEN = 32,
323 TEXT_ORGANIZATION = 5655,
324 TEXT_ORGANIZATION_LEN = 25,
326 TEXT_STATION_LEN = 5,
327 TEXT_ACQ_MTRX_PHASE = 5695,
328 TEXT_ACQ_MTRX_PHASE_LEN = 3,
329 TEXT_ACQ_PHASE_DIR = 5698,
330 TEXT_ACQ_PHASE_DIR_LEN = 1,
331 TEXT_ACQ_MTRX_FREQ = 5700,
332 TEXT_ACQ_MTRX_FREQ_LEN = 3,
333 TEXT_ACQ_MTRX_FREQO = 5703,
334 TEXT_ACQ_MTRX_FREQO_LEN = 1,
335 TEXT_ACQ_MTRX_FREQS = 5704,
336 TEXT_ACQ_MTRX_FREQS_LEN = 1,
337 TEXT_SEQUENCE = 5706,
338 TEXT_SEQUENCE_LEN = 8,
339 TEXT_FLIP_ANGLE = 5714,
340 TEXT_FLIP_ANGLE_LEN = 3,
341 TEXT_SCAN_FLAG = 5718,
342 TEXT_SCAN_FLAG_LEN = 4,
343 TEXT_SCANA_NUM = 5723,
344 TEXT_SCANA_NUM_LEN = 3,
345 TEXT_SCANB_NUM = 5726,
346 TEXT_SCANB_NUM_LEN = 3,
348 TEXT_TR_FLAG_LEN = 2,
352 TEXT_TE_FLAG_LEN = 2,
355 TEXT_ECHO_NUM = 5752,
356 TEXT_ECHO_NUM_LEN = 1,
357 TEXT_THCK_FLAG = 5790,
358 TEXT_THCK_FLAG_LEN = 2,
359 TEXT_SLICE_THCK = 5794,
360 TEXT_SLICE_THCK_LEN = 7,
361 TEXT_POS_FLAG = 5802,
362 TEXT_POS_FLAG_LEN = 2,
363 TEXT_SLICE_POS = 5806,
364 TEXT_SLICE_POS_LEN = 7,
365 TEXT_ANGLE_FLAG1 = 5814,
366 TEXT_ANGLE_FLAG1_LEN = 3,
367 TEXT_ANGLE_FLAG2 = 5817,
368 TEXT_ANGLE_FLAG2_LEN = 1,
369 TEXT_ANGLE_FLAG3 = 5818,
370 TEXT_ANGLE_FLAG3_LEN = 3,
373 TEXT_FOV_FLAG = 5838,
374 TEXT_FOV_FLAG_LEN = 3,
379 TEXT_TABLEPOS_FLAG = 5874,
380 TEXT_TABLEPOS_FLAG_LEN = 2,
381 TEXT_TABLE_POS = 5878,
382 TEXT_TABLE_POS_LEN = 7,
383 TEXT_STUDY_FLAG = 5938,
384 TEXT_STUDY_FLAG_LEN = 5,
385 TEXT_STUDY_NUM = 5943,
386 TEXT_STUDY_NUM_LEN = 2,
388 TEXT_DOB_DAY_LEN = 2,
389 TEXT_DOB_MONTH = 5959,
390 TEXT_DOB_MONTH_LEN = 3,
391 TEXT_DOB_YEAR = 5963,
392 TEXT_DOB_YEAR_LEN = 4,
393 TEXT_STUDY_FLAG2 = 5992,
394 TEXT_STUDY_FLAG2_LEN = 3,
395 TEXT_IMAGE_FLAG2 = 5996,
396 TEXT_IMAGE_FLAG2_LEN = 3,
397 TEXT_STUDY_NUM2 = 5999,
398 TEXT_STUDY_NUM2_LEN = 2,
399 TEXT_IMAGE_NUM2 = 6002,
400 TEXT_IMAGE_NUM2_LEN = 2,
401 TEXT_IMAGE_NUM3 = 6013,
402 TEXT_IMAGE_NUM3_LEN = 5,
403 TEXT_MODEL_NAME = 6031,
404 TEXT_MODEL_NAME_LEN = 15,
405 TEXT_PAT_NAME = 6058,
406 TEXT_PAT_NAME_LEN = 25,
407 TEXT_START_HOUR = 6085,
408 TEXT_START_HOUR_LEN = 2,
409 TEXT_START_MIN = 6088,
410 TEXT_START_MIN_LEN = 2,
411 TEXT_START_SEC = 6091,
412 TEXT_START_SEC_LEN = 2,
413 HDR_TOTAL_LENGTH = 6144
414 } SiemensVisionHeaderInfo;
416 void operator=(
const Self &);
420 #endif // __itkSiemensVisionImageIO_h
Light weight base class for most itk classes.
Class that defines how to read SiemensVision file format.
SmartPointer< Self > Pointer
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...
IPLCommonImageIO Superclass
SiemensVisionImageIO Self
Base class for most ITK classes.