Binary Code Ranking with Weighted Hamming Distance
K-d trees for semidynamic point sets