ITK  4.2.0
Insight Segmentation and Registration Toolkit
itkGEImageHeader.h
Go to the documentation of this file.
1 /*=========================================================================
2  *
3  * Copyright Insight Software Consortium
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0.txt
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  *
17  *=========================================================================*/
18 /*=========================================================================
19  *
20  * Portions of this file are subject to the VTK Toolkit Version 3 copyright.
21  *
22  * Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
23  *
24  * For complete copyright, license and disclaimer of warranty information
25  * please refer to the NOTICE file at the top of the ITK source tree.
26  *
27  *=========================================================================*/
28 #ifndef __itkGEImageHeader_h
29 #define __itkGEImageHeader_h
30 
31 #include "itkIOCommon.h"
32 
34  GE_AXIAL = 2,
37  };
38 
39 struct GEImageHeader {
40  short int examNumber;
41  short int seriesNumber;
42  short int numberOfEchoes;
43  short int echoNumber;
44  short int imageNumber;
47  float sliceGap;
48  float TI;
49  float TE;
50  float TE2;
51  float TR;
52  short int flipAngle;
53  int NEX;
54  float xFOV;
55  float yFOV;
56  float centerR;
57  float centerA;
58  float centerS;
59  float normR;
60  float normA;
61  float normS;
62  float tlhcR;
63  float tlhcA;
64  float tlhcS;
65  float trhcR;
66  float trhcA;
67  float trhcS;
68  float brhcR;
69  float brhcA;
70  float brhcS;
71 
72  short int acqXsize;
73  short int acqYsize;
74  short int frequencyDir;
75  char scanner[16];
76  char pulseSequence[128]; //Needs to be at least 65 for seimens vision
77  char patientId[32];
78  char scanId[32];
79  char name[64];
80  char date[32];
81  short int imageXsize;
82  short int imageYsize;
83  float imageXres;
84  float imageYres;
85  //itk::IOCommon::ValidAnalyzeOrientationFlags imagePlane;
86  //itk::IOCommon::ValidOriginFlags origin;
88  short int numberOfSlices;
89  short int offset;
90  char filename[itk::IOCommon::ITK_MAXPATHLEN + 1];
91  char hospital[35];
92  char modality[4];
93  short int imagesPerSlice;
94  short int turboFactor; //This is only relevant for the geADW image format, but
95  // is put here for convenience
96 };
97 #endif
98