Single-pass guaranteed-fit data compression using rate feedback
First Claim
1. A single pass compression method for regulating compression of serialized input data as a function of an in-progress measure of said compression:
- a) converting source data into a series of blocks each containing one or more colors, said series including a first block, intermediate blocks, and a last block;
b) determining a baseline target block size based upon a target compression ratio for said source data;
c) for each block in turn, determining a current target block size, the current target block size for said first block being said baseline target block size, the current target block size for said intermediate block and said last block being equal to the said current baseline target block size plus an accumulating savings associated with the preceding block in said series;
d) for each block in turn, selecting a compression mode based on the number of colors in said block, said compression mode to compress that block so that the resulting compressed block fits its corresponding target block size as determined in step c; and
e) for each block in turn, compressing the block using the compression mode selected in step d to yield a corresponding compressed block.
2 Assignments
0 Petitions
Accused Products
Abstract
An image-compression system provides for high-quality guaranteed-fit image block-by-block compression in a single pass. A baseline block-target allocator determines a baseline target size for the compressed blocks resulting from the source-image blocks. A block target-size accumulator determines a target block size by adding any excess compression from the preceding block to the baseline, as indicated by a compressed-block size reader. A mode selector performs a content analysis of the current block. It then selects among the compression modes guaranteed to meet the target block size one that achieves optimal image quality. A compression encoder compresses the current block according to the selected compression mode.
-
Citations
16 Claims
-
1. A single pass compression method for regulating compression of serialized input data as a function of an in-progress measure of said compression:
-
a) converting source data into a series of blocks each containing one or more colors, said series including a first block, intermediate blocks, and a last block; b) determining a baseline target block size based upon a target compression ratio for said source data; c) for each block in turn, determining a current target block size, the current target block size for said first block being said baseline target block size, the current target block size for said intermediate block and said last block being equal to the said current baseline target block size plus an accumulating savings associated with the preceding block in said series; d) for each block in turn, selecting a compression mode based on the number of colors in said block, said compression mode to compress that block so that the resulting compressed block fits its corresponding target block size as determined in step c; and e) for each block in turn, compressing the block using the compression mode selected in step d to yield a corresponding compressed block. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A single pass image compression system comprising:
-
an encoder for sequentially compressing a series of source blocks each containing one or more colors, said encoder implementing plural compression modes with respective predetermined maximum compressed block sizes; a mode selector coupled to said encoder for selecting one of said compression modes for compressing a given source block based on the number of colors in said given source block, said mode selector selecting a compression mode at least in part as a function of a target block size for a current source block; an evaluator for determining the target block size for each of said source blocks; and an allocator for determining a baseline target block size based upon a target compression ratio for said source image. - View Dependent Claims (12, 13, 14, 15, 16)
-
Specification