1.计算目的

计算多波段图像中,每个象元对应位置的所有波段值的最大值,最小值平均值等参数信息。

使用场景,比如计算时间序列遥感指数的最大值。假如有三个时间的NDVI指数,我们需要计算三个时间的最大值图像,就需要这样计算每个象元位置三个时相的最大值。

2.实现方法

2.1 使用工具

使用Arcgis统计分析工具计算得到,打开工具箱:

打开Spatial Analyst Tools中的zonal工具:

如下图:

使用ZonalStatistics工具进行统计分析.点击该工具,界面如下:

参数说明(原版英文说明):

Input raster or feature zone data

Dataset that defines the zones. 这个参数用于定义统计区域,我们通常可以选择行政区域进行统计,这里我们选择需要统计的原图像,即统计原图像范围内极值等信息。

The zones can be defined by an integer raster or a feature layer.

Zone field

Field that holds the values that define each zone.

It can be an integer or a string field of the zone dataset.

Input value raster

Raster that contains the values on which to calculate a statistic.

Output raster

The output zonal statistics raster.

Statistics type (optional)

Statistic type to be calculated.

  • MEAN — Calculates the average of all cells in the value raster that belong to the same zone as the output cell.
  • MAJORITY — Determines the value that occurs most often of all cells in the value raster that belong to the same zone as the output cell.
  • MAXIMUM — Determines the largest value of all cells in the value raster that belong to the same zone as the output cell.
  • MEDIAN — Determines the median value of all cells in the value raster that belong to the same zone as the output cell.
  • MINIMUM — Determines the smallest value of all cells in the value raster that belong to the same zone as the output cell.
  • MINORITY — Determines the value that occurs least often of all cells in the value raster that belong to the same zone as the output cell.
  • RANGE — Calculates the difference between the largest and smallest value of all cells in the value raster that belong to the same zone as the output cell.
  • STD — Calculates the standard deviation of all cells in the value raster that belong to the same zone as the output cell.
  • SUM — Calculates the total value of all cells in the value raster that belong to the same zone as the output cell.
  • VARIETY — Calculates the number of unique values for all cells in the value raster that belong to the same zone as the output cell.

Ignore NoData in calculations (optional)

Denotes whether NoData values in the Value input will influence the results of the zone that they fall within.

  • Checked—Within any particular zone, only cells that have a value in the input Value raster will be used in determining the output value for that zone. NoData cells in the Value raster will be ignored in the statistic calculation.
  • Unchecked—Within any particular zone, if any NoData cells exist in the Value raster it is deemed that there is insufficient information to perform statistical calculations for all the cells in that zone; therefore, the entire zone will receive the NoData value on the output raster.

2.2 参数设置与计算

打开图像数据, 在工具面板相关选项选择输入参数信息:

Zone Field这里默认Value会报错,目前还没找到具体原因.

报错:

ERROR 010123: Could not get field name.
Failed to execute (ZonalStatistics).
Failed at Sun May 29 22:50:41 2022 (Elapsed Time: 0.06 seconds)

将改选项改为count重新计算,可以得到计算结果(原图和结果图),结果图为单波段图像:

3.结果分析

使用Identity工具查看象元属性发现,所计算结果只计算得到了前三个波段的最大值,而不是所有波段的最大值。这是这个工具的局限所在,可能和软件版本有关,以前版本针对raster数据计算也是只能计算前三个波段。后面将进一步分析原因。

