Patent Document ID: 8824799
Application ID: 14050966

Base Claim:
1. A method of encoding an image comprising: analyzing, by a computer having one or more processors, colors and spatial features of pixels of the image to identify a text region of the image that is separate from a picture region of the image; generating, by the computer, for a portion of the text region, a mask dividing the portion into background pixels and a plurality of text pixels, wherein the background pixels are identified as pixels with a constant color, the plurality of text pixels are identified as pixels contrasting the constant color, and the plurality of text pixels comprise a plurality of colors; analyzing chrominance values of the plurality of colors to determine a text chrominance; generating, for each text pixel of the plurality of text pixels, a text pixel value to generate a plurality of text pixel values, wherein each text pixel value is based on a luminance of a text pixel for which it was generated; and transmitting an encoding of the portion comprising an encoding of each of the constant color, the mask, the text chrominance and the plurality of text pixel values.

---

Claim 4:
4. The method of claim 1 , further comprising modifying the mask to identify at least one of (i) one of the pixels having the constant color as one of the text pixels of the plurality of text pixels, or (ii) one of the pixels contrasting the constant color as one of the background pixels, wherein modifying the mask reduces a size of the encoding of the mask over an absence of modifying the mask.