필터 지우기
필터 지우기

Help with extracting images from a holder and montaging

조회 수: 2 (최근 30일)
Jason
Jason 2021년 2월 12일
답변: Madhav Thakker 2021년 2월 14일
Hello, I have collected a set of images (10) using the image aquisitions tool box and they ar eheld in a variable called frame.
frame1=frame(:,:,:,1);
frame2=frame(:,:,:,2);
..
frame10=frame(:,:,:,10);
I would like to concatenate them and then reshap so I have a montage of 2 rows and 5 columns. I tried this
multi=[];
for i=1:10
multi=[multi,frame(:,:,:,i)];
end
size(multi)
f1=figure
IM2=reshape(multi,2,[]); %2 rows but automatic columns
size(IM2)
imagesc(IM2)

답변 (1개)

Madhav Thakker
Madhav Thakker 2021년 2월 14일
Hi Jason,
You can use montage to display multiple images as rectangular montage.
Hope this helps.

카테고리

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

제품


릴리스

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by