Antworten (3)

Wayne King
Wayne King am 19 Mai 2012

0 Stimmen

This algorithm is available for both gray scale and true color images in the Wavelet Toolbox as an option for wcompress

2 Kommentare

slama najla
slama najla am 19 Mai 2012
thank mr Wayne King
VILMA1010
VILMA1010 am 23 Jul. 2014
Hello Wayne King
Can you answer me this question?
Exist a way to compress a grayscale image with wcompress mode SPIHT LOSSLESS?

Melden Sie sich an, um zu kommentieren.

G PRAKASH
G PRAKASH am 5 Mär. 2014
Bearbeitet: Walter Roberson am 2 Aug. 2016

0 Stimmen

try this code
clc;
close all;
clear all;
I=imread('wpeppers.jpg');
figure('Name','inputimage'),imshow(I)
figure,
% compression
[cr,bpp] = wcompress1('c',I,'woodstatue.wtc', ...
'spiht','cc','klt','maxloop',11,'plotpar','plot');
%un compression
Xc = wcompress1('u','woodstatue.wtc');
delete('wpeppers.wtc')
figure,imshow(Xc);

1 Kommentar

Tanvi
Tanvi am 19 Nov. 2014
hello sir!! i am getting an error at a line for uncompression.

Melden Sie sich an, um zu kommentieren.

Gefragt:

am 17 Apr. 2012

Community Treasure Hunt

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

Start Hunting!

Translated by