当前位置:网站首页>Case of burr (bulge) notch (depression) detection of circular workpiece

Case of burr (bulge) notch (depression) detection of circular workpiece

2022-07-27 09:51:00 thequitesunshine007

1 Original drawing and inspection requirements

  To detect the inside of the black ring 、 Bulges and depressions on the outer ring .

2. Algorithm ideas

Two fixed thresholds are binarized and reversed ----------- Find the outline --------- The area limit and roundness screen out one large and one small 2 Ring like contour ( Write them down as A、B)------- Get the binarization mask between two circular contours pureSrcBin-----

Traverse A 、B.    Find the minimum circumscribed circle as minEnclosingCircleMask--------------- And press 2 Find... In two ways A、B Maximum inscribed circle of (maxIncircleMask_1 /maxIncircleMask_2 See the code for details. )-------  The final maximum inscribed circle maxIncircleMask = maxIncircleMask_1 +m

原网站

版权声明
本文为[thequitesunshine007]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/208/202207270937189274.html