Edge detection
Idea: an edge is a sharp change in the image. To find edges means to mark with, say, 255, all pixels which are on an edge. For a continuous image, the places where the intensity changes rapidly, the magnitude of the derivative in some direction is large.
Directional derivatives can be approximated by differences:
Differences can be computed using filtering.