Image segmentation plays a crucial role in the entire process of image analysis and is an important step in image understanding.At the same time,it is also considered one of the most challenging challenges in the field of image processing.Therefore,this study proposes an image segmentation method based on the improved K-means algorithm.Perform equicutting on the image to select the initial cluster center,set a threshold to merge excess clusters,and optimize the number of cluster centers and classification performance with an average diameter.The effectiveness of this method has been verified through experiments.