5)#利用matplotlib出图查看初步结果-IMDN开发者社群-imdn.cn"> 5)#利用matplotlib出图查看初步结果 - IMDN开发者社群-imdn.cn">
登录
首页 » Python » 森林结构参数提取

森林结构参数提取

于 2022-02-13 发布 文件大小:630.10 kB
0 140
下载积分: 2 下载次数: 1

代码说明:

提取森林结构参数 #读取冠层高度模型CHM raster = gdal.Open("./chm.tif") banddataraster = raster.GetRasterBand(1) dataraster = banddataraster.ReadAsArray() #对CHM进行高斯滤波,平滑数据 dataraster_gau = gaussian_filter(dataraster,sigma=1) #寻找CHM中的局部最大值作为分水岭的标记点 local_maxi = peak_local_max(dataraster_gau, indices=False) markers = ndi.label(local_maxi)[0] #利用分水岭算法进行分割,labels变量中存储了每个分割结果 labels = watershed(-dataraster_gau, markers, mask= dataraster_gau[:]>5) #利用matplotlib出图查看初步结果

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • python
    普通计算器+作图(给函数)+单纯形法计算 (附有文档说明)(calculator+plot for function+Simplex Method (a doc file for introduce))
    2013-12-18 01:23:41下载
    积分:1
  • RCAN-pytorch
    说明:  本rar文件是图像超分辨率重构的网络模型RCAN的代码,可以成功运行(This rar file is the code of the image super-resolution reconstruction network model RCAN, which can be run successfully)
    2021-04-23 23:18:47下载
    积分:1
  • Python绝技成为顶级黑客
    运用python成为顶级黑客,讲解运用python进行网站攻击与漏洞利用(Use Python to become a top hacker, explain how to use Python to attack website and exploit vulnerabilities)
    2019-05-07 21:36:12下载
    积分:1
  • 微博数据挖掘
    利用python调用新浪api接口实现的新浪微博数据的挖掘,能够获取指定的经纬度地点的微博动态信息,还能够将其写入MySQL数据库中。
    2022-07-12 15:52:46下载
    积分:1
  • 191769c0dbfbad4b
    工厂模式 这是一个的代码 ,利用起来非常牛逼,得到写的(Factory model ,Figure 2 shows the approach, and you might recognize the abstract factory pattern)
    2018-05-14 21:35:11下载
    积分:1
  • sam
    逻辑回归,随机森林,xgboost案例,了解三种模型的基本用法(sample for lr,rfm,xgboost)
    2018-06-04 23:46:12下载
    积分:1
  • FEA of plate
    该程序计算薄板振动固有频率,模态,以及受迫振动时域响应(The program calculates the natural frequencies, modes, and time-domain responses of the forced vibration of the thin plate)
    2017-11-27 13:25:13下载
    积分:1
  • ABAQUS损伤塑性混凝土模型_inp
    说明:  ABAQUS损伤塑性混凝土模型,关于在ABAQUS中进行混凝土本构关系的描述(ABAQUS Damage Plastic Concrete Model, Description of Constitutive Relation of Concrete in ABAQUS)
    2020-10-27 21:49:58下载
    积分:1
  • 《Python学习手册》
    说明:  python学习手册,这本书每一章都包含关于Python语言的关键内容的独立的一课,并且包含了一个独特的“练习题”部分,其中带有实际的练习和测试,以便你可以练习新的技能并随着学习而测试自己的理解。你会发现众多带有注释的示例以及图表,它们将帮助你开始学习Python 3.0。(python learing book)
    2020-06-25 10:40:01下载
    积分:1
  • 外星人入侵
    关于外星人入侵的小游戏,代码不算很完善,有很多需要修改的地方,我是一个新手,还有很多要学习希望大家多多批评指正。
    2023-08-19 01:25:03下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载