Unlock instant, AI-driven research and patent intelligence for your innovation.

Fast JPEG huffman encoding and decoding

a huffman and encoding technology, applied in the field of image compression, can solve the problems of reducing the actual volume of data, reducing the degree of compression, and not ensuring the degree of compression optimal, so as to reduce processing resources and hardware. the effect of time and reducing the amount of data

Inactive Publication Date: 2007-11-27
INT BUSINESS MASCH CORP
View PDF8 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Benefits of technology

This approach significantly reduces processing time and resources required for Huffman encoding and decoding, enhancing compression efficiency and maintaining image fidelity with reduced hardware demands.

Problems solved by technology

While the above-described discrete cosine transformation and coding may provide significant data compression for a majority of images encountered in practice, actual reduction in data volume is not guaranteed and the degree of compression is not optimal, particularly since equal precision for representation of each DCT coefficient would require the same number of bits to be transmitted (although the JPEG standard allows for the DCT values to be quantized by ranges that are coded in a table).
Conversely, the use of tables embodying probabilities which do not represent the image being encoded could lead to expansion rather than compression if the image being encoded requires coding of many values which are relatively rare in the image from which the tables were developed even though such a circumstance is seldom encountered.
Another inefficiency of Huffman coding characteristically is encountered when the rate of occurrence of any particular value to be encoded rises above 50% due to the hierarchical nature of the technique of assigning Huffman codes to respective coded values and the fact that at least one bit must be used to represent the most frequently occurring and most predictable value even though the information contained therein may, ideally, justify less.
Huffman decoding also requires a substantial computational burden since the compression efficiency derives largely from a variable length code that requires additional processing to detect the ending point of respective values or symbols.
For hardware with small on-chip caching or RAM, such large tables will degrade performance because extra processing cycles are needed with every cache miss or RAM access.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Fast JPEG huffman encoding and decoding
  • Fast JPEG huffman encoding and decoding
  • Fast JPEG huffman encoding and decoding

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0035]Referring now to the drawings, and more particularly in FIG. 1, there is shown a diagram of the Huffman table specification syntax in accordance with the JPEG standard included in the above referenced Pennebaker et al publication at page 393. The illustrated syntax is referred to as a marker segment which is used to define one or more Huffman coding tables which will be thereafter used to perform Huffman entropy encoding or decoding. The same syntax is used whenever new parameters or table values are to be changed. Marker segments always contain an integral number of bytes (sometimes achieved by adding bits of a given logical value at the end of the segment) and marker segments applied to start of frame (SOF) and start of scan (SOS) blocks of code are often referred to as headers.

[0036]The marker segment in accordance with the JPEG standard, as shown in FIG. 1 always begins with a two byte code beginning with a byte-aligned hexadecimal “FF” byte followed by a non-zero byte spe...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

Huffman encoding, particularly from a packed data format, is simplified by using two different table formats depending on code length. Huffman tables are also reduced in size thereby. Decoding is performed in reduced time by testing for the length of valid Huffman codes in a compressed data stream and using an offset corresponding to a test criterion yielding a particular test result to provide a direct index into Huffman table symbol values while greatly reducing the size of look-up tables used for such a purpose.

Description

CROSS-REFERENCE TO RELATED APPLICATIONS[0001]This application is related to U.S. patent applicaton Ser. No. 09 / 736,444 filed concurrently herewith, assigned to the Assignee of the present invention and which is hereby fully incorporated by reference.BACKGROUND OF THE INVENTION[0002]1. Field of the Invention[0003]The present invention generally relates to image compression for diverse applications and, more particularly, in combination with a structure for storing Discrete Cosine Transform (DCT) blocks in a packed format, performing Huffman entropy encoding and decoding in accordance with the JPEG (Joint Photographic Experts Group) standard.[0004]2. Description of the Prior Art[0005]Pictorial and graphics images contain extremely large amounts of data and, if digitized to allow transmission or processing by digital data processors, often requires many millions of bytes to represent respective pixels of the image or graphics with good fidelity. The purpose of image compression is to r...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(United States)
IPC IPC(8): H03M7/40H04N19/60G06T9/00H03M7/42H04N1/419H04N19/42H04N19/423H04N19/625H04N19/91
CPCG06T9/005G06T9/007H04N19/91H04N19/60H03M7/40
Inventor MITCHELL, JOAN L.CAZES, ALBERT N.LEEDER, NEIL M.
Owner INT BUSINESS MASCH CORP