First time here? Check out the FAQ!

Ask Your Question
5

clustering ORB features

asked Aug 21 '12

allauddin gravatar image

I am working on an application which uses Bag of Words model. I couldn't find a way to cluster binary features like ORB. BOWKMeansTrainer gives error if mat type is CV_8UC1. Can we cluster binary features like ORB? If yes, is there an efficient implementation available?

Preview: (hide)

Comments

This questions is kinda related to http://answers.opencv.org/question/2601/can-the-bag-of-words-functions-be-used-with-binary/ . It doesn't seem that it is possible by opencv, the hierarchicalClustering method of flann computes centers, too, but they are not binary any more but float (unfortunately the function only accepts a float-Matrix for the centers) and it is unclear to me, if a simple cast to uchar will do it.

Guanta gravatar imageGuanta (Jan 9 '13)edit

1 answer

Sort by » oldest newest most voted
0

answered Jul 25 '13

This question is related to this one, with a solution provided. You have to convert your descriptors to CV_32F.

Preview: (hide)

Question Tools

2 followers

Stats

Asked: Aug 21 '12

Seen: 2,762 times

Last updated: Jul 24 '13