当前位置:网站首页>圆环工件毛刺(凸起)缺口(凹陷)检测案例
圆环工件毛刺(凸起)缺口(凹陷)检测案例
2022-07-27 09:37:00 【thequitesunshine007】
1 原图及检测要求


要检测黑色圆环上内、外圈上的凸起与凹陷。
2. 算法思路
二固定阈值二值化并取反-----------查找轮廓---------面积限制及圆度筛选出一大一小2个类环形轮廓(分别记为A、B)-------得到两个环形轮廓之间二值化掩码pureSrcBin-----
遍历A 、B. 求最小外接圆记为minEnclosingCircleMask---------------且按2种方式求A、B的最大内接圆(maxIncircleMask_1 /maxIncircleMask_2 详见代码)------- 最终的最大内接圆maxIncircleMask = maxIncircleMask_1 +m
边栏推荐
- The whole process of principle, simulation and verification of breath lamp controlled by FPGA keys
- 命令提示符启动不了mysql,提示发生系统错误 5。拒绝访问。解决办法
- July training (day 08) - prefix and
- 拟搬迁!211中国石油大学(华东)新校区,正式启用!
- 【云原生 • DevOps】一文掌握容器管理工具 Rancher
- 快应用自定义进度条
- 七月集訓(第07天) —— 哈希表
- Nccl collective communication --collective operations
- 如何使用TDengine Sink Connector?
- Proposed relocation! 211 the new campus of China University of Petroleum (East China) is officially opened!
猜你喜欢

1344. Included angle of clock pointer

S交换机堆叠方案配置指南

The whole process of principle, simulation and verification of breath lamp controlled by FPGA keys

Nccl collective communication --collective operations

How to use tdengine sink connector?

深入浅出详解Knative云函数框架!

I grabbed a ticket and thought I found the system bug of 12306

Lua函数嵌套调用

BGP federal experiment

吃透Chisel语言.24.Chisel时序电路(四)——Chisel内存(Memory)详解
随机推荐
基于 FPGA 按键控制呼吸灯原理、仿真及验证全过程
七月集训(第21天) —— 堆(优先队列)
七月集训(第20天) —— 二叉搜索树
通俗易懂!图解Go协程原理及实战
七月集训(第05天) —— 双指针
一骑入秦川——浅聊Beego AutoRouter是如何工作
抢了个票,还以为发现了12306的系统BUG
BGP federal experiment
Google Earth engine app - print the coordinates of points to the console and map, set the style and update it
深度剖析分库分表最强辅助Sharding Sphere
I haven't delivered books for a long time, and I feel uncomfortable all over
吃透Chisel语言.26.Chisel进阶之输入信号处理(二)——多数表决器滤波、函数抽象和异步复位
七月集训(第17天) —— 广度优先搜索
S switch stacking scheme configuration guide
July training (day 23) - dictionary tree
加油程序君
工程材料知识点总结(全)
Nccl collective communication --collective operations
七月集训(第19天) —— 二叉树
命令提示符启动不了mysql,提示发生系统错误 5。拒绝访问。解决办法