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

森林结构参数提取

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

  • 基于RNN的天气预测
    在树莓派上实现了基于rnn的天气预测的神经网络模型
    2022-02-15 01:34:54下载
    积分:1
  • xml_modify
    说明:  用于修改voc格式的xml标签#################(XML tags for modifying VOC format)
    2020-06-23 13:40:02下载
    积分:1
  • python、session
    #!/usr/bin/env python# -*- coding: utf-8 -*-import webweb.config.debug = Falseurls = (    "/count", "count",    "/reset", "reset")app = web.application(urls, locals())session = web.session.Session(app, web.session.DiskStore("sessions"), initializer={"count": 0})class count:    def GET(self):        session.count += 1        return str(session.count)class reset:    def GET(self):        session.kill()        return ""if __name__ == "__main__":    app.run()
    2022-03-07 21:05:44下载
    积分:1
  • Semantic-Segmentatiomaster
    说明:  遥感图像的语义分割,分别使用Deeplab V3+(Xception 和mobilenet V2 backbone)和unet模型(Semantic segmentation of remote sensing images using Deeplab V3+ (Xception and Mobilenet V2 backbone) and UNET models)
    2019-09-25 20:25:15下载
    积分:1
  • Python学习手册(第4版)
    说明:  让你对Python语言有深入而完整的了解,从而帮助你理解今后遇到的任何Python应用程序实例。(Let you have a thorough and complete understanding of the Python language, so as to help you understand any Python application examples you will encounter in the future.)
    2019-06-19 01:37:37下载
    积分:1
  • shortestPath-master
    说明:  基于迪杰斯特拉算法的最短路径规划,基于python平台实现(Shortest path planning based on Dijkstra algorithm and implemented on Python platform)
    2020-06-25 09:00:02下载
    积分:1
  • lecture3+cuda+memory++2008
    cuda学习ppt01具体为lecture1+cuda+introduction+2008,请看ppt了解详情。(cuda study ppt01 lecture1+cuda+introduction+2008 power point)
    2020-06-24 23:40:12下载
    积分:1
  • 微信跳一跳
    微信跳一跳自动化代码,使用python语言编写,需要手机进入开发者模式
    2023-07-12 21:25:09下载
    积分:1
  • 从Python开始学编程
    说明:  本书以Python为样本,不仅介绍了编程的基本概念,还着重讲解了 编程语言的范式(面向过程、面向对象、面向函数),并把编程语言的 范式糅在Python中,让读者不仅学会Python,未来在学习其他编程语言 时也变得更加容易。(aking Python as a sample, this book not only introduces the basic concepts of programming, but also focuses on the programming language paradigm (process-oriented, object-oriented, function-oriented), and incorporates the programming language paradigm into Python, so that readers can not only learn Python, but also become easier to learn other programming languages in the future.)
    2020-06-18 03:00:02下载
    积分:1
  • 新建文件夹
    Python编辑得一个小游戏,可供大家娱乐与练习(Python edits a little game)
    2020-06-18 17:40:02下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载