COLOUR CORRECTING FOREGROUND COLOURS FOR VISUAL QUALITY IMPROVEMENT
First Claim
1. A method of modifying colours of text extracted from an image of a document page to improve visual quality, 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 logical structure grouping of said page comprising one or more text blocks wherein each said text block represents a text line or paragraph;
(c) forming one or more logically consistent colour sets for each said text block based on the colours of said connected components in said text block, wherein said logically consistent colour sets represent all text of visually similar colour of the corresponding text line or paragraph; and
(d) applying colour enhancement to said logically consistent colour sets to enhance visual quality and correct image defects in the document image.
1 Assignment
0 Petitions
Accused Products
Abstract
A method (199) is disclosed for modifying colours of text extracted from an image of a document page to improve visual quality. The document image comprises text and image regions of various colours. The method divides (100) the document image into a plurality of connected components, the connected components comprising pixels of similar colour that are closely spatially located, and selects from the image a plurality of the connected components that represent text. The plurality of text connected components are grouped to form a logical structure grouping of said page comprising one or more text blocks wherein each said text block represents a text line or paragraph. One or more logically consistent colour sets are then formed (120, 699, 399, 499) for each text block based on the colours of the connected components in the text block. The logically consistent colour sets represent all text of visually similar colour of the corresponding text line or paragraph. The method then applies colour enhancement (130) to the logically consistent colour sets to enhance visual quality and correct image defects in the document image.
-
Citations
19 Claims
-
1. A method of modifying colours of text extracted from an image of a document page to improve visual quality, 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 logical structure grouping of said page comprising one or more text blocks wherein each said text block represents a text line or paragraph; (c) forming one or more logically consistent colour sets for each said text block based on the colours of said connected components in said text block, wherein said logically consistent colour sets represent all text of visually similar colour of the corresponding text line or paragraph; and (d) applying colour enhancement to said logically consistent colour sets to enhance visual quality and correct image defects in the document image. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14)
-
-
15. A computer readable storage medium having a computer program recorded thereon, the program being executable by computer apparatus to modifying colours of text extracted from an image of a document page to improve visual quality, said document image comprising text and image regions of various colours, the program comprising:
-
code for 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; code for grouping said plurality of text connected components to form a logical structure grouping of said page comprising one or more text blocks wherein each said text block represents a text line or paragraph; code for forming one or more logically consistent colour sets for each said text block based on the colours of said connected components in said text block, wherein said logically consistent colour sets represent all text of visually similar colour of the corresponding text line or paragraph; and code for applying colour enhancement to said logically consistent colour sets to enhance visual quality and correct image defects in the document image.
-
-
16. Computer apparatus comprising a processor, a memory, an input for a document image and an output for a modified document images, said memory having a computer program recorded therein, the program being executable by the processor to modify colours of text extracted from the document image, said document image comprising text and image regions of various colours, the program comprising:
-
code for 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; code for grouping said plurality of text connected components to form a logical structure grouping of said page comprising one or more text blocks wherein each said text block represents a text line or paragraph; code for forming one or more logically consistent colour sets for each said text block based on the colours of said connected components in said text block, wherein said logically consistent colour sets represent all text of visually similar colour of the corresponding text line or paragraph; and code for applying colour enhancement to said logically consistent colour sets to enhance visual quality and correct image defects in the document image to form the modified document image.
-
-
17. A method of modifying colours of text extracted from a document image of a page, the method comprising;
-
(a) generating a first text connected component and a second text connected component from the document image, said first and second text connected components being a different colour and each having a different enclosing background colour; (b) determining an output colour based on the colours of the first and second text connected components, the determined output colour being based on a comparison between a colour of at least one text connected component and a threshold, wherein the threshold or colour of the at least one text connected component is adjusted according to the colour of the enclosing background; (c) setting the colour for the first and second text connected components according to the determined output colour. - View Dependent Claims (18, 19)
-
Specification