摘自https://docs.opencv.org/4.2.0/d7/d4d/tutorial_py_thresholding.html
Simple Thresholding
The function cv.threshold is used to apply the thresholding. The first argument is the source image, which should be a grayscale image. The second argument is the …