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

1 回表示 (過去 30 日間)
Enrique
Enrique 2013 年 6 月 8 日
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.

回答 (1 件)

Walter Roberson
Walter Roberson 2013 年 6 月 8 日
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.

カテゴリ

Help Center および File ExchangeSource Coding についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by