A raster Voronoi diagram generation algorithm based on horizontal-longitudinal scanning
The Voronoi diagram is an important data structure in computational geometry and has a wide range of applications in many fields. The scan algorithm of raster is an optimization of the Euclidean distance algorithm, which is in line with the discrete features of computers. It is one of the optimal al...
Main Authors: | , , , |
---|---|
Format: | Article |
Language: | zho |
Published: |
Surveying and Mapping Press
2019-03-01
|
Series: | Acta Geodaetica et Cartographica Sinica |
Subjects: | |
Online Access: | http://html.rhhz.net/CHXB/html/2019-3-393.htm |
id |
doaj-9dfea607d7744386ae8a6f88db8eb5b9 |
---|---|
record_format |
Article |
spelling |
doaj-9dfea607d7744386ae8a6f88db8eb5b92020-11-25T00:35:38ZzhoSurveying and Mapping PressActa Geodaetica et Cartographica Sinica1001-15951001-15952019-03-0148339339910.11947/j.AGCS.2019.201800882019030088A raster Voronoi diagram generation algorithm based on horizontal-longitudinal scanningLIU Qingping0ZHAO Xuesheng1WANG Lei2SUN Wenbin3College of Geoscience and Surveying Engineering, China University of Mining and Technology(Beijing), Beijing 100083, ChinaCollege of Geoscience and Surveying Engineering, China University of Mining and Technology(Beijing), Beijing 100083, ChinaSchool of Surveying and Land Information Engineering Henan Polytechnic University, Jiaozuo 454000, ChinaCollege of Geoscience and Surveying Engineering, China University of Mining and Technology(Beijing), Beijing 100083, ChinaThe Voronoi diagram is an important data structure in computational geometry and has a wide range of applications in many fields. The scan algorithm of raster is an optimization of the Euclidean distance algorithm, which is in line with the discrete features of computers. It is one of the optimal algorithms for the generation of raster Voronoi diagram. However, due to the difference between the grid distance and the Euclidean distance, the ownership of some grids in the scanning process inevitably has some errors, so that the application of the raster Voronoi diagram is limited. In this paper, according to the characteristics of error existing in traditional scanning algorithms, an improved algorithm for the generation of raster Voronoi diagram based on horizontal-longitudinal scanning is proposed. First of all, the causes and the regional distribution characteristics of defects of the traditional scanning algorithm are analyzed in depth. Then, using the 3×3 neighborhood as a template, a vertical scan is added after a horizontal scan. That is to say, the Voronoi diagram can be generated accurately by horizontal and vertical scanning. Finally, different raster data are used to carry out experimental comparison. The results show that the improved algorithm not only has the advantage of efficiency of scanning algorithm, but also solves the error of the original algorithm. It keeps the efficiency while limiting the error to a grid.http://html.rhhz.net/CHXB/html/2019-3-393.htmVoronoi diagramraster scanraster distance |
collection |
DOAJ |
language |
zho |
format |
Article |
sources |
DOAJ |
author |
LIU Qingping ZHAO Xuesheng WANG Lei SUN Wenbin |
spellingShingle |
LIU Qingping ZHAO Xuesheng WANG Lei SUN Wenbin A raster Voronoi diagram generation algorithm based on horizontal-longitudinal scanning Acta Geodaetica et Cartographica Sinica Voronoi diagram raster scan raster distance |
author_facet |
LIU Qingping ZHAO Xuesheng WANG Lei SUN Wenbin |
author_sort |
LIU Qingping |
title |
A raster Voronoi diagram generation algorithm based on horizontal-longitudinal scanning |
title_short |
A raster Voronoi diagram generation algorithm based on horizontal-longitudinal scanning |
title_full |
A raster Voronoi diagram generation algorithm based on horizontal-longitudinal scanning |
title_fullStr |
A raster Voronoi diagram generation algorithm based on horizontal-longitudinal scanning |
title_full_unstemmed |
A raster Voronoi diagram generation algorithm based on horizontal-longitudinal scanning |
title_sort |
raster voronoi diagram generation algorithm based on horizontal-longitudinal scanning |
publisher |
Surveying and Mapping Press |
series |
Acta Geodaetica et Cartographica Sinica |
issn |
1001-1595 1001-1595 |
publishDate |
2019-03-01 |
description |
The Voronoi diagram is an important data structure in computational geometry and has a wide range of applications in many fields. The scan algorithm of raster is an optimization of the Euclidean distance algorithm, which is in line with the discrete features of computers. It is one of the optimal algorithms for the generation of raster Voronoi diagram. However, due to the difference between the grid distance and the Euclidean distance, the ownership of some grids in the scanning process inevitably has some errors, so that the application of the raster Voronoi diagram is limited. In this paper, according to the characteristics of error existing in traditional scanning algorithms, an improved algorithm for the generation of raster Voronoi diagram based on horizontal-longitudinal scanning is proposed. First of all, the causes and the regional distribution characteristics of defects of the traditional scanning algorithm are analyzed in depth. Then, using the 3×3 neighborhood as a template, a vertical scan is added after a horizontal scan. That is to say, the Voronoi diagram can be generated accurately by horizontal and vertical scanning. Finally, different raster data are used to carry out experimental comparison. The results show that the improved algorithm not only has the advantage of efficiency of scanning algorithm, but also solves the error of the original algorithm. It keeps the efficiency while limiting the error to a grid. |
topic |
Voronoi diagram raster scan raster distance |
url |
http://html.rhhz.net/CHXB/html/2019-3-393.htm |
work_keys_str_mv |
AT liuqingping arastervoronoidiagramgenerationalgorithmbasedonhorizontallongitudinalscanning AT zhaoxuesheng arastervoronoidiagramgenerationalgorithmbasedonhorizontallongitudinalscanning AT wanglei arastervoronoidiagramgenerationalgorithmbasedonhorizontallongitudinalscanning AT sunwenbin arastervoronoidiagramgenerationalgorithmbasedonhorizontallongitudinalscanning AT liuqingping rastervoronoidiagramgenerationalgorithmbasedonhorizontallongitudinalscanning AT zhaoxuesheng rastervoronoidiagramgenerationalgorithmbasedonhorizontallongitudinalscanning AT wanglei rastervoronoidiagramgenerationalgorithmbasedonhorizontallongitudinalscanning AT sunwenbin rastervoronoidiagramgenerationalgorithmbasedonhorizontallongitudinalscanning |
_version_ |
1725308386204975104 |