Introduction - If you have any usage issues, please Google them yourself
Matlab image segmentation: distribution of images of objects in gray, select an approximate threshold value as the initial threshold of a better way is the average gray value of image as the initial threshold image segmentation and modify the threshold of the iterative process to obtain the optimal threshold for recognition.