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