摘要: void cv::Canny ( InputArray image, (输入图像:8-bit)OutputArray edges, (输出边缘图像:单通道,8-bit,size与输入图像一致)double threshold1, (阈值1)double threshold2, (阈值2)int ap 阅读全文
posted @ 2019-10-29 23:17 kuaqi 阅读(267) 评论(0) 推荐(0) 编辑
摘要: normalize(src,dst,0,255,CV_MINMAX) //归一化到0~255 convertScaleAbs(src,dst) //转换成8bit图像显示;用imshow显示时,也会自动转化成8bit显示 阅读全文
posted @ 2019-10-29 22:21 kuaqi 阅读(348) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/qq_37124237/article/details/82183177 void cv::Sobel( InputArray _src, OutputArray _dst, int ddepth, int dx, int dy, int ksize, d 阅读全文
posted @ 2019-10-29 20:28 kuaqi 阅读(279) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/qq_39642978/article/details/95926315 https://www.cnblogs.com/Xiaoyan-Li/p/5674792.html 图像深度对应值: #define CV_8U 0#define CV_8S 1#d 阅读全文
posted @ 2019-10-29 10:35 kuaqi 阅读(207) 评论(0) 推荐(0) 编辑