Put sub images to full images (color and binary)

1 次查看(过去 30 天)
I have sub color images (A1.jpg and A2.jpeg). How to write code using matlab to connect an image to A3.jpg image.
Likewise, from binary (A4.jpg and A5.jpg), how can I continue writing the code to A6.jpg?B4.jpg

采纳的回答

Walter Roberson
Walter Roberson 2019-12-21
a1 = imread('A1.jpg');
a2 = imread('A2.jpg');
a3 = vertcat(a1, a2);
imshow(a3)
This requires that A1 and A2 both have exactly the same number of columns. If not, then you need to define where you want the two images placed relative to each other.

更多回答(0 个)

产品


版本

R2015b

Community Treasure Hunt

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

Start Hunting!

Translated by