Optimized OTSU Segmentation Algorithm-Based Temperature Feature Extraction Method for Infrared Images of Electrical Equipment

Xueli Liu,Zhanlong Zhang,Yuefeng Hao,Hui Zhao,Yu Yang
DOI: https://doi.org/10.3390/s24041126
IF: 3.9
2024-02-09
Sensors
Abstract:Infrared image processing is an effective method for diagnosing faults in electrical equipment, in which target device segmentation and temperature feature extraction are key steps. Target device segmentation separates the device to be diagnosed from the image, while temperature feature extraction analyzes whether the device is overheating and has potential faults. However, the segmentation of infrared images of electrical equipment is slow due to issues such as high computational complexity, and the temperature information extracted lacks accuracy due to the insufficient consideration of the non-linear relationship between the image grayscale and temperature. Therefore, in this study, we propose an optimized maximum between-class variance thresholding method (OTSU) segmentation algorithm based on the Gray Wolf Optimization (GWO) algorithm, which accelerates the segmentation speed by optimizing the threshold determination process using OTSU. The experimental results show that compared to the non-optimized method, the optimized segmentation method increases the threshold calculation time by more than 83.99% while maintaining similar segmentation results. Based on this, to address the issue of insufficient accuracy in temperature feature extraction, we propose a temperature value extraction method for infrared images based on the K-nearest neighbor (KNN) algorithm. The experimental results demonstrate that compared to traditional linear methods, this method achieves a 73.68% improvement in the maximum residual absolute value of the extracted temperature values and a 78.95% improvement in the average residual absolute value.
engineering, electrical & electronic,chemistry, analytical,instruments & instrumentation
What problem does this paper attempt to address?
The paper mainly focuses on addressing two key issues in the processing of infrared images for electrical equipment: the slow speed of target equipment segmentation and the lack of accuracy in temperature feature extraction. Firstly, regarding the slow segmentation speed of electrical equipment in infrared images, due to the large computational load when determining the optimal threshold using the traditional OTSU algorithm, which leads to low segmentation efficiency, the paper proposes an optimized OTSU segmentation algorithm based on the Grey Wolf Optimizer (GWO) algorithm. By optimizing the threshold determination process in the OTSU algorithm, the segmentation speed is improved. Experimental results show that compared to non-optimized methods, the optimized segmentation method has increased the threshold calculation time by over 83.99% while maintaining similar segmentation results. Secondly, for the issue of insufficient accuracy in temperature feature extraction, the paper points out that traditional linear methods fail to fully consider the nonlinear relationship between image grayscale and temperature, resulting in inaccurate temperature information extraction. To address this issue, the paper introduces a temperature value extraction method for infrared images based on the K-Nearest Neighbors (KNN) algorithm. Experimental results indicate that compared to traditional linear methods, this method has improved the maximum absolute residual value and the average absolute residual value of temperature extraction by 73.68% and 78.95%, respectively. In summary, the methods proposed in the paper aim to improve the speed of infrared image segmentation through the optimized OTSU algorithm and enhance the accuracy of temperature feature extraction through the KNN algorithm, providing a reference for real-time and accurate infrared monitoring of electrical equipment.