Internal Representation of a Vision Image
- Updated2025-11-25
- 1 minute(s) read
Internal Representation of a Vision Image
The following figure illustrates how a Vision image is represented in system memory. In addition to the image pixels, the stored image includes additional rows and columns of pixels called the image border and the left and right alignments. Specific processing functions involving pixel neighborhood operations use image borders. The alignment regions ensure that the first pixel of the image is 64-byte aligned in memory. The size of the alignment blocks depend on the image width and border size. Aligning the image increases processing speed by as much as 30%.
The line width is the total number of pixels in a horizontal line of an image, which includes the sum of the horizontal resolution, the image borders, and the left and right alignments. The horizontal resolution and line width may be the same length if the horizontal resolution is a multiple of 32 bytes and the border size is 0.
- Image
- Image Border
- Vertical Resolution
- Left Alignment
- Horizontal Resolution
- Right Alignment
- Line Width