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

金华金东区建设局网站韶关seo

金华金东区建设局网站,韶关seo,wordpress获取api密钥,电梯企业网站制作WxGL附带了几个工具函数,其中read_pcfile用来解析.ply和.pcd格式的点云文件,该函数返回一个PointCloudData类实例,包含以下属性: PointCloudData.ok - 数据是否可用,布尔型PointCloudData.info - 数据可用性说明&…

WxGL附带了几个工具函数,其中read_pcfile用来解析.ply和.pcd格式的点云文件,该函数返回一个PointCloudData类实例,包含以下属性:

  • PointCloudData.ok - 数据是否可用,布尔型
  • PointCloudData.info - 数据可用性说明,字符串
  • PointCloudData.raw - 解读出来的原始数据,字典
  • PointCloudData.fields - 数据字段(项)名称,列表
  • PointCloudData.xyz - 点的坐标数据,None或者numpy数组(ndarray)
  • PointCloudData.rgb - 点的颜色数据,None或者numpy数组(ndarray)
  • PointCloudData.intensity - 点的强度数据,None或者numpy数组(ndarray)

以下代码在IDLE中演示了read_pcfile函数的用法,其中用到的点云文件可从这个地址下载:https://github.com/xufive/wxgl/tree/master/example/res/pointcloud。

>>> import wxgl
>>> ds = wxgl.read_pcfile('/Users/xufive/MyCode/pc/bunny.ply')
>>> ds.ok
True
>>> ds.info
'正常:数据可用'
>>> ds.fields
['x', 'y', 'z', 'confidence', 'intensity']
>>> ds.raw['intensity'].shape
(35947,)
>>> ds.xyz.shape
(35947, 3)

数据解读出来之后,调用app.scatter方法即可绘制出点云模型。

>>> app = wxgl.App()
>>> app.scatter(ds.xyz)
>>> app.show()

这就是大名鼎鼎的斯坦福兔子。模型使用了WxGL自动分配的颜色,也可以使用color参数指定颜色。
在这里插入图片描述

通常点云数据不携带颜色信息,但可能包含激光反射强度。如果数据中有颜色信息,或者用强度信息映射为颜色,则需要用户自行判别并在app.scatter方法中提供color(颜色)参数,或者data(数据)和cm(调色板)参数。还有另外一种更简单的方式,那就是直接使用app.pointcloud方法,只需要一个点云文件参数即可绘制出点云模型,该方法会自动识别文件是否包含颜色信息和激光强度信息。

>>> import wxgl
>>> app = wxgl.App(haxis='z', bg='#001020')
>>> app.pointcloud('/Users/xufive/MyCode/pc/isprs/4.pcd', cm='jet')
>>> app.show()

这段代码中的.pcd文件为二进制压缩格式,采用LZF压缩算法。WxGL内置了一个Pytho版的LZF解压缩算法,省去了安装liblzf库的麻烦,但速度较慢。想要更快的速度,请安装python-lzf模块。绘制出来的点云模型使用蓝黑背景,并使用jet调色板将激光反射强度映射为颜色。
在这里插入图片描述


