会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
我输过但没服过
博客园
首页
新随笔
联系
订阅
管理
2019年12月9日
直方图对比
摘要: 对比直方图:compareHist()函数 double compareHist(InputArray H1,InputArray H2,int method) 或者double compareHist(const SparseMat&H1,const SparseMat&H2,int method
阅读全文
posted @ 2019-12-09 16:49 我输过但没服过
阅读(276)
评论(0)
推荐(0)
2019年12月8日
直方图与匹配
摘要: 1 计算直方图:calcHist()函数 void calcHist(const Mat images,int nimages,const int channels,InputArray mask,OutputArray hist,int dims,const int histSize,const
阅读全文
posted @ 2019-12-08 22:03 我输过但没服过
阅读(175)
评论(0)
推荐(0)
图像修补
摘要: inpaint()函数 void inpaint(InputArray src,InputArray inpaintMask,OutputArray dst,double inpaintRadius,int flags)
阅读全文
posted @ 2019-12-08 21:31 我输过但没服过
阅读(150)
评论(0)
推荐(0)
图像的矩
摘要: 1 矩的计算:moments()函数 Moments moments(InputArray array,bool binaryImage=false) 2 就是轮廓面积:contourArea()函数 double contourArea(InputArray contour,bool orient
阅读全文
posted @ 2019-12-08 11:55 我输过但没服过
阅读(241)
评论(0)
推荐(0)
2019年12月7日
使用多边形将轮廓包围
摘要: 1 返回外部矩形边界:boundingRect()函数 Rect boundingRect(InputArray points) 2 寻找最小包围矩形 :minAreaRect()函数 RotatedRect minAreaRect(InputArray points) 3 寻找最小包围圆形:min
阅读全文
posted @ 2019-12-07 22:05 我输过但没服过
阅读(423)
评论(0)
推荐(0)
寻找物体的凸包
摘要: 1 寻找凸包:convexHull()函数 void convexHull(InputArray points,OutputArray hull,bool clockwise=false,bool returnPoints=true) //例子 include "opencv2/imgproc/im
阅读全文
posted @ 2019-12-07 20:28 我输过但没服过
阅读(161)
评论(0)
推荐(0)
查找并绘制轮廓
摘要: 1 寻找轮廓:findContours()函数 void findContours(InputOutputArray image,OutputArrayOfArrays contours,OutputArray hierarchy,int mode,int method,Point offset=P
阅读全文
posted @ 2019-12-07 19:28 我输过但没服过
阅读(221)
评论(0)
推荐(0)
重映射
摘要: 1 void remap(InputArray src,OutputArray dst,InputArray map1,InputArray map2,int interpolation,int borderMode=BORDER_CONSTANT,const Scalar&borderValue=
阅读全文
posted @ 2019-12-07 16:06 我输过但没服过
阅读(104)
评论(0)
推荐(0)
霍夫变换
摘要: 霍夫线变换包括标准霍夫变换、多尺度霍夫变换、累计概率霍夫变换 1 标准霍夫变换:HoughLines()函数 void HoughLines(InputArray image,OutputArray lines,double rho,double theta,int threshold,double
阅读全文
posted @ 2019-12-07 11:16 我输过但没服过
阅读(488)
评论(0)
推荐(0)
2019年12月5日
边缘检测
摘要: 一般步骤:(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 我输过但没服过
阅读(219)
评论(0)
推荐(0)
下一页
公告