资 源 简 介
暂时只支持jpeg2000支持的 cdf97 和spline53
可以这样来测试:
x=imread( E:studyjpeg2000imageslena.tif )
% see the decomposition coefficients
y=wavelift(x, 1, spl53 ) using spline 5/3 wavelet
figure subplot(1,2,1) imshow(x) subplot(1,2,2) imshow(mat2gray(y))
% see the reconstruction precision
yy=wavelift(x, 5) using cdf 9/7 wavelet
ix=wavelift(yy,-5) inverse
sum(sum((double(x)-ix).^2))
-only temporary support jpeg2000 support cdf97 and spline53 this can be measured Examination : x = imread (E : study jpeg2000 images lena.tif)% see the d ecomposition coefficients wavelift y = (x, 1, spl53) using spline 5/3 wavelet figure subplot (1,2,1) imshow (x) subplot (1,2, 2) imshow (mat2gray (y))% see the reconstructi on precision wavelift yy = (x, 5) using cdf 9/7 wavelet ix = wavelift (yy.-5) inverse sum (sum ((double (x)- ix). ^ 2