Filters and Edges

The boundary of an object often appears as a change in brightness. Small image filters compare nearby pixels so we can measure those changes instead of treating each pixel in isolation.

14 sections · 15 questions · 4 coding challenges

1 / 14

How Could We Find a Boundary Among All Those Pixels?

BOTIE

A camera gives us brightness measurements, while many vision tasks need shapes and boundaries. A bright pixel alone does not identify either. A sudden change between neighbouring regions is more useful evidence, although noise can also produce abrupt changes.

Edge detection developed around the problem of turning images into useful structural evidence. Canny's 1986 work made the competing goals explicit: detect real edges, locate them accurately, and avoid multiple responses to the same edge. It showed why smoothing and precise localisation have to be considered together.

A local filter combines neighbouring pixels according to a chosen set of weights. Averaging can suppress small fluctuations; difference filters reveal changes in brightness and their directions. We will begin with those components before considering a complete detector. An edge response marks an image change, which may come from a shadow or texture as well as an object's boundary.

Sources for this history