Fig. 4

K-Means algorithm principle analysis diagram. a Pixels to be classified. b Set the centroids. c Adjust the category of pixels. d Adjust the position of the centroids. e process iteration. f Convergence completed.

K-Means algorithm principle analysis diagram. a Pixels to be classified. b Set the centroids. c Adjust the category of pixels. d Adjust the position of the centroids. e process iteration. f Convergence completed.