필터 지우기
필터 지우기

How to display multiple images side by side and on top/bottom of each other?

조회 수: 9 (최근 30일)
Joey Hoang
Joey Hoang 2018년 2월 1일
답변: Jose Marques 2018년 2월 1일
I need to display a single image four times in a 2x2 matrix (so four images total into a rectangle/square).
------------------------
My code so far:
tallpic = imread (filename);
imshow(tallpic);
new_img1 = img(1:end, 1:2:end);
new_img1 = img(1:end, 1:2:end, :);
imshow(new_img1);
---------------------------------
I know how to put 2 side-by-side using "imshowpair (A,B,'montage');" but I don't know how to put another one on the bottom/top.

답변 (1개)

Jose Marques
Jose Marques 2018년 2월 1일

카테고리

Help CenterFile Exchange에서 Geometric Transformation and Image Registration에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by