Due to the complexity of a highly dynamic X-ray imaging system and the complex structure of the workpiece itself, X-ray images often exhibit low contrast or unclear feature information. In this work, an image enhancement algorithm was proposed based on gradient field and non-local means to improve visual quality. A contrast adaptive enhancement model was constructed based on gradient field and local variance to improve the contrast of X-ray images; Then, the image was denoised using non-local means. Specifically, this paper constructed a non-local means algorithm based on Poisson distribution for image Poisson denoising, thereby obtaining an enhanced contrast field; Finally, an energy function was established and solved by using the gradient descent method to obtain higher quality images with small details. Experiments with two typical complex workpieces were performed, and the results verified the effectiveness of the proposed approach for image enhancement and defect detection.
FANYahong, LIUBin, CHENPing, et al. Research on CT imaging method of complex shaped workpiece based on contour prior constraint[J]. Journal of Radars, 2020, 48(10): 1976-1982. (in Chinese)
[3]
BUTLERA P H, BUTZERJ, SCHLEICHN, et al. Processing of spectral X-ray data with principal components analysis[J]. Nuclear Instruments and Methods in Physics Research Section A: Accelerators, Spectrometers, Detectors and Associated Equipment, 2011,633: S140-S142.
GUONiu, GUIZhiguo, LIUYi, et al. Local contrast stretch enhancement algorithm for X-ray images based on fuzzy entropy[J]. Journal of Test and Measurement Technology, 2023,37(1): 29-36. (in Chinese)
[6]
HUANGS C, CHENGF C, CHIUY S. Efficient contrast enhancement using adaptive gamma correction with weighting distribution[J]. IEEE Transactions on Image Processing, 2013, 22(3): 1032-1041.
[7]
SIDDIQIM H. X-ray image enhancement using global histogram equalization[C]// Proceedings of the 29th International Conference on Computer Theory and Applications (ICCTA), IEEE, 2019: 90-95.
[8]
ZHAOL F, ZHUQ D. Edge detail enhancement algorithm for high-dynamic range images[J]. Journal of Intelligent Systems, 2022, 31(1): 193-206.
ZHOUChong, LIUHuan, ZHAOAiling, et al. Industrial X-ray image enhancement algorithm based on gradient field[J]. Journal of Computer Applications, 2019, 39(10): 3088-3092. (in Chinese)
[11]
HANK, SUNM Y, ZHUX G, et al. A new method in wheel hub surface defect detection: Object detection algorithm based on deep learning[C]//Proceedings of the 2017 International Conference on Advanced Mechatronic Systems, IEEE, 2017: 335-338.
ZHAOAiling, ZHANGPengcheng, LIUYi. X-ray battery image enhancement algorithm based on improved Retinex and homomorphic filtering[J]. Journal of Test and Measurement Technology, 2021,35(2): 128-133. (in Chinese)
[14]
CHENGH Y, JIANGH Q, LIUZ, et al. Radiographic image enhancement method for complex components based on deep learning theory[C]//Proceedings of the 6th Information Technology and Mechatronics Engineering Conference (ITOEC), IEEE, 2022: 913-918.
[15]
WANGL W, LIUZ S, SIUW C. Lightening network for low-light image enhancement[C]//IEEE Transactions on Image Processing, 2020: 7984-7996.
[16]
GOUASNOUANEO, MOUSSAIDN, BOUJENAS. A nonlinear fractional partial differential equation for image denoising[C]//2021 Third International Conference on Transportation and Smart Technologies (TST), Tangier, Morocco, 2021: 59-64.
JUN S, LEEE, KIMS, et al. Wavelet-based enhancement of color image using combined local variance and entropy analysis[C]//Proceedings of the 2010 Digest of Technical Papers International Conference on Consumer Electronics (ICCE), IEEE, 2010: 415-416.
[19]
LIL, WANGR G, WANGW M, et al. A low-light image enhancement method for both denoising and contrast enlarging[C]//Proceedings of the 2015 International Conference on Image Processing, 2015: 3730-3734.
CHENY, BAIY, ZHANGQ, et al. Self-adaptive anisotropic image enhancement algorithm based on local variance[J]. Journal of Engineering Science and Technology Review, 2017, 10(3): 64-72.
[23]
FENGL, WANGJ. Research on image denoising algorithm based on improved wavelet threshold and non-local mean filtering[C]//2021 IEEE 6th International Conference on Signal and Image Processing (ICSIP), 2021: 493-497.
CHENGLibo, CHENPengyu, LIZhe, et al. Remote sensing image denoising based on shearlet transform and goodness of fit set[J]. Journal of Jilin University, 2023, 61(5): 1187-1194. (in Chinese)
[26]
WANGZ, WANGK, LIUZ, et al. Study on denoising and enhancement method in SAR image based on wavelet packet and fuzzy set[C]//2019 IEEE 4th Advanced Information Technology, Electronic and Automation Control Conference, 2019: 1541-1544.
[27]
REMEZT, LITANYO, GIRYESR, et al. Class-Aware fully-convolutional gaussian and poisson denoising[J]. IEEE Transactions on Image Processing, 2018. doi:10.1109/TIP.2018.2859044 .
[28]
HOUDARDA, ALMANSAA, DELONJ. Demystifying the asymptotic behavior of global denoising[J]. Journal of Mathematical Imaging and Vision, 2017, 59(3): 456-480.
YANGXinxin, WANGZhiming. Improved image deblurring based on combination of generalized Gaussian distribution and nonlocal-means[J]. Application Research of Computers, 2012, 29(5): 1990-1992. (in Chinese)
[31]
ZHAOW D, XUZ J, ZHAOJ, et al. Variational infrared image enhancement based on adaptive dual-threshold gradient field equalization[J]. Infrared Physics & Technology, 2014, 66: 152-159.
[32]
BHATP, ZITNICKC L, COHENM, et al. GradientShop: a gradient-domain optimization framework for image and video filtering[J]. ACM Transactions on Graphics, 2010, 29(2): 1-14.
[33]
SHANNONC E. A mathematical theory of communication[J]. Bell System Technical Journal, 1948, 27(3): 379-423.
WANGHongnan, ZHONGWen, WANGJing, et al.Research of measurement for digital image definition[J]. Journal of Image and Graphics, 2004, 9(7): 828-831. (in Chinese)