Info

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

I wana use key in this code butt how??

1 view (last 30 days)
Sultan Mehmood
Sultan Mehmood on 22 Oct 2018
Closed: Walter Roberson on 25 Oct 2018
load sculpture
imagesc(X)
colormap gray
[LoD,HiD] = wfilters('haar','d');
[cA,cH,cV,cD] = dwt2(X,LoD,HiD,'mode','symh'); subplot(2,2,1)
imagesc(cA)
colormap gray
title('Approximation')
subplot(2,2,2)
imagesc(cH)
colormap gray
title('Horizontal')
subplot(2,2,3)
imagesc(cV)
colormap gray
title('Vertical')
subplot(2,2,4)
imagesc(cD)
colormap gray
title('Diagonal')
  6 Comments
Jan
Jan on 24 Oct 2018
@Sultan Mehmood: The question is not specific enough to get answered. "Using key in DWT" could mean a variety of things and the readers cannot guess, what you need. I suggest to ask an internet search engine for "image encryption" at first.
Sultan Mehmood
Sultan Mehmood on 24 Oct 2018
Apply DWT defined parameter k(t) to the image and obtain cV,cH,cV,cD.

Answers (1)

Sultan Mehmood
Sultan Mehmood on 23 Oct 2018
How key works
  1 Comment
Rik
Rik on 23 Oct 2018
please don't post comments in the answer field

Community Treasure Hunt

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

Start Hunting!