33 #ifndef __itkSiemensVisionImageIO_h
34 #define __itkSiemensVisionImageIO_h
71 virtual bool CanReadFile(
const char *FileNameToRead);
116 virtual GEImageHeader * ReadHeader(
const char *FileNameToRead);
121 HDR_STUDY_YEAR_LEN = 4,
123 HDR_STUDY_MONTH_LEN = 4,
125 HDR_STUDY_DAY_LEN = 4,
127 HDR_ACQ_YEAR_LEN = 4,
129 HDR_ACQ_MONTH_LEN = 4,
133 HDR_IMAGE_YEAR_LEN = 4,
134 HDR_IMAGE_MONTH = 28,
135 HDR_IMAGE_MONTH_LEN = 4,
137 HDR_IMAGE_DAY_LEN = 4,
139 HDR_STUDY_HOUR_LEN = 4,
141 HDR_STUDY_MIN_LEN = 4,
143 HDR_STUDY_SEC_LEN = 4,
145 HDR_ACQ_HOUR_LEN = 4,
151 HDR_IMAGE_HOUR_LEN = 4,
153 HDR_IMAGE_MIN_LEN = 4,
155 HDR_IMAGE_SEC_LEN = 4,
158 HDR_INSTUTE_NAME = 105,
159 HDR_INSTUTE_NAME_LEN = 25,
160 HDR_ANNOTATION = 186,
161 HDR_ANNOTATION_LEN = 32,
162 HDR_MODEL_NAME = 281,
163 HDR_MODEL_NAME_LEN = 12,
164 HDR_LMOVE_YEAR = 412,
165 HDR_LMOVE_YEAR_LEN = 4,
166 HDR_LMOVE_MONTH = 416,
167 HDR_LMOVE_MONTH_LEN = 4,
169 HDR_LMOVE_DAY_LEN = 4,
170 HDR_LMOVE_HOUR = 424,
171 HDR_LMOVE_HOUR_LEN = 4,
173 HDR_LMOVE_MIN_LEN = 4,
175 HDR_LMOVE_SEC_LEN = 4,
177 HDR_PAT_NAME_LEN = 25,
181 HDR_DOB_YEAR_LEN = 4,
183 HDR_DOB_MONTH_LEN = 4,
189 HDR_AGE_UNIT_LEN = 1,
191 HDR_REG_YEAR_LEN = 4,
192 HDR_REG_MONTH = 1056,
193 HDR_REG_MONTH_LEN = 4,
197 HDR_REG_HOUR_LEN = 4,
202 HDR_SLICE_THCK = 1544,
203 HDR_SLICE_THCK_LEN = 8,
213 HDR_CAL_YEAR_LEN = 4,
214 HDR_CAL_MONTH = 1716,
215 HDR_CAL_MONTH_LEN = 4,
219 HDR_CAL_HOUR_LEN = 4,
226 HDR_IMAGE_NUC = 1828,
227 HDR_IMAGE_NUC_LEN = 4,
228 HDR_FLIP_ANGLE = 2112,
229 HDR_FLIP_ANGLE_LEN = 8,
232 HDR_DISPLAY_SIZE = 2864,
233 HDR_DISPLAY_SIZE_LEN = 4,
234 HDR_SEQPROG_NAME = 2944,
235 HDR_SEQPROG_NAME_LEN = 65,
237 HDR_WKC_NAME_LEN = 65,
240 HDR_SEQUENCE_TYPE = 3083,
241 HDR_SEQUENCE_TYPE_LEN = 8,
244 HDR_FOV_COLUMN = 3752,
245 HDR_FOV_COLUMN_LEN = 8,
247 HDR_CENTER_X_LEN = 8,
249 HDR_CENTER_Y_LEN = 8,
251 HDR_CENTER_Z_LEN = 8,
259 HDR_DIST_ISO_LEN = 8,
267 HDR_COLMNV_X_LEN = 8,
269 HDR_COLMNV_Y_LEN = 8,
271 HDR_COLMNV_Z_LEN = 8,
272 HDR_ORNT_SET1X = 3880,
273 HDR_ORNT_SET1X_LEN = 3,
274 HDR_ORNT_SET1Y = 3884,
275 HDR_ORNT_SET1Y_LEN = 3,
276 HDR_ORNT_SET1Z = 3888,
277 HDR_ORNT_SET1Z_LEN = 3,
278 HDR_ORNT_SET2X = 3892,
279 HDR_ORNT_SET2X_LEN = 3,
280 HDR_ORNT_SET2Y = 3896,
281 HDR_ORNT_SET2Y_LEN = 3,
282 HDR_ORNT_SET2Z = 3900,
283 HDR_ORNT_SET2Z_LEN = 3,
284 HDR_PROTOCOL_NAME = 2944,
285 HDR_PROTOCOL_NAME_LEN = 64,
286 HDR_PIXELSIZE_ROW = 5000,
287 HDR_PIXELSIZE_ROW_LEN = 8,
288 HDR_PIXELSIZE_CLMN = 5008,
289 HDR_PIXELSIZE_CLMN_LEN = 8,
291 TEXT_PAT_ID_LEN = 12,
293 TEXT_PAT_SEX_LEN = 1,
295 TEXT_PAT_AGE_LEN = 3,
296 TEXT_AGE_UNIT = 5521,
297 TEXT_AGE_UNIT_LEN = 1,
299 TEXT_PAT_POS_LEN = 7,
300 TEXT_IMG_FLAG = 5541,
301 TEXT_IMG_FLAG_LEN = 5,
302 TEXT_IMG_NUMBER = 5546,
303 TEXT_IMG_NUMBER_LEN = 4,
305 TEXT_IMG_DAY_LEN = 2,
306 TEXT_IMG_MONTH = 5562,
307 TEXT_IMG_MONTH_LEN = 3,
308 TEXT_IMG_YEAR = 5566,
309 TEXT_IMG_YEAR_LEN = 4,
310 TEXT_IMG_HOUR = 5571,
311 TEXT_IMG_HOUR_LEN = 2,
313 TEXT_IMG_MIN_LEN = 2,
314 TEXT_ACQ_FLAG = 5577,
315 TEXT_ACQ_FLAG_LEN = 2,
317 TEXT_ACQ_MIN_LEN = 2,
319 TEXT_ACQ_SEC_LEN = 2,
320 TEXT_ANNOTATION = 5601,
321 TEXT_ANNOTATION_LEN = 32,
322 TEXT_ORGANIZATION = 5655,
323 TEXT_ORGANIZATION_LEN = 25,
325 TEXT_STATION_LEN = 5,
326 TEXT_ACQ_MTRX_PHASE = 5695,
327 TEXT_ACQ_MTRX_PHASE_LEN = 3,
328 TEXT_ACQ_PHASE_DIR = 5698,
329 TEXT_ACQ_PHASE_DIR_LEN = 1,
330 TEXT_ACQ_MTRX_FREQ = 5700,
331 TEXT_ACQ_MTRX_FREQ_LEN = 3,
332 TEXT_ACQ_MTRX_FREQO = 5703,
333 TEXT_ACQ_MTRX_FREQO_LEN = 1,
334 TEXT_ACQ_MTRX_FREQS = 5704,
335 TEXT_ACQ_MTRX_FREQS_LEN = 1,
336 TEXT_SEQUENCE = 5706,
337 TEXT_SEQUENCE_LEN = 8,
338 TEXT_FLIP_ANGLE = 5714,
339 TEXT_FLIP_ANGLE_LEN = 3,
340 TEXT_SCAN_FLAG = 5718,
341 TEXT_SCAN_FLAG_LEN = 4,
342 TEXT_SCANA_NUM = 5723,
343 TEXT_SCANA_NUM_LEN = 3,
344 TEXT_SCANB_NUM = 5726,
345 TEXT_SCANB_NUM_LEN = 3,
347 TEXT_TR_FLAG_LEN = 2,
351 TEXT_TE_FLAG_LEN = 2,
354 TEXT_ECHO_NUM = 5752,
355 TEXT_ECHO_NUM_LEN = 1,
356 TEXT_THCK_FLAG = 5790,
357 TEXT_THCK_FLAG_LEN = 2,
358 TEXT_SLICE_THCK = 5794,
359 TEXT_SLICE_THCK_LEN = 7,
360 TEXT_POS_FLAG = 5802,
361 TEXT_POS_FLAG_LEN = 2,
362 TEXT_SLICE_POS = 5806,
363 TEXT_SLICE_POS_LEN = 7,
364 TEXT_ANGLE_FLAG1 = 5814,
365 TEXT_ANGLE_FLAG1_LEN = 3,
366 TEXT_ANGLE_FLAG2 = 5817,
367 TEXT_ANGLE_FLAG2_LEN = 1,
368 TEXT_ANGLE_FLAG3 = 5818,
369 TEXT_ANGLE_FLAG3_LEN = 3,
372 TEXT_FOV_FLAG = 5838,
373 TEXT_FOV_FLAG_LEN = 3,
378 TEXT_TABLEPOS_FLAG = 5874,
379 TEXT_TABLEPOS_FLAG_LEN = 2,
380 TEXT_TABLE_POS = 5878,
381 TEXT_TABLE_POS_LEN = 7,
382 TEXT_STUDY_FLAG = 5938,
383 TEXT_STUDY_FLAG_LEN = 5,
384 TEXT_STUDY_NUM = 5943,
385 TEXT_STUDY_NUM_LEN = 2,
387 TEXT_DOB_DAY_LEN = 2,
388 TEXT_DOB_MONTH = 5959,
389 TEXT_DOB_MONTH_LEN = 3,
390 TEXT_DOB_YEAR = 5963,
391 TEXT_DOB_YEAR_LEN = 4,
392 TEXT_STUDY_FLAG2 = 5992,
393 TEXT_STUDY_FLAG2_LEN = 3,
394 TEXT_IMAGE_FLAG2 = 5996,
395 TEXT_IMAGE_FLAG2_LEN = 3,
396 TEXT_STUDY_NUM2 = 5999,
397 TEXT_STUDY_NUM2_LEN = 2,
398 TEXT_IMAGE_NUM2 = 6002,
399 TEXT_IMAGE_NUM2_LEN = 2,
400 TEXT_IMAGE_NUM3 = 6013,
401 TEXT_IMAGE_NUM3_LEN = 5,
402 TEXT_MODEL_NAME = 6031,
403 TEXT_MODEL_NAME_LEN = 15,
404 TEXT_PAT_NAME = 6058,
405 TEXT_PAT_NAME_LEN = 25,
406 TEXT_START_HOUR = 6085,
407 TEXT_START_HOUR_LEN = 2,
408 TEXT_START_MIN = 6088,
409 TEXT_START_MIN_LEN = 2,
410 TEXT_START_SEC = 6091,
411 TEXT_START_SEC_LEN = 2,
412 HDR_TOTAL_LENGTH = 6144
413 } SiemensVisionHeaderInfo;
415 void operator=(
const Self &);
419 #endif // __itkSiemensVisionImageIO_h