System and method for enhancing document images
First Claim
1. A method of enhancing a digital image comprising:
- receiving an input digital image having a non-uniform illumination characteristic, said input digital image including at least one feature;
detecting edges of said feature of said input digital image;
generating an estimated illumination surface of said input digital image based on selected pixel luminance values of edge pixels associated with said feature of said input digital image, including collecting statistical values of said edge pixels for each predefined section of said input digital image, said statistical values including a value selected from the group consisting of;
the number of said edge pixels, the maximum luminance value for said edge pixels, the sum of luminance values of said edge pixels, and the sum of squared luminance values of said edge pixels; and
selectively adjusting pixel values of said input digital image using said estimated illumination surface to modify said non-uniform illumination characteristic of said input digital image.
2 Assignments
0 Petitions
Accused Products
Abstract
A system and method for enhancing digital images containing both text and pictorial content (“mixed document images”) utilizes an estimated illumination surface for a given digital image to correct the undesirable effect of non-uniform illumination. The estimated illumination surface is based on the luminance values of the edge pixels of the given image that are on the dark side of text edges. In an alternative embodiment, the luminance values of the edge pixels that are on the lighter side of the detected text edges are used to generate the estimated illumination surface. The estimated illumination surface is applied to the digital image to compensate for illumination variations in the image due to non-uniform illumination. In addition to non-uniform illumination correction, the system and method enhances the mixed document images by sharpening and/or darkening edges of text contained in the images.
-
Citations
23 Claims
-
1. A method of enhancing a digital image comprising:
-
receiving an input digital image having a non-uniform illumination characteristic, said input digital image including at least one feature;
detecting edges of said feature of said input digital image;
generating an estimated illumination surface of said input digital image based on selected pixel luminance values of edge pixels associated with said feature of said input digital image, including collecting statistical values of said edge pixels for each predefined section of said input digital image, said statistical values including a value selected from the group consisting of;
the number of said edge pixels, the maximum luminance value for said edge pixels, the sum of luminance values of said edge pixels, and the sum of squared luminance values of said edge pixels; and
selectively adjusting pixel values of said input digital image using said estimated illumination surface to modify said non-uniform illumination characteristic of said input digital image. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 11, 12)
-
4. The method of claim 1 wherein said step of selectively adjusting said pixel values of said input digital image includes modifying said pixel values of said input digital image by factoring in said estimated illumination surface to said pixel values.
-
5. The method of claim 4 wherein said step of modifying said pixel values of said input digital image includes controlling the contrast or the gamma.
-
6. The method of claim 1 wherein said edge pixels are on the lighter side of said edges of said feature.
-
7. The method of claim 1 wherein said step of selectively adjusting said pixel values of said input digital image includes modifying color component values of said input digital image by factoring in said estimated illumination surface to said color component values.
-
8. The method of claim 1 wherein said step of generating said estimated illumination surface includes applying a parametric surface fitting technique to generate said estimated illumination surface.
-
9. The method of claim 1 further comprising a step of enhancing said feature of said input digital image by sharpening or darkening said edges of said feature.
-
11. The system of claim 1 wherein said edge pixels are on the dark side of said edges of said feature.
-
12. The system of claim 11 wherein said generating means is configured to generate said estimated illumination surface using a threshold Ti,j for each predefined section of said input digital image to generate said estimated illumination surface, said threshold Ti,j being defined by
-
-
10. A system for enhancing at input digital image having a non-uniform illumination characteristic comprising:
-
means for detecting edges of a feature within said input digital image;
means for generating an estimated illumination surface of said input digital image based on selected pixel luminance values of edge pixels associated with said feature of said input digital image, said generating means being configured to collect statistical values of said edge pixels for each predefined section of said input digital image, said statistical values including a value selected from the group consisting of;
the number of said edge pixels, the maximum luminance value for said edge pixels, the sum of luminance values of said edge pixels, and the sum of squared luminance values of said edge pixels; and
means for selectively adjusting pixel values of said input digital image using said estimated illumination surface to modify said non-uniform illumination characteristic of said input digital image. - View Dependent Claims (13, 14, 15, 16, 17)
-
-
18. A program storage medium readable by a computer, tangibly embodying a program of instructions executable by said computer to perform method steps for enhancing an input digital image having a non-uniform illumination characteristic, said method steps comprising:
-
detecting edges of a feature within said input digital image;
generating an estimated illumination surface of said input digital image based on selected pixel luminance values of edge pixels associated with said feature of said input digital image, including collecting statistical values of said edge pixels for each predefined section of said input digital image, said statistical values including a value selected from the group consisting of;
the number of said edge pixel, the maximum luminance value for said edge pixels, the sum of luminance values of said edge pixels, and the sum of squared luminance values of said edge pixels; and
selectively adjusting pixel values of said input digital image using said estimated illumination surface to modify said non-uniform illumination characteristic of said input digital image. - View Dependent Claims (19, 20, 21, 22, 23)
-
21. The storage medium of claim 18 wherein said method step of selectively adjusting said pixel values of said input digital image includes modifying said pixel values of said input digital image by factoring in said estimated illumination surface to said pixel values.
-
22. The storage medium of claim 18 wherein said method step of generating said estimated illumination surface includes applying a parametric surface fitting technique to generate said estimated illumination surface.
-
23. The storage medium of claim 18 further comprising a method step of enhancing said feature of said input digital image by sharpening or darkening said edge of said feature.
-
Specification