摘要: 一般步骤:(1)滤波(2)增强(3)检测 1 Canny()函数 void Canny(InputArray image,OutputArray edges,double threshold1,double threshold2,int apertureSize=3,bool L2gradient= 阅读全文
posted @ 2019-12-05 22:09 我输过但没服过 阅读(193) 评论(0) 推荐(0) 编辑
摘要: 1 固定阈值操作:Threshold()函数 函数是对灰度图像进行阈值操作得到二值图像,或者是去掉噪声 double treshold(InputArray src,OutputArray dst,double thresh,double maxval,int type) 2 自适应阈值操作:ada 阅读全文
posted @ 2019-12-05 19:38 我输过但没服过 阅读(197) 评论(0) 推荐(0) 编辑