The following specifies the header of the Aivru Image File format.
Field Values Meaning. no name 1 magic unsigned short byte reversal code. 2 header_length short length of header (bytes) 3 image_type short unsigned char etc. 4 height short image height (pixels) 5 width short image width (pixels) 6 lx short low x of ROI 7 ly short low y of ROI 8 ux short upper x of ROI 9 uy short upper y of ROI 10 source_id short id. of camera (if any) 11 process_id short processing performed 12 date char dd/mm/yy (if any) 13 time char hh:mm:ss (if any) 14 title char image title (if any)
This header has been derived according to requirements of over a decade of machine vision research. In contrast to standard file formats such as GIF it supports a wide variety of image types and arbitrary image co-ordinates, including image regions.
0 char 1 unsigned char 2 short 3 unsigned short 4 int 5 unsigned int 6 float 7 double 8 complex 9 ptr 10 vram0 11 vram1 12 vram2 13 vram3
The ptr filed is included only for completess and will not actually store the associated data. In order to write more complex Tina image data structures to disc the serialisation mechanism is recommended.