Lesson
Lesson
By
Dr. Fadwa Al Azzo
[email protected]
Graphics/Image Data Types
Bitmap: The two-dimensional array of pixel values that represents the graphics/image data.
Image resolution: refers to the number of pixels in a digital image (higher resolution always yields better
quality).
Fairly high resolution for such an image might be 1600 x 1200 (1.92M), whereas lower resolution might be
640 x 480 (0.3M).
Gray-level resolution
is a term that refers to the number of
shades of gray utilized in preparing the
image for display.
The most common data types for graphics and image file formats- 24-bit color
and 8-bit color.
• This format supports 256x256x256 possible combined colors, or a total of 16,777,216 possible colors.
• Storage penalty: 24-bit color image would require 921.6 kB of storage without any compression
(640x480).
An important point: many 24-bit color images are actually stored as 32-bit images, with the extra byte of data
for each pixel used to store an alpha value representing special effect information (e.g., transparency).
• RGBA stands for red green blue alpha. While it is sometimes described as a color space, it is actually the three-
channel RGB color model supplemented with a 4th alpha channel.
Color Depth
The number of bits used to hold a screen pixel.
Also called "pixel depth" and "bit depth,"
For example, 8-bit color and 24-bit color often mean the same
thing (see table).
Likewise, 10-bit color subpixels and 30-bit color pixels are the
same.
Higher Bit-depth Images
More information about the scene being imaged can be gained by using more accuracy for
pixel depth (64 bits, say); or by using special cameras that view more than just three colors
(i.e., RGB).
• Could use invisible light (e.g., infra-red, ultraviolet) for security cameras: “dark flash”
Multispectral
• Use higher-dimensional medical images of skin (> 3-D) to diagnose skin carcinoma
• In satellite imaging, use high-D to obtain types of crop growth Hyperspectral
Color lookup tables (CLUTs) are found in graphics cards (display adapters)
in order to translate the colors in an image to the colors in the hardware.
Look up the table to find the color (RGB) for the index
If a pixel stores the value 25, the meaning is to go to row 25 in a Color Lookup Table (CLUT) .
Indexed Color