How to use GenericDescriptorMatcher?

asked 2013-04-14 20:53:49 -0600

RaulPL gravatar image

updated 2013-04-16 09:52:01 -0600

Hi

I'm trying to use the Common Interfaces of Generic Descriptor Matchers but I have not discovered how to start yet. My problem is the following: I have two images with their respective keypoints sets, also I know before hand the Fundamental matrix that relates them, I want to match the keypoints using the epipolar constrain (p1'*Fundamental*p2 = 0), in other words, generate a vector< DMatch > that relates the points that satisfy the epipolar constrain. At this point I would like to use the interfaces that OpenCV provides in order to have my code as generic as possible. However there are not examples of how to use these tools. Can someone point me to the right direction? or maybe I don't need these interfaces?

Thanks in advance.

PD Sorry for my bad english.

edit retag flag offensive close merge delete

Comments

in your case, just use the descriptorMatcher class, you need genericDescriptorMatcher for those features which are not encoded as vector of features.

Guanta gravatar imageGuanta ( 2013-04-20 13:39:37 -0600 )edit