Ask Your Question
0

How does Flann match descriptors?

asked 2015-05-18 12:27:20 -0600

215 gravatar image

I am a bit confused on how SURF uses FLANN to Match descriptors... How does it recognize/match object such that they can be found in a image.. I think i understand how SURF works.. But it's just the matching.. I have seen the scientific paper about FLANN but it doesn't clarify my case, but just tell me how it works in general.. Reading the paper make it more confusing than wanted..

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
1

answered 2015-05-18 14:45:05 -0600

Guanta gravatar image

You have to differentiate, SURF itself has nothing to do with FLANN:

  • SURF: is a feature descriptor. At local positions (=keypoints) in the image a descriptor (=feature vector) is computed. In case of SURF it is typically 64 bytes long.
  • FLANN: is a library to match local descriptors. In contrast to BruteForce searching, you can train for a set of descriptors and later just query the trained internal structure. This makes querying extremely fast with the overhead of training the internal structure (aka dictionary / vocabulary). In the paper they basically describe how they build this internal structure and why it is fast to query it. Thus, it depends on your application when it is good to use FlannMatcher and when BruteForceMatcher.
edit flag offensive delete link more

Comments

Oh.. yes you are right.. I've mixed them together.. but yea.. what they exactly do to match is still a bit of a mystery for me..

215 gravatar image215 ( 2015-05-18 16:53:40 -0600 )edit
0

answered 2015-05-18 16:04:01 -0600

SR gravatar image

updated 2015-05-18 16:05:49 -0600

FLANN allows to match descriptors by computing the approximate Euclidean distance between the descriptor vectors.

edit flag offensive delete link more

Comments

I am not sure if i understand that part correctly.. The descriptors itself are a vector pointing some directions. and how does it then match them together?..

215 gravatar image215 ( 2015-05-18 16:52:52 -0600 )edit

The descriptors are vectors but directions are given in the "feature space", not in 2D. Consider them as arrays of values describing image patches.

SR gravatar imageSR ( 2015-05-19 01:03:24 -0600 )edit

Feature space..

215 gravatar image215 ( 2015-05-19 14:40:41 -0600 )edit
1
SR gravatar imageSR ( 2015-05-21 17:20:59 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2015-05-18 12:27:20 -0600

Seen: 274 times

Last updated: May 18 '15