how can i change the position of watermark in matlab?

1 次查看(过去 30 天)
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.

采纳的回答

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

更多回答(0 个)

标签

Community Treasure Hunt

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

Start Hunting!

Translated by