只用来记录学习笔记
void Threshold_Demo(int, void*) {
cvtColor(src, gray_src, CV_BGR2GRAY);//转灰度图像
threshold(gray_src,dst,threshold_value,threshold_max,THRESH_BINARY
只用来记录学习笔记
void Threshold_Demo(int, void*) {
cvtColor(src, gray_src, CV_BGR2GRAY);//转灰度图像
threshold(gray_src,dst,threshold_value,threshold_max,THRESH_BINARY