필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

question for digital watermark ?

조회 수: 2 (최근 30일)
ghassan78
ghassan78 2014년 1월 27일
마감: MATLAB Answer Bot 2021년 8월 20일
if we are used this code for recover watermark .... the result is ok with gray watermark ... but way not ok with color watermar? pls help me... and thank you for all...
%determined the size of watermarked image
mw=size(image1,1); %heigth of the watermarked image
nw=size(image1,2); %width of the watermarked image
for ii = 1: mw
for jj = 1 : nw
watermark (ii,jj) = bitget(image1(ii,jj),1);
end
end
figure(2)
imshow(watermark);
title('extracted image'); % watermark image for watermarking

답변 (1개)

Walter Roberson
Walter Roberson 2014년 1월 27일
Replace the code with
watermark = bitget(image1, 1);
figure(2);
imshow(watermark);
title('extracted image');
  댓글 수: 3
Walter Roberson
Walter Roberson 2014년 1월 28일
Yes it does. I tested it.
ghassan78
ghassan78 2014년 1월 29일
thank you (Walter Roberson): but my question for color watermark : I mean , if I hide gray scale image inside color image then the result : color watermark : I want extracted this watermark ....... this code is ok with gray watermark but it doesn't work with color watermark , thankful

이 질문은 마감되었습니다.

태그

Community Treasure Hunt

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

Start Hunting!

Translated by