GEE: Machine learning classification data post-processing - classification data filtering (smoothing), connectivity processing (removal of small fragments)

Author: CSDN @ _Yakult_

This article records the post-processing method and code of machine learning classification data, namely classification data filtering (smoothing) and connectivity processing (removing small fragmented patches).


Article Directory


1. Code

classified is the classified data.

// 八邻域空间滤波处理,平滑影像
var smooth_map = classified
	.focal_mode({
   
    
    
		radius: 2, 
		

Guess you like

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