Basically, I have a bunch of binary descriptors, and I want to use a bag of words model to transform them into a histogram, stemming from 100 clusters. I have coded this out by hand, but my hunch is that the OpenCV implementation is likely better coded and potentially well optimized, so I'd like to see if that yields more efficient computation.
So, with the descriptors already extracted (and binary), can the bag of words functions be used to cluster/assign to build the bag of words model on binary features?