Introduction - If you have any usage issues, please Google them yourself
Iterative method is based on the approximation of the idea of approaching the goal is to make: the foreground and background is the average of the average gray value threshold. The principle is: if a threshold image segmentation, the average value of two parts, exactly equal to the threshold, then the threshold is the threshold requirements.