spiht algorithm

1 view (last 30 days)
Nagarjuna
Nagarjuna on 17 Apr 2012
looking for spiht algorithm for image compression

Answers (3)

Wayne King
Wayne King on 19 May 2012
This algorithm is available for both gray scale and true color images in the Wavelet Toolbox as an option for wcompress
  2 Comments
slama najla
slama najla on 19 May 2012
thank mr Wayne King
VILMA1010
VILMA1010 on 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?

Sign in to comment.


G PRAKASH
G PRAKASH on 5 Mar 2014
Edited: Walter Roberson on 2 Aug 2016
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 Comment
Tanvi
Tanvi on 19 Nov 2014
hello sir!! i am getting an error at a line for uncompression.

Sign in to comment.


patnana Adinarayana
patnana Adinarayana on 1 Mar 2017
if true
% code
end

Categories

Find more on Denoising and Compression 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!