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

森林结构参数提取

于 2022-02-13 发布 文件大小:630.10 kB
0 87
下载积分: 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 个回复

  • ga
    说明:  本算法采用遗传算法,用于辨识复杂洛伦兹系统参数。(Identification of Lorentz System Parameters)
    2019-08-19 11:27:54下载
    积分:1
  • e2.7
    说明:  铁路双线整孔简支箱型梁桥ansys实体建模(Ansys entity modeling of railway double - hole simply supported box girder bridge)
    2019-03-11 22:39:07下载
    积分:1
  • mqtt收发
    mqtt-python收发,里面有几个例子,对于topic的分类,mqtt的连接,收发等!(Mqtt transceiver in python!)
    2018-07-09 19:59:30下载
    积分:1
  • dbn-master
    深度置信网络DBN,深度学习,神经网络,分类(deep belief network(DBN), deep learning, neural network, classification)
    2020-11-16 16:39:40下载
    积分:1
  • yolov5目标检测模型训练网络实例类(Python)
    【实例简介】yolov5目标检测模型训练网络实例类(Python)
    2021-11-30 00:51:40下载
    积分:1
  • CamShift2
    Camshift和MOG结合的目标检测与跟踪算法(An alg of detecting object with camshift and mog)
    2014-04-10 15:47:32下载
    积分:1
  • ga_tsp
    利用遗传算法来解决经典的旅行商TSP问题,python 编码(Using genetic algorithm to solve the classic TSP traveling salesman problem, the programming language is Python)
    2020-06-28 19:40:01下载
    积分:1
  • tide_prediction
    说明:  使用ARIMA模型,对潮汐数据进行预测 (上传者:风中的小青年lx)(Prediction of tidal data using ARIMA model)
    2021-03-09 11:59:27下载
    积分:1
  • Python网络编程基础
    说明:  Python编程基础,包括客户端、服务器、域名系统、高级网络编程等知识。(This is a document that concludes Python Program for basic knowledge.)
    2020-06-23 05:40:02下载
    积分:1
  • pyhone 图像识别 行人图像分类
    说明:  对行人图像进行二分类,行人 或者 非行人 ,分类效果好(The classification of pedestrian images, pedestrian or non-pedestrian, has a good effect)
    2020-06-19 07:00:01下载
    积分:1
  • 696518资源总数
  • 105578会员总数
  • 20今日下载