DU Shihong, DU Daosheng, FAN Hong, WAN Youchuan. A New Raster-based Algorithm for Extracting Main Skeleton Line of Polygon[J]. Geomatics and Information Science of Wuhan University, 2000, 25(5): 432-436.
Citation: DU Shihong, DU Daosheng, FAN Hong, WAN Youchuan. A New Raster-based Algorithm for Extracting Main Skeleton Line of Polygon[J]. Geomatics and Information Science of Wuhan University, 2000, 25(5): 432-436.

A New Raster-based Algorithm for Extracting Main Skeleton Line of Polygon

More Information
  • Received Date: April 06, 2000
  • Published Date: May 04, 2000
  • This paper discusses the algorithm of extracting the main skeleton line of polygon.Through the mathematical morphology thinning operation on the grid cell of polygon, we can get the skeleton of the polygon including many short lines.Before extracting the longest skeleton, the short lines must be removed.This paper explores the way of vectorization based on node point of grid data and the way of extracting main skeleton line of polygon based on end point of grid data.The main skeleton line using the extracting algorithm is an optimum one.The above two ways are easily implemented by a recursive program. There are three main steps in the algorithm:①Rasterizing the polygon and then using the thinning operation on the grid data.Through this step, we get the grid skeleton lines.②Vectorizing the grid skeleton lines and building the topological relation of lines.③Extracting main skeleton line from the vector skeleton lines. Step ② and step ③ are the paper's kernel. [FK(W14。40ZQ] It should be pointed out that the efficiency of mathematical morphology thinning operation directly depends on grid data volume.If the size of grid cell is small, data volume is large, it increases the time of computation.If the size is big, it is not propitious to extract accurately the skeleton line of small polygon.The dynamic grid data structure can solve this problem.The structure stores the start row and start column, the total rows and total columns, the grid cell size, and original point of polygon.Before rasterizing, the total rows and columns are fixed firstly such as 100.Secondly, the size of grid is calculated.Finally, the polygon is rasterized.Because the rows and columns are fixed, for large polygons, the data volume of grid cell becomes less, but for small polygons, the data volume of grid cell is increased.It is obvious that the dynamic raster structure has better adaptability. The result of the experiment shows that the algorithm of extracting skeleton line based on dynamic raster data structure is effective.The algorithm has many advantages such as taking less time and less memory.
  • Related Articles

    [1]WANG Tong, ZHOU Weihu, DONG Lan, LIANG Jing, MA Na, HE Zhenqiang, KE Zhiyong, LUO Tao, MEN Lingling, WANG Xiaolong, LI Bo, LU Shang, YAN Luping, HAN Yuanying. Accuracy of Control Network Measured by Laser Tracker in Particle Accelerator[J]. Geomatics and Information Science of Wuhan University, 2024, 49(1): 156-166. DOI: 10.13203/j.whugis20210110
    [2]LUO Tao, HE Xiaoye, WANG Zhaoyi, WANG Wei, LI Xiao, HUANG Qingqing, HE Zhenqiang, KE Zhiyong, MA Na, WANG Tong, LIANG Jing, LI Bo, MEN Lingling, WANG Xiaolong, DONG Lan. Error Analysis and Application of Laser Tracker's Bundle Adjustment in the Tunnel Alignment Measurement of Particle Accelerator[J]. Geomatics and Information Science of Wuhan University, 2023, 48(6): 919-925. DOI: 10.13203/j.whugis20200718
    [3]WANG Zhaoyi, HE Xiaoye, WANG Wei, ZHANG Haiting, CHEN Yihua, CHEN Jiaxin. High Precision Pre-Alignment Method Based on Laser Tracker[J]. Geomatics and Information Science of Wuhan University, 2021, 46(4): 555-560. DOI: 10.13203/j.whugis20190143
    [4]ZHAN Qingming ZHOU Xingang, XIAO Yinghui, YU Liang, . 对古建筑激光扫描点云进行分割、识别,并利用Hough变换和最小二乘法从点云中提取直线和圆,取得了较满意的结果。对两种算法的提取效果进行了比较。[J]. Geomatics and Information Science of Wuhan University, 2011, 36(6): 674-677.
    [5]YANG Fanlin, LU Xiushan, LI Jiabiao, GUO Jinyun. Correction of Imperfect Alignment of MRU for Multibeam Bathymetry Data[J]. Geomatics and Information Science of Wuhan University, 2010, 35(7): 816-820.
    [6]DENG Fei, ZHANG Zuxun, ZHANG Jianqing. A Method of Registration Between Laser Scanning Data and Digital Images[J]. Geomatics and Information Science of Wuhan University, 2007, 32(4): 290-292.
    [7]LIU Jingnan, ZHANG Xiaohong. Classification of Laser Scanning Altimetry Data Using Laser Intensity[J]. Geomatics and Information Science of Wuhan University, 2005, 30(3): 189-193.
    [8]Pan Zhengfeng, Hua Xianghong. Correcting Vertical Measurements of Laser Collimation System Using Precise Levelling Results[J]. Geomatics and Information Science of Wuhan University, 1990, 15(1): 12-18.
    [9]Chen Yongqi. The Approach to some Problems Concering Precision Laser Alignment[J]. Geomatics and Information Science of Wuhan University, 1980, 5(2): 25-39.
    [10]Pan Zhengfeng, Chen Yongqi. Precision Laser Alignment and its Use in the Measurement of the Horizontal Deformation of Large Dams[J]. Geomatics and Information Science of Wuhan University, 1980, 5(1): 73-84.

Catalog

    Article views (1237) PDF downloads (242) Cited by()
    Related

    /

    DownLoad:  Full-Size Img  PowerPoint
    Return
    Return