Text enhancement using a binary image generated with a grid-based grayscale-conversion filter
Abstract:
Certain embodiments involve a model for enhancing text in electronic content. For example, a system obtains electronic content comprising input text and converts the electronic content into a grayscale image. The system also converts the grayscale image into a binary image using a grid-based grayscale-conversion filter, which can include: generating a grid of pixels on the grayscale image; determining a plurality of grid-pixel threshold values at intersection points in the grid of pixels; determining a plurality of estimated pixel threshold values based on the plurality of grid-pixel threshold values; and converting the grayscale image into the binary image using the plurality of grid-pixel threshold values and the plurality of estimated pixel threshold values. The system also generates an interpolated image based on the electronic content and the binary image. The interpolated image includes output text that is darker than the input text. The system can then output the interpolated image.
Information query
Patent Agency Ranking
0/0