Huffman Coding and Arithmetic Coding

Functions that compress integer sequences.

您现在正在关注此提交

This file contains MATLAB functions, m-files, that do Huffman coding and arithmetic coding of integer (symbol) sequences. Complete coding may be done by calling an easy to use main program (or main function), where input argument is the sequences you want to compress and the output is the compressed bitstream, as a vector of bytes. Decoding is done just by switching the arguments. These main programs are: the Huffman coder, Huff06 an updated version of the Huff03 function sbmitted earlier, and two versions of the arithmetic coder, Arith06.m and Arith07.m. The zipped file also contains examples and a contents file.

Example of use:
y=Huff06(xC); % encoding
xC=Huff06(y); % decoding
where xC is a cell array of column vectors of integers representing the symbol sequences and y is a column vector of non-negative itegers (bytes) representing the code, 0 <= y(i) <= 255.

For more information see the web page: http://www.ux.his.no/~karlsk/proj99/

引用格式

Karl Skretting (2026). Huffman Coding and Arithmetic Coding (https://ww2.mathworks.cn/matlabcentral/fileexchange/2818-huffman-coding-and-arithmetic-coding), MATLAB Central File Exchange. 检索时间: .

致谢

启发作品: Arithmetic derivative

类别

Help CenterMATLAB Answers 中查找有关 Large Files and Big Data 的更多信息

一般信息

MATLAB 版本兼容性

  • 兼容任何版本

平台兼容性

  • Windows
  • macOS
  • Linux
版本 已发布 发行说明 Action
1.0.0.0