question for digital watermark ?
Info
This question is closed. Reopen it to edit or answer.
Show older comments
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
Answers (1)
Walter Roberson
on 27 Jan 2014
Replace the code with
watermark = bitget(image1, 1);
figure(2);
imshow(watermark);
title('extracted image');
3 Comments
ghassan78
on 28 Jan 2014
Walter Roberson
on 28 Jan 2014
Yes it does. I tested it.
ghassan78
on 29 Jan 2014
This question is closed.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!