In each step the LZSS algorithm sends either a character or a pair. Among these, perhaps character "e" appears more frequently than "x", and a pair of length 3 might be commoner than one of length 18, say. Thus, if we encode the more frequent in fewer bits and the less frequent in more bits, the total length of the encoded text will be diminished. This consideration suggests that we use Huffman or arithmetic coding, preferably of adaptive kind, along with LZSS.-In each step the LZSS algorithm sends either a character or a lt;position, lengthgt; pair. Among these, perhaps character "e" appears more frequently than "x", and a lt;position, lengthgt; pair of length 3 might be commoner than one of length 18, say. Thus, if we encode the more frequent in fewer bits and the less frequent in more bits, the total length of the encoded text will be diminished. This consideration suggests that we use Huffman or arithmetic coding, preferably of adap
详细见内部说明,只要把所有的.java放内开发环境中就运行带有MAIN的主程序就行!-detailed see internal notes, As long as all. java up within the development environment on the operation with the main program on MAIN OK!
文件压缩功能:压缩指定单个文件,或多个文件(zip格式);察看压缩文件内每个文件的大小,压缩比信息;解压缩指定文件(zip格式),允许选择压缩包内单个文件进行解压缩;察看整个压缩包的压缩比等信息。-compression function : Compression designated single document, or multiple documents (zip format); A look inside compressed files, each file size, compression ratio; Decompress the specified file (zip format), allowing choice within a single compressed file decompression; Look at the whole compression packet compression ratio and other information.
针对二值图像的压缩实现了算术编码以及解码 并在此基础上实现了一节自适应算术编码 有很好的压缩效果-For binary image compression realize the arithmetic coding and decoding and on this basis has been realized a very good adaptive arithmetic coding compression has the effect of