How to display two images into one figure without blocking each other?

2 次查看(过去 30 天)
Dear all,
I have two images in jpg format. I would like to these two images display in one figure lay on each other and without blocking each other. Is it possible?
I attach these two images. Thank you for your answers.

回答(1 个)

Image Analyst
Image Analyst 2017-4-23
Yes, just stitch them together
wideImage = [image1, image2]; % Have the same number of rows.
or else use imfuse() or imshowpair(). Or put them into separate axes.
  5 个评论
Image Analyst
Image Analyst 2017-4-24
Try
ax = gca; % Get handle to current/last used axes control.
ax.YDir = 'reverse'; % Flip it top to bottom.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Image Processing and Computer Vision 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by