Introduction - If you have any usage issues, please Google them yourself
Otsu method by Otsu in 1979 suggested that the image Image, remember t for the foreground and background segmentation threshold, the prospect of accounting for the image ratio of points w0, the average gray level for u0 background image representing the ratio of points w1, the average gray level for u1