
459Processing Binary Images
image, can be processed to generate a broad band of selected width. Using the dilated line or
region as a marker to select touching features identifies those features that, regardless of size
or shape, come within that distance of the original line or boundary. Repeating this operation
with different dilation distances provides a way to classify or count features as a function of
distance from irregular boundaries.
Figure8.32 shows an example. The red line and blue features may be understood to represent
a grain boundary and particulates, or road network and buildings, because the method can
be applied at any scale. ...