Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itkGEImageHeader.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Insight Segmentation & Registration Toolkit
00004   Module:    $RCSfile: itkGEImageHeader.h,v $
00005   Language:  C++
00006   Date:      $Date: 2007-03-14 14:56:42 $
00007   Version:   $Revision: 1.12 $
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   float centerR;
00050   float centerA;
00051   float centerS;
00052   float normR;
00053   float normA;
00054   float normS;
00055   float tlhcR;
00056   float tlhcA;
00057   float tlhcS;
00058   float trhcR;
00059   float trhcA;
00060   float trhcS;
00061   float brhcR;
00062   float brhcA;
00063   float brhcS;
00064 
00065   short int acqXsize;
00066   short int acqYsize;
00067   short int frequencyDir;
00068   char scanner[16];
00069   char pulseSequence[128]; //Needs to be at least 65 for seimens vision
00070   char patientId[32];
00071   char scanId[32];
00072   char name[64];
00073   char date[32];
00074   short int imageXsize;
00075   short int imageYsize;
00076   float imageXres;
00077   float imageYres;
00078   //itk::IOCommon::ValidAnalyzeOrientationFlags imagePlane;
00079   //itk::IOCommon::ValidOriginFlags origin;
00080   itk::SpatialOrientation::ValidCoordinateOrientationFlags coordinateOrientation;
00081   short int numberOfSlices;
00082   short int offset;
00083   char filename[itk::IOCommon::ITK_MAXPATHLEN+1];
00084   char hospital[35];
00085   short int imagesPerSlice;
00086   short int turboFactor; //This is only relevant for the geADW image format, but is put here for convenience
00087 };
00088 #endif
00089 

Generated at Mon Jul 12 2010 18:24:08 for ITK by doxygen 1.7.1 written by Dimitri van Heesch, © 1997-2000