The method of threshold segmentation is welcomed due to its convenience and efficiency. Among them, Otsu method based on the variance between the largest categories has been widely applied to the threshold segmentation of images due to its good segmentation effect. However, Otsu method has certain limitations.