计算机应用 ›› 2016, Vol. 36 ›› Issue (10): 2863-2869.DOI: 10.11772/j.issn.1001-9081.2016.10.2863

• 虚拟现实与数字媒体 • 上一篇    下一篇

激光散乱点云K最近邻搜索算法

赵京东, 杨凤华   

  1. 曲阜师范大学 数学科学学院, 山东 曲阜 273165
  • 收稿日期:2016-03-23 修回日期:2016-05-03 发布日期:2016-10-10
  • 通讯作者: 赵京东,E-mail:zhaojd@mail.qfnu.edu.cn
  • 作者简介:赵京东(1962—),男,山东莱州人,教授,主要研究方向:CAD、数字图像处理;杨凤华(1962—),女,山东新泰人,副教授,硕士,主要研究方向:非线性泛函分析。
  • 基金资助:
    国家自然科学基金资助项目(61104136);曲阜师范大学实验室开放基金资助项目(sk201418)。

K-nearest neighbor searching algorithm for laser scattered point cloud

ZHAO Jingdong, YANG Fenghua   

  1. School of Mathematical Sciences, Qufu Normal University, Qufu Shangdong 273165, China
  • Received:2016-03-23 Revised:2016-05-03 Published:2016-10-10
  • Supported by:
    BackgroundThis work is partially supported by the National Science Foundation of China (61104136), the Laboratory Open Foundation of Qufu Normal University (sk201418).

摘要: 针对激光散乱点云的数据量大,且具有面型的特点,为降低存储器使用量,提高散乱点云的处理效率,提出了一种散乱点云K最近邻(KNN)搜索算法。首先,利用多级分块、动态链表的存储方式,只存储非空的子空间编号。对相邻子空间进行3进制编码,利用编码的对偶关系,建立相邻子空间之间的指针连接,构造出包含KNN搜索所需的各类信息的广义表,然后再搜索KNN。KNN搜索过程中,在计算被测点到候选点距离时,直接删除筛选立方体内切球之外的点,可将参入按距离排序的候选点数减少为现有算法的一半。依赖K值和不依赖K值的分块原则,均可计算不同的K邻域。实验结果表明,该算法不仅具有低的存储器使用量,而且具有较高的效率。

关键词: 散乱点云, 子空间, K最近邻, 广义表

Abstract: Aiming at the problem of large amount of data and characteristics of surface in laser scattered point cloud, a K-Nearest Neighbors (KNN) searching algorithm for laser scattered point cloud was put forward to reduce memory usage and improve processing efficiency. Firstly, only the non-empty subspace numbers were stored by multistage classification and dynamic linked list storage. Adjacent subspace was coded in ternary, and the pointer connection between adjacent subspaces was established by dual relationship of code, a generalized table that contained all kinds of required information for KNN searching was constructed, then KNN were searched. In the process of KNN searching, the candidate points outside inscribed sphere of filtration cube were directly deleted when calculating the distance from measured point to candidate points, thus reducing the candidate points that participate in the sort by distance to half. Both dividing principles, whether it relies on K value or not, can be used to calculate different K neighborhoods. Experimental results prove that the proposed algorithm not only has low memory usage, but also has high efficiency.

Key words: scattered point cloud, subspace, K-Nearest Neighbors (KNN), generalized list

中图分类号: