Skip to main content
Log in

Grid interpolation algorithm based on nearest neighbor fast search

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

Abstract

The nearest neighbor search algorithm is one of the major factors that influence the efficiency of grid interpolation. This paper introduces a KD-tree that is a two-dimensional index structure for use in grid interpolation. It also proposes an improved J-nearest neighbor search strategy based on “priority queue” and “neighbor lag” concepts. In the strategy, two types of J-nearest neighbor search algorithms can be used; these algorithms correspond to the consideration of a fixed number of points and a fixed radius. By using the KD-tree and proposed strategy, interpolation can be performed with methods such as Inverse Distance Weighting and Kriging. Experimental results show that the proposed algorithms has high operating efficiency, especially when the data amount is enormous, and high practical value for increasing the efficiency of grid interpolation.

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.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6

Similar content being viewed by others

References

  • Bater CW, Coops NC (2009) Evaluating error associated with lidar-derived DEM interpolation. Comput Geosci 35(2):289–300

    Article  Google Scholar 

  • Bentley JL (1975) Multidimensional binary search trees used for associative searching. Commun ACM 18(9):509–517

    Article  Google Scholar 

  • Beutel A, Mølhave T, Agarwal PK (2010) Natural neighbor interpolation based grid DEM construction using a GPU. In: GISACM ’2010, pp 172–181

  • Chen M-B, Chuang T-R, Wu J-J (2006) Parallel divide-and-conquer scheme for 2D Delaunay triangulation. Concurr Comput Pract Exp 18(12):1595–1612

    Article  Google Scholar 

  • Dwyer RA (1987) A faster divide-and-conquer algorithm for constructing Delaunay triangulations. Algorithmica 2(1–4):137–151

    Article  Google Scholar 

  • Foley T, Sugerman J (2005) KD-tree acceleration structures for a GPU raytracer. Proceedings of the ACM SIGGRAPH/EUROGRAPHICS Conference on Graphics Hardware, pp 15–22

  • Goodsell G (2000) On finding p-th nearest neighbors of scattered points in two dimensions for small p. Comput Aided Geom Des 17(4):387–392

    Article  Google Scholar 

  • Lingli Z et al (2010) The research and implement of DEM interpolation method based on Voronoi K order adjacency. 2010 International Conference on Challenges in Environmental Science and Computer Engineering (CESCE), 6–7 March, vol 1, pp 386–389

  • Liu X, Zhang Z, Peterson J (2009) Evaluation of the performance of DEM interpolation algorithms for LiDAR data. Proceedings of the Surveying & Spatial Sciences Institute Biennial International Conference, Surveying & Spatial Sciences Institute, Adelaide, pp 771–780

  • Nene SA, Nayar SK (1997) A simple algorithm for nearest neighbor search in high dimensions. IEEE Trans Pattern Anal Mach Intell 19(9):989–1003

    Article  Google Scholar 

  • Piegl LA, Tiller W (2002) Algorithm for finding all k nearest neighbors. Comput Aided Des 34(2):167–172

    Article  Google Scholar 

  • Popov S, Günther J, Seidel H-P (2007) Stackless KD-tree traversal for high performance GPU ray tracing. EUROGRAPHICS 26(3):776–788

    Google Scholar 

  • Silpa-Anan C, Hartley R (2008) Optimised KD-trees for fast image descriptor matching. In: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp 1–8

  • Wang P et al (2006) Effect of uncertainty of grid DEM on TOPMODEL: evaluation and analysis. Chin Geogr Sci 16(4):320–326

    Article  Google Scholar 

  • Wolberg G, Shin SY (1997) Scattered data interpolation with multilevel B-splines. IEEE Trans Vis Comput Graph 3(3):228–244

    Article  Google Scholar 

  • Xiao C, Liu M, Nie Y (2011) Fast exact nearest patch matching for patch-based image editing and processing. IEEE Trans Vis Comput Graph 17(8):1122–1134

    Article  Google Scholar 

  • Zhou K, Hou Q, Wang R, Guo B (2008) Real-time KD-tree construction on graphics hardware. ACM Trans Graph 27(5): Article 126

Download references

Acknowledgments

This work is supported by the project Priority Academic Program Development of Jiangsu and the project supported by the National Science and Technology Ministry (ID: 2012BAH28B02).

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Jiechen Wang.

Additional information

Communicated by: H. A. Babaie

Rights and permissions

Reprints and permissions

About this article

Cite this article

Huang, H., Cui, C., Cheng, L. et al. Grid interpolation algorithm based on nearest neighbor fast search. Earth Sci Inform 5, 181–187 (2012). https://doi.org/10.1007/s12145-012-0106-y

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s12145-012-0106-y

Keywords

Navigation