Introduction - If you have any usage issues, please Google them yourself
Iterative threshold selection is an improvement on the bimodal method. First an approximate threshold, divide the image into two parts, calculate the average of the two parts, use the mean of the two parts as the new threshold, and repeat until the mean value is not change.