Submitted:
02 February 2024
Posted:
02 February 2024
You are already at the latest version
Abstract
Keywords:
1. Introduction
2. Background and basic concepts
2.1. Color spaces
- RGB is a color space based on the trichromatic theory [15] that relies on the idea that all colors can be represented using different shades of the three primary colors R (red), G (green), and B (blue). RGB is an additive color space realized through a 24-bit implementation (8 bit for each primary color channel, allowing for values ranging from 0 to 255). It is a real color space, in the sense that the primary colors can actually be physically generated in some light spectrum, and gives rise to any primary space via matrix linear transformations on color space components (particularly, additive or subtractive linear models can be used).
- CIE XYZ is a color space defined by CIE (International Commission on Illumination) [16]. The XYZ system adopts “imaginary” primaries X, Y, and Z that cannot be realized by actual color stimuli: they may be intended as derived parameters from the R, G, and B colors. space is related by the linear transformation with and, for convenience, the Y primary value is defined so that it corresponds to luminance.
- is a luminance-chrominance space that codifies the luminance and chrominance information of colors. It was developed as part of the Recommendation ITU-R BT.601 for worldwide digital component video standard and used in television transmissions. The color component Y is the luma or luminance specifying the perceived brightness of color, while the chrominance components and are color difference channels and represent the difference between the blue B and red R channels and a reference value Y, respectively [12]. As a result, and provide the hue and saturation information of the color. This color space is widely used by most of the state-of-the-art compression algorithms, in video systems, printing presses, and other art items since it better describes the range of colors and contrast.
- HSV is a perceptual space quantifying subjective human color perception using: brightness/intensity, which characterizes the luminous level of a color stimulus (how dark or luminous an area appears); hue, which measures how much an area appears to be similar to one of the main primary colors (red, green, blue, and yellow); saturation, which allows estimating an area colorfulness in relation to its brightness (it represents the purity of a perceived color). Particularly, H represents a given hue (chromatic content), S the saturation value (the ratio of chromatic and achromatic contents), and V the brightness value of a color pixel. is obtained by RGB using a nonlinear transformation, particularly the cylindrical-coordinate transformation.
2.2. Overview of automatic thresholding segmentation
- Compute the set of pixels in I with intensity level below the threshold ;
- Compute the mean intensity value of the pixels included into ;
- Compute the set of pixels in I with intensity level above the threshold ;
- Compute the mean intensity value of the pixels included into ;
- Evaluate the new threshold value as ;
- Iterate steps 1-5 while is greater than a fixed tolerance value.
- Calculate the pixel frequency distribution histogram of I and the probability distribution of each intensity level ;
- Normalize the histogram so that it sums to one, and calculate the and ;
- Calculate the cumulative mean and cumulative variance of pixel values;
- For each threshold value k calculate the inter-class variance;
- Find that maximizes the inter-class variance.
- Calculate the pixel frequency distribution histogram of I and the probability distribution of each intensity level , ;
- Normalize the histogram so that it sums to one, and calculate the cumulative sum and ;
- Calculate the overall entropy of the two classes, that is ;
- Find that maximizes .
3. Integration for image color features via low-rank factorization
3.1. Metacolors extraction from
4. Numerical results and discussions
- accuracy indicates the number of pixels classified correctly for a given class c,
- sensitivity it evaluates the proportion of pixels in the segmentation that correspond to boundary pixels in the ground truth (it corresponds to the precision);
- , F-measure provides the predictive performance of the binary threshold model;
- it provides a quick assessment of the segmentation performance;
- the Matthews correlation coefficient indicates the ineffectiveness of the binary segmentation in classifying pixels;
- ; it scores the overlap between predicted segmentation and ground truth, penalizing in highly class imbalanced images;
- Jaccard index measures the similarity between the predicted segmentation and its ground truth image segmentation;
- specitivity evaluates the capabilities for correctly identifying pixels in the background;
5. Conclusion
Author Contributions
Funding
Data Availability Statement
Acknowledgments
Conflicts of Interest
References
- Lee, D.D.; Seung, H.S. Learning the parts of objects by non-negative matrix factorization. Nature 1999, 401, 788–791. [Google Scholar] [CrossRef] [PubMed]
- Lee, D.D.; Seung, H.S. Algorithms for Non-negative Matrix Factorization. Proc Adv Neur Inf Proc Sys. MIT Press, 2000, Vol. 13, pp. 556 – 562.
- Gillis, N. Nonnegative Matrix Factorization; SIAM, 2020.
- Yuan, Z.; Oja, E. Projective Nonnegative Matrix Factorization for Image Compression and Feature Extraction. Image Analysis; Kalviainen, H., Parkkinen, J., Kaarna, A., Eds.; Springer Berlin Heidelberg: Berlin, Heidelberg, 2005; pp. 333–342. [Google Scholar]
- Guillamet, D.; Schiele, B.; Vitria, J. Analyzing non-negative matrix factorization for image classification. 2002 International Conference on Pattern Recognition, 2002, Vol. 2, pp. 116–119 vol.2.
- Guillamet, D.; Vitria, J.; Schiele, B. Introducing a weighted non-negative matrix factorization for image classification. Pattern Recognition Letters 2003, 24, 2447–2454. [Google Scholar] [CrossRef]
- Rajapakse, M.; Tan, J.; Rajapakse, J. Color channel encoding with NMF for face recognition. 2004 International Conference on Image Processing, 2004. ICIP ’04., 2004, Vol. 3, pp. 2007–2010 Vol. 3.
- Luong, T.X.; Kim, B.K.; Lee, S.Y. Color image processing based on Nonnegative Matrix Factorization with Convolutional Neural Network. 2014 International Joint Conference on Neural Networks (IJCNN), 2014, pp. 2130–2135. [CrossRef]
- Castiello, C.; Del Buono, N.; Esposito, F. Improving Color Image Binary Segmentation Using Nonnegative Matrix Factorization. Computational Science and Its Applications – ICCSA 2023 Workshops; Gervasi, O., Murgante, B., Rocha, A.M.A.C., Garau, C., Scorza, F., Karaca, Y., Torre, C.M., Eds.; Springer Nature Switzerland: Cham, 2023; pp. 623–640. [Google Scholar]
- Kahu, S.Y.; Raut, R.B.; Bhurchandi, K.M. Review and evaluation of color spaces for image/video compression. Color Research and Applications 2018. [Google Scholar] [CrossRef]
- Gowda, S.N.; Yuan, C. ColorNet: Investigating the Importance of Color Spaces for Image Classification. Computer Vision – ACCV 2018; Jawahar, C., Li, H., Mori, G., Schindler, K., Eds.; Springer International Publishing: Cham, 2019; pp. 581–596. [Google Scholar] [CrossRef]
- Busin, L.; Shi, J.; Vandenbroucke, N.; Macaire, L. Color space selection for color image segmentation by spectral clustering. Proc. of IEEE Int Conf Sig Im Proc Appl - ICSIPA09, 2009, pp. 262–267. [CrossRef]
- Vandenbroucke, N.; Macaire, L.; Postaire, J.G. Color image segmentation by pixel classification in an adapted hybrid color space. Application to soccer image analysis. Comput Vis Image Underst 2003, 90, 190–216. [Google Scholar] [CrossRef]
- Ganesan, P.; Sathish, B.S.; Vasanth, K.; Sivakumar, V.G.; Vadivel, M.; Ravi, C.N. A Comprehensive Review of the Impact of Color Space on Image Segmentation. 2019 5th International Conference on Advanced Computing and Communication Systems (ICACCS), 2019, pp. 962–967. [CrossRef]
- Distante, A.; Distante, C. Color. In Handbook of Image Processing and Computer Vision: Volume 1: From Energy to Image; Springer International Publishing: Cham, 2020; pp. 79–176. [Google Scholar]
- Hugh, S. Fairman, Michael H. Brill, H.H. How the CIE 1931 color-matching functions were derived from Wright-Guild data. Color Research and Application 1998, 22, 11–23. [Google Scholar] [CrossRef]
- Linda, G. Shapiro (Autore), G.C.S. Computer Vision, 2001. [Google Scholar]
- Cheng, H.D.; Jiang, X.H.; Sun, Y.; Wang, J.L. Color image segmentation: Advances and prospects. Patt Recogn 2001, 34, 2259–2281. [Google Scholar] [CrossRef]
- Jain, S.; Laxmi, V. Color Image Segmentation Techniques: A Survey. 2018.
- Otsu, N. A Threshold Selection Method from Gray-Level Histograms. IEEE Transactions on Systems, Man, and Cybernetics 1979, 9, 62–66. [Google Scholar] [CrossRef]
- Ridler, T.W. .; Calvard, S. Picture Thresholding Using an Iterative Selection Method. IEEE Transactions on Systems, Man, and Cybernetics 1978, 8, 630–632. [Google Scholar] [CrossRef]
- Xue, J.H.; Zhang, Y.J. Ridler and Calvard’s, Kittler and Illingworth’s and Otsu’s methods for image thresholding. Pattern Recognition Letters 2012, 33, 793–797. [Google Scholar] [CrossRef]
- Kapur, J.; Sahoo, P.; Wong, A. A new method for gray-level picture thresholding using the entropy of the histogram. Computer Vision, Graphics, and Image Processing 1985, 29, 273–285. [Google Scholar] [CrossRef]
- Tsai, W.H. Moment-preserving thresolding: A new approach. Computer Vision, Graphics, and Image Processing 1985, 29, 377–393. [Google Scholar] [CrossRef]
- Esposito, F. A Review on Initialization Methods for Nonnegative Matrix Factorization: Towards Omics Data Experiments. Mathematics 2021, 9, 1006. [Google Scholar] [CrossRef]
- Berry, M.; Browne, M.; Langville, A.; Pauca, P.; Plemmons, R. Algorithms and Applications for Approximate Nonnegative Matrix Factorization. Computational Statistics and Data Analysis 2007, 52, 155–173. [Google Scholar] [CrossRef]
- Zhang, Y. A survey on evaluation methods for image segmentation. Patt Recog 1996, 29, 1335–1346. [Google Scholar] [CrossRef]










