摘要 |
The present invention is to provide a text enhancement methodology of gray-scale levels of a scanned image so as to enhance text legibility. The text enhancement methodology includes the following steps of: utilizing a window block pattern as a fumdamental processing unit to read the scanned image, wherein the window block pattern comprises at least two pixels in a predetermined neighborhood; analyzing the scanned image in the window block pattern to find right, left, upper, and bottom edges; labeling the image in the window block pattern as two groups of text pixels and non-text pixels based on the window block pattern and the right, left, upper, and bottom edges; and enhancing the text pixels/non-text pixels of scanned image in the window block pattern based on the window block pattern and the right, left, upper, and bottom edges. |