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 CenterFile Exchange에서 Image Processing Toolbox에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by