Info
この質問は閉じられています。 編集または回答するには再度開いてください。
I need a help in this code
1 回表示 (過去 30 日間)
古いコメントを表示
Hi every one, I need a help in this code that I am doing. The idea is to apply a DWT on an image ( cover) and then use the HH bond to add another image ( stego) and then apply the IDWT to re construct the ( cover) image again but I am facing abroplim and I don't get any result the code is:
if true
% code
clc;
clear all
close all;
y = imread('E:\stuff TOO\facese\T.jpg');
tiledImage = ( uint8(y));
[LL,LH,HL,HH]=dwt2(tiledImage,'Haar'); % appling the Haar Wavelet
figure(1)
subplot(2,2,1);imshow(uint8(LL));title('LL band of image');
subplot(2,2,2);imshow(uint8(LH));title('LH band of image');
subplot(2,2,3);imshow(uint8(HL));title('HL band of image');
subplot(2,2,4);imshow(uint8(HH));title('HH band of image');
Y = HH ;
figure (2);imshow (Y);
Z= imread('E:\stuff TOO\facese\1.jpg');
whos Z
figure (3); imshow (Z);
Z = im2double (Z);
Z = imresize (Z, [188 189]);
figure (4);imshow (Z);
YY = Y*0.0;
YY = Z+YY;
YYY= im2bw(YY);
YYY=im2double(YYY);
figure(5);imshow (YYY);
HH = YYY;
C =idwt2(LL,LH,HL,HH,tiledImage,'Haar');
figure (6); imshow (C);
end
I need the help pleas
Zee
1 件のコメント
Geoff Hayes
2014 年 8 月 7 日
Zee - what do you mean by you don't get any result the code? Is there one line in particular that is causing a problem, or is the end result not what you are expecting?
回答 (0 件)
この質問は閉じられています。
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!