how can i change the position of watermark in matlab?

1 view (last 30 days)
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.

Accepted Answer

Walter Roberson
Walter Roberson on 22 Mar 2013
fliplr() or flipud() the image before embedding the watermark in it; then fliplr() or flipud() the post-watermarked image back to its original orientation.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by