标签:temp debug wait logs opencv pre imwrite jpg class
Mat src= imread( "D:\\OCR\\Debug\\Temp\\Rects\\wholeMat_00191_0_0.jpg"); Mat dest; Mat kern = (Mat_<char>(3,3) << 0, -1 ,0, -1, 5, -1, 0, -1, 0); filter2D(src,dest,src.depth(),kern); imshow("src",src); imshow("dest",dest); imwrite("D:\\dest.jpg",dest); waitKey(0);
可以实现图像增强,处理过后图像大小增大30%
标签:temp debug wait logs opencv pre imwrite jpg class
原文地址:http://www.cnblogs.com/zendu/p/7662218.html