thank you for sharing the code. After reading the code , I doubt that there is something wrong with [the line](https://github.com/brookicv/imageRetrieval/blob/master/src/siftDetector.cpp#L55) where `angles` always use idx 0 in the `for` loop. I think `i` will be right instead of `0`, right?