当前位置: 首页 > news >正文

曲靖住房和城乡建设局网站北京新闻最新消息

曲靖住房和城乡建设局网站,北京新闻最新消息,wordpress 登录接口,wordpress是PHP框架吗目录 1.统计滤波2.软件实现3.完整操作4.算法源码5.相关代码 本文由CSDN点云侠原创,CloudCompare——统计滤波,爬虫自重。如果你不是在点云侠的博客中看到该文章,那么此处便是不要脸的爬虫。 1.统计滤波 算法原理见:PCL 统计滤波器…

目录

  • 1.统计滤波
  • 2.软件实现
  • 3.完整操作
  • 4.算法源码
  • 5.相关代码

在这里插入图片描述

本文由CSDN点云侠原创,CloudCompare——统计滤波,爬虫自重。如果你不是在点云侠的博客中看到该文章,那么此处便是不要脸的爬虫。

1.统计滤波

  算法原理见:PCL 统计滤波器。

2.软件实现

参数设置
在这里插入图片描述

3.完整操作

在这里插入图片描述

4.算法源码

ReferenceCloud* CloudSamplingTools::sorFilter(	GenericIndexedCloudPersist* inputCloud,int knn/*=6*/,double nSigma/*=1.0*/,DgmOctree* inputOctree/*=0*/,GenericProgressCallback* progressCb/*=0*/)
{if (!inputCloud || knn <= 0 || inputCloud->size() <= static_cast<unsigned>(knn)){//invalid inputassert(false);return nullptr;}DgmOctree* octree = inputOctree;if (!octree){//compute the octree if necessaryoctree = new DgmOctree(inputCloud);if (octree->build(progressCb) < 1){delete octree;return nullptr;}}//outputReferenceCloud* filteredCloud = nullptr;for (unsigned step = 0; step < 1; ++step) //fake loop for easy break{unsigned pointCount = inputCloud->size();std::vector<PointCoordinateType> meanDistances;try{meanDistances.resize(pointCount, 0);}catch (const std::bad_alloc&){//not enough memorybreak;}double avgDist = 0;double stdDev = 0;//1st step: compute the average distance to the neighbors{//additional parametersvoid* additionalParameters[] = {reinterpret_cast<void*>(&knn),reinterpret_cast<void*>(&meanDistances)};unsigned char octreeLevel = octree->findBestLevelForAGivenPopulationPerCell(knn);if (octree->executeFunctionForAllCellsAtLevel(	octreeLevel,&applySORFilterAtLevel,additionalParameters,true,progressCb,"SOR filter") == 0){//something went wrongbreak;}//deduce the average distance and std. dev.double sumDist = 0;double sumSquareDist = 0;for (unsigned i = 0; i < pointCount; ++i){sumDist += meanDistances[i];sumSquareDist += meanDistances[i] * meanDistances[i];}avgDist = sumDist / pointCount;stdDev = sqrt(std::abs(sumSquareDist / pointCount - avgDist*avgDist));}//2nd step: remove the farthest points {//deduce the max distancedouble maxDist = avgDist + nSigma * stdDev;filteredCloud = new ReferenceCloud(inputCloud);if (!filteredCloud->reserve(pointCount)){//not enough memorydelete filteredCloud;filteredCloud = nullptr;break;}for (unsigned i = 0; i < pointCount; ++i){if (meanDistances[i] <= maxDist){filteredCloud->addPointIndex(i);}}filteredCloud->resize(filteredCloud->size());}}if (!inputOctree){delete octree;octree = nullptr;}return filteredCloud;
}

5.相关代码

  • PCL 统计滤波器
  • PCL 统计滤波(C++详细过程版)
  • Open3D(C++) 统计滤波
  • Open3D 统计滤波器
  • matlab 点云统计滤波
http://www.ds6.com.cn/news/71702.html

相关文章:

  • 云南有哪些城市安卓优化大师2021
  • 怎样做一个app宁波网站seo公司
  • 开发一套电商网站多少钱自己做一个网站需要多少钱
  • 如何建立商城网站网络营销的缺点及建议
  • 关于单位建设网站的申请营销策略有哪些方面
  • 寻花问柳一家专注做男人喜爱的网站百度官网认证免费
  • 做外贸怎么打开国外网站资源网站优化排名软件公司
  • wordpress软件站模板磁力屋 最好用
  • 有哪些好的网站制作公司品牌推广活动方案
  • 建网站业务如何开展百度官网网址
  • 凯里网站建设公司杭州seo专员
  • 做网站外包公司名称推广信息哪个平台好
  • 施工企业管理费用包括哪些查询seo
  • 企业网站建设合同书.doc长沙疫情最新情况
  • 团购网站app制作全球搜索大全
  • 网站建设专业网站设计公司物格网黑帽seo什么意思
  • 如何设计软件界面seo关键词排优化软件
  • 一般网站用什么软件做seo网站优化方法
  • wordpress模板手机seo团队管理系统
  • 成都程序员网站宁波seo搜索排名优化
  • 公司网站维护经验总结南京网站制作
  • 目前做哪个网站致富百度广告位
  • .net简单网站开发视频教程源云推广
  • 设计师网站有哪些销售定制家具百度搜索风云榜电视剧
  • 怎么帮网站做支付接口网站建立的步骤
  • 佛山中小企业网站建设成都今天宣布的最新疫情消息
  • 淘宝网站制作建设是真的吗网络营销推广工具有哪些?
  • 石景山广州网站建设长沙今日头条新闻
  • 绿色设计网站win10优化工具
  • 怎么把文件放到网站的根目录推广赚钱app排行榜