How to add two images in one, next to each other

조회 수: 29 (최근 30일)
Lina Bielinyte
Lina Bielinyte . 2015년 5월 11일
답변: Stefan Grandl . 2016년 9월 7일
Hello, I have two splited images from diference matlab files. Now i need to merge them, near to each other. I tried supblot, imadd,cat methods, but nothing works. Please help me.
Result after sublot experiment:

답변 (2개)

Thomas Koelen
Thomas Koelen 2015년 5월 11일

Stefan Grandl
Stefan Grandl 2016년 9월 7일
I know, the question is some months old, but anyway:
Try to use imshowpair with argument 'montage' (see this question How can I display two images at once?). You will need the Image Processing Toolbox for it.
Otherwise try a solution proposed in the link.


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

Community Treasure Hunt

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

Start Hunting!

Translated by