vidaIO  5.1.2
analyzeDb.h
Go to the documentation of this file.
1 /* This software and supporting documentation are distributed by
2  * Institut Federatif de Recherche 49
3  * CEA/NeuroSpin, Batiment 145,
4  * 91191 Gif-sur-Yvette cedex
5  * France
6  *
7  * This software is governed by the CeCILL-B license under
8  * French law and abiding by the rules of distribution of free software.
9  * You can use, modify and/or redistribute the software under the
10  * terms of the CeCILL-B license as circulated by CEA, CNRS
11  * and INRIA at the following URL "http://www.cecill.info".
12  *
13  * As a counterpart to the access to the source code and rights to copy,
14  * modify and redistribute granted by the license, users are provided only
15  * with a limited warranty and the software's author, the holder of the
16  * economic rights, and the successive licensors have only limited
17  * liability.
18  *
19  * In this respect, the user's attention is drawn to the risks associated
20  * with loading, using, modifying and/or developing or reproducing the
21  * software by the user in light of its specific status of free software,
22  * that may mean that it is complicated to manipulate, and that also
23  * therefore means that it is reserved for developers and experienced
24  * professionals having in-depth computer knowledge. Users are therefore
25  * encouraged to load and test the software's suitability as regards their
26  * requirements in conditions enabling the security of their systems and/or
27  * data to be ensured and, more generally, to use and operate it in the
28  * same conditions as regards security.
29  *
30  * The fact that you are presently reading this means that you have had
31  * knowledge of the CeCILL-B license and that you accept its terms.
32  */
33 
34 
35 #ifndef VIDAIO_KERNEL_ANALYZEDB_H
36 #define VIDAIO_KERNEL_ANALYZEDB_H
37 
38 #ifdef __cplusplus
39  extern "C" {
40 #endif
41 
42 /* SCCS control */
43 #ifdef SCCS_CONTROL
44 static char SCCSIDH_analyze_db[] = "@(#)analyze_db.h 1.2\t7/30/90";
45 #endif
46 
47 struct HdrKey
48 {
49  int size;
50  char data_type[10];
51  char name[18];
52  int extents;
53  short int session_error;
54  char regular;
55  char hkey_un0;
56 };
57 
58 
60 {
61  short dim[16];
62  short bitpix;
63  short dim_un0;
64  float pixdim[16];
65  int glmax,glmin;
66 };
67 
68 
69 struct HdrHistory
70 {
71  char descrip[80];
72  char aux_file[24];
73  char orient;
74  char originator[10];
75  char generated[10];
76  char scannum[10];
77  char patient_id[10];
78  char exp_date[10];
79  char exp_time[10];
80  char hist_un0[3];
81  int views;
85  int omax,omin;
86  int smax,smin;
87 };
88 
89 
90 struct AnalyzeDb
91 {
92  struct HdrKey key;
93  struct ImageDimension img;
94  struct HdrHistory his;
95 };
96 
97 
98 #ifdef __cplusplus
99  }
100 #endif
101 
102 #endif
struct HdrHistory his
Definition: analyzeDb.h:94
struct HdrKey key
Definition: analyzeDb.h:92
struct ImageDimension img
Definition: analyzeDb.h:93
int vols_added
Definition: analyzeDb.h:82
char scannum[10]
Definition: analyzeDb.h:76
char descrip[80]
Definition: analyzeDb.h:71
char patient_id[10]
Definition: analyzeDb.h:77
int views
Definition: analyzeDb.h:81
int smin
Definition: analyzeDb.h:86
char originator[10]
Definition: analyzeDb.h:74
int field_skip
Definition: analyzeDb.h:84
char hist_un0[3]
Definition: analyzeDb.h:80
int omax
Definition: analyzeDb.h:85
int start_field
Definition: analyzeDb.h:83
char exp_time[10]
Definition: analyzeDb.h:79
int omin
Definition: analyzeDb.h:85
char orient
Definition: analyzeDb.h:73
char aux_file[24]
Definition: analyzeDb.h:72
char exp_date[10]
Definition: analyzeDb.h:78
int smax
Definition: analyzeDb.h:86
char generated[10]
Definition: analyzeDb.h:75
char hkey_un0
Definition: analyzeDb.h:55
char regular
Definition: analyzeDb.h:54
char name[18]
Definition: analyzeDb.h:51
char data_type[10]
Definition: analyzeDb.h:50
short int session_error
Definition: analyzeDb.h:53
int size
Definition: analyzeDb.h:49
int extents
Definition: analyzeDb.h:52
short dim_un0
Definition: analyzeDb.h:63
short dim[16]
Definition: analyzeDb.h:61
short bitpix
Definition: analyzeDb.h:62
float pixdim[16]
Definition: analyzeDb.h:64