I wana use key in this code butt how??

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 件のコメント

Jan
Jan 2018 年 10 月 22 日
Which "keys"?
Sultan Mehmood
Sultan Mehmood 2018 年 10 月 23 日
To make secure. How DWT works with keys.?
Walter Roberson
Walter Roberson 2018 年 10 月 23 日
To make what secure?
Note: depending upon your answer, there is a possibility that we may need to close the Question. The law of the United States do not permit Mathworks to host discussions of encryption techniques.
Sultan Mehmood
Sultan Mehmood 2018 年 10 月 23 日
I want to encrypt image by DWT and I want to use key in DWT. as above code if i want to use key then how am used in that code. Kindly help
Jan
Jan 2018 年 10 月 24 日
@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 2018 年 10 月 24 日
Apply DWT defined parameter k(t) to the image and obtain cV,cH,cV,cD.

回答 (1 件)

Sultan Mehmood
Sultan Mehmood 2018 年 10 月 23 日

0 投票

How key works

1 件のコメント

Rik
Rik 2018 年 10 月 23 日
please don't post comments in the answer field

この質問は閉じられています。

質問済み:

2018 年 10 月 22 日

閉鎖済み:

2018 年 10 月 25 日

Community Treasure Hunt

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

Start Hunting!

Translated by