Patent ID: 8121403

Claim:
A method for glyph detection in a digital image, said method comprising: determining a pixel of interest in a digital image, wherein said pixel of interest is part of a first scan line with an associated first scan direction in said digital image; receiving a first background color estimate for said pixel of interest; receiving a pixel-of-interest color value for said pixel of interest; receiving a color value for each pixel in a first plurality of pixels in a region proximate to said pixel of interest, thereby producing a first plurality of color values; calculating a first color difference between said pixel-of-interest color value and said first background color estimate; calculating a color difference between said first background color estimate and each color value in said first plurality of color values, thereby producing a first plurality of color differences; determining a dynamic threshold based on said first plurality of color differences; comparing said dynamic threshold with said first color difference; labeling said pixel of interest as a glyph pixel when said comparing meets a first condition; and labeling said pixel of interest as a non-glyph pixel when said comparing meets a second condition.