ArcGIS应用(十九)Arcgis 统计分析计算多波段图像最大值、最小值、平均值等相关推荐

  1. [Python从零到壹] 三十九.图像处理基础篇之图像几何变换(镜像仿射透视)

    欢迎大家来到"Python从零到壹",在这里我将分享约200篇Python系列文章,带大家一起去学习和玩耍,看看Python这个有趣的世界.所有文章都将结合案例.代码和作者的经验讲 ...

  2. 谷粒学院(十九)统计分析模块 | 定时任务 | echarts

    1.统计分析模块需求分析 一.统计分析功能 - 后端 1.准备数据库 guli_statistics.sql 2.在service模块下创建子模块 service_statistics 3.MP代码生 ...

  3. arcgis创建公里格网并计算格网内点的平均值最后形成马赛克式栅格图

    生成公里格网  在搜索框搜索create fishnet 点击create fishnet output feature class 输出格网的位置和名字 template extent 公里格网的范 ...

  4. [Python从零到壹] 五十九.图像增强及运算篇之图像锐化Scharr、Canny、LOG实现边缘检测

    欢迎大家来到"Python从零到壹",在这里我将分享约200篇Python系列文章,带大家一起去学习和玩耍,看看Python这个有趣的世界.所有文章都将结合案例.代码和作者的经验讲 ...

  5. [Python从零到壹] 四十九.图像增强及运算篇之顶帽运算和底帽运算

    欢迎大家来到"Python从零到壹",在这里我将分享约200篇Python系列文章,带大家一起去学习和玩耍,看看Python这个有趣的世界.所有文章都将结合案例.代码和作者的经验讲 ...

  6. PCL点云处理之三维向量夹角计算(四十九)

    PCL点云处理之向量夹角计算(四十九) 一.三维向量的夹角计算? 二.代码 一.三维向量的夹角计算? 向量夹角范围在0到180度,计算向量夹角是必要的,现在提供一个自己写的向量夹角计算函数,省的到处找 ...

  7. 计算机构弹性振动振型的软件,《PKPM软件在应用中的问题解析》讲义(十九)

    第十九章 其他问题 (一)结构周期比的计算 ⑴结构第一平动振型的选择 ①根据工程具体情况,确定平动系数所占百分比: ②结构空间振型图中所显示的振动为整体平动: ③该振型所对应的地震剪力值为. ⑵结构第 ...

  8. 凹形长方形的周长计算_【原创】奥数解析(二十九)长方形和正方形的周长

    四年级奥数解析(二十九)长方形和正方形的周长 <奥赛天天练>第29讲<长方形和正方形的周长>,学习求一些较复杂的周长问题. 一.长方形.正方形周长的基本公式为: 长方形周长=( ...

  9. osgEarth的Rex引擎原理分析(七十九)如何加载百度、高德、谷歌、微软的在线地图

    目标:(七十八)中的问题155 瓦片生成后,就是一堆图片.怎么对这堆图片进行编号,是目前主流互联网地图商分歧最大的地方.总结起来分为四个流派: 谷歌XYZ:Z表示缩放层级,Z=zoom:XY的原点在左 ...

最新文章

  1. 解决 win10 下载文件到某盘 没有权限
  2. 西安网络推广教大家如何提高网站抓取量?
  3. android 定位修改坐标系_数控编程G52局部坐标系的建立及使用
  4. 成为高手前必懂的TCP干货
  5. Win10 开启移动热点 WiFi 的简单方法
  6. MATLAB中 histogram 和 imhist 的区别
  7. (转载)220v交流接触器自锁接线图另接热继电器
  8. A component required a bean of type 'com.xxx.xxx.service.xxxService' that could not be found的debug报错
  9. ‘C:\Users\Administrator\Desktop\gitSpace\dj-2\dj\vue-manager-dj\node_modules\node-sass\vendor‘
  10. word文档无法保存问题
  11. H5页面上传图片控件
  12. Tableau雷达图制作——这可能是你能看到最详尽,最清爽,最感人的教程!
  13. 使用keil安装目录下的相关驱动进行安装
  14. 计算机win10分区软件,如何利用Win10系统DiskPart工具进行GPT硬盘分区
  15. Aha!设计模式(21)-工厂方法(2)
  16. Selenium IDE介绍
  17. 已知有十六支男子足球队参加2008 北京奥运会。写一个程序,把这16 支球队随机分为4 个组。注:参赛球队列表见附录注2:使用Math.random 来产生随机数。(也可以使用其它方法)
  18. 我下载了python所有包,24个G,用以备份
  19. 《人工智能及其应用(第6版)》蔡自兴1-6章课后习题.【部分无答案】
  20. RBA验厂辅导,RBA验厂准备过程中有没有比较困难需要留意的地方

热门文章

  1. 电商项目开发一般流程
  2. 西门子PLC-Modbus数据交互
  3. 连续三年入选新经济500强榜单,VIPKID强在何处?
  4. easypr解析(六)
  5. NB-IoT使用CoAP协议接入华为IoT平台教程
  6. Uber市值腰斩:有贝索斯的野心,却没有亚马逊的命
  7. 【摄影】关于景深的概念和算法!!!(转)
  8. 【远程办公】vmware horizon client 安装失败
  9. SQL数据库损坏,数据库数据恢复!
  10. DM7数据库及实例的安装详解