摘要在讨论和研究现在软件市场上所流行的压缩软件以及主流的压缩算法的基础上,本文重点研究了 LZW 压缩算法与 Huffman 压缩算法,将两种算法共同使用以达到文件压缩的目的。本文通过使用 JAVA语言先分别对两种压缩算法进行实现,然后对文件依次使用LZW压缩算法和Huffman 压缩算法进行压缩。压缩程序的测试结果证明该程序具有一定的压缩效率,能够对于部分类型的文件进行无损压缩。 28450 毕业论文关键词:压缩软件 压缩算法 LZW算法 Huffman 算法
Title Design and implementation for fast compression and decompression algorithm
Abstract On the basis of the discussion and research on popular compression software on the software market as well as the mainstream compression algorithm ,this paper mainly studies the LZW compression algorithm and Huffman compression algorithm, in order to achieve the purpose of file compression algorithm.In this paper, through the use of JAVA language respectively on two kinds of compression algorithm implementation, then the files in turn use LZW compression algorithm and Huffman compression algorithm to compress.Compressor test results prove that the program has a certain compression efficiency, can carry on the lossless compression for some types of files.
Keywords compressed software Compression algorithm LZW algorithm Huffman algorithm
目次