In a system, such as in a digital copier, for classifying image data
derived from an original image, the image data is classified by type. An
algorithm is applied to the gray levels of pixels surrounding each pixel
of interest. The algorithm determines whether a local maximum or minimum
is part of an image of closely-spaced lines.