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

조회 수: 1 (최근 30일)
Veronika
Veronika 2017년 4월 23일
댓글: Veronika 2017년 4월 24일
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.
Veronika
Veronika 2017년 4월 24일
Thank you for your answer, I already figured out different way.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Images에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by