how can i change the position of watermark in matlab?

1 Ansicht (letzte 30 Tage)
shafaq innam
shafaq innam am 22 Mär. 2013
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.

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 22 Mär. 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.

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by