当前位置:网站首页>Google Earth engine -- Statistics on the frequency of land classification year by year
Google Earth engine -- Statistics on the frequency of land classification year by year
2022-07-25 11:02:00 【This star is bright】
The functions needed in this article :
ee.Reducer.mode(maxBuckets, minBucketWidth, maxRaw)
Create a restorer that will calculate the input pattern . For a small number of inputs ( To the most maxRaw), The mode will be calculated directly ; For a large number of inputs , The pattern will be obtained from the histogram .
Parameters .
maxBuckets( Integers , The default is empty. ).
The maximum number of barrels to use when creating a histogram ; Round to 2 The power of .
minBucketWidth (Float, default: null):
Minimum width of histogram bucket , If it is empty , allows 2 To any power of .
maxRaw( Integers , The default is empty. ).
Before establishing the initial histogram , The number of values that need to be accumulated .
return . Reducer
ee.Reducer.frequencyHistogram()
Returns a Reducer that returns a (weighted) frequency table of its inputs.
No arguments.
Returns: Reducer
Code :
// Set the study area
var s = ee.FeatureCollection("users/bqt2000204051/beijing");
var geometry = s.geometry() ;
var exptTab = [];
//for Cycle analysis, traverse the image data of each year and make statistics
for边栏推荐
- 2021 jd.com written examination summary
- [Blue Bridge Cup training 100 questions] scratch Taiji diagram Blue Bridge Cup scratch competition special prediction programming question centralized training simulation exercise question No. 22
- 30000 word express Servlet
- 哥廷根大学提出CLIPSeg:一个使用文本和图像prompt能同时作三个分割任务的模型
- 软件测试技术之跨平台的移动端UI自动化测试(上)
- 我为OpenHarmony 写代码,战“码”先锋第二期正式开启!
- Implementation of recommendation system collaborative filtering in spark
- mysql事务是什么
- Last week's hot review (7.18-7.24)
- 一个 DirectShow 播放问题的排查记录
猜你喜欢
C# 类库的生成,使用类库对象对DataGridView 进行数据绑定

Use three.js to realize the cool cyberpunk style 3D digital earth large screen

HCIP(11)

使用Three.js实现炫酷的赛博朋克风格3D数字地球大屏

我为OpenHarmony 写代码,战“码”先锋第二期正式开启!

Using numpy for elevation statistics and visualization

Keras deep learning practice (16) -- detailed explanation of self encoder

2021 jd.com written examination summary

HCIP实验(01)

Visual thematic map of American airport go style: ArcGIS Pro version
随机推荐
Idea overall font size modification
Introduction to onnx (open neural network exchange)
The most comprehensive UE4 file operation in history, including opening, reading, writing, adding, deleting, modifying and checking
NB-IOT控制液晶屏(日期的设置与读取)
UE4 external open EXE file
AI技术栈太庞大!吴恩达给出职业生涯规划:终生学习
企业实践开源的动机
ESP32C3基于Arduino框架下的 ESP32 RainMaker开发示例教程
C3d model pytorch source code sentence by sentence analysis (I)
上周热点回顾(7.18-7.24)
disabled和readonly 以及焦点问题
代码的表示学习:CodeBERT及其他相关模型介绍
Hucang integrated e-commerce project (II): project use technology, version and basic environment preparation
树形动态规划
js 集合
C# 类库的生成,使用类库对象对DataGridView 进行数据绑定
Using numpy for elevation statistics and visualization
【策略模式】就像诸葛亮的锦囊
[strategic mode] like Zhugeliang's brocade bag
The integration of two in one has a long way to go