Introduction - If you have any usage issues, please Google them yourself
Neighborhood-based two-dimensional gray-scale gradient improved OTSU algorithm: to improve on the two-dimensional OTSU method, the vertical axis instead of the absolute value of the difference between the pixel gray value and its average gray value of the neighborhood, split image .