how lifting wavelet transform used to enhance the spatial resolution of the image,explain the basics for the same.

lshaar = liftwave('db1');
% Add a primal ELS to the lifting scheme.
els = {'p',[-0.125 0.125],0};
lsnew = addlift(lshaar,els);
% Perform LWT at level 1 of a simple image.
x = reshape(1:16,4,4);
[cA1,cH1,cV1,cD1] = lwt2(double(I),lsnew);
iwt_out=[cA1 cH1;cV1 cD1];
iwt_out=uint8(iwt_out);

Réponses (1)

What specifically is your question here? The code you have included above will not run because you have not given us I.
You've started off with a Haar wavelet and then added a primal lifting step. This has created a new biorthogonal wavelet filter bank with lowpass analysis and sythesis filters:
0.7071 0.7071
-0.1768 0.1768 0.8839 0.5303
and highpass analysis and synthesis filters
0.1768 0.1768 -0.8839 0.5303
0.7071 -0.7071
You've then obtained the discrete wavelet transform at level 1.

Catégories

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by