About imwrite and image compression

2 visualizzazioni (ultimi 30 giorni)
Ana Triana
Ana Triana il 18 Ott 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.

Risposte (1)

Titus Edelhofer
Titus Edelhofer il 18 Ott 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

Categorie

Scopri di più su Denoising and Compression in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by