finding the idwt2 of image
1 回表示 (過去 30 日間)
古いコメントを表示
hello, I want to know what is wrong the below code especially line 5 that deals with finding the idwt2 of an image. This code is popping up error. Please, assist. Thank you.
CODE....................
t=0.10;
R = cat(3, Ir_LL, Ir_LL, Ir_LL);
newhost_LLr = R + (t * w_LL);
%newhost_LLr =Ir_LL+(t*w_LL);
r2=idwt2(newhost_LLr,Ir_LH,Ir_HL,Ir_HH,'haar');
figure(2);imshow(uint8(r2));title('Watermarked image of r component');
G = cat(3, Ig_LL, Ig_LL, Ig_LL);
newhost_LLr = G + (t * w_LL);
%newhost_LLg =Ig_LL+(t*w_LL);
g2=idwt2(newhost_LLg,Ig_LH,Ig_HL,Ig_HH,'haar');
figure(2);imshow(uint8(g2));title('Watermarked image of g component');
B = cat(3, Ib_LL, Ib_LL, Ib_LL);
newhost_LLr = B + (t * w_LL);
%newhost_LLb =Ib_LL+(t*w_LL);
b2=idwt2(newhost_LLb,Ib_LH,Ib_HL,Ib_HH,'haar');
figure(2);imshow(uint8(b2));title('Watermarked image of g component');
%imwrite(uint8(rgb2),'images/Watermarked33.jpg');
3 件のコメント
回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!