Hi, I am new in MATLAB, I have been given a code which hides the watermark image into the bit0 of the original image:
orig = imread('lennagray.bmp');
wm = imread('watermark.gif');
[h w] = size(orig);
subplot(121), imshow(orig);
subplot(122), imshow(wm, [0 1]);
img = bitand(orig...