Patent Document ID: 8644602
Application ID: 12726665
Patent Status: 1

Claim One:
1. A method of correcting colours of text extracted from a document image, said document image comprising text and image regions of various colours, the method comprising: (a) dividing the document image into a plurality of connected components, the connected components comprising pixels of similar colour that are closely spatially located, and selecting from said image a plurality of the connected components that represent text; (b) grouping said plurality of text connected components to form a text block representing a text line or paragraph; (c) forming colour sets in said text block based on the colours of said text connected components; (d) determining a single colour set for said text block based on colour similarity of the formed colour sets in said text block and of corresponding enclosing background colours; and (e) correcting the colour of said text block using the determined single colour set.