
499Processing Binary Images
simplified by reducing the cell walls to single lines. Leveling the background brightness of the
original image and then thresholding leaves boundary lines of variable width. Skeletonizing
them produces a network of lines that delineate the basic cell arrangement. The distance of
each cell from the nearest stoma can then be measured using EDM values determined on an
image in which the stomata are background and all other pixels are foreground. Assigning
these values to the pixels within the cells allows choosing the minimum or mean value of the
EDM within each cell, and statistically correlating the resulting dista ...