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.

      ../_images/imagebuffer.webp

Memory layout

Image format

Layout

Illustration

EImageBW8 .NET Python, EDepthMap8 .NET Python

Store 1 pixel in 1 byte

../_images/memorylayoutbw8.webp

EImageBW16 .NET Python

Stores 1 pixel in 2 bytes

../_images/memorylayoutbw16.webp

EDepthMap16 .NET Python

Stores 1 pixel in 2 bytes (fixed point format)

EImageC24 .NET Python

Stores 1 pixel in 3 bytes

  • Each color component is coded with 8 bits

../_images/memorylayoutc24.webp

EImageC24A .NET Python

Stores 1 pixel in 4 bytes.

  • Each color component is coded with 8 bits

  • The alpha channel is coded with 8 bits

../_images/memorylayoutc24a.webp

EDepthMap32f .NET Python

Stores 1 pixel in 4 bytes (float format)