tests indicate that it is not composed of a single class of pixels, the image is split,
usually into four parts (from which the name “quadtree” is also taken to apply to
this method). The same uniformity test is repeated on each part, so that any regions
that are not homogeneous are ultimately split down to the individual pixels. At the
same time, after each iteration of splitting, regions are compared to their neighbors
and joined (merged) if the same statistical test indicates similarity. The method is
reasonably efficient, but depends critically on the ability to detect the presence of
inhomogeneity within a region from the histogram. If the inhomogeneity represents
only a small fraction of the area, it is unlikely to be detected.
Another approach that is complementary to traditional thresholding draws con-
tour or iso-brightness lines on the image. Instead of using the logic that a peak in
the histogram indicates the similarity of the pixels represented, this method examines
the valleys in the histogram as indicators of boundaries between regions. Contour
lines have several advantages for separating the structures in an image. For one
thing, they are continuous lines that close on themselves (or run off the edge of the
image). For another, it is not necessary for a pixel to have any particular value to
locate the contour line. It follows a path between values that are greater and ones that
are smaller than a given threshold value. Finally, the contour lines very often correspond
to the visually detected boundaries in images, even for rather complex structures.
Figure 3.64 shows a simple contour line applied to a scanned-probe image of a
coin. In this case, the brightness of each pixel represents a physical elevation.
Consequently, the contour line really is a line of constant elevation and as such can
mark the boundaries of the raised figure on the surface.
It is easy to extend this method to draw multiple contour lines, converting the
image to a contour map in which the lines have exactly the same meaning as on a
conventional topographic map. In the example of Figure 3.65, a set of ten lines
equally spaced in brightness or elevation are drawn using a scanned probe image of
the tip of a ball point pen. The irregularities of the lines show clearly the roughness
of the ball, their spacing can be used to measure its curvature, and the elongation
of the circles into ellipses measures the out-of-roundness of the ball. All of this same
information is, of course, present in the original image, but it is much more visible
and more easily accessed for measurement purposes in the contour map.
One of the most useful attributes of the contour method is the outlining of
boundaries around features, which facilitates measurements of structure or features.
In Figure 3.66 a typical image of bread shows a variety of pore sizes and shapes.
Drawing a single contour line on this image produces an outline of the pores. The
same logic for determining the optimum threshold setting was used as for binary
thresholding (in this example the Shannon algorithm). As discussed in Chapter 1,
the resulting lines provide a direct measure of the total surface area of the pores (the
surface area per unit volume of the bread, which is a major factor in the mouth-feel
and texture of the bread, is equal to 4/π times the total length of the contour lines
divided by the area of the image).
2241_C03.fm Page 201 Thursday, April 28, 2005 10:28 AM
Copyright © 2005 CRC Press LLC