www.gusucode.com > wavelet 源码程序 matlab案例代码 > wavelet/ImageCompressionUsingBasicParametersExample.m

    %% Image Compression Using Basic Parameters
% This example shows how to compress and uncompress the jpeg image
% arms.jpg.
%%
% Use the spatial orientation tree wavelet (|'stw'|) compression method and
% save the compressed image to a file. 
wcompress('c','arms.jpg','comp_arms.wtc','stw');
%%
% Load the stored image and display the step-by-step uncompression to
% produce the uncompressed image.
wcompress('u','comp_arms.wtc','step');