Google Earth Engine(GEE)——利用Landsat8影像的其中两个波段进行皮尔逊相关性分析和斯皮尔曼相关性分析

本次的目的就是实现两个单波段影像的相关性分析,这里用到的函数主要是gee中的:

ee.Reducer.pearsonsCorrelation()

Creates a two-input reducer that computes Pearson's product-moment correlation coefficient and the 2-sided p-value test for correlation = 0.

创建一个双输入的还原器,计算Pearson的积点相关系数和相关=0的2边P值检验。

No arguments.

Returns: Reducer

ee.Reducer.spearmansCorrelation()

Creates a two-input reducer that computes the Spearman's rank-moment correlation. See SpearmansCorrelation (Apache Commons Math 3.6 API) for details.

创建一个双输入的还原器,计算Spearman's rank-moment相关性。

No arguments.

Returns: Reducer

猜你喜欢

转载自blog.csdn.net/qq_31988139/article/details/124650489