Spatial domain filtering

We will talk about the spatial domain in this chapter. Filtering in the spatial domain works on the image plane itself. Operations in this domain are based on direct manipulation of the pixels at their own location. In other words, operations take place on the pixels where we see on the screen.

Let's describe the spatial filters that we will discuss in this section of the chapter. Mainly, we will be talking about smoothing and sharpening. When we smooth an image, the operation tends to diminish corners, edges, and more importantly, noise spikes. Transitions on the image become smoother. The blurring operation is commonly applied to images to diminish the effect of noises on the image.

Sharpening has the opposite effect ...

Get Arduino Computer Vision Programming now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.