GEE 上NDVI 的savitzky-golay实现——以Sentinel为例

savitzky-golay to daily MODIS time-series (google.com)

先附上OEEL上的Sg滤波模块,文末有我的sg滤波实现代码:

链接:Documentation Open Earth Engine Library (open-geocomputing.org)

oeel.ImageCollection.SavatskyGolayFilter(...)

oeel.ImageCollection.SavatskyGolayFilter(collection, filter, distanceFunction, degree, bandOfInterest, EstimationCollection, Return)

SavatskyGolayTimeFilter. Pass a Savatsky-Golay filter along the image collection

Arguments:

  • collection* 要完成滤波的影像数据集,一定要带上sytem:time_start属性
  • filter* 筛选窗口的filter函数
  • distanceFunction* 如何计算窗口距离
  • degree* 使用几次多项式的sg滤波
  • bandOfInterest* 需要进行滤波的波段
  • EstimationCollection ee.CollectionSpecify the collection where to do the estimations (by default use the main collection)

Return:

  • Returnee.ImageCollection返回滤波后影像数据集

Examples:

我已经利用实现了Sentinel NDVI的 SG 滤波,具体代码如下:

重点在这儿!!!欢迎大家批评指正!!!

https://code.earthengine.google.com/c0a3684caf9b3fc8dffae213f955b86d

  • 10
    点赞
  • 47
    收藏
    觉得还不错? 一键收藏
  • 11
    评论
评论 11
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值