single-jc.php

JACIII Vol.28 No.3 pp. 655-667
doi: 10.20965/jaciii.2024.p0655
(2024)

Research Paper:

Color-to-Gray Conversion Method Based on Chroma Difference

Shi Bao*,† ORCID Icon, Huixin Liu*, Lu Min*, Dongsheng Xu**, and Gao Le*

*School of Information Engineering, Inner Mongolia University of Technology
49 Aimin Street, Xincheng District, Hohhot, Inner Mongolia 010051, China

Corresponding author

**Inner Mongolia Electronic Information Vocational and Technical College
No.8 Suergan Street, Saihan District, Hohhot City, Inner Mongolia 010028, China

Received:
August 31, 2023
Accepted:
February 15, 2024
Published:
May 20, 2024
Keywords:
chroma difference, color-to-gray conversion, color distance, color grayscale
Abstract

Most of the images encountered in daily life are color images, yet grayscale remains prevalent in many fields due to its reduced data size and simplified operations. When reducing the dimensions of a three-channel color image to a single-channel grayscale, a portion of the original color information is inevitably lost. To yield high-quality grayscale images, this study introduces a color-to-gray conversion method based on chroma difference. This method defines a novel color distance metric for color-to-grayscale conversion, incorporating pixel chromaticity differences alongside brightness variations. The discrepancy in gray pixel values in the output grayscale image effectively mirrors the overall differences among input color image pixels. Optimization is conducted using the conjugate gradient method, ensuring appropriate reflection of luminance information from the input image and chromaticity data from the original color image within the grayscale rendering. Experimental validation confirms the efficacy of this approach. However, as the method accounts for all pixel pairs, it occasionally considers unnecessary pairs, leading to potential distortion in color differences between pixels and consequent inadequacies in chromaticity variation. To address this issue, a weighting factor is introduced, prioritizing color combinations with similar color differences. Experimental findings demonstrate that grayscale images produced using the proposed method outperform those generated by alternative approaches in preserving color differentials and retaining detailed features of the original image. The resulting output exhibits clear and natural outlines, as supported by both subjective and objective assessments.

