回答 (3 件)

Wayne King
Wayne King 2012 年 5 月 19 日

0 投票

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

2 件のコメント

slama najla
slama najla 2012 年 5 月 19 日
thank mr Wayne King
VILMA1010
VILMA1010 2014 年 7 月 23 日
Hello Wayne King
Can you answer me this question?
Exist a way to compress a grayscale image with wcompress mode SPIHT LOSSLESS?

サインインしてコメントする。

G PRAKASH
G PRAKASH 2014 年 3 月 5 日
編集済み: Walter Roberson 2016 年 8 月 2 日

0 投票

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 件のコメント

Tanvi
Tanvi 2014 年 11 月 19 日
hello sir!! i am getting an error at a line for uncompression.

サインインしてコメントする。

patnana Adinarayana
patnana Adinarayana 2017 年 3 月 1 日

0 投票

if true
% code
end

質問済み:

2012 年 4 月 17 日

回答済み:

2017 年 3 月 1 日

Community Treasure Hunt

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

Start Hunting!

Translated by