Gathering data

When the human eye sees any image, it perceives it as signals, which then fall on the visual cortex of the brain through the eyes. The visual cortex then processes these signals, which results in the experience of the scene. These scenes are then compared with the concepts and objects stored in one's memory and interpreted accordingly. Similarly, when an image in digital form is fed to the computer, it perceives the image as either a raster or vector image.

Raster images (graphics) are bitmaps. A bitmap is a grid of individual pixels that together make up an image. Each pixel in a bitmap is coded with specific shades of a color. Raster graphics are used for nonlinear art images such as digital photographs and scanned images. ...

Get Internet of Things with Raspberry Pi 3 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.