00001 /*========================================================================= 00002 00003 Program: Insight Segmentation & Registration Toolkit 00004 Module: $RCSfile: itkGEImageHeader.h,v $ 00005 Language: C++ 00006 Date: $Date: 2006/10/23 02:15:18 $ 00007 Version: $Revision: 1.11 $ 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 Portions of this code are covered under the VTK copyright. 00013 See VTKCopyright.txt or http://www.kitware.com/VTKCopyright.htm for details. 00014 00015 This software is distributed WITHOUT ANY WARRANTY; without even 00016 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00017 PURPOSE. See the above copyright notices for more information. 00018 00019 =========================================================================*/ 00020 #ifndef _itkGEImageHeader_h 00021 #define _itkGEImageHeader_h 00022 00023 #include "itkIOCommon.h" 00024 00025 00026 enum GE_PANE_STRUCT { 00027 GE_AXIAL =2, 00028 GE_SAGITTAL=4, 00029 GE_CORONAL =8 00030 }; 00031 00032 struct GEImageHeader 00033 { 00034 short int seriesNumber; 00035 short int numberOfEchoes; 00036 short int echoNumber; 00037 short int imageNumber; 00038 float sliceLocation; 00039 float sliceThickness; 00040 float sliceGap; 00041 float TI; 00042 float TE; 00043 float TE2; 00044 float TR; 00045 short int flipAngle; 00046 int NEX; 00047 float xFOV; 00048 float yFOV; 00049 short int acqXsize; 00050 short int acqYsize; 00051 short int frequencyDir; 00052 char scanner[16]; 00053 char pulseSequence[128]; //Needs to be at least 65 for seimens vision 00054 char patientId[32]; 00055 char scanId[32]; 00056 char name[64]; 00057 char date[32]; 00058 short int imageXsize; 00059 short int imageYsize; 00060 float imageXres; 00061 float imageYres; 00062 //itk::IOCommon::ValidAnalyzeOrientationFlags imagePlane; 00063 //itk::IOCommon::ValidOriginFlags origin; 00064 itk::SpatialOrientation::ValidCoordinateOrientationFlags coordinateOrientation; 00065 short int numberOfSlices; 00066 short int offset; 00067 char filename[itk::IOCommon::ITK_MAXPATHLEN+1]; 00068 char hospital[35]; 00069 short int imagesPerSlice; 00070 short int turboFactor; //This is only relevant for the geADW image format, but is put here for convenience 00071 }; 00072 #endif 00073