ITK  4.13.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 #include "ITKIOIPLExport.h"
31 
32 #include "itkIOCommon.h"
33 
35  GE_AXIAL = 2,
38  };
39 
40 struct GEImageHeader {
41  short int examNumber;
42  short int seriesNumber;
43  short int numberOfEchoes;
44  short int echoNumber;
45  short int imageNumber;
48  float sliceGap;
49  float TI;
50  float TE;
51  float TE2;
52  float TR;
53  short int flipAngle;
54  int NEX;
55  float xFOV;
56  float yFOV;
57  float centerR;
58  float centerA;
59  float centerS;
60  float normR;
61  float normA;
62  float normS;
63  float tlhcR;
64  float tlhcA;
65  float tlhcS;
66  float trhcR;
67  float trhcA;
68  float trhcS;
69  float brhcR;
70  float brhcA;
71  float brhcS;
72 
73  short int acqXsize;
74  short int acqYsize;
75  short int frequencyDir;
76  char scanner[16];
77  char pulseSequence[128]; //Needs to be at least 65 for seimens vision
78  char patientId[32];
79  char scanId[32];
80  char name[64];
81  char date[32];
82  short int imageXsize;
83  short int imageYsize;
84  float imageXres;
85  float imageYres;
86  //itk::IOCommon::ValidAnalyzeOrientationFlags imagePlane;
87  //itk::IOCommon::ValidOriginFlags origin;
89  short int numberOfSlices;
90  short int offset;
91  char filename[itk::IOCommon::ITK_MAXPATHLEN + 1];
92  char hospital[35];
93  char modality[4];
94  short int imagesPerSlice;
95  short int turboFactor; //This is only relevant for the geADW image format, but
96  // is put here for convenience
97 };
98 #endif
char pulseSequence[128]
char filename[itk::IOCommon::ITK_MAXPATHLEN+1]
short int numberOfSlices
short int turboFactor
short int examNumber
short int imageNumber
short int frequencyDir
short int offset
short int imagesPerSlice
short int numberOfEchoes
GE_PANE_STRUCT
short int seriesNumber
short int acqXsize
short int imageXsize
short int echoNumber
short int imageYsize
short int flipAngle
itk::SpatialOrientation::ValidCoordinateOrientationFlags coordinateOrientation
short int acqYsize
char patientId[32]