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

森林结构参数提取

于 2022-02-13 发布 文件大小:630.10 kB
0 102
下载积分: 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 代码程序(Self-learning Calculator Small Program Learning)
    2020-06-18 20:40:01下载
    积分:1
  • 风电功率预测
    某风电场由58台风电机组构成,每台机组的额定输出功率为850kW。附件2中给出了2006年5月10日至2006年6月6日时间段内该风电场中某台A风电机组的输出功率数据,记为PA。 请对给定数据进行风电功率实时预测并检验预测结果是否满足附件1中的关于预测精度的相关要求。具体要求: 1)采用不少于三种预测方法(比如时间序列分析类的预测方法、神经网络预测方法、支持向量机预测方法等等); 2)预测量:PA 3)预测时间范围分别为(预测用的历史数据范围可自行选定):
    2022-10-16 16:50:03下载
    积分:1
  • EVMK4
    利用数据,进行对出行者出行状态的蒙特卡洛模拟方法(metro Carlo simulation)
    2018-03-15 16:39:38下载
    积分:1
  • sort_0.7
    说明:  Sorting m3u files, for iptv
    2019-05-13 16:25:45下载
    积分:1
  • ga_bp-master
    说明:  py代码,神经网络和遗传算法的优化预测信息(Optimization prediction information of Py code, neural network and genetic algorithm)
    2021-05-13 15:30:02下载
    积分:1
  • ros系统 python通过gpfpd获取差分gps数据
    ros系统 python通过gpfpd获取差分gps数据 gpfpd格式是比较出名的差分gps公司提供的一种文本输出格式gps数据输出方式 ros系统,是一种实时操作系统,建立在ubuntu14.04系统下,版本是indigo 本代码通过232接口获取gpfpd格式gps数据,然后按照预先设定的comb格式消息public到ros系统中,可以按照格式接受使用
    2022-03-18 08:25:47下载
    积分:1
  • byte-of-python-chinese-edition.pdf
    简明python教程 《A Byte of Python》是一本由 Swaroop C H 编写,旨在于介绍如何使用 Python 语言进行编 程的自由图书。它以教材与指南的形式为入门者介绍 Python 语言。如果你对电脑知识的了解 仅限于如何保存文本文件的话,那这本书就是为你准备的。(Concise Python tutorials)
    2018-04-15 18:26:18下载
    积分:1
  • 基于Python的学生管理系统
    【实例简介】对Mysql数据库进行增删改查操作,并带有界面
    2021-06-09 00:32:02下载
    积分:1
  • 机器学习原理之logistic回归算法与代码实现
    说明:  根据现有数据对分类边界线建立回归公式,以此进行分类,其核心是通过最优化算法寻找最佳回归系数(权重系数),主要应用于二分类。(Based on the existing data, regression formulas are established to classify the classification boundary lines. The core of this method is to find the best regression coefficients (weight coefficients) through the optimization algorithm, which is mainly used in the second classification.)
    2020-06-17 02:20:02下载
    积分:1
  • facedetectandrecognition-dlib-python3.6
    说明:  机器学习专门研究计算机怎样模拟或实现人类的学习行为,以获取新的知识或技 能,为包括人脸识别领域的人工智能的发展做出了极大的贡献。本文探索如何应用机器学习中的一些技术,使计算机更好地完成人脸识别领域中的人脸检测和人脸验证。 在人脸检测方面,针对如何快速、准确地检出人脸的问题,基于DLIB中特征模型,可以快速提取检测出人脸,并且提取出人脸特征点,主要作用就是快速检测定位人脸。在训练过程中,引入了ResNet机器学习算法,该算法采用多层卷积神经网络结构,对人脸进行多层特征提取和描述,得到人脸特征描述符。通过测试可以证实了上述方法能够检测和识别人脸。(In terms of face detection, for the problem of how to detect faces quickly and accurately, based on the feature model in DLIB, you can quickly extract and detect faces, and extract face feature points, the main role is to quickly detect and locate faces. In the training process, the VGG-FACE machine learning algorithm is introduced. This algorithm uses a multi-layer convolutional neural network structure to perform multi-layer feature extraction and description on the face to obtain the face feature descriptor. Tests can confirm that the above method can detect and recognize human faces.)
    2020-05-06 14:33:08下载
    积分:1
  • 696518资源总数
  • 106222会员总数
  • 14今日下载