Patent ID: 6771816
Filing Date: 2004-08-03
Classification: G06K,G06T

Abstract:
A method of processing an image including a non-coded lexical unit and a coded lexical unit, the non-coded lexical unit representing a unit of unrecognized text, the coded lexical unit representing a unit of recognized text, the method comprising:generating a text mask having pixels distinguishing between a plurality of text pixels and a plurality of local background pixels associated with the non-coded lexical unit in the image; generating a global background on which the non-coded lexical unit and the coded lexical unit is to be displayed, wherein one or more of the plurality of local background pixels associated with the non-coded lexical unit has a color mismatch relative to the global background; rendering the coded lexical unit on the global background according to a character code representing the coded lexical unit, the coded lexical unit having a pre-determined foreground color; and using the text mask to represent the non-coded lexical unit on the global background without displaying the one or more of the plurality of local background pixels associated with the non-coded lexical unit that has a color mismatch relative to the global background, including masking off the pixels of the text mask corresponding to the plurality of local background pixels and painting a text character through the pixels of the text mask corresponding to the plurality of text pixels, the text character being painted on the global background with the pre-determined foreground color.