Search⌘ K

Image Representation

Explore different types of digital image representation including black and white, grayscale, and RGB colored images. Understand how pixels and bits work together to define image data in computer memory and learn to calculate storage requirements for images.

Types of images

The following are the common types of images used in digital computers.

A black and white image

These images require representation of just two colors per pixel. Each pixel with the value 0 represents the color black, while each pixel with the value 1 represents the color white. The total number of pixels in an image can be found by multiplying the number of horizontal pixels with the number of vertical pixels.

A 6 x 6 pixels black and white image with its binary representation
1.

What is the total number of pixels in the above figure?

Show Answer
Did you find this helpful?

A grayscale image

A grayscale image is one in which the value of each pixel is a single sample representing only an amount of light. In other words, it carries only intensity information. Each pixel in a grayscale image typically contains a number between 0 and 255. Therefore, each pixel requires 8 bits at most ...

A grayscale image