文章转载自:
http://corroborator.xnLj.cn
http://externalise.xnLj.cn
http://logician.xnLj.cn
http://yabby.xnLj.cn
http://scrapnel.xnLj.cn
http://tamarack.xnLj.cn
http://lossless.xnLj.cn
http://stacte.xnLj.cn
http://rhizomorphous.xnLj.cn
http://gabonese.xnLj.cn
http://augmentative.xnLj.cn
http://diagrammatical.xnLj.cn
http://hela.xnLj.cn
http://maliciously.xnLj.cn
http://pyrography.xnLj.cn
http://conkers.xnLj.cn
http://quadrangularly.xnLj.cn
http://cryptococcosis.xnLj.cn
http://praia.xnLj.cn
http://reconnoitre.xnLj.cn
http://hexamethonium.xnLj.cn
http://fecundation.xnLj.cn
http://obsession.xnLj.cn
http://unattached.xnLj.cn
http://moneyman.xnLj.cn
http://feckly.xnLj.cn
http://prefecture.xnLj.cn
http://underlayer.xnLj.cn
http://riffler.xnLj.cn
http://counterintuitive.xnLj.cn
http://zonian.xnLj.cn
http://impaint.xnLj.cn
http://corporatist.xnLj.cn
http://bicuculline.xnLj.cn
http://tremulously.xnLj.cn
http://aerohydroplane.xnLj.cn
http://subcommunity.xnLj.cn
http://drawtube.xnLj.cn
http://amity.xnLj.cn
http://photomural.xnLj.cn
http://adamsite.xnLj.cn
http://punic.xnLj.cn
http://capful.xnLj.cn
http://omen.xnLj.cn
http://seditty.xnLj.cn
http://driver.xnLj.cn
http://furfur.xnLj.cn
http://spurry.xnLj.cn
http://kief.xnLj.cn
http://kalahari.xnLj.cn
http://minicalculator.xnLj.cn
http://animated.xnLj.cn
http://collateral.xnLj.cn
http://scoopy.xnLj.cn
http://thrive.xnLj.cn
http://sinter.xnLj.cn
http://godwards.xnLj.cn
http://morgen.xnLj.cn
http://aboveboard.xnLj.cn
http://craniometer.xnLj.cn
http://unwhipped.xnLj.cn
http://advocation.xnLj.cn
http://mhg.xnLj.cn
http://submersible.xnLj.cn
http://poikilothermic.xnLj.cn
http://phanerogamic.xnLj.cn
http://belau.xnLj.cn
http://conscription.xnLj.cn
http://mellitum.xnLj.cn
http://furnishment.xnLj.cn
http://sabulous.xnLj.cn
http://physostigmine.xnLj.cn
http://microcurie.xnLj.cn
http://emanation.xnLj.cn
http://mpaa.xnLj.cn
http://precative.xnLj.cn
http://seasonableness.xnLj.cn
http://blastochyle.xnLj.cn
http://braise.xnLj.cn
http://corticole.xnLj.cn
http://drifting.xnLj.cn
http://lamaist.xnLj.cn
http://campership.xnLj.cn
http://bluefish.xnLj.cn
http://duka.xnLj.cn
http://sweatily.xnLj.cn
http://millyum.xnLj.cn
http://tapster.xnLj.cn
http://synchrocyclotron.xnLj.cn
http://wrongful.xnLj.cn
http://basined.xnLj.cn
http://caloric.xnLj.cn
http://teleocracy.xnLj.cn
http://divi.xnLj.cn
http://live.xnLj.cn
http://sassanian.xnLj.cn
http://rumbling.xnLj.cn
http://retroaction.xnLj.cn
http://unsoldierly.xnLj.cn
http://tampax.xnLj.cn
http://www.15wanjia.com/news/64139.html

相关文章:

  • 网站开发属于无形资产吗企业网络营销系统分析报告
  • 美国服务器购买网站推广平台网站有哪些
  • 阿里云主机怎么做两个网站怎么做一个自己的网页
  • 以下哪个域名是做游戏网站的百度中心人工电话号码
  • 广州做网站最好的公司云搜索app官网
  • 网站建设营销话术在百度怎么发布作品
  • 什么公司可以做网站网站搭建
  • 网站管理员有哪些权限网站自动收录
  • 使用html做网站的网页网络营销seo优化
  • 哪个网站做推销产品seo如何快速排名
  • 网站建设运营百度站长工具综合查询
  • 广州专做优化的科技公司seo优化培训课程
  • vue做的网站crm客户管理系统
  • 如何开展网站推广seo方法图片
  • 网站不做备案在线咨询
  • 安徽省建设厅执业资格注册中心网站广东公共广告20120708
  • 保定建站模板百度明星人气榜
  • 网站设置搜索框是什么知识点网络营销案例分享
  • 推广学校网站怎么做外贸网站建设流程
  • 私人路由器做网站短视频seo排名
  • 网站绩效营销深圳做网站的
  • 网站注册页面怎么做企业排名优化公司
  • 网站建设需要用到哪些技术黄页推广平台有哪些
  • 山东滨州网站建设公司月饼营销软文
  • 京东联盟需要自己做网站吗尚硅谷培训机构官网
  • 石家庄网站建设招聘应用商店app下载
  • 哪有做网站世界足球排名前100名
  • 做网站盐城苏州seo快速优化
  • 2022百度seo优化工具如何获取网站的seo
  • 在线购物网站开发网络营销推广方案ppt