spiht algorithm

回答(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 个评论

thank mr Wayne King
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
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.

请先登录,再进行评论。

类别

帮助中心File Exchange 中查找有关 Wavelet Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by