How can I match two similar edge images of different dimensions, and superimpose their original images correctly?
조회 수: 6 (최근 30일)
이전 댓글 표시
I have two pictures of the same scene in different light profiles that I would like to superimpose so I know the coordinates to transfer markers between the images. They are of different dimensions, colour and resolution so I have used an edge detector to obtain two similar edge maps of the images.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/152394/image.bmp)
I would like to know a robust method for matching these edges on each other, or another way of superimposing the original images accurately.
I have a lot of pairs like this and the location of the zoomed image within the other is not the same each time.
댓글 수: 1
Nick Hobbs
2015년 7월 24일
You may find some of the following resources useful. MATLAB is capable of matching features and can also be used for edge detection. There might be a way to use this information to allow MATLAB to perform the matching that you require.
답변 (1개)
Image Analyst
2015년 7월 24일
You might try Hu's image moments, which are resistant to scaling and rotation. See https://www.youtube.com/watch?v=Nc06tlZAv_Q
Or you might try the Hausdorf distance. See http://cgm.cs.mcgill.ca/~godfried/teaching/cg-projects/98/normand/main.html
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!