How exactly is Huffman coding applied here? Each unique quantized DCT value is mapped to some bitstring?
avinashnandakumar
I'm concurrently taking 170 and EE 120 right now, and it's super cool to see the application of abstract algorithms, Huffman encoding, and the discrete cosine transform being used in JPEG compression. I think the Huffman encoding is used to lower the number of bits used to represent the coefficients of the basis functions of the DCT.
pgujjula
I'm curious why the values have to be reordered in a diagonal pattern instead of just in rows. At face value it shouldn't matter which order the values are placed.
How exactly is Huffman coding applied here? Each unique quantized DCT value is mapped to some bitstring?
I'm concurrently taking 170 and EE 120 right now, and it's super cool to see the application of abstract algorithms, Huffman encoding, and the discrete cosine transform being used in JPEG compression. I think the Huffman encoding is used to lower the number of bits used to represent the coefficients of the basis functions of the DCT.
I'm curious why the values have to be reordered in a diagonal pattern instead of just in rows. At face value it shouldn't matter which order the values are placed.