Ask Your Question
0

Which norm is the best to match descriptors?

asked 2017-05-10 04:17:47 -0600

DEHANDPI gravatar image

I am using BFMatcher to compare image descriptors and I'd like to know if there is one particular norm that works best (between L1,L2, L2sqrt). Besides, what's the difference between the two last norms? Are there categories of pictures on which some work better than others ? Where can I find doc about it ? Thanks !

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2017-05-10 04:54:03 -0600

berak gravatar image

updated 2017-05-10 04:56:58 -0600

it depends not on the images, but on the descriptors you use.

for binary descriptors, like ORB,BRIEF,BRISK you must use the HAMMING norm, the descriptors are bitstrings, not numbers

for float descriptors, like SURF or SIFT, use any of L1, L2, L2sqr (L2 probably works best)

the Feature2D class also has a defaultNorm() member, which you can query.

edit flag offensive delete link more

Comments

1

Thanks for your answer Berak

DEHANDPI gravatar imageDEHANDPI ( 2017-05-10 08:24:12 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2017-05-10 04:17:47 -0600

Seen: 1,715 times

Last updated: May 10 '17