摘要: ////Source Code:https://blog.csdn.net/gone_huilin/article/details/53222764 #include "opencv2/imgproc/imgproc.hpp" #include "opencv2/highgui/highgui.hpp" int main() { // 图像读取及判断 cv::Mat srcI... 阅读全文
posted @ 2018-08-13 12:29 BreakofDawn 阅读(175) 评论(0) 推荐(0) 编辑
摘要: 1 ////Source Code:https://blog.csdn.net/gone_huilin/article/details/53222752 2 #include "opencv2/imgproc/imgproc.hpp" 3 #include "opencv2/highgui/highgui.hpp" 4 int main() 5 { 6 // 读取源图... 阅读全文
posted @ 2018-08-13 11:11 BreakofDawn 阅读(353) 评论(0) 推荐(0) 编辑
摘要: 1 ////3.1.4双阈值法二值化操作 2 ////利用OpenCV的threshold函数实现双阈值法二值化操作的源码! 3 ////SourceCode:https://blog.csdn.net/wenhao_ir/article/details/51566817 4 #include "opencv2/imgproc/imgproc.hpp" 5 #include "... 阅读全文
posted @ 2018-08-13 11:08 BreakofDawn 阅读(2246) 评论(0) 推荐(0) 编辑
摘要: OTSU法(最大类间方差法,有时也称之为大津算法)使用的是聚类的思想。 所以可以在二值化的时候 采用otsu算法来自动选取阈值进行二值化。otsu算法被认为是图像分割中阈值选取的最佳算法,计算简单,不受图像亮度和对比度的影响。因此,使类间方差最大的分割意味着错分概率最小。 从L个灰度级遍历t,使得t 阅读全文
posted @ 2018-08-12 15:38 BreakofDawn 阅读(1401) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/handsomecui/p/4723949.html 阅读全文
posted @ 2018-08-10 16:53 BreakofDawn 阅读(98) 评论(0) 推荐(0) 编辑
摘要: 图像投影特征图的波峰波谷查找的相关原理及利用差分遍历法查找波峰: https://blog.csdn.net/wenhao_ir/article/details/51671975?locationNum=8&fps=1 投影曲线是离散:求差分函数,查找方法:差分遍历向量法来实现波峰波谷的查找,向量二 阅读全文
posted @ 2018-08-10 16:52 BreakofDawn 阅读(588) 评论(0) 推荐(0) 编辑
摘要: 1 //////////////////////////////////////////////////////////////////////////////////// 2 ////源码来源于:https://blog.csdn.net/fanhongweifd/article/details/ 阅读全文
posted @ 2018-08-08 16:40 BreakofDawn 阅读(454) 评论(0) 推荐(0) 编辑
摘要: 链接:https://blog.csdn.net/guduruyu/article/details/68942211 阅读全文
posted @ 2018-08-08 16:20 BreakofDawn 阅读(144) 评论(0) 推荐(0) 编辑
摘要: 链接:https://blog.csdn.net/guyuealian/article/details/70159660 阅读全文
posted @ 2018-08-08 16:08 BreakofDawn 阅读(1302) 评论(0) 推荐(0) 编辑
摘要: 1 #include <opencv2/imgproc/imgproc.hpp> 2 #include <opencv2/core/core.hpp> 3 #include <opencv2/highgui/highgui.hpp> 4 #include <iostream> 5 6 using n 阅读全文
posted @ 2018-08-06 15:15 BreakofDawn 阅读(1249) 评论(0) 推荐(1) 编辑