Stitching image in 2 direction
1 次查看(过去 30 天)
显示 更早的评论
Hello everyone.
Anyone know how to sitching 2 images in 2 direction.
2 pictures below can not stitching in 1 direction (the postion of the nose and eyes are not in the same column and rows)
Thanks in advance.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/307451/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/307455/image.png)
0 个评论
采纳的回答
Image Analyst
2020-6-2
编辑:Image Analyst
2020-6-2
If you don't want to butt the images against each other but there is some overlap that needs to be determined, then you will need to look up "panorama" : https://www.mathworks.com/matlabcentral/answers/?term=tag%3A%22panorama%22
See this Mathworks Link: https://www.mathworks.com/help/vision/examples/feature-based-panoramic-image-stitching.html
and this one: https://www.crisluengo.net/archives/76
更多回答(1 个)
Image Analyst
2020-6-1
编辑:Image Analyst
2020-6-1
To stitch images:
wideImage = [image1, image2]; % Must have same number of rows.
tallImage = [image1; image2]; % Must have same number of columns.
For a more general solution, see https://www.mathworks.com/matlabcentral/fileexchange/25797-stitch
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!