Info

This question is closed. Reopen it to edit or answer.

how discrete wavelet transform used by using a key? To secure the image

1 view (last 30 days)
if true
% code
end
X=imread('lena512.bmp');
[LoD,HiD] = wfilters('haar','d');
[cA,cH,cV,cD] = dwt2(X,LoD,HiD,'mode','symh');
colormap gray(255);
subplot(2,2,1);
imagesc(cA);
title('Approximation');
subplot(2,2,2);
imagesc(cH);
title('Horizontal');
subplot(2,2,3);
imagesc(cV);
title('Vertical');
subplot(2,2,4);
imagesc(cD);
title('Diagonal');

Answers (0)

Community Treasure Hunt

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

Start Hunting!