A New Color Classification Method Based on Multiple Machine Learning Models
Abstract
Color classification is a well-established field with everyday applications in areas such as object recognition, face recognition, skin color recognition, and materials recognition. With the advent of machine learning, various algorithms, including Artificial Neural Network (ANN), Supporting Vector Machine (SVM), decision trees, and Bayesian networks, have been employed for color classification. In this paper, we employ two distinct techniques, K-nearest Neighbors (KNN) and logistic regression, for the purpose of classification. Our study primarily focuses on simplifying image processing procedures to reduce time consumption. We utilize RGB values to train the KNN and logistic regression models and gather statistics on different colors. The results of our tests indicate that the KNN model has an advantage in terms of accuracy due to its straightforward and efficient computations. While logistic regression performs well on raw image data, it is outperformed by KNN on processed images. The proposed model can provide a color table for complex images in a relatively short amount of time.
References
- Bishop C M 1994 Neural networks and their applications Review of scientific instruments 65(6): 1803-1832
- Al-Shayea Q K 2011 Artificial neural networks in medical diagnosis International Journal of Computer Science Issues 8(2): 150-154
- Qiu Y Yang Y Lin Z et al. 2020 Improved denoising autoencoder for maritime image denoising and semantic segmentation of USV China Communications 17(3): 46-57
- Myles A J Feudale R N Liu Y et al. 2004 An introduction to decision tree modeling Journal of Chemometrics: A Journal of the Chemometrics Society 18(6): 275-285
- Quinlan J R 1996 Learning decision tree classifiers ACM Computing Surveys (CSUR) 28(1) 71-72 Peterson L E. 2009 K-nearest neighbor Scholarpedia 4(2): 1883.
- Peterson L E. 2009 K-nearest neighbor Scholarpedia 4(2): 1883.
- Laaksonen J Oja E 1996 Classification with learning k-nearest neighbors Proceedings of international conference on neural networks (ICNN'96) IEEE 3: 1480-1483
- Heckerman D 1998 A tutorial on learning with Bayesian networks Springer Netherlands
- Darwiche A 2010 Bayesian networks Communications of the ACM 53(12): 80-90
- Wang H Hu D 2005 Comparison of SVM and LS-SVM for regression 2005 International conference on neural networks and brain 2005 1: 279-283