Application of Gaussian SVM Flame Detection Model Based on Color and Gradient Features in Engine Test Plume Images
Abstract
1. Introduction
2. Color Models
2.1. RGB Color Model
2.2. YCbCr Color Model
2.3. HSV Color Model
3. k-Means and YCbCr Color Segmentation
3.1. k-Means Clustering Analysis
- Initialization: Randomly select k initial cluster centers (centroids).
- Cluster Assignment: Assign each data point to the nearest centroid, forming k clusters.
- Centroid Update: Recalculate the centroid of each cluster as the mean of all data points in the cluster.
- Iteration: Repeat steps 2 and 3 until the centroids no longer change or a preset number of iterations is reached.
3.2. Flame Image Segmentation Based on k-Means Clustering
- Visual diversity: The images vary in brightness, flame morphology, and background contrast, including high-luminosity flame cores, transitional flame edges, and dark non-flame regions.
- Label clarity: All six images enable an intuitive visual interpretation of flame and non-flame areas, facilitating reliable ground-truth annotation and validation.
- Flame core region (labeled in yellow): This bright white or yellow area represents the high-temperature central part of the flame and is definitively classified as a flame region.
- Flame periphery (labeled in cyan): This transitional area exhibits a dimmer glow surrounding the flame core and is also considered part of the flame.
- Non-flame region (labeled in blue): Corresponding to the dark background of the plume, this area is identified as non-flame.
4. Feature Extraction and Dimensionality Reduction
4.1. Construction of Feature Vectors
4.2. Feature Vector Dimensionality Reduction
5. Model Training
5.1. Gaussian SVM Model
5.2. Model Training Settings
5.3. Model Training and Validation
5.4. Confusion Matrix and Classification Performance Metrics
5.5. Visualization and Comparison of Classification Results
5.6. Application of the Model in Hot-Fire Test Runs
6. Discussion
7. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Acknowledgments
Conflicts of Interest
Abbreviations
AUC | Area Under the (ROC) Curve |
CNN | Convolutional Neural Network |
FCM | Fuzzy C-Means (clustering) |
FPR/TPR | False Positive Rate/True Positive Rate |
GMM | Gaussian Mixture Model |
mRMR | Maximum Relevance Minimum Redundancy |
RBF | Radial Basis Function (Gaussian kernel) |
ROC | Receiver Operating Characteristic |
SVM | Support Vector Machine |
References
- Hossain, F.M.A.; Zhang, Y.M.; Tonima, M.A. forest fire flame and smoke detection from UAV-captured images using fire-specific color features and multi-color space local binary pattern. J. Unmanned Veh. Syst. 2020, 8, 285–309. [Google Scholar] [CrossRef]
- Dai Duong, H.; Tinh, D.T. An efficient method for vision-based fire detection using SVM classification. In Proceedings of the 2013 International Conference on Soft Computing and Pattern Recognition (SoCPaR), Hanoi, Vietnam, 15–18 December 2013; pp. 190–195. [Google Scholar]
- Chen, S.; Ren, J.; Yan, Y.; Sun, M.; Hu, F.; Zhao, H. Multi-sourced sensing and support vector machine classification for effective detection of fire hazard in early stage. Comput. Electr. Eng. 2022, 101, 108046. [Google Scholar] [CrossRef]
- Chanthiya, P.; Kalaivani, V. Forest fire detection on LANDSAT images using support vector machine. Concurr. Comput. Pract. Exp. 2021, 33, e6280. [Google Scholar] [CrossRef]
- Li, P.; Zhao, W. Image fire detection algorithms based on convolutional neural networks. Case Stud. Therm. Eng. 2020, 19, 100625. [Google Scholar] [CrossRef]
- Majid, S.; Alenezi, F.; Masood, S.; Ahmad, M.; Gündüz, E.S.; Polat, K. Attention based CNN model for fire detection and localization in real-world images. Expert Syst. Appl. 2022, 189, 116114. [Google Scholar] [CrossRef]
- Celik, T.; Demirel, H.; Ozkaramanli, H.; Uyguroglu, M. Fire detection using statistical color model in video sequences. J. Vis. Commun. Image Represent. 2007, 18, 176–185. [Google Scholar] [CrossRef]
- Ko, B.C.; Cheong, K.H.; Nam, J.Y. Fire detection based on vision sensor and support vector machines. Fire Saf. J. 2009, 44, 322–329. [Google Scholar] [CrossRef]
- Toreyin, B.U.; Dedeoglu, Y.; Gudukbay, U.; Cetin, A.E. Computer vision based method for real-time fire and flame detection. Pattern Recognit. Lett. 2006, 27, 49–58. [Google Scholar] [CrossRef]
- Celik, T.; Demirel, H. Fire detection in video sequences using a generic color model. Fire Saf. J. 2009, 44, 147–158. [Google Scholar] [CrossRef]
- Gaur, A.; Singh, A.; Kumar, A.; Kumar, A.; Kapoor, K. Video flame and smoke based fire detection algorithms: A literature review. Fire Technol. 2020, 56, 1943–1980. [Google Scholar] [CrossRef]
- Liu, C.B.; Ahuja, N. Vision based fire detection. In Proceedings of the 17th International Conference on Pattern Recognition (ICPR), Cambridge, UK, 26 August 2004; Volume 4, pp. 134–137. [Google Scholar]
- Chen, J.; He, Y.; Wang, J. Multi-feature fusion based fast video flame detection. Build. Environ. 2010, 45, 1113–1122. [Google Scholar] [CrossRef]
- Chen, T.H.; Wu, P.H.; Chiou, Y.C. An early fire-detection method based on image processing. In Proceedings of the International Conference on Image Processing (ICIP04), Singapore, 24–27 October 2004; Volume 3, pp. 1707–1710. [Google Scholar]
- Rossi, L.; Akhloufi, M.; Tison, Y. On the use of stereovision to develop a novel instrumentation system to extract geometric fire fronts characteristics. Fire Saf. J. 2011, 46, 9–20. [Google Scholar] [CrossRef]
- Yamagishi, H.; Yamaguchi, J. Fire flame detection algorithm using a color camera. In Proceedings of the 1999 International Symposium on Micromechatronics and Human Science (Cat. No. 99TH8478), Nagoya, Japan, 23–26 November 1999; pp. 255–260. [Google Scholar]
- Horng, W.B.; Peng, J.W.; Chen, C.Y. A new image-based real-time flame detection method using color analysis. In Proceedings of the 2005 IEEE Networking, Sensing and Control (ICNSC), Tucson, AZ, USA, 19–22 March 2005; pp. 100–105. [Google Scholar]
- Marbach, G.; Loepfe, M.; Brupbacher, T. An image processing technique for fire detection in video images. Fire Saf. J. 2006, 41, 285–289. [Google Scholar] [CrossRef]
- Celik, T.; Demirel, H.; Ozkaramanli, H. Automatic fire detection in video sequences. In Proceedings of the 2006 14th European Signal Processing Conference, Florence, Italy, 4–8 September 2006; pp. 1–5. [Google Scholar]
- Celik, T.; Ozkaramanli, H.; Demirel, H. Fire and Smoke Detection without Sensors: Image Processing Based Approach. In Proceedings of the 15th European Signal Processing Conference, Poznan, Poland, 3–7 September 2007. [Google Scholar]
- Chen, R.; Luo, Y.; Alsharif, M.R. Forest fire detection algorithm based on digital image. J. Softw. 2013, 8, 1897–1905. [Google Scholar] [CrossRef]
- Truong, T.X.; Kim, J.M. Fire flame detection in video sequences using multi-stage pattern recognition techniques. Eng. Appl. Artif. Intell. 2012, 25, 1365–1372. [Google Scholar] [CrossRef]
- Vipin, V. Image processing based forest fire detection. Int. J. Emerg. Technol. Adv. Eng. 2012, 2, 87–95. [Google Scholar]
- Rossi, L.; Akhloufi, M. Dynamic fire 3D modeling using a real-time stereovision system. In Technological Developments in Education and Automation; Springer: Dordrecht, The Netherlands, 2009; pp. 33–38. [Google Scholar]
- Toreyin, B.U.; Dedeoglu, Y.; Cetin, A.E. Flame detection in video using hidden Markov models. In Proceedings of the IEEE International Conference on Image Processing 2005, Genova, Italy, 14 September 2005; Volume 2, p. II-1230. [Google Scholar]
- Seebamrungsat, J.; Praising, S.; Riyamongkol, P. Fire detection in the buildings using image processing. In Proceedings of the 2014 Third ICT International Student Project Conference (ICT-ISPC), Nakhonpathom, Thailand, 26–27 March 2014; pp. 95–98. [Google Scholar]
- Han, X.F.; Jin, J.S.; Wang, M.J.; Jiang, W.; Gao, L.; Xiao, L.P. Video fire detection based on Gaussian Mixture Model and multi-color features. Signal Image Video Process. 2017, 11, 1419–1425. [Google Scholar] [CrossRef]
- Zhao, J.; Zhang, Z.; Han, S.; Qu, C.; Yuan, Z.; Zhang, D. SVM based forest fire detection using static and dynamic features. Comput. Sci. Inf. Syst. 2011, 8, 821–841. [Google Scholar] [CrossRef]
- Triveni, B.; Mounika, K.S.; Rahelu, B.J. Fire Detection Using Digital Image Processing. IRE J. 2020, 3, 238–241. [Google Scholar]
- Luo, Z.; Zhou, H.C. A combustion-monitoring system with 3-D temperature reconstruction based on flame-image processing technique. IEEE Trans. Instrum. Meas. 2007, 56, 1877–1882. [Google Scholar] [CrossRef]
- Huang, H.W.; Zhang, Y. Digital colour image processing based measurement of premixed CH4 + air and C2H4 + air flame chemiluminescence. Fuel 2011, 90, 48–53. [Google Scholar] [CrossRef]
- Gragnaniello, D.; Greco, A.; Sansone, C.; Vento, B. FOCUS: Improving Fire Detection on Videos by Scenario Adaptation. Image Vis. Comput. 2025, 162, 105679. [Google Scholar] [CrossRef]
- Gragnaniello, D.; Greco, A.; Sansone, C.; Vento, B. FLAME: Fire Detection in Videos Combining a Deep Neural Network with a Model-Based Motion Analysis. Neural Comput. Appl. 2025, 37, 6181–6197. [Google Scholar] [CrossRef]
- Liu, Q.; Chen, H.; Lin, D. Research and Optimization of a Multilevel Fire Detection Framework Based on Deep Learning and Classical Pattern Recognition Techniques. Sci. Rep. 2025, 15, 20364. [Google Scholar] [CrossRef] [PubMed]
- Ramos, L.T.; Casas, E.; Romero, C.; Rivas-Echeverría, F.; Bendek, E. A Study of YOLO Architectures for Wildfire and Smoke Detection in Ground and Aerial Imagery. Results Eng. 2025, 26, 104869. [Google Scholar] [CrossRef]
- Wang, X.; Wang, J.; Chen, L.; Zhang, Y. Improving Computer Vision-Based Wildfire Smoke Detection by Combining SE-ResNet with SVM. Processes 2024, 12, 747. [Google Scholar] [CrossRef]
- Vanhaeverbeke, J.; Verstockt, S.; Van Hoecke, S. Flame Monitoring and Anomaly Detection in Steel Reheating Furnaces Based on Thermal Video Using a Hybrid AI Computer Vision System. Sci. Rep. 2025, 15, 31300. [Google Scholar] [CrossRef] [PubMed]
- Gragnaniello, D.; Greco, A.; Sansone, C.; Vento, B. Fire and Smoke Detection from Videos: A Literature Review under a Novel Taxonomy. Expert Syst. Appl. 2024, 255, 124783. [Google Scholar] [CrossRef]
Actual\Predicted | Positive (Predicted) | Negative (Predicted) |
---|---|---|
Positive (Actual) | 35,102 | 511 |
Negative (Actual) | 885 | 21,305 |
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. |
© 2025 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
Yan, S.; Gao, Y.; Zhang, Z.; Li, Y. Application of Gaussian SVM Flame Detection Model Based on Color and Gradient Features in Engine Test Plume Images. Sensors 2025, 25, 5592. https://doi.org/10.3390/s25175592
Yan S, Gao Y, Zhang Z, Li Y. Application of Gaussian SVM Flame Detection Model Based on Color and Gradient Features in Engine Test Plume Images. Sensors. 2025; 25(17):5592. https://doi.org/10.3390/s25175592
Chicago/Turabian StyleYan, Song, Yushan Gao, Zhiwei Zhang, and Yi Li. 2025. "Application of Gaussian SVM Flame Detection Model Based on Color and Gradient Features in Engine Test Plume Images" Sensors 25, no. 17: 5592. https://doi.org/10.3390/s25175592
APA StyleYan, S., Gao, Y., Zhang, Z., & Li, Y. (2025). Application of Gaussian SVM Flame Detection Model Based on Color and Gradient Features in Engine Test Plume Images. Sensors, 25(17), 5592. https://doi.org/10.3390/s25175592