Skip to content
Tactiverge

Perception and intelligence · also Computer engineering

Images as arrays of numbers

To a computer, a digital image is a grid of numbers. Each element of the grid is a pixel. A greyscale image stores one brightness value per pixel, often from 0 for black to 255 for white, while a colour image usually stores three channels, red, green and blue. Resolution is the number of pixels across and down. Because an image is just an array, vision algorithms are ordinary calculations over that array, and doubling the resolution in both directions means four times as many pixels to process.

Why it mattersA robot's camera delivers a fresh array of pixel values many times a second, and everything it sees must be computed from those numbers.

Learn it

  1. 1Images as arrays of numbersComputational Engineering · Introduction to computer vision