Professional Documents
Culture Documents
% Watermark Embedding
clear all;
% read the message image you want to hide in the cover image
file_name='baboon.bmp';
message=imread(file_name);
%y = uint8(wgn(Mm,Nm,1));
watermarked_image(ii,jj)=bitset(watermarked_image(ii,jj),1,watermark(ii,
jj));
end
end
% add noise to watermarked image
noisy = imnoise(watermarked_image,'gaussian');
So if you execute this code you are going to have on screen and on disk two images, that
I can’t dsiplay here because they are bmp files.
clear all;
http://pdincau.wordpress.com/2010/03/22/lsb-watermarking-using-matlab/
%Project: Tutorial on Least Significant Bit Substitution
% Watermark Recover
clear all;