retrieving image after encoding
3 views (last 30 days)
Show older comments
FIR on 26 Dec 2012
my code is
symbols = unique(YourVector(:));
counts = hist(YourVector(:), symbols);
p = double(counts) ./ sum(counts)
I want to dispaly image after encoding,plz help
Walter Roberson on 26 Dec 2012
"comp" is not something that can be displayed. You need to do a huffman decoding of "comp" with "dict" in order to restore the image.
Walter Roberson on 27 Dec 2012
Each element of the output represents one bit. The original data was 8 bits per element.
More Answers (0)
Find more on Large Files and Big Data 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!