How to apply DWT & Inverse DWT for an image using lossless 5/3 lifting approach used in jpeg2000?

2 views (last 30 days)
% I have worked on this code,but decomposition is upto one level only and also not proper.
clear all; close all; i=imread('image22.jpg'); sX=size(i); [LL,LH,HL,HH]=dwt2(i,'db1'); figure(1) subplot(2,2,1);imshow(LL);title('LL band of image'); subplot(2,2,2);imshow(LH);title('LH band of image'); subplot(2,2,3);imshow(HL);title('HL band of image'); subplot(2,2,4);imshow(HH);title('HH band of image'); X = idwt2(LL,LH,HL,HH,'db1',sX); figure(2) imshow(X,[ ]);

Answers (0)

Categories

Find more on Discrete Multiresolution Analysis in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!