摘要
为了选择适合水声通信数据无损压缩的算法,对哈夫曼压缩算法和LZ77压缩算法进行了对比研究。通过C语言编程实现两种算法的压缩,并利用水声通信数据获得压缩结果。对两种算法的压缩率和压缩效率对比分析之后,得出结论:对于水声信号,使用哈夫曼算法将获得更好的压缩率和压缩速率。尤其是哈夫曼算法的压缩速率远远优于LZ77算法。
In order to select the proper compression algorithm for the underwater acoustic data,the Huffman compression algorithm and the LZ77 compression algorithm were compared.Using the C language and the underwater acoustic communication data,different results were obtained.After compare the different results,concluded that: For the acoustic signal,using the Huffman algorithm can obtain better compression ratio and compression rate.Especially,the Huffman compression algorithm is much faster than the LZ77 algorithm.
出处
《现代电子技术》
2012年第9期103-105,共3页
Modern Electronics Technique
关键词
无损数据压缩
水声通信
哈夫曼算法
字典模型算法
lossless compression algorithm
underwater acoustic communication
Huffman compression algorithm
dictionary compression algorithm