Cite this article as:
S. Bao, H. Liu, L. Min, D. Xu, and G. Le, “Color-to-Gray Conversion Method Based on Chroma Difference,” J. Adv. Comput. Intell. Intell. Inform., Vol.28 No.3, pp. 655-667, 2024.
Data files:
References
  1. [1] A. A. Gooch, S. C. Olsen, J. Tumblin, and B. Gooch, “Color2gray: Salience-preserving color removal,” ACM Trans. on Graphics, Vol.24, No.3, pp. 634-639, 2005.
  2. [2] R. C. Gonzalez and R. E. Woods, “Digital Image Processing (3rd Edition),” Prentice Hall, 2001.
  3. [3] K. Rasche, R. Geist, and J. Westall, “Detail preserving reproduction of color images for monochromats and dichromats,” IEEE Computer Graphics and Applications, Vol.25, No.3, pp. 22-30, 2005. https://doi.org/10.1109/MCG.2005.54
  4. [4] M. Grundland and N. A. Dodgson, “Decolorize: Fast, contrast enhancing, color to grayscale conversion,” Pattern Recognition, Vol.40, No.11, pp. 2891-2896, 2007. https://doi.org/10.1016/j.patcog.2006.11.003
  5. [5] G. Tanaka, N. Suetake, and E. Uchino, “Derivation of the analytical solution of Color2Gray algorithm and its application to fast color removal based on color quantization,” Optical Review, Vol.16, pp. 601-612, 2009. https://doi.org/10.1007/s10043-009-0118-0
  6. [6] K. Smith, P. E. Landes, J. Thollot, and K. Myszkowski, “Apparent greyscale: A simple and fast conversion to perceptually accurate images and video,” Computer Graphics Forum, Vol.27, No.2, pp. 193-200, 2008. https://doi.org/10.1111/j.1467-8659.2008.01116.x
  7. [7] Y. Kim, C. Jang, J. Demouth, and S. Lee, “Robust color-to-gray via nonlinear global mapping,” ACM SIGGRAPH Asia 2009 Papers, Article No.161, 2009. https://doi.org/10.1145/1661412.1618507
  8. [8] C. Lu, L. Xu, and J. Jia, “Real-time contrast preserving decolorization,” SIGGRAPH Asia 2012 Technical Briefs, Article No.34, 2012. https://doi.org/10.1145/2407746.2407780
  9. [9] J. W. Seo and S. D. Kim, “Novel PCA-based color-to-gray image conversion,” Proc. of 2013 IEEE Int. Conf. on Image Processing (ICIP), pp. 2279-2283, 2013. https://doi.org/10.1109/ICIP.2013.6738470
  10. [10] S. Bao and G. Tanaka, “Color removal method of considering distance in color space,” Optical Review, Vol.21, pp. 127-134, 2014. https://doi.org/10.1007/s10043-014-0020-2
  11. [11] S. Bao and G. Tanaka, “Proposal of new signed color distance for color-to-gray conversion,” IEICE Trans. on Fundamentals of Electronics, Communications and Computer Sciences, Vol.E98-A, No.2, pp. 796-800, 2015. https://doi.org/10.1587/transfun.E98.A.796
  12. [12] S. Bao, Z. Liu, and G. Tanaka, “Color-to-Gray Conversion Method Considering Contrasts in Color Image,” IEICE Trans. on Fundamentals of Electronics, Communications and Computer Sciences, Vol.E101-A, No.11, pp. 1849-1853, 2018. https://doi.org/10.1587/transfun.E101.A.1849
  13. [13] H. Du, S. He, B. Sheng, L. Ma, and R. W. Lau, “Saliency-guided color-to-gray conversion using region-based optimization,” IEEE Trans. on Image Processing, Vol.24, No.1, pp. 434-443, 2014. https://doi.org/10.1109/TIP.2014.2380172
  14. [14] J. Liu, F. Fang, and N. Du, “Color-to-gray conversion with perceptual preservation and dark channel prior,” Int. J. of Numerical Analysis and Modeling, Vol.16, No.4, pp. 668-679, 2019.
  15. [15] Y. Wu, “Color conversion method of gray image based on template decomposition,” Proc. of 2021 Int. Conf. of Social Computing and Digital Economy (ICSCDE), pp. 87-91, 2021. https://doi.org/10.1109/ICSCDE54196.2021.00029
  16. [16] L. Zhang and Y. I. Wan, “Color-to-gray conversion based on boundary points,” Proc. of 2022 IEEE 11th Int. Conf. on Communications, Circuits and Systems (ICCCAS), pp. 241-245, 2022. https://doi.org/10.1109/ICCCAS55266.2022.9824486
  17. [17] A. Ceylan, V. B. Tunga, and E. K. Zay, “Color to grayscale image conversion using high dimensional model representation,” Proc. of 2021 29th Signal Processing and Communications Applications Conf. (SIU), 2021. https://doi.org/10.1109/SIU53274.2021.9477920
  18. [18] K. Watanabe, T. Kobayashi, and N. Otsu, “Efficient optimization of logistic regression by direct use of conjugate gradient,” Proc. of 2011 IEEE 10th Int. Conf. on Machine Learning and Applications and Workshops, pp. 496-500, 2011. https://doi.org/10.1109/ICMLA.2011.63
  19. [19] K. Ma, T. Zhao, K. Zeng, and Z. Wang, “Objective quality assessment for color-to-gray image conversion,” IEEE Trans. on Image Processing, Vol.24, No.12, pp. 4673-4685, 2015. https://doi.org/10.1109/TIP.2015.2460015
  20. [20] Z. Wang, A. C. Bovik, H. R. Sheikh, and E. P. Simoncelli, “Image quality assessment: From error visibility to structural similarity,” IEEE Trans. on Image Processing, Vol.13, No.4, pp. 600-612, 2004. https://doi.org/10.1109/TIP.2003.819861
  21. [21] M. Ĉadík, “Perceptual evaluation of color-to-grayscale image conversions,” Computer Graphics Forum, Vol.27, No.7, pp. 1745-1754, 2008. https://doi.org/10.1111/j.1467-8659.2008.01319.x
  22. [22] H. Z. Nafchi, A. Shahkolaei, R. Hedjam, and M. Cheriet, “CorrC2G: Color to gray conversion by correlation,” IEEE Signal Processing Letters, Vol.24, No.11, pp. 1651-1655, 2017. https://doi.org/10.1109/LSP.2017.2755077
  23. [23] L. L. Thurstone, “Psychophysical analysis,” The American J. of Psychology, Vol.38, No.3, pp. 368-389, 1927. https://doi.org/10.2307/1415006

*This site is desgined based on HTML5 and CSS3 for modern browsers, e.g. Chrome, Firefox, Safari, Edge, Opera.

Last updated on Jun. 03, 2024