About imwrite and image compression

2 visualizaciones (últimos 30 días)
Ana Triana
Ana Triana el 18 de Oct. de 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.

Respuestas (1)

Titus Edelhofer
Titus Edelhofer el 18 de Oct. de 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

Categorías

Más información sobre Denoising and Compression en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by