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:
Return
ee.ImageCollection返回滤波后影像数据集Examples:
我已经利用实现了Sentinel NDVI的 SG 滤波,具体代码如下:
重点在这儿!!!欢迎大家批评指正!!!
https://code.earthengine.google.com/c0a3684caf9b3fc8dffae213f955b86d