matchFeatures returns wrong matches
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Manos
am 6 Okt. 2015
Kommentiert: Dima Lisin
am 8 Okt. 2015
Hello, I am trying to use the matchFeatures function in order to match a set of image corners returned by the corner function (Harris) with another set of the same image corners found manually with data cursor. Harris' algorithm returns 18 corners and I manually spot 20 but I guess this is fine. The problem is matchFeatures doesn't seem to work properly since these are my results :
right_matched_indexes = matchFeatures(right_image_corners_Harris, right_image_corners_manual);

Shouldn't 11 be matched to 9 and 14 to 2? I'd appreciate any help regarding why this is happening and any solutions. Thanks
0 Kommentare
Akzeptierte Antwort
Dima Lisin
am 7 Okt. 2015
Hi Manos,
matchFeatures is not really meant to be used to match the (x,y) locations of points. It is designed to match feature descriptors, like SURF, BRISK, or FREAK. You are seeing these strange results, because matchFeatures interprets its inputs as feature vectors, and normalizes them to have a magnitude of 1.
2 Kommentare
Dima Lisin
am 8 Okt. 2015
Well, the [x,y] vectors were normalized to have the magnitude of 1. So they were matched by the closest angle.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Feature Detection and Extraction finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!