Google Earth Engine(GEE)——用不同方法计算slope对比案例分析
本文主要是通过算法计算slope和自己按照核函数去计算slope查看两者之间的差异
这里面有几个属性需要了解下:
ee.Kernel.fixed(width, height, weights, x, y, normalize)
创建内核:设定长和宽,权重,x,y上的偏移位置,也就是回归左下角一般默认,将内核值归一化,使其和为1
Creates a Kernel.
Arguments:
width (Integer, default: -1):
The width of the kernel in pixels.
height (Integer, default: -1):
The height of the kernel in pixels.
weights (List):
A 2-D list of [height] x [width] values to use as the weights of the kernel.
x (Integer, default: -1):
The location of the focus, as an offset from the left.
y (Integer, default: -1):
The location of the focus, as an offset from the top.
normalize (Boolean, default: false):
Normalize the kernel values to sum
文章来源: blog.csdn.net,作者:此星光明2021年博客之星云计算Top3,版权归原作者所有,如需转载,请联系作者。
原文链接:blog.csdn.net/qq_31988139/article/details/125328560
- 点赞
- 收藏
- 关注作者
评论(0)