dorian3d / DBoW2

Enhanced hierarchical bag-of-word library for C++
Other
865 stars 370 forks source link

Does DBoW2 support SIFT feature? #16

Closed skylook closed 8 years ago

skylook commented 8 years ago

I wonder if DBoW2 can do with image retrieval system, but it seems only support SURF and not SIFT. So is it suitable for image retrieval system or just loop detection? Thanks :)

dorian3d commented 8 years ago

It can support any feature type by providing some little code. The code is readily available for SURF (and others), with the FSurf64.h/cpp class. If your SIFTs are encoded as floats, the easiest way to support SIFT is by copying the FSurf64.h/cpp files and setting the L constant to the the SIFT descriptor length (probably 128).