IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
Im6ImageFileTypes.h
Go to the documentation of this file.
1 // Im6ImageFileTypes.h:
3 // ---------------------
4 //
14 
15 #ifndef __IPSDKIMAGEFILE_IM6IMAGEFILETYPES_H__
16 #define __IPSDKIMAGEFILE_IM6IMAGEFILETYPES_H__
17 
19 #include <IPSDKUtil/BaseTypes.h>
20 #include <boost/thread/thread.hpp>
21 
22 namespace ipsdk {
23 namespace image {
24 namespace file {
25 
28 
30 //typedef boost::shared_ptr<std::fstream> FStreamPtr;
31 
33 //typedef std::map<boost::thread::id, FStreamPtr> FStreamColl;
34 
36 typedef struct {
37  // Magic number
38  ipUInt32 _magic;
39 
40  // Size and origin:
51 
52  // Type and geometry
55 
56  // Arithmetic information
61 
62  // Length of sub-structures
72 
73  // Header and data sizes
77 } HeaderData;
78 
79 typedef struct {
80  ipUInt32 _c_mode;
81  ipReal64 _ima_size[6];
82  ipReal64 _real_size[6];
83  ipReal64 _ima_orig[2]; /* Image origin ox,oy */
84  ipReal64 _real_orig[2]; /* Real origin ox,oy */
85  ipReal64 _rxy[4]; /* Scale_x & scale_y & c_ratio*/
86  ipInt8 _c_unit[20]; /* Current unit */
87  ipInt8 _c_comments[2048];
88  ipInt8 _c_name[50]; /* Local Current calib name */
89  ipInt8 _cal_name[50]; /* Current calib name */
90 
91  // Intensity calibration
92  ipReal32 _classeDeb[256]; /* SF passage en float pour 6.6 */
93  ipReal32 _classeVal[256];
94  ipReal32 _classeType; /* 0 : isolé, 1 : plateau, 2, interpolation */
95  ipUInt32 _grayScaleSize; /* nombre de valeurs dans la lut intensité */
96  ipInt8 _grayScaleUnit[20]; /* unit */
97 
98  /* Calibration along Z */
99  ipReal32 _oz;
100  ipReal32 _deltaz;
102 
103 
106 
107 } // end of namespace file
108 } // end of namespace image
109 } // end of namespace ipsdk
110 
111 #endif // __IPSDKIMAGEFILE_IM6IMAGEFILETYPES_H__
ipUInt32 _version
Lut size.
Definition: Im6ImageFileTypes.h:69
ipUInt32 _aoilistsize
size of Non-pixel information
Definition: Im6ImageFileTypes.h:64
ipUInt32 _hdr_sys
Reserved.
Definition: Im6ImageFileTypes.h:74
ipUInt32 _gbits
Arithmetic type.
Definition: Im6ImageFileTypes.h:58
int8_t ipInt8
Base types definition.
Definition: BaseTypes.h:48
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
ipUInt32 _headersize
Image access rights.
Definition: Im6ImageFileTypes.h:63
ipUInt32 _gz
Rows per plane.
Definition: Im6ImageFileTypes.h:43
ipUInt32 _res2
version de visilog 6500
Definition: Im6ImageFileTypes.h:70
ipUInt32 _oc
Z-origin (plane)
Definition: Im6ImageFileTypes.h:49
double ipReal64
Base types definition.
Definition: BaseTypes.h:57
ipUInt32 _gy
Pixels per row.
Definition: Im6ImageFileTypes.h:42
ipUInt32 _access
Ordering flag.
Definition: Im6ImageFileTypes.h:60
ipUInt32 _gc
Number of Z planes.
Definition: Im6ImageFileTypes.h:44
ipUInt32 _ox
Number of sequences(time)
Definition: Im6ImageFileTypes.h:46
shared pointer to file stream
Definition: Im6ImageFileTypes.h:36
Base types for multiplatform compatibility.
ipUInt32 _gcode
The geometric organisation (see below)
Definition: Im6ImageFileTypes.h:57
ipUInt32 _gx
Magic number.
Definition: Im6ImageFileTypes.h:41
ipUInt32 _ot
color-origin (plane)
Definition: Im6ImageFileTypes.h:50
ipUInt32 _order
Number of bits per pixels (may be needed)
Definition: Im6ImageFileTypes.h:59
ipUInt32 _data3dsize
X,Y,Z scale factors.
Definition: Im6ImageFileTypes.h:67
ipUInt32 _gtype
Time-origin.
Definition: Im6ImageFileTypes.h:53
ipUInt32 _hdr_other
Main Descriptor size.
Definition: Im6ImageFileTypes.h:75
ipUInt32 _oy
X-origin (row)
Definition: Im6ImageFileTypes.h:47
ipUInt32 _grid
The image type (see below)
Definition: Im6ImageFileTypes.h:54
ipUInt32 _scalesize
size of the List of graphics annotations
Definition: Im6ImageFileTypes.h:66
ipUInt32 _oz
Y-origin (column)
Definition: Im6ImageFileTypes.h:48
Definition: Im6ImageFileTypes.h:79
ipUInt32 _lutsize
List of 3D data when necessary.
Definition: Im6ImageFileTypes.h:68
Predefined macros for enumerates management.
ipUInt32 _gt
Number of color planes.
Definition: Im6ImageFileTypes.h:45
ipUInt32 _hdr_data
Other fields size.
Definition: Im6ImageFileTypes.h:76
ipUInt32 _res3
Reserved.
Definition: Im6ImageFileTypes.h:71
ipUInt32 _graphicsize
size of the List of image AOI&#39;s
Definition: Im6ImageFileTypes.h:65
float ipReal32
Base types definition.
Definition: BaseTypes.h:56
uint32_t ipUInt32
Base types definition.
Definition: BaseTypes.h:53