How can I decode Huffman encoded-data in a JPEG image using huffmandeco?

Hello everybody...I'm in a big dilemma because I'm implementing my own JPEG decoder. I'm using jpeg images with 4:2:2 subsampling scheme, and I want to apply huffman decoding to those images. But the question is How to do this? if the encoded data are interleaved, this means (Y0Y1Cb0Cr0Y2Y3Cb1Cr1...).
Thank's for any answer.

Réponses (1)

Make each Y and each Cb and each Cr value into "symbols". As far as Huffman is concerned it is not a problem if those happen to have different bit-lengths.

Question posée :

le 8 Juin 2013

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by