Ask Your Question
5

clustering ORB features

asked 2012-08-21 00:02:58 -0600

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?

edit retag flag offensive close merge delete

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 ( 2013-01-09 04:58:45 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2013-07-24 19:33:04 -0600

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

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2012-08-21 00:02:58 -0600

Seen: 2,746 times

Last updated: Jul 24 '13