How can I decode Huffman encoded-data in a JPEG image using huffmandeco?
Show older comments
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.
Answers (1)
Walter Roberson
on 8 Jun 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.
Categories
Find more on Source Coding in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!