How To Use Decompression Library - IAI GOX-5105M-PGE User Manual

Cmos digital progressive scan monochrome and color camera with gige interface
Table of Contents

Advertisement

GOX-5105MC-PGE | GOX-8105MC-PGE | GOX-12405MC-PGE | GOX-16205MC-PGE | GOX-20405MC-PGE | GOX-24505MC-PGE
How to Use Decompression Library
Below is a brief description of how to use the Decompression Library.
CompressedBufferBpp8
This class performs the decompression of 8-bit compressed images on a frame-by-frame basis.
(Classes for 10-bit and 12-bit images are not implemented.)
Create an Instance
/// <summary>
/// Class for decompression of 8-bit compressed images
/// </summary>
/// <param name="src_buffer">Compressed image data</param>
/// <param name="width"></param>
/// <param name="height"></param>
CompressedBufferBpp8(const uint8_t* src_buffer, uint16_t width, const uint16_t
height);
Set src_buffer to a pointer to a RAW image retrieved from the camera. Even if an uncompressed
image is specified, there is no functional problem, but data copying will occur.
Notes:
src_buffer: Pointer to the buffer that stores frame data received from the camera.
l
width: Width of image before compression
l
height: Height of image before compression
l
Perform a Decompression
/// <summary>
/// Perform a decompression
/// </summary>
/// <param name="dest_buffer">decompression address</param>
void DoDecompress(uint8_t* dest_buffer);
User Manual (Ver. Preliminary) - Main Functions
- 65 -

Advertisement

Table of Contents
loading

Table of Contents