Interpixel Redudancy with Huffman
8 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
I try to compress image aligned matches.tiff (558x558 uint8) I make codes in mfile
f = imread ('Matches_Aligned.tif');
%figure, imshow (f);
e = mat2lpc(f);
figure, imshow(mat2gray(e));
entropy(e)
c = mat2huff (e);
cr = imratio (f,c)
until entropy (e), I get ans = 0.9978
but then, when I compile next code, the next codes are
c = mathuff(e)
cr = imratio (f,c)
I get error warning like this
??? Undefined function or method 'huffman' for input arguments of type 'double'.
Error in ==> mat2huff at 59
map = huffman(double(h)); % Make Huffman code map
pliss hepl me,,how to solve this error?
thanks
0 Commenti
Risposte (1)
Walter Roberson
il 31 Ott 2011
There is no MATLAB routine named "huffman". The program must be expecting you to get the routine from some other source. You will have to read the installation instructions for the "mathuff" that you found (somewhere) to see what else you should have added and in what directories.
0 Commenti
Vedere anche
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!