Image lossless compression method on basis of Huffman code

A technology of lossless compression and coding method, applied in image communication, television, electrical components, etc., can solve the problems of reducing compression efficiency, consuming space, and consuming a lot of time, so as to reduce the number of logical judgments and save judgment time.

Inactive Publication Date: 2012-05-02
GUANGZHOU ZHONGDA TELECOMM TECH
View PDF3 Cites 25 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Obviously, the disadvantage of this model is that for information with a large amount of data, it takes a lot of time to scan repeatedly, and the codin

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
  • Image lossless compression method on basis of Huffman code
  • Image lossless compression method on basis of Huffman code
  • Image lossless compression method on basis of Huffman code

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0044] The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present invention.

[0045] The embodiment of the present invention provides a lossless image compression method based on Huffman coding, which provides a method that can reduce the transmission bandwidth when uploading a large amount of image information in a detection experiment of digital television, which will be described in detail below.

[0046] figure 1 It is a flow chart of the Huffman coding principle. The Huffman coding principle is to first count th...

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

The embodiment of the invention discloses an image lossless compression method on the basis of a Huffman code. In the image lossless compression method, an optimal coding method can be obtained by adopting an optimal coding theorem of alterable word length coding according to an inverted sequence distribution code word length of the appearance probabilities of characters, and a code is given to each character by the Huffman code so as to form a coding table, wherein the coding table needs to be stored and in the decoding process, the coding table needs to be referred to so that the decoding can be correctly carried out; and the Huffman code is a different prefix code, and thus, in the decoding process, as long as a binary sequence with a certain length can be matched with the code in the coding table, the sequence is the code of one character, so that the unique decoding property is ensured. Due to the adoption of the image lossless compression method on the basis of the Huffman code, the rapid search is realized by decreasing the times of logic judgment and increasing a small quantity of space for storing the coding table, the coding table and a decoding table are respectively stored at a coding end and a decoding end, and the table lookup is directly carried out in the coding process, so that a great amount of judging time is saved.

Description

Technical field [0001] The invention relates to the field of digital image compression, in particular to a lossless image compression method based on Huffman coding. Background technique [0002] The traditional image coding technology is also called the first generation coding technology, mainly including predictive coding, transform coding, information coding and vector quantization. Predictive coding and transform coding are the most commonly used technologies in current image encoders. The main purpose of prediction and transform is to reduce the strong correlation in the original spatial domain representation of the image, so that the predicted or transformed data matrix becomes a weak correlation matrix. In this way, scalar quantization and direct coding can be used for effective compression. Information coding is a kind of distortion-free coding. There are three commonly used ones: Huffman Coding, Run Length Coding and Arithmetic Coding. [0003] With the popularization of...

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
IPC IPC(8): H04N7/26H04N19/60
Inventor 罗笑南孟思明谭南张伟忠
Owner GUANGZHOU ZHONGDA TELECOMM TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products