SIFT implementation in c++ (from java)