In this paper, we propose an improved algorithm based on the active contour model Mumford-Shah model for CT images, which is the subject of this study. After analyzing the classical Mumford-Shah model and related improvement algorithms, we found that most of the improvement algorithms start from the initialization strategy of the model and the minimum value solution of the energy generalization function, so we will also improve the classical Mumford-Shah model from these two perspectives. For the initialization strategy of the Mumford-Shah model, we propose to first reduce the dimensionality of the image data by the PCA principal component analysis method, and for the reduced image feature vector, we use
K
-means, a general clustering method, as the initial position algorithm of the segmentation curve. For the image data that have completed the above two preprocessing processes, we then use the Mumford-Shah model for image segmentation. The Mumford-Shah curve evolution model solves the image segmentation by finding the minimum of the energy generalization of its model to obtain the optimal result of image segmentation, so for solving the minimum of the Mumford-Shah model, we first optimize the discrete problem of the energy generalization of the model by the convex relaxation technique and then use the Chambolle-Pock pairwise algorithm We then use the Chambolle-Pock dual algorithm to solve the optimization problem of the model after convex relaxation and finally obtain the image segmentation results. Finally, a comparison with the existing model through many numerical experiments shows that the model proposed in this paper calculates the texture image segmentation with high accuracy and good edge retention. Although the work in this paper is aimed at two-phase image segmentation, it can be easily extended to multiphase segmentation problems.