Fig. 4From: Unveiling the mechanism of diachronic changes and regional characteristics differences in the built environment of traditional villages from the perspective of color data: evidence from Macheng City, ChinaK-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.Back to article page