00001 /*========================================================================= 00002 00003 Program: Insight Segmentation & Registration Toolkit 00004 Module: $RCSfile: itkGEImageHeader.h,v $ 00005 Language: C++ 00006 Date: $Date: 2003/09/10 14:29:34 $ 00007 Version: $Revision: 1.6 $ 00008 00009 Copyright (c) Insight Software Consortium. All rights reserved. 00010 See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details. 00011 00012 This software is distributed WITHOUT ANY WARRANTY; without even 00013 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00014 PURPOSE. See the above copyright notices for more information. 00015 00016 =========================================================================*/ 00017 #ifndef _itkGEImageHeader_H_ 00018 #define _itkGEImageHeader_H_ 00019 00020 #include "itkIOCommon.h" 00021 00022 //#include "idbm_hdr_def.h" 00023 enum GE_PANE_STRUCT { 00024 GE_AXIAL =2, 00025 GE_SAGITTAL=4, 00026 GE_CORONAL =8 00027 }; 00028 00029 struct GEImageHeader 00030 { 00031 short int seriesNumber; 00032 short int numberOfEchoes; 00033 short int echoNumber; 00034 short int imageNumber; 00035 float sliceLocation; 00036 float sliceThickness; 00037 float sliceGap; 00038 float TI; 00039 float TE; 00040 float TE2; 00041 float TR; 00042 short int flipAngle; 00043 int NEX; 00044 float xFOV; 00045 float yFOV; 00046 short int acqXsize; 00047 short int acqYsize; 00048 short int frequencyDir; 00049 char scanner[16]; 00050 char pulseSequence[128]; //Needs to be at least 65 for seimans vision 00051 char patientId[32]; 00052 char scanId[32]; 00053 char name[64]; 00054 char date[32]; 00055 short int imageXsize; 00056 short int imageYsize; 00057 float imageXres; 00058 float imageYres; 00059 short int imagePlane; 00060 short int numberOfSlices; 00061 short int offset; 00062 char filename[itk::IOCommon::ITK_MAXPATHLEN+1]; 00063 char hospital[35]; 00064 short int imagesPerSlice; 00065 short int turboFactor; //This is only relevant for the geADW image format, but is put here for convenience 00066 }; 00067 #endif