フィルターのクリア

Difference between huffman decoding for image matrix and vector

1 回表示 (過去 30 日間)
Ayesha
Ayesha 2014 年 5 月 4 日
回答済み: Image Analyst 2014 年 5 月 4 日
Hello,
I've been wondering about the basic difference related to the the role of huffman decoding algorithm between an image matrix and vector. I've observed that applying huffman code to vector and then decoding it gives back the original vector itself.
However, in case of image matrix, the matrix is initially encoded in the form of a vector but then the decoding process does not give back the original matrix. It gives back a vector.
I would like to know if this is how the source coding (huffman coding) work or am I doing something wrong? If this is how it works, then how is it theoretically possible to obtain the image back?

採用された回答

Image Analyst
Image Analyst 2014 年 5 月 4 日
Depends on how you do it I guess. It sounds like the way you saw it might need a reshape() after reconstruction.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeDenoising and Compression についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by