资源简介
一个非常易学的lidar数据处理程序代码,可以非常方便的进行lidar数据读取和处理,适合初学人员的学习参考使用。
代码片段和文件信息
//##########################################################################
//# #
//# CCLIB #
//# #
//# This program is free software; you can redistribute it and/or modify #
//# it under the terms of the GNU Library General Public License as #
//# published by the Free Software Foundation; version 2 of the License. #
//# #
//# This program is distributed in the hope that it will be useful #
//# but WITHOUT ANY WARRANTY; without even the implied warranty of #
//# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
//# GNU General Public License for more details. #
//# #
//# COPYRIGHT: EDF R&D / TELECOM ParisTech (ENST-TSI) #
//# #
//##########################################################################
//
//*********************** Last revision of this file ***********************
//$Author:: $
//$Rev:: $
//$LastChangedDate:: $
//**************************************************************************
//
#include “GenericChunkedArray.h“
#include “AutoSegmentationTools.h“
#include “GenericIndexedCloudPersist.h“
#include “GenericProgressCallback.h“
#include “ReferenceCloud.h“
#include “DgmOctree.h“
#include “FastMarchingForPropagation.h“
#include “ScalarFieldTools.h“
#include “ScalarField.h“
#include “CCMiscTools.h“
#include
using namespace CCLib;
//marque les composantes connexes
int AutoSegmentationTools::labelConnectedComponents(GenericIndexedCloudPersist* theCloud uchar level bool sixConnexity GenericProgressCallback* progressCb DgmOctree* _theOctree)
{
if (!theCloud)
return -1;
DgmOctree* theOctree = _theOctree;
if (!theOctree)
{
theOctree = new DgmOctree(theCloud);
if (theOctree->build(progressCb)<1)
{
delete theOctree;
return -1;
}
}
//on initialise les distances pour recevoir les labels des CCs
theCloud->enableScalarField();
int result = theOctree->extractCCs(levelsixConnexityprogressCb);
if (!_theOctree)
delete theOctree;
return result;
}
//extrait les composantes connexes d‘un nuage
//--> version avec des ReferenceCloud (uniquement des r閒閞ences vers les points)
//pour permettre une r閏up閞ation au niveau de l‘application cliente
//des couleurs normales etc.
bool AutoSegmentationTools::extractConnectedComponents(GenericInd
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 3 2012-04-05 21:33 CloudCompare\.svn\entries
文件 3 2012-04-05 21:33 CloudCompare\.svn\format
文件 3125 2012-04-05 21:36 CloudCompare\.svn\pristine\00\0063140517f20fa788c104c101716fb4c27e6ae6.svn-ba
文件 29861 2012-04-05 21:34 CloudCompare\.svn\pristine\00\008937f6936a62fa59dc849ea7481ee97b95e794.svn-ba
文件 1264 2012-04-05 21:36 CloudCompare\.svn\pristine\00\00ac19155c670645c213e0784e6bd2a171387b6e.svn-ba
文件 2126 2012-04-05 21:36 CloudCompare\.svn\pristine\00\00b16329a582f47a6beee915f5259f5b546eac53.svn-ba
文件 568 2012-04-05 21:36 CloudCompare\.svn\pristine\00\00c445366126e2e12395e5ff31d5b0dc5c4679fb.svn-ba
文件 8474 2012-04-05 21:36 CloudCompare\.svn\pristine\00\00f5cfab3b5c40bf1da4e366634e4d7dbc83533a.svn-ba
文件 7574 2012-04-05 21:36 CloudCompare\.svn\pristine\01\01169e2dbb588d24e9972b81b4d3deb15a3249a5.svn-ba
文件 2331 2012-04-05 21:35 CloudCompare\.svn\pristine\01\01ee26550ce1170ed6533d772a3600f6861cd9d6.svn-ba
文件 11349 2012-04-05 21:36 CloudCompare\.svn\pristine\02\024dae57532747bd04663b1806be79df1c0a7c28.svn-ba
文件 6872 2012-04-05 21:34 CloudCompare\.svn\pristine\02\02b22bc3f5b9e1d984d954d2b71acedd35ff234c.svn-ba
文件 2273 2012-04-05 21:36 CloudCompare\.svn\pristine\02\02d2f0999b0b77bb18c080b040d90a73b0de3e76.svn-ba
文件 6598 2012-04-05 21:36 CloudCompare\.svn\pristine\04\0427f328993063821c561fe8d26369ff2940fe14.svn-ba
文件 357 2012-04-05 21:36 CloudCompare\.svn\pristine\04\0444d6b2f5c42febc3fdc4d6d2da102e0b09f847.svn-ba
文件 1083 2012-04-05 21:36 CloudCompare\.svn\pristine\04\04c9e787a399bdf562eb3fba68e6af722c34c625.svn-ba
文件 12313 2012-04-05 21:36 CloudCompare\.svn\pristine\04\04d19d8c1dac2a081afae7742451294a950137ae.svn-ba
文件 5660 2012-04-05 21:34 CloudCompare\.svn\pristine\04\04ff01f01c0f85ff3050bcb4b300b94d3eba2d55.svn-ba
文件 4947 2012-04-05 21:36 CloudCompare\.svn\pristine\05\052b3fec05cea1c5d4d21c493dd9bdb2bf170b39.svn-ba
文件 28181 2012-04-05 21:36 CloudCompare\.svn\pristine\05\052c3189c1ae72d5c14d2ab9bfde0e9ac17ef986.svn-ba
文件 5820 2012-04-05 21:34 CloudCompare\.svn\pristine\05\0540c34b250a3f6b9adf38a9ca1d75b4ec88ab06.svn-ba
文件 351 2012-04-05 21:36 CloudCompare\.svn\pristine\05\05a6e0d19136990e92476d0911a5ecd3bfbb12aa.svn-ba
文件 2259 2012-04-05 21:34 CloudCompare\.svn\pristine\06\061c4cd8ec40661d909661cc12c927a7f2cbd1a2.svn-ba
文件 3051 2012-04-05 21:36 CloudCompare\.svn\pristine\06\064bcb94d0b986c3a7cc73b3ab225acc207ea970.svn-ba
文件 16524 2012-04-05 21:34 CloudCompare\.svn\pristine\06\06d0fe302d46fe4ae44ecddc67f1e54f35f154d4.svn-ba
文件 81025 2012-04-05 21:34 CloudCompare\.svn\pristine\06\06dd891378816f404081bf5ae9c9ad0a870f39c6.svn-ba
文件 542 2012-04-05 21:35 CloudCompare\.svn\pristine\07\07062ba70bf603fa7873e8895c129019f93923e0.svn-ba
文件 2053 2012-04-05 21:36 CloudCompare\.svn\pristine\07\0767286c5a971837e39ebcec7b97245ceadcdb0c.svn-ba
文件 15437 2012-04-05 21:36 CloudCompare\.svn\pristine\07\0771f0def89dad4651c1a518eb61a1b58c323611.svn-ba
文件 22160 2012-04-05 21:36 CloudCompare\.svn\pristine\07\078e4de3947e366dbbaed07cc43c56b4eccff5ae.svn-ba
............此处省略2457个文件信息
- 上一篇:CT中分割肺
- 下一篇:知识图谱导论 仅四章
评论
共有 条评论