DEcoding of run length snd huffman for image compression

5 ビュー (過去 30 日間)
Loy Soo Ling
Loy Soo Ling 2013 年 8 月 16 日
is there any coding of using run length method and huffman method can be used for image compression decoding ------

採用された回答

Jim Hokanson
Jim Hokanson 2013 年 8 月 25 日
I am not aware of any that you would want to actually use. When working on a similar project involving JPEG I was unable to find a decent Huffman decoder that wasn't just a rough academic exercise. In particular the bit level manipulation required of a true decoder is very difficult to do in Matlab, unless you expand every bit to a single byte. Even then, I am not aware of any way of making the code even relatively quick in an interpreted language. In the end I ended up going with a 3rd party library and building a mex wrapper (libjpeg-turbo). In other words, if you want to just be able to say that you can do it in Matlab, the FEX is fine (search for Huffman), if you want something that you would actually use on a regular basis, use a 3rd party library. Unfortunately, I have none to recommend. libjpeg-turbo might expose the Huffman decoding step, but I don't know. I would think a TIFF library would be better.

その他の回答 (1 件)

Jan
Jan 2013 年 8 月 18 日
You find several corresponding codes in the FileExchange. Simply search for these keywords. Even an internet search engine will find functions, when you search for "Matlab runlength huffman".
  5 件のコメント
Loy Soo Ling
Loy Soo Ling 2013 年 8 月 27 日
Yes...i need it
Walter Roberson
Walter Roberson 2013 年 8 月 27 日
In order to make the file available to you, we would send you a URL. But you already have a perfectly good URL to download the file: there is a download link right on every File Exchange submission. So it isn't clear what we could do for you that you cannot do for yourself ?

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeImport, Export, and Conversion についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by