Given a vector of elements, how can I calculate the length of the Huffman codewords without generating the Huffman code itself?Using Matlab, I was able to compute the Huffman code and and get the length of the codewords but is it possible to get the lengths alone without computing the codewords?
How to calculate Huffman code length without generating the actual huffman code?
algorithms;image processing;data compression