Image Representation

In this lesson, you will learn how images are represented in a computer system.

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

Answer this question before moving forward.

1.

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

Show Answer
Q1 / Q1
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 ...

A grayscale image
Access this course and 1400+ top-rated courses and projects.