Google Earth Engine(GEE)——边缘检测增强显示

很多时候我们需要对影像继续宁增强显示,这时候我们就会用到边缘检测,这时候我们就需要理解核函数,同时设定不同的很函数然后进行卷积运算,从而实现边缘锐化,增强图像,以便我们能更加清楚的看清我们所需要监测的地物。整体上我们利用Landsat和sentinel2影像做出来的效果并不好,但是我们利用高分辨影像监测的效果会比较好。所以,如果我们利用高分影像进行边缘增强处理就非常好。这里教程中的关键就是建立核函数,然后卷积运算

函数:

ee.Kernel.gaussian(radius, sigmaunitsnormalizemagnitude)

Generates a Gaussian kernel from a sampled continuous Gaussian.

Arguments:

radius (Float):

The radius of the kernel to generate.

sigma (Float, default: 1):

Standard deviation of the Gaussian function (same units as radius).

units (String, default: "pixels"):

The system of measurement for the kernel ('pixels' or 'meters'). If the kernel is specified in meters, it will resize when the zoom-level is changed.

normalize (Boolean, default: t

猜你喜欢

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