摘要:
#include #include #include #include using namespace std;using namespace cv;void canny(cv::Mat& img,cv::Mat& out){ if(3==img.channels()) cv::cvtColor(img,out,CV_BGR2GRAY); cv::Canny(out,out,100,200); cv::threshold(out,out,128,255,cv::THRESH_BINARY_INV);}class VideoProcessor {public: VideoProc 阅读全文
posted @ 2014-04-01 19:19
Beenking
阅读(311)
评论(0)
推荐(0)

浙公网安备 33010602011771号