首页|基于Sobel算子的板件钢材表面裂纹数字图像识别研究

基于Sobel算子的板件钢材表面裂纹数字图像识别研究

扫码查看
基于钢材表面裂纹颜色深度高于周围临近区域的特点,本文针对采用图像处理的方法对钢材表面裂纹自动识别展开研究.利用Sobel算子对图像边缘进行检测,进而识别出板件钢材的表面裂纹.采用双目立体视觉系统作为图像采集的硬件输入,对获取图像的畸变处理、摄像头的标定具体方法展开分析.在具体算法上,本文将获取的裂纹图像由RGB格式转换为YUV数据,并利用Sobel算子进行卷积计算得到图像梯度,将梯度值进一步进行均方根运算得到像素点灰度值;同时,根据钢材种类、表面特性对裂纹灰度阈值进行多次训练,以得到不同情况下的钢材裂纹判别阈值.将该阈值与计算得到的图像灰度值进行比较,根据比较结果对颜色通道进行赋值进而得到裂纹的像素点.再进一步对黑色像素点进行插值运算,得到连续的钢材裂纹曲线.
Research on Digital Image Recognition of Surface Cracks in Plate Steel Based on Sobel Operator
Based on the characteristic that the color depth of surface cracks on steel is higher than that of adjacent areas,this paper studies the automatic identification of steel surface cracks by image processing.Using Sobel operator to detect image edges and identify surface cracks in steel plates.Using a binocular stereo vision system as the hardware input for image acquisition,analyze the specific methods of image distortion processing and camera calibration for image acquisition.In terms of specific algorithms,this article converts the obtained crack images from RGB format to YUV data,and uses Sobel operator to perform convolution calculation to obtain image gradients.The gradient values are further subjected to root mean square operation to obtain pixel grayscale values;At the same time,the crack grayscale threshold is trained multiple times based on the type of steel and surface characteristics to obtain the steel crack discrimination threshold under different conditions.Compare the threshold with the calculated image grayscale value,assign a value to the color channel based on the comparison result,and then obtain the pixel points of the crack.Further interpolate the black pixels to obtain a continuous steel crack curve.

surface cracks on steel platesimage recognitionSobel operatorgraph data analysis

黄秀娟

展开 >

常州刘国钧高等职业技术学校,江苏常州 213025

板件钢材表面裂纹 图像识别 Sobel算子 图形数据分析

2024

软件
中国电子学会 天津电子学会

软件

影响因子:1.51
ISSN:1003-6970
年,卷(期):2024.45(4)