GEE: mode filtering

Author:CSDN @ _养乐多_

In this article, we will introduce how to use the Google Earth Engine (GEE) platform to perform mode filtering on remote sensing images. And take the mode filtering smoothed NDVI image as an example to demonstrate the entire process of mode filtering.

The result is shown in the figure below,

Insert image description here



1. Mode filtering

Mode filtering is a commonly used spatial filtering method in image processing that aims to smooth images and eliminate noise. The purpose of filtering is to reduce irregular fluctuations in the image by replacing the value of each pixel with the mode (that is, the value with the highest frequency) within its surrounding neighborhood.

2. Complete code

// 设置感兴趣区域(ROI)并可视化
var roi 

Guess you like

Origin blog.csdn.net/qq_35591253/article/details/134614032