Infrared Image Enhancement Method of Substation Equipment Based on Self-Attention Cycle Generative Adversarial Network (SA-CycleGAN)
Abstract
:1. Introduction
- (1)
- In order to effectively improve the contrast and saturation of the generated image, the self-attention mechanism is employed to replace the residual structure in the transcoding network, enhance the mapping ability of the image color characteristics of the transcoding network, improve the image contrast and saturation, and greatly reduce the number of model parameters.
- (2)
- To address the issue of missing edge information in low-quality infrared images, the feature fusion structure is constructed by using the feature pyramid of the generator’s coding network and decoding network to improve the generator’s generating effect of infrared image details.
- (3)
- An efficient local attention mechanism is added to extract detailed information of infrared images in an all-around way to improve the clarity of image details.
- (4)
- In the discriminator part, a two-channel discriminator is adopted to capture the difference between the generated infrared image and the target image so as to improve the discriminant network’s ability to discriminate the generated infrared image. Finally, the loss function is optimized to improve the model training convergence speed.
2. Related Works
2.1. Traditional Infrared Image Enhancement Methods
2.2. Deep Learning-Based Infrared Image Enhancement Methods
3. The Proposed Method
3.1. Self-Attention Module
3.2. Efficient Local Attention Mechanism and Feature Fusion Structure
3.3. Two-Channel Discriminator
3.4. Improved Loss Function
4. Experiments
4.1. Datasets
4.2. Implementation Details
4.3. Objective Evaluation
4.4. Iterative Process Analysis
4.5. Comparison with Other Methods
4.6. Visual Effect Comparisons
4.7. Ablation Experiment
4.8. Visualization of Image Recognition Results
5. Conclusions
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
References
- Zhao, Z.B.; Feng, S.; Zhai, Y.J.; Zhao, W.Q.; Li, G. Infrared thermal image instance segmentation method for power substation equipment based on visual feature reasoning. IEEE Trans. Instrum. Meas. 2023, 72, 5029613. [Google Scholar] [CrossRef]
- Luo, L.; Ma, R.; Li, Y.; Yang, F.; Qiu, Z. Image recognition technology with its application in defect detection and diagnosis analysis of substation equipment. Sci. Program. 2021, 2021, 2021344. [Google Scholar] [CrossRef]
- Xiao, Y.; Yan, Y.; Yu, Y.S.; Wang, B.; Liang, Y.H. Research on pose adaptive correction method of indoor rail mounted inspection robot in gis substation. Energy Rep. 2022, 8, 696–705. [Google Scholar] [CrossRef]
- Li, J.Q.; Xu, Y.Q.; Nie, K.H.; Cao, B.F.; Zuo, S.N.; Zhu, J. Pednet: A lightweight detection network of power equipment in infrared image based on yolov4-tiny. IEEE Trans. Instrum. Meas. 2023, 72, 5004312. [Google Scholar] [CrossRef]
- Zou, H.; Huang, F.Z. A novel intelligent fault diagnosis method for electrical equipment using infrared thermography. Infrared Phys. Technol. 2015, 73, 29–35. [Google Scholar] [CrossRef]
- Ferreira, R.A.M.; Silva, B.P.A.; Teixeira, G.G.D.; Andrade, R.M.; Porto, M.P. Uncertainty analysis applied to electrical components diagnosis by infrared thermography. Measurement 2019, 132, 263–271. [Google Scholar] [CrossRef]
- Liu, T.; Li, G.L.; Gao, Y. Fault diagnosis method of substation equipment based on you only look once algorithm and infrared imaging. Energy Rep. 2022, 8, 171–180. [Google Scholar] [CrossRef]
- Han, S.; Yang, F.; Yang, G.; Gao, B.; Zhang, N.; Wang, D.W. Electrical equipment identification in infrared images based on roi-selected cnn method. Electr. Power Syst. Res. 2020, 188, 106534. [Google Scholar] [CrossRef]
- Yang, K.; Xiang, W.; Chen, Z.; Zhang, J.; Liu, Y. A review on infrared and visible image fusion algorithms based on neural networks. J. Visual Commun. Image Represent. 2024, 101, 104179. [Google Scholar] [CrossRef]
- Wang, H.; Cheng, C.; Zhang, X.C.; Sun, H.B. Towards high-quality thermal infrared image colorization via attention-based hierarchical network. Neurocomputing 2022, 501, 318–327. [Google Scholar] [CrossRef]
- Jia, H.; Yin, Q.; Lu, M. Steering kernel weighted guided image filtering with gradient constraint. Comput. Graphics. 2024, 119, 103908. [Google Scholar] [CrossRef]
- Guo, Z.; Yu, X.; Du, Q. Infrared and visible image fusion based on saliency and fast guided filtering. Infrared Phys. Technol. 2022, 123, 104178. [Google Scholar] [CrossRef]
- Rong, L.; Zhang, S.H.; Yin, M.F.; Wang, D.; Zhao, J.; Wang, Y.; Lin, S.F. Reconstruction efficiency enhancement of amplitude-type holograms by using single-scale retinex algorithm. Opt. Lasers Eng. 2024, 176, 108097. [Google Scholar] [CrossRef]
- Noori, H.; Gholizadeh, M.H.; Rafsanjani, H.K. Digital image defogging using joint retinex theory and independent component analysis. Comput. Vis. Image Underst. 2024, 245, 104033. [Google Scholar] [CrossRef]
- Yuan, Q.; Dai, S. Adaptive histogram equalization with visual perception consistency. Inf. Sci. 2024, 668, 120525. [Google Scholar] [CrossRef]
- Zhang, F.; Dai, Y.; Peng, X.; Wu, C.; Zhu, X.; Zhou, R.; Wu, Y. Brightness segmentation-based plateau histogram equalization algorithm for displaying high dynamic range infrared images. Infrared Phys. Technol. 2023, 134, 104894. [Google Scholar] [CrossRef]
- Zhu, J.Y.; Park, T.; Isola, P.; Efros, A.A. Unpaired image-to-image translation using cycle-consistent adversarial networks. In Proceedings of the IEEE International Conference on Computer Vision, Venice, Italy, 22–29 October 2017; pp. 2223–2232. [Google Scholar]
- Lu, H.; Liu, Z.; Zhang, J.; Wang, Z. Infrared image enhancement based on multi-scale cyclic convolution and multi-clustering space. Acta Electron. Sin. 2022, 50, 415–425. [Google Scholar]
- Tan, Y.X.; Fan, S.S.; Wang, Z.Y. Global and local contrast adaptive enhancement methods for low-quality substation equipment infrared thermal images. IEEE Trans. Instrum. Meas. 2024, 73, 5005417. [Google Scholar] [CrossRef]
- Lv, K.; Zhang, D. Infrared image enhancement algorithm based on adaptive histogram equalization coupled with laplace transform. Opt. Technol. 2021, 47, 747–753. [Google Scholar]
- Lee, S.; Kim, D.; Kim, C. Ramp distribution-based image enhancement techniques for infrared images. IEEE Signal Process Lett. 2018, 25, 931–935. [Google Scholar] [CrossRef]
- Pang, Z.; Liu, X.; Liu, G.; Gong, Y.; Zhou, H.; Luo, H. Parallel multifeature extracting network for infrared image enhancement. Infrared Laser Eng. 2022, 51, 297–305. [Google Scholar]
- Ma, J.Y.; Gao, W.J.; Ma, Y.; Huang, J.; Fan, F. Learning spatial-parallax prior based on array thermal camera for infrared image enhancement. IEEE Trans. Ind. Inf. 2022, 18, 6642–6651. [Google Scholar] [CrossRef]
- Wang, D.; Lai, R.; Guan, J. Target attention deep neural network for infrared image enhancement. Infrared Phys. Technol. 2021, 115, 103690. [Google Scholar] [CrossRef]
- Jiang, Y.F.; Gong, X.Y.; Liu, D.; Cheng, Y.; Fang, C.; Shen, X.H.; Yang, J.C.; Zhou, P.; Wang, Z.Y. Enlightengan: Deep light enhancement without paired supervision. IEEE Trans. Image Process. 2021, 30, 2340–2349. [Google Scholar] [CrossRef]
- Zhang, H.; Yang, J.; Li, Q.; Hua, H. Infrared image data enhancement based on ddr-cyclegan. Laser Infrared 2022, 52, 600–606. [Google Scholar]
- Vaswani, A.; Shazeer, N.; Parmar, N.; Uszkoreit, J.; Jones, L.; Gomez, A.N.; Kaiser, L.; Polosukhin, I. Attention is all you need. In Proceedings of the 31st Annual Conference on Neural Information Processing Systems, Long Beach, CA, USA, 4–9 December 2017; pp. 5999–6009. [Google Scholar]
- Xu, W.; Wan, Y. Ela: Efficient local attention for deep convolutional neural networks. arXiv 2024, arXiv:2403.01123. [Google Scholar]
- Li, Y.C.; Zhou, S.L.; Chen, H. Attention-based fusion factor in fpn for object detection. Appl. Intell. 2022, 52, 15547–15556. [Google Scholar] [CrossRef]
- Li, F.; Zurada, J.M.; Wu, W. Smooth group L1 and L2 regularization for input layer of feedforward neural networks. Neurocomputing 2018, 314, 109–119. [Google Scholar] [CrossRef]
- Zhang, L.; Zhang, L.; Mou, X.Q.; Zhang, D. Fsim: A feature similarity index for image quality assessment. IEEE Trans. Image Process. 2011, 20, 2378–2386. [Google Scholar] [CrossRef]
Model | Entropy | Colorfulness | Saturation | FSIM | Parameters (M) |
---|---|---|---|---|---|
HE | 7.03 | 54.05 | 0.74 | 0.52 | \ |
Retinex | 6.32 | 49.28 | 0.68 | 0.42 | \ |
GF | 4.31 | 44.26 | 0.55 | 0.38 | \ |
DCGAN | 6.54 | 50.33 | 0.72 | 0.49 | 10.66 |
DM | 7.22 | 56.69 | 0.83 | 0.48 | 12.97 |
CycleGAN | 6.81 | 52.51 | 0.86 | 0.47 | 7.84 |
This paper | 7.03 | 59.21 | 0.89 | 0.61 | 4.87 |
Method | SA | ELA | FPN | Two-Channel | FSIM | PARA (M) |
---|---|---|---|---|---|---|
CycleGAN | × | × | × | × | 0.47 | 7.84 |
Scheme 1 | ✓ | × | × | × | 0.41 | 4.32 |
Scheme 2 | ✓ | ✓ | × | × | 0.49 | 4.50 |
Scheme 3 | ✓ | ✓ | ✓ | × | 0.55 | 4.51 |
This paper | ✓ | ✓ | ✓ | ✓ | 0.61 | 4.87 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2024 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Wang, Y.; Wu, B. Infrared Image Enhancement Method of Substation Equipment Based on Self-Attention Cycle Generative Adversarial Network (SA-CycleGAN). Electronics 2024, 13, 3376. https://doi.org/10.3390/electronics13173376
Wang Y, Wu B. Infrared Image Enhancement Method of Substation Equipment Based on Self-Attention Cycle Generative Adversarial Network (SA-CycleGAN). Electronics. 2024; 13(17):3376. https://doi.org/10.3390/electronics13173376
Chicago/Turabian StyleWang, Yuanbin, and Bingchao Wu. 2024. "Infrared Image Enhancement Method of Substation Equipment Based on Self-Attention Cycle Generative Adversarial Network (SA-CycleGAN)" Electronics 13, no. 17: 3376. https://doi.org/10.3390/electronics13173376
APA StyleWang, Y., & Wu, B. (2024). Infrared Image Enhancement Method of Substation Equipment Based on Self-Attention Cycle Generative Adversarial Network (SA-CycleGAN). Electronics, 13(17), 3376. https://doi.org/10.3390/electronics13173376