Color Image To Grayscale Image Conversion
Color Image To Grayscale Image Conversion
Abstract— Conversion of a color image into a grayscale image supported by the digital device. If each Red, Green, and
inclusive of salient features is a complicated process. The Blue occupies 8 bit then the combination of RGB occupies
converted grayscale image may lose contrasts, sharpness, 24 bit and supports 16,777,216 different colors. The 24 bit
shadow, and structure of the color image. To preserve represents the color of a pixel in the color image. The
contrasts, sharpness, shadow, and structure of the color image
grayscale image has represented by luminance using 8 bits
a new algorithm has proposed. To convert the color image into
grayscale image the new algorithm performs RGB value. The luminance of a pixel value of a grayscale image
approximation, reduction, and addition of chrominance and ranges from 0 to 255. The conversion of a color image into a
luminance. The grayscale images generated using the grayscale image is converting the RGB values (24 bit) into
algorithm in the experiment confirms that the algorithm has grayscale value (8 bit).
preserved the salient features of the color image such as Various image processing techniques and software
contrasts, sharpness, shadow, and image structure. applications converts color image to grayscale image.
However, the image processing techniques or applications
Keywords: color reduction, color to gray transformation. are unable to handle the disparity in the chromaticity and the
luminance. In the literature, several linear and non-linear
I. INTRODUCTION techniques had discussed for converting color image to
Image processing is a vital research area and the grayscale image. The recent techniques handle these
utilization of images increases in various applications. On disparities much better than the earlier techniques.
different research areas, scientists are working on such as Nevertheless, the techniques involve several computational
image compression, image restoration, image segmentation procedures such as conversion of RGB space to XYZ space
etc. to enhance the existing image processing techniques and then approximations then mapping or other related
invent new method of solving image processing problems. techniques. Grayscale mappings of color images that are
The latest image processing applications such as medical constructed by approximating spectral uniformity are often
image processing, satellite image processing, and molecular inadequate [1]. The recent technique used to convert from
image processing uses various image processing techniques. color image to gray image highly consumes computational
Conversion of color image to grayscale image is one of the time and memory. Thus, a new algorithm proposed to
image processing applications used in different fields convert color image to grayscale image in a minimum
effectively. In publication organizations’ printing, a color amount of time.
image is expensive compared to a grayscale image. Thus,
II. RELATED WORK
color images have converted to grayscale image to reduce
the printing cost for low priced edition books. Similarly, There are several issues related to conversion of color
color deficient viewer requires good quality of grayscale image to grayscale image and different solutions to address
image to perceive the information, as the normal people these issues have addressed in the literature. The software
perceive the color picture. Likewise, various image such as Adobe Photoshop devised custom non-linear
processing applications require conversion of color image to projections and required users to set image dependent
grayscale image for different purpose. parameters by trial and error [2]. The following writings
Conversion of a color image to a grayscale image discuss recent six prime research works focusing on the
requires more knowledge about the color image. A pixel conversion of color image to grayscale image.
color in an image is a combination of three colors Red, A technique proposed has utilized the L*a*b luminance
Green, and Blue (RGB). The RGB color values are chrominance representation [3]. The proposed technique
represented in three dimensions XYZ, illustrated by the introduces an additive correction term for spatial
attributes of lightness, chroma, and hue. Quality of a color chrominance variations. The first step of this algorithm
image depends on the color represented by the number of computes high pass filtered versions of all three channels,
bits the digital device could support. The basic color image and the high-pass content from the two chrominance
represented by 8 bit, the high color image represented using channels combined into a single signal that represents high
16 bits, the true color image represented by 24 bit, and the frequency chrominance information. Another alternative,
deep color image is represented by 32 bit. The number of used in the implementation, is the slightly computationally
bits decides the maximum number of different colors simpler 1-norm metric. The main feature of this technique is
197
Table 1. Comparison of source image RGB and reduced png in type. The Mat Lab software has used for testing the
RGB values. algorithm.
The results of the experiment carefully examined. The
Source Color Image difference between the results of the proposed technique and
recent techniques identified and discussed. The result
revealed that the proposed algorithm yields grayscale image
with better luminance and chrominance property for most of
the cases and as standard for other few cases. However,
there is a minimum amount of loss in the grayscale image
due to reduction the algorithm preserved contrasts,
sharpness, shadow, and structure of the color image in the
reproduced grayscale image.
The following table shows four of the different color
3D plot of the source color image RGB images used in the experiment and respective reproduced
values grayscale images using the proposed algorithm.
Table 2. Experiment Results
198
retained well in the grayscale image. The results confirm that [4] Amy A. Gooch, Sven C. Olsen, Jack Tumblin, Bruce Gooch,
the isoluminant images have handled as handled by other Color2Gray: Salience-Preserving Color Removal, ACM
recent techniques. The proposed algorithm is helpful for SIGGRAPH, 2005, pp. 634 – 639.
different applications where good quality of grayscale image [5] K. Rasche, R. Geist, J. Westall, Re-coloring Images for Gamuts
is highly required. The proposed algorithm results best of Lower Dimension Detail Preserving Color Transformation,
quality of grayscale images using RGB reduction and EUROGRAPHICS, 24(3), 2005.
chrominance addition in a short amount of time. [6] Mark Grundland, Neil A. Dodgson, Decolorize: Fast, Contrast
Enhancing, Color to Grayscale Conversion, 40(11), 2007, pp.
REFERENCES 2891-2896.
[7] Laszlo Neumann, Martin Cadik, Antal Nemcsics, An Efficient
[1] Livingstone M. Ed., Vision and Art: The Biology of Seeing. Perception-Based Adaptive Color to Gray Transformation,
Harry N. Abrams, Inc., Publishers, 2002. EUROGRAPHICS, 2007, 73-80.
[2] Volk C., Adobe Photoshop Tip of the Week Tutorial, [8] Kaleigh Smith, Pierre-Edouard Landes, Jöelle Thollot, Karol
http://www.carlvolk.com/photoshop21.htm, 2000. Myszkowski, Apparent Greyscale: A Simple and Fast Conversion
[3] Raja Bala, Reiner Eschbach, Spatial Color-to-Grayscale to Perceptually Accurate Images and Video, 27(2), 2008.
Transform Preserving Chrominance Edge Information, Color
Imaging Conference, 2004, pp.82-86.
199