
opencv学习笔记
文章平均质量分 74
z123321zyf
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
OpenCV学习笔记之二值图像的边缘光滑处理
//去除二值图像边缘的突出部 //uthreshold、vthreshold分别表示突出部的宽度阈值和高度阈值 //type代表突出部的颜色,0表示黑色,1代表白色 void delete_jut(Mat& src, Mat& dst, int uthreshold, int vthreshold, int type) { int threshold;转载 2017-04-13 09:45:57 · 11707 阅读 · 2 评论 -
opencv学习笔记之删除面积小于阈值的二值图像
Mat remove_block(double minarea, Mat& src) { CvSeq* contour = NULL; double tmparea = 0.0; CvMemStorage* storage = cvCreateMemStorage(0); //const char* tmpaddsum1 = tmp_string.c_str(); //Ip转载 2017-04-13 09:49:20 · 3409 阅读 · 0 评论