How can I decode Huffman encoded-data in a JPEG image using huffmandeco?
Afficher commentaires plus anciens
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)
Walter Roberson
le 8 Juin 2013
0 votes
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.
Catégories
En savoir plus sur Source Coding dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!