AlgorithmsCompressionEdit on GitHubEdit history
Huffman Coding
1952
A greedy algorithm that builds a prefix code of minimum average code length by repeatedly merging the two least frequent symbols.
Origin
Lineage
Parent algorithms
Reference workOptimal prefix code that originated as an assignment in Fano's course and resolved the suboptimality of Shannon–Fano coding
Derived algorithms
Author statementRFC 1951 defines Deflate as a combination of LZ77 and Huffman coding — www.rfc-editor.org/rfc/rfc1951
Reference workUses Huffman coding as the final entropy stage
Author statementRFC 8878 compresses literals with Huffman coding — www.rfc-editor.org/rfc/rfc8878
Author statementRFC 7932 defines it as a combination of LZ77, Huffman coding, and second-order context modeling — www.rfc-editor.org/rfc/rfc7932
CitationPresents a way to reassign the codewords of a prefix code such as a Huffman code in canonical order while keeping its code lengths — doi:10.1145/363958.363991
CitationAs the title of Gallager's paper 'Variations on a theme by Huffman' indicates, it is a variant that makes Huffman coding adaptive in a single pass — doi:10.1109/TIT.1978.1055959
CitationAs its title states, it is an algorithm for optimal Huffman codes with an upper limit on code length — doi:10.1145/79147.79150
Structural analysisIt adds an order-preservation constraint to the weighted path length minimization problem solved by Huffman coding
CitationJPEG baseline entropy-codes the quantized DCT coefficients with Huffman codes — doi:10.1145/103085.103089
Notable implementations
No implementations registered yet. Try a repo scan to find some. Repo scan
Find more: GitHub · Semantic Scholar · Google Scholar · arXiv
Claims & disputes
Loading…