System and method for segmentation dependent lossy and lossless compression for higher quality
First Claim
1. An image data processing system, comprising:
- a segmenter that receives image data and segments the image data into lossy and lossless data;
a first storage device that temporarily stores the segmented lossless data;
an artificial lossless data generator that generates artificial lossless data based on a value stored in the first storage device;
an artificial lossy data generator that generates artificial lossy data based on a value stored in a second storage device;
a lossless compressor that compresses the lossless data stored in the first storage device and the artificial lossless data generated by the artificial data generator;
a lossy compressor that compresses the lossy data segmented by the segmenter and the artificial lossy data generated by the artificial lossy data generator; and
a third storage device that stores the compressed lossy and lossless data, wherein the artificial lossless data generator generates artificial lossless data based on a value of a last pixel in each scanline in a previously compressed lossless data block.
4 Assignments
0 Petitions
Accused Products
Abstract
A method and system takes advantage of both lossy and lossless compression techniques to increase processing speed and efficiency, and to decrease required image storage space. In the system and method, the input image data is divided into pixel blocks. Segmentation tags are used to determine if pixel block contains sharply defined images, such as text or low frequency halftone. If the answer is “no,” i.e., a selected or predetermined number of the pixels are not classified as text or low frequency halftone, or the pixels classified as text or low frequency halftone occur only in selected or predetermined areas of the block, then lossy compression is performed on the pixel block. An artificial block is generated and losslessly compressed. The artificial block includes pixels having values that will be losslessly compressed by a large compression ratio. If the answer is “yes,” i.e., there are at least the selected or predetermined number of pixels in the pixel block that should be processed as text or low frequency halftone, and/or the pixels classified as text or low frequency halftone do not occur in the selected or predetermined areas of the pixel block, then that block is sent to a buffer to be losslessly compressed. An artificial block is generated and lossy compressed. The artificial block includes pixels having values that will be lossy compressed by a large compression ratio.
132 Citations
24 Claims
-
1. An image data processing system, comprising:
-
a segmenter that receives image data and segments the image data into lossy and lossless data;
a first storage device that temporarily stores the segmented lossless data;
an artificial lossless data generator that generates artificial lossless data based on a value stored in the first storage device;
an artificial lossy data generator that generates artificial lossy data based on a value stored in a second storage device;
a lossless compressor that compresses the lossless data stored in the first storage device and the artificial lossless data generated by the artificial data generator;
a lossy compressor that compresses the lossy data segmented by the segmenter and the artificial lossy data generated by the artificial lossy data generator; and
a third storage device that stores the compressed lossy and lossless data, wherein the artificial lossless data generator generates artificial lossless data based on a value of a last pixel in each scanline in a previously compressed lossless data block. - View Dependent Claims (2, 3, 4, 5)
-
-
6. An image data processing system, comprising:
-
a memory that stores lossy compressed image data and losslessly compressed image data, the lossy compressed image data including artificial and actual lossy data and the losslessly compressed image data including artificial and actual losslessly data;
a lossy decompressor that decompresses the lossy compressed image data stored in the memory;
a lossless decompressor that decompresses the lossless compressed image data stored in the memory; and
a selector that selects the actual lossy and lossless data to be output from the artificial lossy and lossless data;
wherein the selector selects the actual lossy and lossless data to be output based on a difference in at least one value between decompressed blocks of lossy compressed image data. - View Dependent Claims (7, 8)
-
-
9. A method for processing image data, comprising:
-
segmenting the image data into lossy and lossless data;
temporarily storing the segmented lossless data in a first storage device;
generating artificial lossless data based on a value stored in the first storage device;
generating artificial lossy data based on a value stored in a second storage device;
compressing the lossless data stored in the first storage device and the artificial lossless data generated in the generating step;
compressing the lossy data segmented in the segmenting step and the artificial lossy data generated in the generating step; and
storing the compressed lossy and lossless data in a third storage device;
wherein the generating step generates artificial lossless data based on a value of a last pixel in each scanline in a previously compressed lossless data block. - View Dependent Claims (10, 11, 12, 13)
-
-
14. A method for processing image data, comprising:
-
decompressing compressed lossy image data;
decompressing compressed lossless image data; and
selecting the actual lossy and lossless data to be output from artificial lossy and lossless data;
wherein the selecting step selects the actual lossy and lossless data to be output based on a difference in at least one value between decompressed blocks of lossy compressed image data. - View Dependent Claims (15)
-
-
16. A method for processing image data, comprising:
-
segmenting the image data into lossy and lossless data;
temporarily storing the segmented lossless data in a first storage device;
generating artificial lossless data based on a value stored in the first storage device;
generating artificial lossy data based on a value stored in a second storage device;
compressing the lossless data stored in the first storage device and the artificial lossless data generated in the generating step;
compressing the lossy data segmented in the segmenting step and the artificial lossy data generated in the generating step; and
storing the compressed lossy and lossless data in a third storage device;
decompressing the compressed lossy data;
decompressing the compressed lossless data; and
selecting the actual lossy and lossless data to be output from the artificial lossy and lossless data;
wherein the selecting step selects the actual lossy and lossless data to be output based on a difference in at least one value between decompressed blocks of lossy compressed image data.
-
-
17. An image data processing system, comprising:
-
a segmenter that receives image data and segments the image data into lossy and lossless data;
a first storage device that temporarily stores the segmented lossless data;
an artificial lossless data generator that generates artificial lossless data based on a value stored in the first storage device;
an artificial lossy data generator that generates artificial lossy data based on a value stored in a second storage device;
a lossless compressor that compresses the lossless data stored in the first storage device and the artificial lossless data generated by the artificial data generator;
a lossy compressor that compresses the lossy data segmented by the segmenter and the artificial lossy data generated by the artificial lossy data generator; and
a third storage device that stores the compressed lossy and lossless data, wherein the artificial lossy data generator generates artificial lossy data based on an average value of pixels in a previously compressed lossy data block. - View Dependent Claims (18, 19, 20)
-
-
21. A method for processing image data, comprising:
-
segmenting the image data into lossy and lossless data;
temporarily storing the segmented lossless data in a first storage device;
generating artificial lossless data based on a value stored in the first storage device;
generating artificial lossy data based on a value stored in a second storage device;
compressing the lossless data stored in the first storage device and the artificial lossless data generated in the generating step;
compressing the lossy data segmented in the segmenting step and the artificial lossy data generated in the generating step; and
storing the compressed lossy and lossless data in a third storage device, wherein the generating step generates artificial lossy data based on an average value of pixels in a previously compressed lossy data block. - View Dependent Claims (22, 23, 24)
-
Specification