A technique for enhancing a gray-scale image to improve conversions of the
image to binary employs fuzzy reasoning. In the technique, pixels in the
image are analyzed by comparing the pixel's gray scale value, which is
indicative of its relative brightness, to the values of pixels
immediately surrounding the selected pixel. The degree to which each
pixel in the image differs in value from the values of surrounding pixels
is employed as the variable in a fuzzy reasoning-based analysis that
determines an appropriate amount by which the selected pixel's value
should be adjusted to reduce vagueness and ambiguity in the image and
improve retention of information during binarization of the enhanced
gray-scale image.