0

I had a previous doubt on Overlaying one image on another gives blue boxes instead of image - MATLAB which has been solved, but partially.

The images are getting overlayed, as expected, but how can I set the position of these overlayed images on the original image?

Here is the code so far.

figure;
imshow(FirstImage);

hold on;
h = imshow(SecondImage);
set(h,'AlphaData',0.2);
hold off;
Community
  • 1
  • 1
Kanishka Ganguly
  • 1,252
  • 4
  • 18
  • 38
  • your question is not clear.. Here are some posts with examples that might be of help: http://stackoverflow.com/a/6525813, http://stackoverflow.com/a/6604939, http://stackoverflow.com/a/7237948 – Amro Jun 05 '14 at 00:25
  • Maybe you should apply the translation directly to your "SecondImage" instead of trying to change its position on the overlay ? – Ghislain Bugnicourt Jun 06 '14 at 16:12

0 Answers0