• 大小: 12.91MB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2023-07-12
  • 语言: 其他
  • 标签: 八叉树  

资源简介

八叉树算法,压缩点云数据,非常实用,逻辑清晰

资源截图

代码片段和文件信息

// MyOctree.cpp : 定义控制台应用程序的入口点。
//

#include “stdafx.h“
#include “Point3_.h“
#include “Octree.h“
using namespace cv;
int _tmain(int argc _TCHAR* argv[])
{
COctree octree;
vector points;
/*
for(int i = 0;i < 21 ;i++)
{
CPoint3f newpoint(0.5f * i0.5f * i + 10.5f * i + 2);
points.push_back(newpoint);
}
*/
octree.initTree();
octree.ReadFile(“rgb_n.pcd“points);
octree.buildTree(points100);
octree.egordicNode(0);
octree.WriteFile(“SimplifyPoints.pcd“);
return 0;
}


 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2015-04-25 17:09  MyOctree\
     目录           0  2015-04-25 16:44  MyOctree\Debug\
     文件      161280  2015-04-25 16:54  MyOctree\Debug\MyOctree.exe
     文件     1034848  2015-04-25 16:54  MyOctree\Debug\MyOctree.ilk
     文件     1666048  2015-04-25 16:54  MyOctree\Debug\MyOctree.pdb
     目录           0  2015-04-25 16:54  MyOctree\MyOctree\
     目录           0  2015-04-25 16:54  MyOctree\MyOctree\Debug\
     文件       47874  2015-04-25 16:54  MyOctree\MyOctree\Debug\CL.read.1.tlog
     文件        2678  2015-04-25 16:54  MyOctree\MyOctree\Debug\CL.write.1.tlog
     文件         406  2015-04-24 10:24  MyOctree\MyOctree\Debug\MyOctree.exe.embed.manifest
     文件         472  2015-04-24 10:24  MyOctree\MyOctree\Debug\MyOctree.exe.embed.manifest.res
     文件         381  2015-04-25 16:54  MyOctree\MyOctree\Debug\MyOctree.exe.intermediate.manifest
     文件          97  2015-04-25 16:54  MyOctree\MyOctree\Debug\MyOctree.lastbuildstate
     文件        2494  2015-04-25 16:54  MyOctree\MyOctree\Debug\MyOctree.log
     文件       75701  2015-04-25 16:54  MyOctree\MyOctree\Debug\MyOctree.obj
     文件     1245184  2015-04-24 20:52  MyOctree\MyOctree\Debug\MyOctree.pch
     文件         713  2015-04-24 10:24  MyOctree\MyOctree\Debug\MyOctree.vcxprojResolveAssemblyReference.cache
     文件           0  2015-04-24 10:24  MyOctree\MyOctree\Debug\MyOctree.write.1.tlog
     文件         206  2015-04-24 10:24  MyOctree\MyOctree\Debug\MyOctree_manifest.rc
     文件      670246  2015-04-25 16:52  MyOctree\MyOctree\Debug\Octree.obj
     文件        2578  2015-04-25 16:54  MyOctree\MyOctree\Debug\cl.command.1.tlog
     文件           2  2015-04-25 16:54  MyOctree\MyOctree\Debug\link-cvtres.read.1.tlog
     文件           2  2015-04-25 16:54  MyOctree\MyOctree\Debug\link-cvtres.write.1.tlog
     文件           2  2015-04-25 16:54  MyOctree\MyOctree\Debug\link.2124-cvtres.read.1.tlog
     文件           2  2015-04-25 16:54  MyOctree\MyOctree\Debug\link.2124-cvtres.write.1.tlog
     文件           2  2015-04-25 16:54  MyOctree\MyOctree\Debug\link.2124.read.1.tlog
     文件           2  2015-04-25 16:54  MyOctree\MyOctree\Debug\link.2124.write.1.tlog
     文件           2  2015-04-25 16:54  MyOctree\MyOctree\Debug\link.2724-cvtres.read.1.tlog
     文件           2  2015-04-25 16:54  MyOctree\MyOctree\Debug\link.2724-cvtres.write.1.tlog
     文件           2  2015-04-25 16:54  MyOctree\MyOctree\Debug\link.2724.read.1.tlog
     文件           2  2015-04-25 16:54  MyOctree\MyOctree\Debug\link.2724.write.1.tlog
............此处省略87个文件信息

评论

共有 条评论