基于改进CLAHE算法的焊缝图像增强研究

    Research on Weld Image Enhancement Based on Improved CLAHE Algorithm

    • 摘要: 机器人焊接时对焊缝图像的清晰度要求较高,以便于对焊缝进行识别,但清晰度越高成本越高。因此,本文提出了一种增强算法,在低成本下获得高清晰度图像。首先对焊缝图像进行预处理,使用高斯滤波和双边滤波的差分滤波来对原始图像进行处理,以有效减少噪声的影响,并保留图像的边缘细节;再对预处理后的图像进行CLAHE(限制对比度自适应增强)算法增强来提高图像对比度,同时使用高斯掩膜处理获得降噪后的低频信息,再对它们进行线性作差来突出焊缝图像的高频信息;再与CLAHE增强后的图像线性相加进一步提高图像对比度,最终得到增强图像。通过与其他算法对比,该算法提高了对比度,焊缝边缘更加清晰,证明了本算法的有效性。

       

      Abstract: During the robot welding, the requirement for clarity of the weld image is high to facilitate the identification of the weld, but the higher the clarity is, the higher the cost is. Therefore, an enhancement algorithm to obtain a high-definition image at low cost was proposed. Firstly, the weld image is pre-processed, and differential filtering between Gaussian filtering and bilateral filtering is used to process the original image, which can effectively reduce the impact of noise and preserve the edge details of the image. Then, the CLAHE (contrast limited AHE) algorithm is used to enhance the pre-processed image to improve the image contrast, and the low-frequency information after noise reduction is obtained by using Gaussian mask processing, and then the high-frequency information of the weld image is highlighted by linear difference between the CLAHE algorithm result and the Gaussian mask processing result. The image contrast is further improved by linear addition with the CLAHE enhanced image, and the enhanced image is finally obtained. By comparing with other algorithms, the algorithm not only improves the contrast, but also obtains clear weld edges, which proves the effectiveness of the algorithm.

       

    /

    返回文章
    返回