A Reconstruction of Gray Scale Image into RGB Color Space Image Using YCbCr Color Spacing and Luminance Mapping in Matlab

Nidhi Gupta*, Dolley Shukla**
* Research Scholar, Department of Electronics and Telecommunication Engineering, Faculty of Engineering and Technology, Shri Shankaracharya Technical Campus, Bhilai, Chhattisgarh, India.
** Associate Professor, Department of Information Technology, Faculty of Engineering and Technology, Shri Shankaracharya Technical Campus, Bhilai, Chhattisgarh, India.
Periodicity:September - November'2017
DOI : https://doi.org/10.26634/jpr.4.3.13886

Abstract

RGB (Red, Green, Blue) color scale image to Gray scale image color conversion is very useful and application oriented in the digital image processing world. In this paper, the authors have presented a basic method for the grayscale images to color image conversion by transferring the color elements between a source input, RGB color image and a destination, the gray scale image. The methods compared here are based on matching luminance and color information between the gray images.

The de-corrected color space of image is chosen to provide color to the pixel gray image, which is a basic and simple algorithm. Thus, the color-space with de-correlated technique is an extremely vital tool for manipulating the pixel of color images during this work. Colorization of the gray scale image pixel is obtained here by matching the texture options of gray image with coloring options of the windows of the colored image elements, then mean and variance are imposed on the info points during this simple operation. Thus the required output images are obtained for the acceptable input images.

The gray-scale image pixel and reference-colored image pixel uses YCbCr (Y-Luma Component; Cb, Cr - Bluedifference and Red - Difference Chroma Components) pixel space for the processing of the image pixels in this elements of color-space component data, which is for the colorization of the gray-scale pixel image. The output of system is obtained by colorization using a popular method of using the mean and standard deviation technique in lab. All the methods utilized in this gray-scale image colorization was an automatic image colorization process, requiring two factors of the images i.e. gray-scale image as source and pixel of color image layers as the destination of image. After undergoing histogram analysis, the colors of the source image elements are successfully transferred to the destination image. The closer the luminance image pixel data of both images, the easier the transfer process becomes.

Keywords

YCbCr Color Space, Gray-scale Images, Adaptive Method, Texture Features, Luminance Mapping, Reference Color Image.

How to Cite this Article?

Gupta, N., and Shukla, D. (2017). A Reconstruction of Gray Scale Image into RGB Color Space Image Using YCbCr Color Spacing and Luminance Mapping in Matlab. i-manager’s Journal on Pattern Recognition, 4(3), 17-26. https://doi.org/10.26634/jpr.4.3.13886

References

