MATLAB Answers


Feature Matches are shown at wrong places when displayed in another program

Asked by jhz
on 16 Jan 2019
Latest activity Answered by jhz
on 18 Jan 2019
Hi, I am working on a project for which I am using Matlab to find feature points and their corresponding feature matches. Then I export feature points and feature matches in another program (VisualSfM) for sparse and dense point cloud reconstruction. VisualSfM only accepts features points in Lowe's ASCII format, so first I convert feature points in that format which is working well as I can see feature points at places where Matlab is showing them. I also export feature matches in a text file. The problem is that the feature matches found by matchFeatures function in Matlab are not displaying in VisualSfM at the same places (see attached figures).
Features matches found by Matlab:
Same feature matches shown in VisualSfM


Sign in to comment.




1 Answer

Answer by jhz
on 18 Jan 2019
 Accepted Answer

I found the solution of this problem. Actually VSfM demands 0-based feature indices while the index pairs generated by matchFeatures function start from one. So after converting the features indices from 1 to 0-based index pairs, I got correct feature matches in VSfM.


Sign in to comment.