当前位置:网站首页>圆环工件毛刺(凸起)缺口(凹陷)检测案例
圆环工件毛刺(凸起)缺口(凹陷)检测案例
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
边栏推荐
- S交换机堆叠方案配置指南
- ESP8266-Arduino编程实例-中断
- 1344. Included angle of clock pointer
- Voice live broadcast system - Principles to be followed in developing push notifications
- 系统架构之系统参数常量表:
- Esp8266 Arduino programming example - interrupt
- July training (day 09) - two point search
- July training (day 13) - two way linked list
- 曝光一位出身寒门的技术大佬
- 注解与反射
猜你喜欢

Esp8266 Arduino programming example ADC

Nacos is used as a registration center

XML概述

如何使用TDengine Sink Connector?

Quick apply custom progress bar

聊聊索引失效的10种场景,太坑了

It's great to write code for 32 inch curved screen display! Send another one!

拟搬迁!211中国石油大学(华东)新校区,正式启用!

Expose a technology boss from a poor family

Why do microservices have to have API gateways?
随机推荐
吃透Chisel语言.24.Chisel时序电路(四)——Chisel内存(Memory)详解
XML概述
七月集训(第20天) —— 二叉搜索树
npm常用命令
曝光一位出身寒门的技术大佬
C# 给Word每一页设置不同文字水印
July training (day 03) - sorting
会议OA项目之会议排座功能&&会议送审的实现
ESP8266-Arduino编程实例-ADC
七月集训(第18天) —— 树
2068. Check whether the two strings are almost equal
七月集训(第16天) —— 队列
[wechat applet] lunar calendar and Gregorian calendar are mutually converted
Transpose and inverse of [linear algebra 01] matrix
July training (day 06) - sliding window
32寸曲面屏显示器写代码太爽了!再送一台!
Quick apply custom progress bar
1640. Can you connect to form an array -c language implementation
吃透Chisel语言.25.Chisel进阶之输入信号处理(一)——异步输入与去抖动
July training (day 10) - bit operation