Systems and methods for generating background and foreground images for document compression
First Claim
Patent Images
1. A method for compressing an image comprising pixels, the method comprising:
- identifying edge pixels using gradient pixels identified in a plurality of pixels selected from the image, in a first low-pass filtered set of the plurality of pixels, and in a second low-pass filtered set of the plurality of pixels;
determining an edge pixel type for each of the identified edge pixels;
using at least some of the identified edge pixels to label each pixel of the plurality of pixels;
using the labeled pixels to identify non-background region pixels;
generating a foreground image layer comprising the non-background region pixels;
generating a background image layer comprising pixels with a background label;
generating a mask layer that identifies from which of the foreground and background image layers a pixel should be selected when generating a representation of the plurality of pixels; and
compressing the mask layer differently than at least one of the foreground and background image layers.
2 Assignments
0 Petitions
Accused Products
Abstract
Disclosed are embodiments of systems and methods to generate background and foreground images for a document, which enables high-quality and high-ratio document compression. In embodiments, high-accuracy layer processing enables text enhancement, paper color removal, and many other advanced image analysis and processing. Embodiments of the systems support several operation modes and its many parameters, such as layer compression ratios, image segmentation, and modulized image processing, may be adjusted to generate optimal compressed files for different purposes.
-
Citations
20 Claims
-
1. A method for compressing an image comprising pixels, the method comprising:
-
identifying edge pixels using gradient pixels identified in a plurality of pixels selected from the image, in a first low-pass filtered set of the plurality of pixels, and in a second low-pass filtered set of the plurality of pixels; determining an edge pixel type for each of the identified edge pixels; using at least some of the identified edge pixels to label each pixel of the plurality of pixels; using the labeled pixels to identify non-background region pixels; generating a foreground image layer comprising the non-background region pixels; generating a background image layer comprising pixels with a background label; generating a mask layer that identifies from which of the foreground and background image layers a pixel should be selected when generating a representation of the plurality of pixels; and compressing the mask layer differently than at least one of the foreground and background image layers. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A method for compressing an image comprising pixels, the method comprising:
-
labeling each pixel from a plurality of pixels selected from the image; using the pixel labels to generate a background mask comprising pixels from the plurality of pixels with a background label; performing a connected component analysis on non-background pixels of the background mask and responsive to a connected component group of non-background pixels being below a threshold size, selecting pixels corresponding to the connected component group as non-background region pixels; generating a foreground image layer comprising the non-background region pixels; generating a background image layer comprising pixels with a background label; generating a mask layer that identifies from which of the foreground and background image layers a pixel should be selected when generating a representation of the plurality of pixels; and compressing the mask layer differently than at least one of the foreground and background image layers. - View Dependent Claims (10, 11, 12, 13, 14)
-
-
15. A system for compressing an image comprising:
-
a pixel labeler, coupled to receive an image comprising pixels, that labels each pixel of a plurality of pixel selected from the image; a background estimator, coupled to receive information from the pixel labeler, that attempts to estimate a background color of the plurality of pixels and responsive to estimating the background color, relabels the label associated with at least one pixel of the plurality of pixels; a background mask and edge mask generator, coupled to receive information from the background estimator, that generates a background mask comprising pixels from the plurality of pixels with a background label and that generates an edge mask comprising pixels with an edge pixel label; a non-background region extractor, coupled to receive information from the background mask generator, that performs a connected component analysis on the non-background pixels of the background mask and responsive to a connected component group of non-background pixels being below a threshold size, identifying pixels that correspond to the connected component group as non-background pixels; an image layer separator, coupled to receive information from the non-background region extractor, that generates a foreground image layer comprising non-background pixels, a background image layer comprising pixels with a background label, and generates a mask layer that identifies from which of the foreground and background image layers a pixel should be selected when generating a representation of the plurality of pixels; and a layer-based compression module, coupled to receive information from the image layer separator, that compresses the mask layer differently than at least one of the foreground and background image layers. - View Dependent Claims (16, 17, 18, 19, 20)
-
Specification