Image and Depth Map Buffer¶
The pixels of an image and of an depth map are stored contiguously into a buffer, from left to right and from top to bottom, in the Windows bitmap format (top-down DIB -device-independent bitmap-).
The buffer address is a pointer to the address that contains the top left pixel of the image.
Image buffer pitch
The alignment must be a multiple of 4 bytes.
The default pitch in eVision is 32 bytes for performance reasons.
Memory layout¶
Image format |
Layout |
Illustration |
|---|---|---|
Store 1 pixel in 1 byte |
|
|
Stores 1 pixel in 2 bytes |
|
|
Stores 1 pixel in 2 bytes (fixed point format) |
||
Stores 1 pixel in 3 bytes
|
|
|
Stores 1 pixel in 4 bytes.
|
|
|
Stores 1 pixel in 4 bytes (float format) |