针对高速线材表面缺陷检测技术难题,对复杂光照下的线材缺陷分割技术展开研究。基于灰度直方图多峰值的特点,给出了峰值选取准则,并在双峰值模糊阈值分割的基础上提出了分段自适应模糊阈值的分割方法,实现了线材的提取;在此基础上,利用对位遍历的思想,实现了线材缺陷的边缘分割。实验结果表明,该方法能够克服光照不均带来的灰度连续问题,可以比较准确的提取线材缺陷,为进一步研究线材表面缺陷视觉识别技术奠定了基础。
For the technical difficulties of defect detection on high-speed wire surface, the segmentation technology of wire defects under complex illumination is researched. As the gradient histogram has multi-peak, a peak selection standard is described and then a piecewise self-adaptive fuzzy threshold method is provided based on the fuzzy threshold with double humps. Using this method, the wire can be segmented from the complex background. In order to extract the defect edges ahead, a contraposition traversal method is provided. The final test results shows that the methods provided can deal with the continuous gray problem caused by uneven illumination and extract the defect accurately, and thereby lay a foundation for the further study on the vision recognition of wire defects.