[1]. Avcibas, I., Sankur, B., & Sayood, K. (2002). Statistical evaluation of image quality measures. Journal of Electronic Imaging, 11(2), 206-224.
[2]. Chang, H., Yeung, D. Y., & Xiong, Y. (2004). Superresolution through neighbor embedding. In Computer Vision and Pattern Recognition, 2004. CVPR 2004. Proceedings of the 2004 IEEE Computer Society Conference on (Vol. 1, pp. I-I). IEEE.
[3]. Charpiat, G., Hofmann, M., & Schölkopf, B. (2008). Automatic image colorization via multimodal predictions. In European conference on computer vision (pp. 126-139). Springer, Berlin, Heidelberg.
[4]. Dunham, M. H. (2006). Data mining: Introductory and advanced topics. Pearson Education India.
[5]. Heare, D., & Baker, M. P. (1998). Computer Graphics (C Version).
[6]. Hsieh, C. H., Lin, C. M., & Chang, F. J. (2009). Pseudocoloring with Histogram Interpolation. In Hybrid Intelligent Systems, 2009. HIS'09. Ninth International Conference on (Vol. 1, pp. 9-12). IEEE.
[7]. Ironi, R., Cohen-Or, D., & Lischinski, D. (2005). Colorization by Example. In Rendering Techniques (pp. 201-210).
[8]. Ji, Y. & Chen, Y. (2008). Rendering greyscale image using color feature. In Machine Learning and Cybernetics, 2008 International Conference on (Vol. 5, pp. 3017-3021). IEEE.
[9]. Karthikeyani, V., Duraiswamy, K., & Kamalakkannan, P. (2007). Conversion of gray-scale image to color image with and without texture synthesis. IJCSNS, 7(4), 11-16.
[10]. Kumar, S., & Singh, D. (2012a). Colorization of gray image in Lab color space using texture mapping and luminance mapping. International Journal of Computational Engineering Research, 2(5), 1272-1278.
[11]. Kumar, S. & Singh, D. (2012b). Colorization of Gray Scale Images in YCbCr Color Space Using Texture Extraction and Luminance Mapping. IOSR Journal of Computer Engineering (IOSRJCE), 4(5), 27-32.
[12]. Kumar, S. & Singh, D. (2013). Texture Feature Extraction to Colorize Gray Images. International Journal of Computer Applications, 63(17), 10-17.
[13]. Kumar, S. & Swarnkar, A. (2012). Colorization of gray scale images in lab color space using mean and standard deviation. In Electrical, Electronics and Computer Science (SCEECS), 2012 IEEE Students' Conference on (pp. 1-4). IEEE.
[14]. Levin, A., Lischinski, D., & Weiss, Y. (2004). Colorization using optimization. In ACM Transactions on Graphics (ToG), 23(3), 689-694. ACM.
[15]. Li, J., Hao, P., & Zhang, C. (2008). Transferring Colours to Grayscale Images by Locally Linear Embedding. In BMVC (pp. 1-10).
[16]. Maharani, M., Dewi, B. K., Yulianto, F. A., & Purnama, B. (2013). Digital image compression using graph coloring quantization based on wavelet-SVD. In Journal of Physics: Conference Series (Vol. 423, No. 1, p. 012019). IOP Publishing.
[17]. Parandekar, A. B. & Dhande, S. S. (2014). An Adaptive System for Gray Scale to RGB Image Conversion. International Journal Computer Technology & Applications, 5 (2), 735-739.
[18]. Prasad, J. R. & Singh, A. (2017). An Implementation and Design a Customized Advanced Image Editor using Image Processing in MATLAB. IJSTE - International Journal of Science Technology & Engineering, 3 (11), 254-258.
[19]. Purnama, B., Wisesti, U. N., Nhita, F., Gayatri, A., & Mutiah, T. (2015). A classification of polycystic Ovary Syndrome based on follicle detection of ultrasound images. In Information and Communication Technology (ICoICT), 2015 3 International Conference on (pp. 396- 401). IEEE.
[20]. Rathore, Y., Dhole, A., Giri, R., & Agarwal, U. (2002). Colorization of Gray Scale Image using Fully Automated Approach. International Journal of Electronics and Communications Technology, 1(1), 16-19.
[21]. Ruderman, D. L., Cronin, T. W., & Chiao, C. C. (1998). Statistics of cone responses to natural images: implications for visual coding. JOSA A, 15(8), 2036-2045.
[22]. Rujuta, R. M. (2013). Converting Gray-Scale Image to Color Image. IJCITB ISSN, 1(4), 142-146.
[23]. Sapiro, G. (2004). Inpainting the colors. IEEE International Conference on Image Processing (pp. 698- 701). IEEE.
[24]. Saul, L. K., & Roweis, S. T. (2000). An introduction to locally linear embedding. unpublished. Available at: http://www.cs.toronto.edu/~roweis/lle/publications. html.
[25]. Sun, S., Jing, Z., Liu, G., & Li, Z. (2005). Transfer color to night vision images. Chinese Optics Letters, 3(8), 448- 450.
[26]. Sýkora, D., Buriánek, J., & Žára, J. (2004). Unsupervised colorization of black-and-white cartoons. In Proceedings of the 3 international symposium on Nonphotorealistic animation and rendering (pp. 121-127). ACM.
[27]. Welsh, T., Ashikhmin, M., & Mueller, K. (2002). Transferring color to greyscale images. In ACM Transactions on Graphics (TOG) (Vol. 21, No. 3, pp. 277- 280). ACM.
If you have access to this article please login to view the article or kindly login to purchase the article

Purchase Instant Access

Single Article

North Americas,UK,
Middle East,Europe
India Rest of world
USD EUR INR USD-ROW
Online 15 15

Options for accessing this content:
  • If you would like institutional access to this content, please recommend the title to your librarian.
    Library Recommendation Form
  • If you already have i-manager's user account: Login above and proceed to purchase the article.
  • New Users: Please register, then proceed to purchase the article.