Ask Your Question

clustering ORB features

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

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


This questions is kinda related to . 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 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

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

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



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

Seen: 2,386 times

Last updated: Jul 24 '13