Stitching image in 2 direction
2 views (last 30 days)
Show older comments
Hieu Tran Doan Trung
on 1 Jun 2020
Commented: Hieu Tran Doan Trung
on 2 Jun 2020
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.
0 Comments
Accepted Answer
Image Analyst
on 2 Jun 2020
Edited: Image Analyst
on 2 Jun 2020
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
More Answers (1)
Image Analyst
on 1 Jun 2020
Edited: Image Analyst
on 1 Jun 2020
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
2 Comments
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!