Google Earth Engine(GEE)——不同时期的光谱信息差异

本文探讨了如何利用Google Earth Engine(GEE)的ee.Image.spectralDistance算法来计算不同时间点图像间的光谱距离。主要目的是找到光谱差异最大的年份。文章提到了连续迭代算法并最大化光谱距离的方法,并引用了Sergio Ivan Jimenez Jimenez提供的解决方案。
摘要由CSDN通过智能技术生成

 ee.Image.spectralDistance 算法,它可以用于我的研究目的。我想提取图像之间光谱距离较大的年份。所以这个想法是:

1. 在image1-image2, image2-image3, image3-image4...之间连续运行ee.Image.spectralDistance算法,从第一张图片到最后一张。

2.要求更大的价值。

3. 提取年份并使用这些年份值创建栅格。在这里,Sergio 提出的解决方案可能会很有帮助。

函数:

spectralDistance(image2, metric)

Computes the per-pixel spectral distance between two images. If the images are array based then only the first band of each image is used; otherwise all bands are involved in the distance computation. The two images are therefore expected to contain the same number of bands or have the same 1-dimensional array length.

Arguments:

this:image1 (Image):

The first image.

image2 (Image):

The second image.

metric (String, default: "sam"):

The spectral distance metric to use. One of 'sam' (spectral angle mapper), &#

  • 1
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

此星光明

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值