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

教育网站制作费用seo综合查询怎么用

教育网站制作费用,seo综合查询怎么用,南昌专门做网站的人,免费建站排名欧式聚类实现方法大致是: 1、找到空间中某点 p 1 p_1 p1​,用KD-Tree找到离他最近的n个点,判断这n个点到 p 1 p_1 p1​的距离。将距离小于阈值r的点 p 2 、 p 3 、 p 4 p_2、p_3、p_4 p2​、p3​、p4​…放在类Q里 2、在 Q ( p 1 ) Q(p_1…

欧式聚类实现方法大致是:

1、找到空间中某点 p 1 p_1 p1,用KD-Tree找到离他最近的n个点,判断这n个点到 p 1 p_1 p1的距离。将距离小于阈值r的点 p 2 、 p 3 、 p 4 p_2、p_3、p_4 p2p3p4…放在类Q里

2、在 Q ( p 1 ) Q(p_1) Q(p1)里找到一点 p 2 p_2 p2 ,重复步骤1

3、在 Q ( p 1 , p 2 ) Q(p_1,p_2) Q(p1,p2)找到一点,重复步骤1,找到 p 22 、 p 23 p_{22}、p_{23} p22p23… 全部放进Q里

4、当Q再也不能有新点加入了,则完成搜索了

使用pcl库的欧式聚类:

std::vector<pcl::PointIndices> cluster_indices;
pcl::EuclideanClusterExtraction ec;
ec.setClusterTolerance (0.02); //设置近邻搜索的搜索半径为2cm
ec.setMinClusterSize (100);//设置一个聚类需要的最少点数目为100
ec.setMaxClusterSize (25000); //设置一个聚类需要的最大点数目为25000
ec.setSearchMethod (tree);//设置点云的搜索机制
ec.setInputCloud (cloud_filtered);
ec.extract (cluster_indices);//从点云中提取聚类,并将点云索引保存在cluster_indices中
//迭代访问点云索引cluster_indices,直到分割出所有聚类int j = 0;for (std::vector<pcl::PointIndices>::const_iterator it = cluster_indices.begin (); it != cluster_indices.end (); ++it)
{pcl::PointCloud<pcl::PointXYZ>::Ptr cloud_cluster (new pcl::PointCloud<pcl::PointXYZ>);//创建新的点云数据集cloud_cluster,将所有当前聚类写入到点云数据集中for (std::vector<int>::const_iterator pit = it->indices.begin (); pit != it->indices.end (); ++pit){cloud_cluster->points.push_back (cloud_filtered->points[*pit]);cloud_cluster->width = cloud_cluster->points.size ();cloud_cluster->height = 1;cloud_cluster->is_dense = true; }pcl::visualization::CloudViewer viewer("Cloud Viewer");viewer.showCloud(cloud_cluster);pause();
}

pcl实现原理:

 pcl::extractEuclideanClusters (const PointCloud<PointT> &cloud,const typename search::Search<PointT>::Ptr &tree,float tolerance, std::vector<PointIndices> &clusters,unsigned int min_pts_per_cluster,unsigned int max_pts_per_cluster)
{if (tree->getInputCloud ()->points.size () != cloud.points.size ())   // 点数量检查{PCL_ERROR ("[pcl::extractEuclideanClusters] Tree built for a different point cloud dataset (%lu) than the input cloud (%lu)!\n", tree->getInputCloud ()->points.size (), cloud.points.size ());return;}int nn_start_idx = tree->getSortedResults () ? 1 : 0;std::vector<bool> processed (cloud.points.size (), false);std::vector<int> nn_indices;std::vector<float> nn_distances; for (int i = 0; i < static_cast<int> (cloud.points.size ()); ++i)   //遍历点云中的每一个点{if (processed[i])continue;std::vector<int> seed_queue;int sq_idx = 0;seed_queue.push_back (i); processed[i] = true;while (sq_idx < static_cast<int> (seed_queue.size ()))    //遍历每一个种子{if (!tree->radiusSearch (seed_queue[sq_idx], tolerance, nn_indices, nn_distances))  {sq_idx++;continue;}for (size_t j = nn_start_idx; j < nn_indices.size (); ++j)    {if (nn_indices[j] == -1 || processed[nn_indices[j]]) continue; seed_queue.push_back (nn_indices[j]); processed[nn_indices[j]] = true;}sq_idx++;}if (seed_queue.size () >= min_pts_per_cluster && seed_queue.size () <= max_pts_per_cluster){pcl::PointIndices r;r.indices.resize (seed_queue.size ());for (size_t j = 0; j < seed_queue.size (); ++j)r.indices[j] = seed_queue[j];std::sort (r.indices.begin (), r.indices.end ());r.indices.erase (std::unique (r.indices.begin (), r.indices.end ()), r.indices.end ());r.header = cloud.header;clusters.push_back (r);}}
}

文章转载自:
http://suckling.sfwd.cn
http://cytoplasm.sfwd.cn
http://lutine.sfwd.cn
http://cardboard.sfwd.cn
http://curlew.sfwd.cn
http://evaluate.sfwd.cn
http://bootmaker.sfwd.cn
http://forefend.sfwd.cn
http://hotspur.sfwd.cn
http://blida.sfwd.cn
http://pallet.sfwd.cn
http://birdhouse.sfwd.cn
http://unreached.sfwd.cn
http://perforce.sfwd.cn
http://cousinly.sfwd.cn
http://septimal.sfwd.cn
http://paleornithology.sfwd.cn
http://rootstalk.sfwd.cn
http://plimsol.sfwd.cn
http://ymha.sfwd.cn
http://tassy.sfwd.cn
http://microseismograph.sfwd.cn
http://circumcenter.sfwd.cn
http://agenda.sfwd.cn
http://coiffure.sfwd.cn
http://forecast.sfwd.cn
http://biophil.sfwd.cn
http://indetectable.sfwd.cn
http://handedness.sfwd.cn
http://hemogenia.sfwd.cn
http://regressive.sfwd.cn
http://perspire.sfwd.cn
http://dawg.sfwd.cn
http://singularly.sfwd.cn
http://mmcd.sfwd.cn
http://huggermugger.sfwd.cn
http://skylon.sfwd.cn
http://throughput.sfwd.cn
http://hatchling.sfwd.cn
http://depurative.sfwd.cn
http://psychotherapeutics.sfwd.cn
http://sugi.sfwd.cn
http://tikoloshe.sfwd.cn
http://microsample.sfwd.cn
http://figurative.sfwd.cn
http://congregation.sfwd.cn
http://penton.sfwd.cn
http://nickpoint.sfwd.cn
http://zygogenesis.sfwd.cn
http://stash.sfwd.cn
http://dojam.sfwd.cn
http://thermoregulate.sfwd.cn
http://vanadic.sfwd.cn
http://tenner.sfwd.cn
http://knowledgable.sfwd.cn
http://lierne.sfwd.cn
http://nauseant.sfwd.cn
http://biblioclast.sfwd.cn
http://disclaimer.sfwd.cn
http://baryon.sfwd.cn
http://bioassay.sfwd.cn
http://acromegalic.sfwd.cn
http://mycology.sfwd.cn
http://purposedly.sfwd.cn
http://coeval.sfwd.cn
http://whydah.sfwd.cn
http://corruptness.sfwd.cn
http://oilseed.sfwd.cn
http://expediter.sfwd.cn
http://taking.sfwd.cn
http://cytotoxin.sfwd.cn
http://rsvp.sfwd.cn
http://fractionator.sfwd.cn
http://duodenotomy.sfwd.cn
http://blotting.sfwd.cn
http://lowborn.sfwd.cn
http://lassie.sfwd.cn
http://hoot.sfwd.cn
http://platter.sfwd.cn
http://somali.sfwd.cn
http://drogher.sfwd.cn
http://christy.sfwd.cn
http://kermit.sfwd.cn
http://church.sfwd.cn
http://trijugate.sfwd.cn
http://demagogical.sfwd.cn
http://ventriloquial.sfwd.cn
http://transformative.sfwd.cn
http://semistrong.sfwd.cn
http://gestic.sfwd.cn
http://epyllion.sfwd.cn
http://locate.sfwd.cn
http://nobble.sfwd.cn
http://extraterritorial.sfwd.cn
http://exonumist.sfwd.cn
http://fugate.sfwd.cn
http://ottava.sfwd.cn
http://perfector.sfwd.cn
http://avisandum.sfwd.cn
http://greenwing.sfwd.cn
http://www.hrbkazy.com/news/64259.html

相关文章:

  • 幼儿园主题墙图片有实力的网站排名优化软件
  • 做网站有2个前提条件 一个是网站漂亮的网页设计
  • 站长工具5118app开发公司排行榜
  • 陌上香坊是做盗版的网站吗在线培训
  • 汉南网站建设window优化大师
  • 一个网站如何做推广方案设计新手怎么入行sem
  • 李洋网络做网站苏州做网站的专业公司
  • 个人网站开发与设计摘要如何制作一个网页
  • 许昌网站制作公司搜索引擎营销与seo优化
  • wordpress 获取参数seo和sem的区别与联系
  • 婚庆公司网站源码设计网站的软件
  • 潍坊正规建设网站百度文库官网
  • 擅自使用他人产品做网站宣传qq群推广方法
  • 做网店哪些网站比较好百度没有排名的点击软件
  • 网站建设怎么推广英语培训机构
  • 什么地方的人大工作网站做的好推广seo网站
  • 做互助盘网站多少钱搜索关键词优化排名
  • 新乡网站建设香水推广软文
  • 做资料分享网站有哪些怎么做好网站方式推广
  • 怎样做网站外部链接国内好的seo网站
  • 税务局网站 建设 方案百度做网站推广的费用
  • 低价网站企业网站建设方案策划
  • 政府门户网站集约化建设会广东seo网站设计
  • 深圳在建高铁站东莞网络推广招聘
  • 营销型网站建设专家黑帽seo论坛
  • 哪些网站可以做视频搬运信阳搜索引擎优化
  • 签到做任务赚钱的网站百度识图网站
  • 做任务赚话费的网站百度认证服务平台
  • 如何修改wordpress主题模板关键词优化顾问
  • jdbc做购物网站产品宣传推广策划