| Otsu | Metac+Otsu | Kapur | Metac+Kapur | Ridler | Metac+Ridler | Tsai | Metac+Tsai | |
| 0.7443 ± 0.1555 | 0.7455 ± 0.1667 | 0.6356 ± 0.2774 | 0.6812 ± 0.2434 | 0.7420 ± 0.1701 | 0.7466 ± 0.1420 | 0.7295 ± 0.1759 | 0.7284 ± 0.1241 | |
| 0.7484 ± 0.3011 | 0.7345 ± 0.3000 | 0.6568 ± 0.3411 | 0.6834 ± 0.3514 | 0.7340 ± 0.3002 | 0.7443 ± 0.3049 | 0.7311 ± 0.3021 | 0.7451 ± 0.2993 | |
| F | 0.6947 ± 0.2613 | 0.7118 ± 0.2585 | 0.6068 ± 0.3296 | 0.5593 ± 0.3539 | 0.7131 ± 0.2581 | 0.6945 ± 0.2636 | 0.6987 ± 0.2585 | 0.6763 ± 0.2606 |
| 0.6843 ± 0.2327 | 0.7308 ± 0.2102 | 0.6538 ± 0.3198 | 0.5289 ± 0.3579 | 0.7368 ± 0.2037 | 0.6921 ± 0.2253 | 0.7140 ± 0.2086 | 0.6575 ± 0.2386 | |
| 0.3945 ± 0.2978 | 0.3891 ± 0.3020 | 0.2323 ± 0.3780 | 0.2463 ± 0.3554 | 0.3895 ± 0.3035 | 0.3897 ± 0.3014 | 0.3701 ± 0.2953 | 0.3720 ± 0.2944 | |
| 0.6947 ± 0.2613 | 0.7118 ± 0.2585 | 0.6068 ± 0.3296 | 0.5993 ± 0.3539 | 0.7131 ± 0.2581 | 0.7145 ± 0.2636 | 0.6763 ± 0.2606 | 0.6987 ± 0.2585 | |
| 0.5865 ± 0.2873 | 0.6074 ± 0.2895 | 0.5088 ± 0.3277 | 0.4683 ± 0.3456 | 0.6088 ± 0.2888 | 0.5970 ± 0.2885 | 0.5905 ± 0.2858 | 0.5640 ± 0.2858 | |
| 0.6391 ± 0.2967 | 0.6551 ± 0.2970 | 0.5584 ± 0.3098 | 0.5654 ± 0.2935 | 0.6559 ± 0.2977 | 0.6790 ± 0.2955 | 0.6286 ± 0.2893 | 0.6240 ± 0.2965 |
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 (http://creativecommons.org/licenses/by/4.0/).