About imwrite and image compression

2 views (last 30 days)
Ana Triana
Ana Triana on 18 Oct 2011
Hi, I have been trying to work on image compression and I found that matlab does it through functions like imwrite. But in order to do it matlab has to have the encoding and decoding algorithms for each format ie. for the jpeg, matlab has to have stored the huffman encoding tables. So far all that I know is that imwrite works evaluating a function through feval. Actually, one of the input parameters is fmt.write (format write), which is a function handler. So I wanted to know if there is a way to get to those encoding and decoding archives or if you have an implementation of the EBCOT algorithm. Thank you.

Answers (1)

Titus Edelhofer
Titus Edelhofer on 18 Oct 2011
Hi Ana,
if you take a look at matlabroot\toolbox\matlab\imagesci\private you will see the mex files (e.g. wgifc.mexw32). They do the actual writing of the files. So the answer is unfortunately no, there is no way to look at the encoding/decoding algorithms used...
Titus

Categories

Find more on Denoising and Compression in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!