Luminosity Pixel Formats

This topic provides detailed information about the supported luminosity pixel formats. These formats are used to represent grayscale images.

EUidPixelFormatL_1

This format has 1 bit per pixel. It is implicit in the code that pixel addresses within a byte increase from low bit to high bit. A little-endian architecture is also implicit, because conversions are made from pointers to byte and from pointers to (unsigned) int and there is an implication that pixel addresses within a 32-bit word also increase from low to high-order bit.

Figure 1. Pixel address layout in memory for the EUidPixelFormatL_2 format

The equivalent UID value is {0x102858EF}.

EUidPixelFormatL_2

This format has 2 bits per pixel. It is implicit in the code that pixel addresses within a byte increase from low bit to high bit. A little-endian architecture is also implicit, because conversions are made from pointers to byte and from pointers to (unsigned) int and there is an implication that pixel addresses within a 32-bit word also increase from low to high-order bit.

Figure 2. Pixel address layout in memory for the EUidPixelFormatL_2 format

The equivalent UID value is {0x102858EE}.

EUidPixelFormatL_4

This format has 4 bit per pixel. It is implicit in the code that pixel addresses within a byte increase from low bit to high bit. A little-endian architecture is also implicit, because conversions are made from pointers to byte and from pointers to (unsigned) int and there is an implication that pixel addresses within a 32-bit word also increase from low to high-order bit.

Figure 3. Pixel address layout in memory for the EUidPixelFormatL_4 format

The equivalent UID value is {0x102858ED}.

EUidPixelFormatL_8

This format has 8 bit per pixel. A little-endian architecture is implicit in the code, because conversions are made from pointers to byte and pointers to (unsigned) integer and there is an implication that the lower-order byte of an unsigned integer has the physically lower address.

8-bit per pixel color bitmaps use indexed look up tables and monochrome bitmaps represent the 256 levels of gray directly.

Figure 4. Pixel address layout in memory for the EUidPixelFormatL_8 format

The equivalent UID value is {0x102858EC}.