22.8 EDGE DETECTION
An image (already filtered) can be checked to find a sharp edge between the foreground and background intensities.
Let's assume that the image below has been prefiltered into foreground (1) and background (0). An edge detection step is then performed.