Skip to main content
Log in

An approximate nearest neighbors search algorithm for low-dimensional grid locations

  • Research Article
  • Published:
Earth Science Informatics Aims and scope Submit manuscript

Abstract

We propose a new algorithm for the problem of approximate nearest neighbors (ANN) search in a regularly spaced low-dimensional grid for interpolation applications. It associates every sampled point to its nearest interpolation location, and then expands its influence to neighborhood locations in the grid, until the desired number of sampled points is achieved on every grid location. Our approach makes use of knowledge on the regular grid spacing to avoid measuring the distance between sampled points and grid locations. We compared our approach with four different state-of-the-art ANN algorithms in a large set of computational experiments. In general, our approach requires low computational effort, especially for cases with high density of sampled points, while the observed error is not significantly different. At the end, a case study is shown, where the ionosphere dynamics is predicted daily using samples from a mathematical model, which runs in parallel at 56 different longitude coordinates, providing sampled points not well distributed that follow Earth’s magnetic field-lines. Our approach overcomes the comparative algorithms when the ratio between the number of sampled points and grid locations is over 2849:1.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Institutional subscriptions

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9
Fig. 10
Fig. 11

Similar content being viewed by others

References

  • Arya S, Mount D, Netanyahu N, Silverman R, Wu A (1994) An optimal algorithm for approximate nearest neighbor searching in fixed dimensions. In: ACM-SIAM Symposium on Discrete Algorithms

  • Arya S, Mount D, Netanyahu N, Silverman R, Wu A (1998), An optimal algorithm for approximate nearest neighbor searching fixed dimensions. J ACM

  • Bailey J, Balan N (1996) A low-latitude ionosphere-plasmasphere model, STEP Handbook on Ionospheric Models. Utah State University

  • Bailey J, Sellek R (1990) A mathematical model of the earth’s plasmasphere and its application in a study of he (+) at l= 3. In: Annales Geophysicae

  • Bailey J, Sellek R, Rippeth Y (1993) A modelling study of the equatorial topside ionosphere. In: Annales geophysicae

  • Bentley L (1975) Multidimensional binary search trees used for associative searching. Commun ACM

  • Burrough A, McDonnell A (1998) Principles of geographical information Systems. Oxford University Press

  • Clark I, Harper V (2001) Practical Geostatistics 2000. Geostokos (Ecosse) Limited

  • Deutsch V, Jornel G (1998) GSLIB: Geostatistical Software Library and User’s Guide. Oxford University Press

  • Finlay C, Maus S, Beggan C (2010) International geomagnetic reference field: the eleventh generation. Geophys J Int 183(3):1216–1230

    Article  Google Scholar 

  • Goovaerts P (1997) Geostatistics for natural resources evaluation, Oxford university press

  • Huang H, Cui C, Cheng L (2012) Grid interpolation algorithm based on nearest neighbor fast search. Earth Sci Inform

  • Isaaks H, Srivastava M (1989) Applied geostatistics. Oxford University Press

  • Li J, Heap D (2008) A review of spatial interpolation methods for environmental scientists. Geoscience Australia

  • Li J, Heap D (2011) A review of comparative studies of spatial interpolation methods in environmental sciences: performance and impact factors. Ecological Informatics

  • Lu Y, Wong W (2008) An adaptive inverse-distance weighting spatial interpolation technique. Comput Geosci

  • Mitas L, Mitasova H (1999) Spatial interpolation. Geographical information systems: principles, techniques, management and applications

  • Muja M, Lowe G (2009) Fast approximate nearest neighbors with automatic algorithm configuration. In: International Conference on Computer Vision Theory and Applications

  • Petry A, Pereira AG, Viero F, Souza JR (2011) Image generation and visualization system for ionosphere dynamics. In: International Congress of the Brazilian Geophysical Society

  • Petry A, de Souza JR, de Campos Velho HF, Pereira AG, Bailey GJ (2014) First results of operational ionospheric dynamics prediction for the brazilian space weather program. Adv Space Res

  • Samet H (2006) Foundations of multidimensional and metric data structures. Morgan Kaufmann

  • Souza J, Brum C, Abdu M, Batista I, Asevedo W, Bailey G, Bittencourt J (2010) Parameterized regional ionospheric model and a comparison of its results with experimental data and iri representations. Adv Space Res

  • Souza Jd, Abdu M, Batista I, Bailey G (2000) Determination of vertical plasma drift and meridional wind using the sheffield university plasmasphere iono- sphere model and ionospheric data at equatorial and low latitudes in brazil: Summer solar minimum and maximum conditions. J Geophys Res

  • Webster R, Oliver MA (2001) Geostatistics for environmental scientists. Wiley

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to André Grahl Pereira.

Additional information

Communicated by: H. A. Babaie

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Petry, A., Pereira, A.G. & de Souza, J.R. An approximate nearest neighbors search algorithm for low-dimensional grid locations. Earth Sci Inform 10, 183–196 (2017). https://doi.org/10.1007/s12145-016-0282-2

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s12145-016-0282-2

Keywords

Navigation