K-nearest neighbor search: Fast GPU-based implementations and application to high-dimensional feature matching
An optimal algorithm for approximate nearest neighbor searching fixed dimensions