1 #ifndef _SIEMENS_VISION_HEADER_
2 #define _SIEMENS_VISION_HEADER_
3 
4 typedef unsigned int u_int ;
5 #define SIEMENS_HEADERSIZE 6144
6 
7 struct Siemens_vision_header {
8        u_int      SiemensStudyDateYYYY;
9        u_int      SiemensStudyDateMM ;
10        u_int      SiemensStudyDateDD ;
11        u_int      AcquisitionDateYYYY ;
12        u_int      AcquisitionDateMM ;
13        u_int      AcquisitionDateDD ;
14        u_int      ImageDateYYYY ;
15        u_int      ImageDateMM ;
16        u_int      ImageDateDD ;
17        u_int      SiemensStudyTimeHH ;
18        u_int      SiemensStudyTimeMM ;
19        u_int      SiemensStudyTimeSS;
20   u_int i1;
21        u_int      AcquisitionTimeHH ;
22        u_int      AcquisitionTimeMM ;
23        u_int      AcquisitionTimeSS ;
24   u_int i2;
25        u_int      ImageTimeHH ;
26        u_int      ImageTimeMM ;
27        u_int      ImageTimeSS ;
28   char d1[16];
29        char    Manufacturer[7];
30   char d2[2];
31        char InstitutionName[25] ;
32   char d3[638];
33        char PatientName[27];
34        char PatientID[12];
35   char d5[737];
36       double     SliceThickness ;
37   double x1;
38       double     RepetitionTime;
39       double     EchoTime;
40   double x2,x3;
41       double     FrequencyMHz;
42   char d6[167];
43       char ReceivingCoil[16];     /* offset 1767 */
44 
45 #if 1                             /* RWCox */
46   char d7a[1081];
47       u_int DisplayMatrixSize ;   /* offset 2864 */
48   char d7b[76] ;
49 #else
50   char d7[1161];
51 #endif
52       char SequencePrgName[65];   /* offset 2944 */
53       char SequenceWkcName[65];
54       char SequenceAuthor[9];
55       char SequenceType[8];
56   char d4[653];
57       double     FOVRow ;
58       double     FOVColumn ;
59   double x4;
60       double     CenterPointX ;
61       double     CenterPointY ;
62       double     CenterPointZ ;
63       double     NormalVectorX ;
64       double     NormalVectorY ;
65       double     NormalVectorZ ;
66       double     DistanceFromIsocenter ;
67   double x5;
68       double     RowVectorX ;
69       double     RowVectorY ;
70       double     RowVectorZ ;
71       double     ColumnVectorX ;
72       double     ColumnVectorY ;
73       double     ColumnVectorZ ;
74       char OrientationSet1Top[4];
75       char OrientationSet1Left[4];
76       char OrientationSet1Back[4];
77       char OrientationSet2Down[4];
78       char OrientationSet2Right[4];
79       char OrientationSet2Front[4];
80       char SequenceName[32];
81   char d8[1064];
82       double     PixelSizeRow ;
83       double     PixelSizeColumn ;
84   char d9[530];
85       char TextImageNumber[4];
86   char d10[9];
87       char TextDate[12];
88       char TextTime[5];
89   char d11[230];
90       char   TextSlicePosition[8];
91 
92 } ;
93 #endif
94