1. A method of enhancing an image comprising the steps of: converting the image to a two-dimensional array; converting said image to grayscale; selecting a row of pixels from said image for processing; computing the mean intensity of said pixels in said row; dividing said image into sections; computing the mean intensity the pixels of each section; processing the pixels in each of said sections according to a first method if said mean intensity of said section is greater than said mean intensity of said row; processing the pixels in each of said sections according to a second method if said mean intensity of said section is less than said mean intensity of said row; and disregarding the pixels in sections where said mean intensity of said section is equal to said mean intensity of said row.