1 Star 7 Fork 6

Linfu Wei/kd-tree

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
BSD-3-Clause

KD-Tree的C++实现

  • 构建KD-Tree
  • 最近邻搜索
  • 增量式构建KD-Tree: 再平衡
  • 半径搜索
  • 简化排序算法(1M数据构建耗时: 1.25s->0.95s)
  • 使用PCL容器重构KD-Tree(1M数据构建耗时: 0.95s->0.6s)
  • K-近邻搜索

测试结果

1000000 points' building time is: 0.604123s
100000  points' insert time is  : 0.083992s
input         : 0.474971 0.779351 0.943572
**********************************
********* nearest search *********
**********************************
----------- kdtree search -----------
The run time is: 3e-06 s
nearest: 0.477718 0.774989 0.941812
----------- linear search -----------
The run time is: 0.002381 s
nearest: 0.477718 0.774989 0.941812
*********************************
********* radius search *********
*********************************
----------- kdtree search -----------
The run time is: 0.001928 s
total num: 25881
----------- linear search -----------
The run time is: 0.002455 s
total num: 25881
*********************************
******** k-nearest search *******
*********************************
The run time is: 4e-06 s
nearest: 0.476615 0.774104 0.938523
nearest: 0.46879 0.783328 0.944876
nearest: 0.473712 0.779504 0.949804
nearest: 0.477718 0.774989 0.941812
nearest: 0.478485 0.78207 0.938184

空文件

简介

可增量构建的kd-tree 展开 收起
README
BSD-3-Clause
取消

发行版

暂无发行版

贡献者

全部

语言

近期动态

不能加载更多了
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/ghowoght/kd-tree.git
git@gitee.com:ghowoght/kd-tree.git
ghowoght
kd-tree
kd-tree
v2.0

搜索帮助