Azzera filtri
Azzera filtri

How does matchFeatures Work?

7 visualizzazioni (ultimi 30 giorni)
Ryan
Ryan il 25 Nov 2012
I am right now trying to troubleshoot this function. I understand that there are three metrics that I can use for this function SSD SAD and normxcorr. I have tried all three to match features between stereo images. The problem is that for some reason instead of matching features that are close to one another it overrides itself and matches features that are completely on the opposite side of the image. These are stereo images so the features that are matched should be at most 20 pixels away from each other. Not hundreds of pixels away on the opposite side of the image. Has anyone come across this problem with this function and does anyone know how to fix it?

Risposte (1)

Anand
Anand il 10 Apr 2013
matchFeatures implements a generic feature matching algorithm. Feature matching for stereo is a much more constrained problem, where you are only matching features in one image to features in the vicinity of that feature in the other image.
This spatial constraint makes it a very different problem.
If your end goal is to find the depth map, look at this example below:
Another suggestion is to use the epipolar constraint with RANSAC to eliminate outliers in the feature matching as shown in step 4 below:

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by