Machine learning-driven enhancement of economical color sensors for accurate light source categorization

With the popularity of IoT devices, the built-in color sensor offers potential expansion possibilities. This study aims to enhance the economical color sensors for light source classification through machine learning. Employing a broad collection and analysis of data from 142 data points across 11 distinct light sources, we compared five machine learning classification models, including decision tree (DT), support vector machine (SVM), linear discriminant analysis (LDA), k-nearest neighbor (KNN), and naive bayes (NB) models. The finding revealed that DT exhibited superior performance (accuracy = 96.48%), followed by NB, LDA, and SVM, while KNN was relatively less effective. Moreover, DT was demonstrated to be the most efficient in visual categorization, especially suited for classifying light sources based on the values of R, G, B, and C channels. To further verify the applicability of the proposed DT classification rules, mixed light source validation experiments were conducted by randomly combining data from two and three types of light sources. The results demonstrated that the DT model maintained 92% accuracy for two-type mixed sources and 82.98% accuracy for three-type mixed sources, confirming its robustness even under complex lighting conditions. This study provides a solid theoretical foundation and practical guidelines for future challenges in addressing light source metamerism and spectral fitting.

Authors

Institutions

Publication Details

Journal
Optics Continuum
Published
2026-02-25
DOI
https://doi.org/10.1364/optcon.588903
Primary Topic
Color Science and Applications
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Machine learning-driven enhancement of economical color sensors for accurate light source categorization

Tsung-Xian Lee, Yi-Ming Li, Chang-Hung Hsieh
Optics Continuum
Color Science and Applications
article

Machine learning-driven enhancement of economical color sensors for accurate light source categorization

Tsung-Xian Lee, Yi-Ming Li, Chang-Hung Hsieh
article en

Abstract

With the popularity of IoT devices, the built-in color sensor offers potential expansion possibilities. This study aims to enhance the economical color sensors for light source classification through machine learning. Employing a broad collection and analysis of data from 142 data points across 11 distinct light sources, we compared five machine learning classification models, including decision tree (DT), support vector machine (SVM), linear discriminant analysis (LDA), k-nearest neighbor (KNN), and naive bayes (NB) models. The finding revealed that DT exhibited superior performance (accuracy = 96.48%), followed by NB, LDA, and SVM, while KNN was relatively less effective. Moreover, DT was demonstrated to be the most efficient in visual categorization, especially suited for classifying light sources based on the values of R, G, B, and C channels. To further verify the applicability of the proposed DT classification rules, mixed light source validation experiments were conducted by randomly combining data from two and three types of light sources. The results demonstrated that the DT model maintained 92% accuracy for two-type mixed sources and 82.98% accuracy for three-type mixed sources, confirming its robustness even under complex lighting conditions. This study provides a solid theoretical foundation and practical guidelines for future challenges in addressing light source metamerism and spectral fitting.

Optics ContinuumVol. 5(3)
National Taiwan University of Science and Technology (TW)
Openalex Percentile: Top 43%
Color Science and Applications
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.