Main Page
Groups
Namespace List
Class Hierarchy
Alphabetical List
Compound List
File
List
Namespace Members
Compound Members
File Members
Concepts
itkAnalyzeDbh.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00031 #ifndef __dbh_h__
00032 #define __dbh_h__
00033
00034 namespace itk
00035 {
00040 enum DataTypeKeyValues {
00041 ANALYZE_DT_UNKNOWN =0,
00042 ANALYZE_DT_BINARY =1,
00043 ANALYZE_DT_UNSIGNED_CHAR=2,
00044 ANALYZE_DT_SIGNED_SHORT =4,
00045 ANALYZE_DT_SIGNED_INT =8,
00046 ANALYZE_DT_FLOAT =16,
00047 ANALYZE_DT_COMPLEX =32,
00048 ANALYZE_DT_DOUBLE =64,
00049 ANALYZE_DT_RGB =128,
00050 ANALYZE_DT_ALL =255,
00051
00052
00053 SPMANALYZE_DT_UNSIGNED_SHORT=132,
00054 SPMANALYZE_DT_UNSIGNED_INT =136
00055 };
00056
00061 enum DataTypeIndex {
00062 ANALYZE_DT_INDEX_UNKNOWN =0,
00063 ANALYZE_DT_INDEX_BINARY =1,
00064 ANALYZE_DT_INDEX_UNSIGNED_CHAR =2,
00065 ANALYZE_DT_INDEX_SIGNED_SHORT =3,
00066 ANALYZE_DT_INDEX_SIGNED_INT =4,
00067 ANALYZE_DT_INDEX_FLOAT =5,
00068 ANALYZE_DT_INDEX_COMPLEX =6,
00069 ANALYZE_DT_INDEX_DOUBLE =7,
00070 ANALYZE_DT_INDEX_RGB =8,
00071 ANALYZE_DT_INDEX_ALL =9,
00072
00073
00074 SPMANALYZE_DT_INDEX_UNSIGNED_SHORT =10,
00075 SPMANALYZE_DT_INDEX_UNSIGNED_INT =11
00076 };
00077
00078
00098 extern const char DataTypes[12][10];
00099
00119 extern const short int DataTypeSizes[12];
00120
00140 extern const short int DataTypeKey[12];
00141
00148 struct header_key
00149 {
00150 int sizeof_hdr;
00155 char data_type[10];
00158 char db_name[18];
00160 int extents;
00163 short int session_error;
00165 char regular;
00166 char hkey_un0;
00167 };
00176 struct image_dimension
00177 {
00178 short int dim[8];
00187 char vox_units[4];
00189 char cal_units[8];
00191 short int unused1;
00192 short int datatype;
00196 short int bitpix;
00198 short int dim_un0;
00199 float pixdim[8];
00210 float vox_offset;
00213 float roi_scale;
00218 float funused1;
00219 float funused2;
00220 float cal_max;
00224 float cal_min;
00225 int compressed;
00236 int verified;
00237 int glmax;
00247 int glmin;
00248 };
00249
00264 struct data_history
00265 {
00266 char descrip[80];
00267 char aux_file[24];
00270 char orient;
00313 char originator[10];
00314 char generated[10];
00315 char scannum[10];
00316 char patient_id[10];
00317 char exp_date[10];
00318 char exp_time[10];
00319 char hist_un0[3];
00320 int views;
00321 int vols_added;
00322 int start_field;
00323 int field_skip;
00324 int omax;
00328 int omin;
00329 int smax;
00330 int smin;
00331 };
00332
00347 struct dsr
00348 {
00349 struct header_key hk;
00350 struct image_dimension dime;
00351 struct data_history hist;
00352 };
00353 }
00354 #endif
Generated at Sun Apr 1 02:24:03 2007 for ITK by
1.3.8 written by Dimitri van Heesch,
© 1997-2000