Stitching image in 2 direction
조회 수: 2 (최근 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.
댓글 수: 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!