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,