当前位置:网站首页>Google Earth Engine——统计逐年土地分类的频率
Google Earth Engine——统计逐年土地分类的频率
2022-07-25 09:56:00 【此星光明】
本文需要的函数:
ee.Reducer.mode(maxBuckets, minBucketWidth, maxRaw)
创建一个将计算输入的模式的还原器。对于小数量的输入(最多到maxRaw),模式将被直接计算;对于大数量的输入,模式将从直方图中得到。
参数。
maxBuckets(整数,默认为空)。
建立直方图时要使用的最大桶数;将四舍五入到2的幂。
minBucketWidth (Float, default: null):
直方图桶的最小宽度,如果为空,则允许2的任何次方。
maxRaw(整数,默认为空)。
在建立初始直方图之前,需要积累的数值数量。
返回。缩减器
ee.Reducer.frequencyHistogram()
Returns a Reducer that returns a (weighted) frequency table of its inputs.
No arguments.
Returns: Reducer
代码:
// 设置研究区域
var s = ee.FeatureCollection("users/bqt2000204051/beijing");
var geometry = s.geometry() ;
var exptTab = [];
//for 循环进行分析遍历每一年的影像数据并统计
for边栏推荐
- Differences between redis and mongodb
- Mysql5.7 master-slave database deployment (offline deployment)
- 2021 CEC笔试总结
- 6. Regular expression of shell
- The most comprehensive UE4 file operation in history, including opening, reading, writing, adding, deleting, modifying and checking
- Pytorch calculates the loss for each sample in the batch
- 1. Shell programming specifications and variables
- 3、 Five operation modes of unittest test cases
- 2021 去哪儿网笔试总结
- Basic experiment of microwave technology - Filter Design
猜你喜欢

【策略模式】就像诸葛亮的锦囊

HCIP实验(04)
QT | mouse events and wheel events qmouseevent, qwheelevent

CONDA configures the deep learning environment pytorch transformers

2021 致景笔试总结

Configuration of OSPF protocol (take Huawei ENSP as an example)

disabled和readonly 以及焦点问题

Analysis of event channel principle in Kraken

Trojang attack on neural networks paper reading notes

Flask框架——Flask-WTF表单:文件上传、验证码
随机推荐
2021 CEC笔试总结
Upgrade glibc 2.29 checking LD_ LIBRARY_ Path variable... Contains current directory error solution
Introduction to onnx (open neural network exchange)
Visual thematic map of American airport go style: ArcGIS Pro version
C# 类库的生成,使用类库对象对DataGridView 进行数据绑定
Multithreading - static proxy mode
JS hash table 01
微波技术基础实验一 滤波器的设计
Idea overall font size modification
Storage, computing, distributed storage (collection and sorting is suitable for Xiaobai)
Kraken中事件通道原理分析
6. Regular expression of shell
HCIP实验(03)
ONNX Runtime介绍
disabled和readonly 以及焦点问题
HCIA实验(06)
4. Children next door will know all kinds of shell symbols {}[], etc
8.shell文件处理三剑客之sed
Array static initialization, traversal, maximum value
10. Expect interaction free