Skip to main content
Log in

HFPaC: GPU friendly height field parallel compression

  • Published:
GeoInformatica Aims and scope Submit manuscript

Abstract

In this paper, we present a novel method for fast lossy or lossless compression and decompression of regular height fields. The method is suitable for SIMD parallel implementation and thus inherently suitable for modern GPU architectures. Lossy compression is achieved by approximating the height field with a set of quadratic Bezier surfaces. In addition, lossless compression is achieved by superimposing the residuals over the lossy approximation. We validated the method’s efficiency through a CUDA implementation of compression and decompression algorithms. The method allows independent decompression of individual data points, as well as progressive decompression. Even in the case of lossy decompression, the decompressed surface is inherently seamless. In comparison with the GPU-oriented state-of-the-art method, the proposed method, combined with a widely available lossless compression method (such as DEFLATE), achieves comparable compression ratios. The method’s efficiency slightly outperforms the state-of-the-art method for very high workloads and considerably for lower workloads.

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
Fig. 7
Fig. 8
Fig. 9
Fig. 10
Fig. 11

Similar content being viewed by others

References

  1. Asirvatham A, Hoppe H (2005) Terrain rendering using GPU-based geometry clipmaps. In: Pharr M (ed) GPU gems 2, Addison Wesley, pp 27–45

  2. Dick C, Schneider J, Westermann R (2009) Efficient geometry compression for GPU-based decoding in realtime terrain rendering. Comput Graph Forum 28(1):67–83

    Article  Google Scholar 

  3. Gobbetti E, Marton F, Cignoni P, Benedetto MD, Ganovelli F (2006) C-BDAM - compressed batched dynamic adaptive meshes for terrain rendering. Comput Graph Forum 25(3):333–342

    Article  Google Scholar 

  4. Inanc M. (2008) Compressing terrain elevation datasets. PhD dissertation, Rensselaer Polytechnic Institute Troy, NY, USA

  5. Kidner DB, Smith DH (1992) Compression of digital elevation models by Huffman coding. Comput Geosci 18(8):1013–1034

    Article  Google Scholar 

  6. Kidner DB, Smith DH (2003) Advances in the data compression of digital elevation models. Comput Geosci 29(8):985–1002

    Article  Google Scholar 

  7. Lewis M, Smith DH (1994) Optimal predictors for compression of digital elevation models. Comput Geosci 20(7–8):1137–1141

    Google Scholar 

  8. Lindstrom P, Cohen JD (2010) On-the-fly decompression and rendering of multiresolution terrain. Proc. of the 2010 ACM SIGGRAPH symp. on Interactive 3D Graphics and Games, Washington, D.C., USA, February 19–21, pp 65–73

  9. Flynn M (1972) Some computer organizations and their effectiveness. IEEE Trans Comput C-21(9):948–960

    Article  Google Scholar 

  10. http://www.pkware.com (accessed: 27 Sept 2011)

  11. U.S. Geological Survey National Geospatial Program Lidar Guidelines and Base Specification, http://lidar.cr.usgs.gov/USGS-NGP Lidar Guidelines and Base Specification v13(ILMF).pdf (accessed: 12 Oct 2011)

  12. Earth explorer: http://edcsns17.cr.usgs.gov/NewEarthExplorer/ (accessed: 27 Sept 2011)

  13. http://gis.utah.gov/ (accessed: 27 Sept 2011)

  14. Gerstner T (2003) Multiresolution visualization and compression of global topographic data. GeoInformatica 7(1):7–32

    Article  Google Scholar 

  15. Kim JK, Ra JB (2004) A real-time terrain visualization algorithm using wavelet-based compression. Vis Comput 20(2):67–85

    Article  Google Scholar 

  16. Bettio F, Gobbetti E, Marton F, Pintore G (2007) High-quality networked terrain rendering from compressed bitstreams. Proc. of the 12-th int. conf. on 3D web technology, Perugia, Italy, April 15–18, pp 37–44

  17. Xie Z, Andrade MA, Franklin WR, Cutler B, Inanc M, Muckell J, Tracy DM (2008) Progressive transmission of lossily compressed terrain. Conf. Latinoamericana de Informática (CLEI 2008), Santa Fe, Argentina, September 8–12, http://www.ecse.rpi.edu/Homepages/wrf/p/127-andrade-prog-trans-2008.pdf (accessed: 12 Oct 2011)

  18. Stookey J, Xie Z, Cutler B, Franklin WR, Tracy DM, Andrade MA (2008) Parallel ODETLAP for terrain compression and reconstruction. Proc. of the 16th ACM SIGSPATIAL int. conf. on Advances in geographic information systems, Irvine, California, USA, November 5–7, doi:10.1145/1463434.1463456

  19. Li Y (2011) CUDA-accelerated HD-ODETLAP: a high dimensional geospatial data compression framework. PhD dissertation, Rensselaer Polytechnic Institute Troy, NY, USA

  20. Franklin WR (1995) Compressing elevation data. SSD’95 Proc. of the 4th Int. Symp. on Advances in Spatial Databases, Portland, Maine, USA, Aug 6–9, pp 385–404

  21. Chen ZT, Tobler WR (1986) Quadtree representations of digital terrain. Proc. Auto-Carto London, London, England, Sept 14–19, pp 475–484

  22. Kidner DB, Smith DH (1997) Storage-efficient techniques for representing digital terrain models. Innovations in GIS 4, Taylor & Francis, pp 25–41

  23. Kidner DB, Dorey M, Smith DH (1999) What’s the point? interpolation and extrapolation with a regular grid DEM. Proc. of GeoComputation’99, Virginia, USA, July 25–28, http://www.geovista.psu.edu/sites/geocomp99/Gc99/082/gc_082.htm (accessed 08 Nov 2011)

  24. Wren EA (1973) Trend surface analysis-a review. Can J Explor Geophys 9(1):39–44

    Google Scholar 

  25. Zhang J, You S, Gruenwald L (2011) Parallel quadtree coding of large-scale raster geospatial data on GPGPUs. Proc. of the 19th ACM SIGSPATIAL int. conf. on Advances in geographic information systems, Chicago, Illinois, USA, November 1–4, doi:10.1145/2093973.2094047

  26. Moffat A, Ahn VN (2005) Binary codes for non-uniform sources. Data Compression Conf., Snowbird, Utah, USA, March 29–31, pp 133–142

  27. Đurđević Đ, Tartalja I (2011) Domino tiling: a new method of real-time conforming mesh construction for rendering changeable height fields. J Comput Sci Technol 26(6):971–987

    Article  Google Scholar 

  28. Gerald F (2002) Curves and surfaces for CAGD: a practical guide. The Morgan Kaufmann Series in Computer Graphics and Geometric Modeling, 5th ed

  29. Harris M, Sengupta S, Owens JD (2007) Parallel prefix sum (scan) with CUDA. In: Nguyen H (ed) GPU gems 3, Addison Wesley, pp 851–876

  30. NVIDIA Corp (2010) NVIDIA CUDA C programming guide. http://developer.nvidia.com/cuda-toolkit (accessed 10 Apr 2012)

Download references

Acknowledgments

We would like to thank NVIDIA Corporation for providing graphics adapters on which the performance measurements were carried out. We would also like to thank Pat Sanders and Hypack, Inc. for providing support for the research. Special thanks to Peter Lindstrom for help in interpreting the results of his work. This work was partially supported by the projects TR32039 and TR32047 of the Ministry of Science and Technological Development of the Republic of Serbia.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Đorđe M. Đurđević.

Rights and permissions

Reprints and permissions

About this article

Cite this article

Đurđević, Đ.M., Tartalja, I.I. HFPaC: GPU friendly height field parallel compression. Geoinformatica 17, 207–233 (2013). https://doi.org/10.1007/s10707-012-0171-x

Download citation

  • Received:

  • Revised:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s10707-012-0171-x

Keywords

Navigation