MATLAB: How can i change the position of watermark in matlab

watermarking

hi, my project is related to watermarking i have embedded an image over another as a watermark by using the code
i= imread(boat.jpg);
j=imread(image.jpg);
j=imresize(j,0.2)
i((size(i,1)-size(j,1)+1):end, (size(i,2)-size(j,2)+1):end,1:end) = j
the watermark appeared at the bottom right corner now i want to change the location of watermark for example i want to place it on bottom left corner or top left or top right corner plz help me sir.

Best Answer

fliplr() or flipud() the image before embedding the watermark in it; then fliplr() or flipud() the post-watermarked image back to its original orientation.