Info
此问题已关闭。 请重新打开它进行编辑或回答。
question for digital watermark ?
2 次查看(过去 30 天)
显示 更早的评论
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
0 个评论
回答(1 个)
Walter Roberson
2014-1-27
Replace the code with
watermark = bitget(image1, 1);
figure(2);
imshow(watermark);
title('extracted image');
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!