Abstract
To address the degradation of part inspection images under mixed-noise interference and the difficulty of balancing noise suppression, structural information preservation, and computational efficiency, this paper proposes an image denoising method integrating adaptive region guidance and differential hybrid filtering. Within the Canny gradient analysis framework, local gradient statistics are employed to construct adaptive dual thresholds for classifying images into high-frequency, transition, and low-frequency regions. An improved root mean square (RMS) filter incorporating multiple neighborhood constraints is applied to high-frequency and transition regions, whereas Gaussian filtering is employed in low-frequency regions. The denoised image is subsequently reconstructed through region-label-guided pixel-wise selection. Experimental results show that the proposed method achieves average peak signal-to-noise ratio (PSNR), structural similarity index measure (SSIM), and edge preservation index (EPI) values of 42.42 dB, 0.9455, and 0.9258 on part inspection images and 35.63 dB, 0.9041, and 0.9219 on natural images, respectively. Compared with the corresponding competing methods, the average PSNR exceeds the highest competing values by 5.46 dB and 2.97 dB, respectively, while the average EPI improves by 5.81–10.20% and 5.65–36.21%, with corresponding average runtimes of 1.106 s and 1.213 s. Ablation experiments verify the effectiveness of the overall methodological design, while supplementary experiments on images affected by real acquisition noise provide further evidence of its practical applicability. In YOLOv8-based defect detection experiments, the overall average detection accuracy increases from 0.5343 to 0.8335. These results demonstrate that the proposed method achieves favorable denoising performance while exhibiting practical application potential, providing an effective preprocessing approach for part surface quality inspection.