ITK
4.1.0
Insight Segmentation and Registration Toolkit
|
00001 /*========================================================================= 00002 * 00003 * Copyright Insight Software Consortium 00004 * 00005 * Licensed under the Apache License, Version 2.0 (the "License"); 00006 * you may not use this file except in compliance with the License. 00007 * You may obtain a copy of the License at 00008 * 00009 * http://www.apache.org/licenses/LICENSE-2.0.txt 00010 * 00011 * Unless required by applicable law or agreed to in writing, software 00012 * distributed under the License is distributed on an "AS IS" BASIS, 00013 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 00014 * See the License for the specific language governing permissions and 00015 * limitations under the License. 00016 * 00017 *=========================================================================*/ 00018 /*========================================================================= 00019 * 00020 * Portions of this file are subject to the VTK Toolkit Version 3 copyright. 00021 * 00022 * Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 00023 * 00024 * For complete copyright, license and disclaimer of warranty information 00025 * please refer to the NOTICE file at the top of the ITK source tree. 00026 * 00027 *=========================================================================*/ 00028 #ifndef __itkGEImageHeader_h 00029 #define __itkGEImageHeader_h 00030 00031 #include "itkIOCommon.h" 00032 00033 enum GE_PANE_STRUCT { 00034 GE_AXIAL = 2, 00035 GE_SAGITTAL = 4, 00036 GE_CORONAL = 8 00037 }; 00038 00039 struct GEImageHeader { 00040 short int examNumber; 00041 short int seriesNumber; 00042 short int numberOfEchoes; 00043 short int echoNumber; 00044 short int imageNumber; 00045 float sliceLocation; 00046 float sliceThickness; 00047 float sliceGap; 00048 float TI; 00049 float TE; 00050 float TE2; 00051 float TR; 00052 short int flipAngle; 00053 int NEX; 00054 float xFOV; 00055 float yFOV; 00056 float centerR; 00057 float centerA; 00058 float centerS; 00059 float normR; 00060 float normA; 00061 float normS; 00062 float tlhcR; 00063 float tlhcA; 00064 float tlhcS; 00065 float trhcR; 00066 float trhcA; 00067 float trhcS; 00068 float brhcR; 00069 float brhcA; 00070 float brhcS; 00071 00072 short int acqXsize; 00073 short int acqYsize; 00074 short int frequencyDir; 00075 char scanner[16]; 00076 char pulseSequence[128]; //Needs to be at least 65 for seimens vision 00077 char patientId[32]; 00078 char scanId[32]; 00079 char name[64]; 00080 char date[32]; 00081 short int imageXsize; 00082 short int imageYsize; 00083 float imageXres; 00084 float imageYres; 00085 //itk::IOCommon::ValidAnalyzeOrientationFlags imagePlane; 00086 //itk::IOCommon::ValidOriginFlags origin; 00087 itk::SpatialOrientation::ValidCoordinateOrientationFlags coordinateOrientation; 00088 short int numberOfSlices; 00089 short int offset; 00090 char filename[itk::IOCommon::ITK_MAXPATHLEN + 1]; 00091 char hospital[35]; 00092 char modality[4]; 00093 short int imagesPerSlice; 00094 short int turboFactor; //This is only relevant for the geADW image format, but 00095 // is put here for convenience 00096 }; 00097 #endif 00098