The restore_nano_data_demo reads “.gevbuf” files and restores individual images or sequences. Information for each frame in a sequence is displayed. The program unpacks packed images and decodes TurboDrive encoded frames. Bayer decoding can also be enabled (to convert to color).

The program lists the available files present in the directory where it is executed. 

Image saving can be enabled to store image / sequences as TIFF files (mono/RGB based on Bayer decoding setting when they are read). Each frame in a sequence is saved as a separate TIFF file. To read a file, use the “R” command, followed by the file index (to exit this command, use -1).

The example reads metadata written using the Genie Nano layout; if the frame contains metadata, it is displayed in the console (if no metadata is present, 0x00000000 is returned).

Related Topics

Archive Data Examples