About imwrite and image compression

2 次查看(过去 30 天)
Ana Triana
Ana Triana 2011-10-18
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.

回答(1 个)

Titus Edelhofer
Titus Edelhofer 2011-10-18
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

类别

Help CenterFile Exchange 中查找有关 Denoising and Compression 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by