finding the idwt2 of image

1 回表示 (過去 30 日間)
OLUFEMI SONEYE
OLUFEMI SONEYE 2019 年 5 月 25 日
コメント済み: OLUFEMI SONEYE 2019 年 5 月 26 日
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 件のコメント
Walter Roberson
Walter Roberson 2019 年 5 月 26 日
What error is popping up?
OLUFEMI SONEYE
OLUFEMI SONEYE 2019 年 5 月 26 日
Ir_LL is the low frequency part of the R component of RGB color component of an image.

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeWavelet Toolbox についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by