Ask Your Question

how to use BOW with binary feature

asked 2012-12-19 05:19:29 -0600

wusong gravatar image

Hi, I want to use the bag-of-words model in OpenCV on the binary features such as ORB, BRISK. Could you give me some advices, as the feature of ORB are binary which is not suitable for the BOW in the opencv

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2012-12-20 05:35:46 -0600

hieuza gravatar image

I suggest to extend the BOW framework. Note that the distance between two features is no more in Euclidean space, it must be Hamming distance. So the following idea should work

  • to build visual vocabulary: the visual words are randomly selected among the training binary features.

  • assign a feature to the visual word of smallest Hamming distance.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2012-12-19 05:19:29 -0600

Seen: 522 times

Last updated: Dec 20 '12