Réponses (3)

Wayne King
Wayne King le 19 Mai 2012

0 votes

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

2 commentaires

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

Connectez-vous pour commenter.

G PRAKASH
G PRAKASH le 5 Mar 2014
Modifié(e) : Walter Roberson le 2 Août 2016

0 votes

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 commentaire

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

Connectez-vous pour commenter.

Community Treasure Hunt

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

Start Hunting!

Translated by