Applied Sciences (Jan 2023)
Research on Image Denoising in Edge Detection Based on Wavelet Transform
Abstract
Photographing images is used as a common detection tool during the process of bridge maintenance. The edges in an image can provide a lot of valuable information, but the detection and extraction of edge details are often affected by the image noise. This study proposes an algorithm for wavelet transform to denoise the image before edge detection, which can improve the signal-to-noise ratio of the image and retain as much edge information as possible. In this study, four wavelet functions and four decomposition levels are used to decompose the image, filter the coefficients and reconstruct the image. The PSNR and MSE of the denoised images were compared, and the results showed that the sym5 wavelet function with three-level decomposition has the best overall denoising performance, in which the PSNR and MSE of the denoised images were 23.48 dB and 299.49, respectively. In this study, the canny algorithm was used to detect the edges of the images, and the detection results visually demonstrate the difference between before and after denoising. In order to further evaluate the denoising performance, this study also performed edge detection on images processed by both wavelet transform and the current widely used Gaussian filter, and it calculated the Pratt quality factor of the edge detection results, which were 0.53 and 0.47, respectively. This indicates that the use of wavelet transform to remove noise is more beneficial to the improvement of the subsequent edge detection results.
Keywords