二值化的几种方式,很简单。自己有兴趣,就去了解。 示范代码地址:https://github.com/cyssmile/openCV_learning_notes/blob/master/opencv_test/opencv_024/opencv_024.cpp