Research on image compression technology based on Huffman coding☆
Introduction
The development of modern computers, especially multimedia computer systems, has become a mainstream direction. Especially in current computer applications, many videos and audios have taken the form of digitization, leading to a large amount of data storage. However, the current development of science and technology is limited, and many hardware technologies cannot fully satisfy the requirements of computer storage resources, and the gap between the bandwidth and the bandwidth is still large [1], so the data must be compressed before the data storage and transmission, otherwise the storage and transfer of the computer system cannot be effectively carried out. Due to the existence of encoding redundancy, redundancy between pixels, and visual information redundancy in multimedia data, the original data can be compressed. Data compression technology is actually a series of re-encoding of the original data, eliminating redundant data in the original data, reducing the amount of data to a minimum, so as to achieve the purpose of compressing various media data such as images, audio, and video [2].
At present, common multimedia compression methods are divided into lossless compression methods and lossy compression methods [3]. Lossless compression compresses redundant parts of the original data. Using lossless compression, the original data can be completely recovered without any errors or distortions, that is, after compression and decompression, a copy of the original data is generated. Its compression ratio is generally 2:1–5:1. As the typical Double Space technology, the compression ratio of various types of data and files on the hard disk is about 2:1. Due to the limitation of the compression ratio, the use of lossless compression alone cannot handle the storage and transmission problems of digital sound and video images in real time. Lossy compression is at the expense of certain information, so that a higher compression ratio can be achieved [4]. The lossy compression method is mostly used for images with higher pixels, video, or sound quality files. For this type of data compression, the compression ratio can be increased by tens or hundreds of times. Most image compression methods can take this approach, mainly JPEG, MPFG and other types of files. The common coding methods used in lossy compression are predictive coding and transform coding, which allow information to be lost in the compression process. Although all data cannot be fully recovered after decompression, but the lost part of the image, whether the original image or the sound, has little effect on the understanding of the whole file, it can obtain a good compression ratio [5].
In order to make products of different manufacturers compatible, all countries have attached great importance to the establishment of universal data compression standards. Currently, three data compression coding standards commonly used in multimedia systems are [6]: ① JPEG standard (ISO CD 10918) for digital compression coding of continuous-tone still images; ② MPEG standard (ISO/IEC 11172), suitable for compression coding of moving pictures and accompanying sounds on digital storage media; ➂ CCITTH.261 standard, suitable for digital compression coding in application systems such as video telephony and conference television. At present, with the rapid development of the network, the diverse needs of users, such as the real-time transmission of streaming media, the compression and transmission of high resolution images, are largely dependent on the multimedia compression technology. The current image data compression technology cannot meet the needs of all kinds of network multimedia applications. Therefore, the research and application of multimedia technology in network transmission has become more and more active and attracted much attention, especially the focus of image data compression. JPEG2000 is the latest achievement of image compression technology in this form. JPEG2000 can facilitate progressive transmission, JPEG200O support lossy compression, also support lossless compression, good low bit rate compression performance and the protection of image security through watermark, markup, killings and encryption. It has been widely used in image compression on the network. Based on the JPEG2000 standard, this paper proposes a JPEG2000 compression method based on wavelet transform, which can well overcome the “square” effect caused by DCT transform in the JPEG. Finally, compare the JPEG2000 of this paper with the compression effect of JPEG standard and JPEG2000 standard respectively.
Section snippets
JPEG compression method
JPEG is a compression standard proposed by the ISO (International Organization for Standardization) and the CCITT (International Telegraph and Telephone Consultative Committee) for color and monochrome multiple grayscale or continuous-tone still digital images [7]. There are several modes of JPEG, the most common of which is the sequential mode based on the DCT transform. In general, the JPEG compression algorithm operation can be divided into the following steps [8]: ➀ color change; ② MCU
Experimental results and analysis
In the experiment, we chose a bitmap format picture file picture1.bmp. After the JPEG2000 compression method proposed in this paper is used to compress the file with different compression ratios, the effect of image comparison is shown in Fig. 5. Fig. 5 shows the corresponding image effect after compression and the SNR (signal-to-noise ratio) of the image at different compression ratios for JPEG2000 images. Where CR is the compression ratio and PSNR is the peak SNR. From the image effect, the
Conclusion
With the rapid development of the network, the diversified needs of users rely heavily on multimedia compression technology. The current image data compression technology can not longer meet the needs of a wide variety of network multimedia applications. Therefore, more and more attention has been paid to the research on multimedia compression technology, especially the compression of image data is the focus of research. And JPEG2000 is the latest result of this type of image compression
Funding
This work was supported by the National Key Basic Research Program (No. 2014CB744900) and National Basic Research Program of Philosophy and Social Science (No. 17GGL270).
Conflict of interest
There is no conflict of interest.
Acknowledgements
The authors thank the editor and anonymous reviewers for their helpful comments and valuable suggestions.
Shuyun Yuan was born in Nenjiang, Heilongjiang P.R. China, in 1975. She received the Master degree from Harbin Engineering University, P.R. China. Now, he studies in Engineering College, Air Force Engineering University, Xi’an, P.R. China. His research interests include information security and big data analysis. E-mail:[email protected].
References (21)
- et al.
Early detection of gear failure by vibration analysis i. Calculation of the time-frequency distribution
Mech. Syst. Sig. Process.
(1993) Wavelet based compression and feature selection for vibration analysis
J. Sound Vib.
(1998)Embedded image coding using Zerotrees of wavelet coefficients
IEEE Trans. Signal Process.
(2002)- et al.
Review of vibration-based helicopters health and usage monitoring methods
Proceedings of Meeting of the Society for Machinery Failure Prevention Technology
(2001) - et al.
Assessment of present maintenance practices and future trends
- et al.
SH-60 helicopter integrated diagnostic system (HIDS) program-diagnostic and prognostic development experience
- et al.
Prognostics, the real issues involved with predicting life remaining
- et al.
Extraction and separation of transient components based on wavelet package
- et al.
Genetic algorithms for feature selection in machine condition monitoring with vibration signals
IEE Proc. – Vis. Image Signal Process.
(2000) Regressor selection and wavelet network construction
Cited by (0)
Shuyun Yuan was born in Nenjiang, Heilongjiang P.R. China, in 1975. She received the Master degree from Harbin Engineering University, P.R. China. Now, he studies in Engineering College, Air Force Engineering University, Xi’an, P.R. China. His research interests include information security and big data analysis. E-mail:[email protected].
Jianbo Hu received the B.Sc. and M.Sc. degree from Engineering College, Air Force Engineering University, Xi’an, China, in 1987 and 1990, and received the Ph.D. degree from Northwestern Polytechnical University, Xi’an, China, in 1998. From 1998 to 2001, he did his postdoctoral research in Institute of Advanced Process Control, Zhejiang University. Now he is a professor in Equipment Management and UAV Engineering, Air Force Engineering University. His research interests include robust adaptive control, UAV flight control system, and safety engineering. E-mail: [email protected], [email protected].
- ☆
This article is part of the Special Issue on TIUSM.