선정목록으로
A color temperature-based high-speed decolorization: an empirical approach for tone mapping applications
필름·전자재료 · (13) 프리즘 필름
기본 정보
- 저자
- DOI
- 10.48550/arxiv.2108.13656
- 저널
- arXiv (Cornell University)
- 발행년도
- 2022
- 발행기관
- Cornell University
- 피인용수
- 0
- 라이선스
- cc-by
- 논문 유형
- –
- 언어
- –
- 원문 페이지
- https://doi.org/10.48550/arxiv.2108.13656
- 토픽
- Color Science and Applications
- OpenAlex ID
- W6891907656
평가 내용
- 관련도
- 사업분야
- 필름·전자재료 · (13) 프리즘 필름
- 부 분야
- –
- R&D 측면
- –
- 확신도
- –
- 근거 용어
- –
- 판단 근거
- 임베딩 유사도 기반 평가로 '필름·전자재료 > 프리즘 필름' 분야에 선정된 논문입니다.
- R&D 활용 포인트
- –
- 평가 입력
- –
초록
Grayscale images are fundamental to many image processing applications like data compression, feature extraction, printing and tone mapping. However, some image information is lost when converting from color to grayscale. In this paper, we propose a light-weight and high-speed image decolorization method based on human perception of color temperatures. Chromatic aberration results from differential refraction of light depending on its wavelength. It causes some rays corresponding to cooler colors (like blue, green) to converge before the warmer colors (like red, orange). This phenomena creates a perception of warm colors "advancing" toward the eye, while the cool colors to be "receding" away. In this proposed color to gray conversion model, we implement a weighted blending function to combine red (perceived warm) and blue (perceived cool) channel. Our main contribution is threefold: First, we implement a high-speed color processing method using exact pixel by pixel processing, and we report a $5.7\times$ speed up when compared to other new algorithms. Second, our optimal color conversion method produces luminance in images that are comparable to other state of the art methods which we quantified using the objective metrics (E-score and C2G-SSIM) and a subjective user study. Third, we demonstrate that an effective luminance distribution can be achieved using our algorithm by using global and local tone mapping applications.
본문 41,202자
본문 펼치기
# A color temperature-based high-speed decolorization: an empirical approach for tone mapping applications
[˙ID](https://orcid.org/0000-0001-7510-0813), and Masayuki Ikebe
Prasoon Ambalathankandy
[˙ID](https://orcid.org/0000-0002-9855-5527), Yafei Ou
[˙ID](https://orcid.org/0000-0002-6770-8260)
_Abstract_ —Grayscale images are fundamental to many image
processing applications like data compression, feature extraction,
printing and tone mapping. However, some image information
is lost when converting from color to grayscale. In this paper,
we propose a light-weight and high-speed image decolorization
method based on human perception of color temperatures.
Chromatic aberration results from differential refraction of light
depending on its wavelength. It causes some rays corresponding
to cooler colors (like blue, green) to converge before the warmer
colors (like red, orange). This phenomena creates a perception of
warm colors “advancing” toward the eye, while the cool colors
to be “receding” away. In this proposed color to gray conversion
model, we implement a weighted blending function to combine
red (perceived warm) and blue (perceived cool) channel. Our
main contribution is threefold: First, we implement a high-speed
color processing method using exact pixel by pixel processing,
and we report a 5 _._ 7 _×_ speed up when compared to other
new algorithms. Second, our optimal color conversion method
produces luminance in images that are comparable to other
state of the art methods which we quantified using the objective
metrics (E-score and C2G-SSIM) and a subjective user study.
Third, we demonstrate that an effective luminance distribution
can be achieved using our algorithm by using global and local
tone mapping applications.
_Index_ _Terms_ —Color temperature, chromatic aberration, decolorization, luminance, pre-processing, RGB, tonemap.
I. INTRODUCTION
Grayscale channels, which reflect image luminance, are
used for various applications such as printing, tone mapping,
data compression, and feature extraction. Thus, obtaining luminance along with human perception has a key role for decolorization, which converts RGB channels to high-quality gray
ones. For example, High Dynamic Range (HDR) compression
is ideally performed by tone mapping the luminance channel
for the lower computational and memory cost. However,
applying well-known luminance channels such as Y of YCbCr
or V of HSV does not guarantee appropriate tone mapping,
as these channels do not reflect human perceptions. Therefore,
decolorization has gathered considerable attention and various
sophisticated methods to achieve perceptual decolorization
have recently been proposed. These methods can be classified
Prasoon Ambalathankandy and Yafei Ou are with the Research Center
For Integrated Quantum Electronics, Hokkaido University, Sapporo 0600813, Japan, and also with the Graduate School of Information Science and
Technology, Hokkaido University, Sapporo 060-0814, Japan.
Masayuki Ikebe is with the Research Center For Integrated Quantum Electronics, Hokkaido University, Sapporo 060-0813, Japan (e-mail:
ikebe@ist.hokudai.ac.jp).
into global and local methods. Global methods can define
only one conversion function for all pixels, and most of
these methods use all pixels in the image to determine the
function. On the other hand, local ones process the target
from neighboring pixels in the same way as a spatial filter,
the function is different for each pixel. However, both types
of methods face the issue of calculation cost, which comes
from optimization iterations or spatial filter processing.
We have developed a fast decolorization method that reflects
the perception of warm and cool colors which is well known
in psychophysics studies [1]. Colors are arranged according to
their wavelengths on the color wheel, the ones with longest
wavelengths are on the right side of the wheel and are known
as warm colors, as they evoke warmth. These hues include
shades of red, yellow, and orange. On the other hand, green,
blue and violet which have shorter wavelengths are placed
on the left side of the color wheel, and are perceived as cool
colors. The color of an object in a scene affects our perception
of its apparent depth and this phenomenon has been exploited
by many artists. This optical illusion has been studied by
psychologists, and early researchers explored color-depth relationship. One of the widely accepted theory explains this
phenomenon is due to fact that shorter wavelengths of visible
light are refracted more than longer wavelengths [2]. In other
words, an equidistant source of different wavelengths cannot
be focused simultaneously onto our retina. This phenomena
is called as chromatic aberration and we discuss it in detail
in section III-A. In our decolorization method, we combine
the idea of warm/cool colors with the Helmholtz-Kohlrausch
effect [3]. On that account, we make two assumptions, which
are: ( _i_ ) warm colors (mainly including _R_ ) are lighter than _Y_
of YCbCr and ( _ii_ ) mixed colors are darker than the _Y_ or _L_ of
CIE with the same luminance. To satisfy these assumptions,
we use a weighted blending of RGB channels and remap them
to warm/cool colors on the luminance channel. Following are
our main contributions:
_•_ We achieve high-speed color mapping by exact pixel-bypixel processing.
_•_ We obtain luminance comparable to that of optimizationbased methods.
_•_ We demonstrate effective luminance distribution by performing objective evaluations and a subjective user study.
There are many well defined methods to convert any color
image to a grayscale image. An effortless procedure is to
cool warm
Luminance
HVS based
Original Image color mapping This work YCbCr: Lum.
Fig. 1: Main concept of our decolorization method: Human perception of warm and cool colors. Warm colors “advance” toward
the eye, while cool colors “recede”. In this work we are able to accurately reflect the human perception of color temperatures,
whereas this phenomenon is non-existent in conventional YCbCr color space.
Original Image Y of YCbCr CIE Lab This work
Fig. 2: Comparison of luminance components obtained using
YCbCr, CIELAB and our proposed method.
assign different weights to color channels, in order to have the
same luminance in the grayscale image as the original color
image. For example, in the MATLAB function rgb2gray,
it converts any RGB values to grayscale ( _Gray_ ) values by
forming a weighted sum of the _R_, _G_, and _B_ components as
_Gray_ = 0 _._ 2989 _×_ _R_ +0 _._ 5870 _×_ _G_ +0 _._ 1140 _×_ _B_ . This function
operates under an assumption that human visual system is
more sensitive to green color. When operating with CIELab
and YUV color spaces, one could directly obtain luminance
channel as the grayscale version of the color image as they
consider the luminance and color channel to be independent.
But, such crude approaches will fail to preserve image contrast
as shown in these examples (see Fig. 1 and Fig. 2).
In several real-world image/video processing applications
like detail enhancement, image matching, and segmentation
under different illumintion a 1-D grayscale image has to be
obtained from its corresponding 3-D color image. However,
mapping the 3-D color information onto a 1-D grayscale
image while retaining the original contrast and fine details is a
challenging problem. Additionally, implementing decolorization algorithms with a reasonable computational efficiency is
pivotal for realising their real-time applications. Many studies
have been carried out to develop novel decolorization methods.
These mapping methods can be categorized into global [4]–
[8] and local methods [9]–[12]. In local mapping methods, the
same color pixel within an image could be mapped into different grayscale values depending on its spatial location. Ideally
this undesirable as such output images may be perceived as
unnatural. On the other hand, in global mapping methods same
color pixels within an image irrespective of its spatial location
are mapped to same grayscale values. Thus, global methods
are more likely to produce grayscale images that are perceived
to appear natural.
In the global methods category, Gooch et al. [4] proposed
a global decolorization algorithm that can be implemented by
solving the optimization problem for all image pixels. Then,
Kim et al. [7] aimed at high-speed processing by simplifying
Gooch’s method. Smith et al. [6] used unsharp masking and the
Helmholtz-Kohlrausch effect (H-K effect) model of Nayatani
et al. [3]. Nayatani’s model [3] is merely an experimental
model for the effect of the CIELUV chrominance component
for human perception. On the other hand, the method of
Lu et al. [8] is focused on converting a color image into a
gray image with high contrast. The main advantage of these
methods is transformation consistency, i.e., the same color is
converted to the same grayscale. However, speed remains a
problem for these methods. Most of the local methods are
aimed at speeding up the method of Lu et al [8]. To enhance
image contrast, Ancuti et al. [10] adopted the strategy of
using a Laplacian filter and Song et al. [12] used a Sobel
filter. Although local methods are effective in terms of contrast
emphasis, they are disadvantageous in terms of tone mapping
because conversion consistency is not maintained and it differs
from human perception.
Recently, some machine learning-based techniques have
also been proposed for image decolorization [13]–[17]. Cai
et al. [14] proposed a method, that used the perceptual loss
function to pretrain VGG-Net [18]. However, it is difficult
to control and many of their output images are far from
human perception additionally, the computational cost are
high. Processing an image of 256 _×_ 256 size it requires
roughly 30 seconds on a single Nvidia GeForceGTX 1080
GPU. Zhang et al., proposed a CNN framework that combines
local and global image features [17]. However, their network
framework do not account for exposure features [13]. Lin
et al.’s method [16] by utilizing a database of 50 images
from the Corel dataset produced 50 grayscale images using
the Color2Gray algorithm [4]. With these 50 input/output
image pairs as training examples for their partial differential
equations-based (PDE)learning system, the learn color2gray
mapping. The PDE system produced images of comparable
quality to [4]. However, for an input image of size _n_ _×_ _n_ their
PDE color mapping algorithm’s computational complexity is
_O_ ( _n_ <sup>2</sup> ). Under these circumstances, a high-speed method for
generating grayscale images that accurately captures human
perception has not yet been developed. To make tone maps
valid, it is necessary to develop such a method.
1 −?$?
_Lwarm_ _R_ weighted _LW_ _Lcool_
_R_ weighted _LW_ _Lcool_ _B_ weighted
_LW_
G255 G255,R255 R255
?! G255 G255,R255 R255 ?"
?. ? ?. ?
_L_ _W_ ( _L_ _White_ ) keeps
bright color.
_LW_
0 _LG,R_ 0 _LB_
B255 B255,R255 R255
?. ?
?. ?
?. ?
?"
?. ?
?. ?
?. ?
_Inverse B_ weighted mapping: pure _B_ => Low <sup>?</sup>
?. ?
?. ?
?!
?.??
?.??
?.??
_R_ weighted mapping: _G_ => Low, _R_ => High
?$?
Blue weighted _L_
Red weighted _L_
Larger b _R_ : Red => Higher _L_ . Large _LW_ keeps High _L_ . e.g. White blue
Luminance Luminance
(a) Red/Blue weighted luminance mapping
Color chart
Our color to gray
(b) Color chart and its luminance mapping using our method
Fig. 3: (a) Remodeling of luminance space based on our two
weighting functions one each for warm and cool colors. Here,
luminance is defined as the Euclidean distance of warm/cool
color. (b) Decolorization of a color chart illustrating our
method’s effectiveness in generating brighter shades of gray
for warm colors.
II. PROPOSED METHOD
_A._ _Problem_ _Definition_
Luminance components such as _Y_ of YCbCr and CIE _L_
have been used in various image processing applications; however, they do not accurately reflect human perception (Fig.1
and Fig. 2). Figure 1 shows how the warm colored flower
(red) advances towards the eye of the observer, while the
background mainly green recedes. Using the luminance channel of the conventional YCbCr color space this phenomenon
is absent. But, in our method we are able to capture the
warmth _R_ (red) component as perceived in human perception.
Figure 2 shows that the _R_ (red) and _B_ (blue) components
do not come even close to the perception in the luminance
component of CIELAB. Moreover, mixed color components
such as mud yellow tend to appear dark for people. In this
study, we conceived the idea that RGB weight functions for
alpha blending can reproduce this phenomenon.
_B._ _Luminance mapping using red and blue weighting function_
We considered the idea of color mapping by combining
the warm/cool color and the Helmholtz-Kohlrausch [3]. Psy
In the _LW ARM_, using _R_ weighting, we can map _<u>GR</u>_ <sup>to</sup>
_low/high_ luminance separately. In Inverse _B_ weighting, pure
?! B255 B255,R255 G255 ?"
?.??
?.??
?.??
?. ?
?. ?
?. ?
?! , ?" dependences
Fig. 4: Impact of _βR_ and _βk_ on output luminance value. (top)
_βk_ set to 0.8 and for changing _βR_ we move from _Gmax_ to
_Rmax_ . (middle) _βR_ set to 0.55 and for changing _βk_ we move
from _Bmax_ to _Rmax_ . (bottom) _βR_ set to 0.55 and for changing
_βk_ we move from _Bmax_ to _Gmax_
chophysical studies find that, warm and cool colors impact our
visual perception of the objects that we see. For example, the
red color associated with fire/sun advances toward the eye, creates an illusion of heat and therefore perceived as warmth and
comforting. On the other hand, cool colors have reverse effects
of warm colors. Receding from the eye of the observer, cool
colors reminds of the earthy objects, like meadows and oceans.
These hues often are perceived as cool and refreshing [1] [19].
In our decolorization method, we developed two weighting
functions as shown in Fig 3. One function for remapping
warm colors and the other for remapping cool colors. In our
method, actual luminance is defined as the Euclidean distance
of weighted warm/cool luminance including the _W_ (white)
channel. Essential luminance is given by
_LW HIT E_ =
~~�~~ _R_ <sup>2</sup> + _G_ <sup>2</sup> + _B_ <sup>2</sup>
(1)
3
_LG,R_ =
_LB_ = _B_ (2)
~~�~~
_βRR_ <sup>2</sup> + (1 _−_ _βR_ ) _G_ <sup>2</sup> _,_ (0 _._ 5 _< βR_ _<_ 1) (3)
As we know, _LW HIT E_ : _W_ is the Euclidean distance of
_RGB_ channels; _LB_ is the _B_ channel as it is. The warm
color function is also defined as the Euclidean distance by _βR_
weighted _R_ and _G_ (green) vectors. The _βR_ determines the bias
of _R_ components in the replacement; when the _βR_ becomes
higher, more _R_ components than _G_ components are rated. The
remappings made by the blending function using the _R_ and
_B_ ratio of _RGB_ values are given by
_· LW HIT E_ (4)
_R_
_LW ARM_ = _R_ + _G_ + _B_ <sup>_· LG,R_</sup> <sup>+</sup>
- _R_
1 _−_
_R_ + _G_ + _B_
- _B_
_· LB_ + _R_ + _G_ + _B_ <sup>_· LW HIT E_</sup> (5)
_LCOOL_ =
- _B_
1 _−_
_R_ + _G_ + _B_
Original Images Ours L of CIE Lab Gooch et al. Kim et al. Smith et al. Lu et al.
Fig. 5: Color to gray conversion comparison with other decolorization methods.
<u>Preference</u> <u>Accuracy</u> <u>Naturalness</u> <u>Quality</u>
Ours L of CIE lab Gooch et al. Kim et al. Smith et al. Lu et al.
_B_ components are assigned to low luminance in the _LCOOL_
. Since both functions are blended with _LW HIT E_, bright
orange/yellow and sky blue, which include high white components, are mapped to higher luminance. Finally, we obtain
the luminance channel _L_, which is given by
<sup>2</sup> _COOL_ <sup>(0</sup> <sup>_._</sup> <sup>5</sup> <sup>_< βk_</sup> <sup>_<_</sup> <sup>1)</sup> (6)
_L_ =
~~�~~ _βkL_ <sup>2</sup>
<sup>2</sup> _W ARM_ <sup>+ (1</sup> <sup>_−_</sup> <sup>_βk_</sup> <sup>)</sup> <sup>_L_</sup> <sup>2</sup>
4.5
4
3.5
3
2.5
2
1.5
1
0.5
0
In this study, we mainly used warm-color weighting luminance in experiments and set the _βk_ higher. We set two
parameters relating to color component emphasis as follows:
( _βR_ = 0 _._ 55; _βk_ = 0 _._ 8), and from Fig 4 it can be easily
understood how _βR_ and _βk_ can bias the resulting luminance
values.
_C._ _Evaluation_ _of_ _our_ _algorithm_ _implementation_
When evaluating our method, we focused on the following
points:
_•_ Visual comparison with other decolorization methods
_•_ Compare their processing speeds.
The evaluations demonstrated that our method does reflect
human perception better than or equal to other optimized methods (see perceptual test). It delivers high-speed processing, and
is a useful tool for many image processing applications. Figure
5 shows a comparison between our proposed method and other
decolorization methods, and the subjective evaluation is shown
in Fig. 6. For this comparison we have used images from
Cadik’s dataset [20]. In Fig. 5 first and second columns from
the left are original images and images obtained with our
Fig. 6: Subjective visual test survey and mean opinion score
method respectively. The images in the third column from the
left were obtained with the _L_ component of the CIELAB color
space, which is a reversible model reflecting human visual
characteristics. The images in the fourth to sixth columns were
obtained from global decolorization methods, which means
only one conversion function is applied to each pixel. For
example, in these methods, optimization techniques referring
to whole pixels are applied to luminance conversion without
regard to the brightness perceived by human perception. The
images in the far right column were obtained with a local
method that refers to pixel values in the local patch of the
image for contrast enhancement.
In the _L_ component of the CIELAB color space, the base
luminance is _Y_ in the YCbCr color space; the luminance is
also mapped along with the color order of _Y_ . In the image
(third column, fourth row), since the luminance of all colors
Original Images Ours L of CIE Lab Gooch et al. Kim et al. Smith et al. Lu et al.
Fig. 7: Effects of decolorization techniques on tone mapped images that are generated using Shan et al.’s tone mapping operator
[21].
are the same in _Y_, output values are also the same in the
CIELAB color space. However, we can perceive the contrast
in this image. Thus, an appropriate conversion is required;
our method can generate the perceived contrast in this image.
Gooch et al. [4] obtained the highest average C2G-SSIM
score but clearly a step artifact occurs in the gradation image
(fourth column, second row). Kim et al. [7] proposed an
improved version of Gooch’s method that achieves high-speed
optimization and reflects the Helmholtz-Kohlrausch [3]. In this
method, since a weighting function is applied for expanding
luminance distribution of whole pixel colors in the image
along with chrominance, its conversion becomes different in
each image. Thus, over-enhancement is observed in the images
(fifth column, first row) and (fifth column, fourth row). The
output images of our method are similar to those of Smith et
al. [6]. Their method also uses the Helmholtz-Kohlrausch, but
it also requires a lot of processing time for post-unsharp-mask
filtering. In Lu et al. [8], their method does not reflect human
perception; they try generating high contrast images for mask
images that are input to an edge-preserving filter such as a
guided filter.
For our perceptual evaluation we conducted a user study
with two objectives:
_•_ Evaluate the decolorization process by measuring accuracy and preference [20], [22].
_•_ Assess the effectiveness of our decolorization method as
an image pre-processing tool for tone mapping application.
Our study group of 15 students (9 males, 6 females, average
age = 23) were shown twelve sets of images (refer Figs.
5 and 7 ). They were asked to evaluate Fig. 5 and assign
points to these images, on a scale of 1 (low) to 5 (high) for
accuracy and preference. For our first evaluation, to measure
the accuracy they compared the original color images to their
decolorized output image. For the preference measurements,
the user group compared the decolorized images only, i.e.,
without the corresponding color image. In our next user study
we measured the naturalness and overall quality of the tone
mapped images. For tone mapping we chose a MATLAB
algorithm of Shan et al. [21] as they can tonemap standard
images and it can be performed by simple parameter settings.
Color tone mapped images for the same set shown in Fig.
7 were evaluated for naturalness and perceptual quality, i.e.,
the users rated 5 for images that were perceived as natural
and observed minimal artifacts. In our test setup we used
a Microsoft Surface Pro 7 set to its native resolutions and
the lighting of the test room was slightly dim. The compiled
response of the volunteers are presented in Fig. 6.
Table I lists the processing speed of various methods, our
proposed implementation and the CIELAB were implemented
in C++; these codes were executed on an Intel Core i5-5257U
(2.70GHz) CPU without any multicore, multithread or SIMD
TABLE I: Run-time comparison table with other decolorization algorithms.
Algorithm Processing time Image size
<u>W</u> _<u>×</u>_ <u>H</u>
CPU Clock Speed Optimization Process Normalized Time <sup>_⋆_</sup>
Gooch et al.
<u>[4]</u>
25.7s 200 _×_ 200 -GPU- ✓ Global N/A
<u>Kim</u> <u>et</u> <u>al.</u> <u>[7]</u> <u>102ms</u> <u>320</u> _<u>×</u>_ <u>240</u> <u>2.66GHz</u> ✓ <u>Global</u> <u>1.30</u> _<u>µ</u>_ <u>s</u>
<u>Smith et al. [6]</u> <u>6.7s</u> <u>570</u> _<u>×</u>_ <u>593</u> <u>3.0GHz</u> _<u>×</u>_ <u>Global+Local</u> <u>22.02</u> _<u>µ</u>_ <u>s</u>
<u>Lu</u> <u>et</u> <u>al.</u> <u>[8]</u> <u>800ms</u> <u>600</u> _<u>×</u>_ <u>600</u> <u>3.80GHz</u> ✓ <u>Global</u> <u>Contrast</u> <u>3.12</u> _<u>µ</u>_ <u>s</u>
Song et al. 40ms 320 _×_ 240 N/A _×_ Local Contrast N/A
<u>[12]</u>
Ancuti et al.
<u>[10]</u>
100ms 800 _×_ 600 2.5GHz _×_ Local Contrast 0.19 _µ_ s
<u>L</u> <u>of</u> <u>CIE</u> <u>Lab</u> <u>25.57ms</u> <u>800</u> _<u>×</u>_ <u>600</u> <u>2.7GHz</u> _<u>×</u>_ <u>Global</u> <u>0.053</u> _<u>µ</u>_ <u>s</u>
Ours low res 16.71ms 800 _×_ 600 2.7GHz _×_ Global 0.034 _µ_ s
<u>Ours</u> <u>high</u> <u>res</u> <u>202.05ms</u> <u>3008</u> _<u>×</u>_ <u>2008</u> <u>2.7GHz</u> _<u>×</u>_ <u>Global</u> <u>0.033</u> _<u>µ</u>_ <u>s</u>
_⋆_ Normalized time is the processing time normalized by frequency (2.7 GHz) and divided by the number of pixels. It indicates the effective processing time per pixel.
1.0
0.98
0.96
0.94
0.92
0.9
0.88
0.86
0.84
Lu 2014
CorrC2G
Grundland
Smith
Gooch
Ours
0.82
2 4 6 8 10 12 14
Fig. 8: Comparison of six color to gray methods based on the
E-score.
operations. The results confirmed that our method had the
fastest runtime among the methods compared. It is worth
noticing that it exceeded CIELAB in runtime; this indicates
it also has advantages in total calculation cost including postprocessing. Its computational complexity is only _O_ (1) because
it performs exact pixel by pixel processing, referring only
to the RGB value at each pixel. Among other methods, the
one developed by Gooch et al. was reported to have _O_ ( _n_ <sup>4</sup> )
computational complexity. Using _O_ (1) spatial filtering it is
possible to develop _O_ (1) local methods [10], [12], but the
filter calculations required would degrade their run-time in
comparison to our decolorization method. The proposed color
to gray technique has demonstrated faster run-time than local
methods by maintaining global coherence, which means the
conversions were the same in all pixels.
_D._ _Experimental_ _results_
In our experiments, we utilized the color250 dataset which
comprises of 250 natural and synthetic color images [22].
To quantitatively evaluate our decolorization algorithm we
choose two objective metrics: E-score and C2G-SSIM by Ma
et al [23]. E-score is a joint measure proposed by Lu et
al., a harmonic mean which is computed by combining two
metrics: Color Contrast Preserving Ratio (CCPR), and Color
Content Fidelity Ratio (CCFR) [22]. The CCPR is useful
in maintaining the color contrast in decolorization images
which is perceivable to humans. Specifically, when the color
0.8
0.6
0.4
0.2
0.0
Lu 2014 CorrC2G Grundland Smith Gooch Ours
Fig. 9: Comparison of six color to gray methods based on the
C2G-SSIM score.
TABLE II: Comparison of six color to gray methods based on
average objective metrics for 250 images.
<u>Decolorization</u> <u>CCFR</u> <u>CCPR</u> <u>E-score</u> <u>C2G-SSIM</u>
<u>(a)</u> <u>Lu</u> <u>et</u> <u>al.</u> <u>[22]</u> <u>0.9922</u> <u>0.9645</u> <u>0.9781</u> <u>0.8900</u>
<u>(b)</u> <u>Nafchi</u> <u>et</u> <u>al.</u> <u>[25]</u> <u>0.9880</u> <u>0.9555</u> <u>0.9710</u> <u>0.8900</u>
<u>(c)</u> <u>Grundland</u> <u>et</u> <u>al</u> <u>[5]</u> <u>0.9811</u> <u>0.9584</u> <u>0.9747</u> <u>0.8749</u>
<u>(d)</u> <u>Smith</u> <u>et</u> <u>al.</u> <u>[6]</u> <u>0.9880</u> <u>0.9555</u> <u>0.9710</u> <u>0.9062</u>
<u>(e)</u> <u>Gooch</u> <u>et</u> <u>al.</u> <u>[4]</u> <u>0.9839</u> <u>0.9545</u> <u>0.9714</u> <u>0.8935</u>
<u>(f)</u> <u>Ours</u> <u>0.9890</u> <u>0.9576</u> <u>0.9728</u> <u>0.9018</u>
difference is smaller than a certain threshold value, it becomes
undetectable to humans. Furthermore, CCFR estimates if the
decolorization image is accurate in terms of structures when
compared to the original color image. C2G-SSIM is new color
to gray objective evaluation metric based on the Structural
Similarity (SSIM) index quality metric [24]. The C2G-SSIM
generates quality map and has good correlation with HVS
subjective preference. Table II presents the average E-score
and C2G-SSIM for the color 250 dataset in comparison with
other decolorization methods.
In our experiment we computed the average CCPR for the
250 images in the dataset by varying _τ_ from 1 to 15 [22].
As can be seen from Fig. 8, our algorithm’s performance is
cool warm
Luminance
HVS based
color mapping
?"
?!
Original Image
Fig. 10: Chromatic aberration which results from differential refraction of light depending on its wavelength, it causes some
rays (green) to converge before other (red). This results in a perception of red “advancing” toward the eye, while green to be
“receding”.
Fig. 11: Global tone mapping performed in three different luminance spaces: Our’s, Y of YCbCr and V of HSV
reasonable and practicable when compared to other color to
gray algorithms. Figure 9 shows the average C2G-SSIM score
for the six decolorization methods. According to the plot in
Fig. 8, Lu et al.’s method shows best performance based on
the E-score, however, our method delivers high average C2GSSIM measure which is better correlated to human perception
[25].
III. CHARACTERISTICS OF VISUALIZATION OF OUR
ALGORITHM
_A._ _Color_ _temperature_ _and_ _chromatic_ _aberration_
From Snell’s law we know that the refraction of light
is dependent on its wavelength. As the frequency of light
increases, its refractive index becomes larger, causing more
refraction of the shorter wavelengths. Therefore, when an
image is captured through a lens, all colors do not focus at the
same distance, and these imperfections are known as chromatic
aberration. In cameras this imperfection is removed by using
a combination of second achromatic lens which is made of
different material(glass) than the first lens. This second lens
would reverse the color dispersion caused by the first lens.
The human eye, also employs a lens and does exhibit this
phenomena as shown in Fig. 10. From this figure we can
observe that red light forms the image farthest from the lens as
it has the smallest refractive index. Colors with higher index
of refraction would ideally bend more thereby forming images
closer to the lens. Therefore, it would be impossible to focus
on all colors simultaneously, resulting in “somewhat fuzzy”
images that are not in focus. Colors that are closer to red end
of the electromagnetic spectrum are said to be warm colors
and are perceived as closer to the observer [26], [27]. Colors
that are around the blue end are said to be cooler colors and
are perceived to be receding away from the observer. This
phenomenon has been exploited by traditional artists to add
depth information in artwork [28], display devices [29], and
3D imagery [30].
_B._ _Tone_ _mapping_ _application_
The color to grayscale conversion is a dimensionality reduction problem whose significance has been underestimated.
Usually the tone mapping is performed on the grayscale image
because of the lower computational and memory requirements,
when compared to tone mapping on the RGB channels. In
this section we will discuss global and local tone mapping
_<mark>RGB RGB</mark>_ <mark>toto</mark> _<mark>W W</mark>_
_OO_ (1) Smoothed LHE (1) local histogram
_OO_ (1) Smoothed LHE (1) local histogram
_<mark>RGB RGB</mark>_ <mark>toto</mark> _<mark>W W</mark>_ _OO_ (1) Smoothed LHE (1) local histogram
Blue weighted _L_ bae s timation (4 bins)ed tone mapping
Original W and _RGB_
Individual light/dark Individual light/dark _<mark>W</mark>_ <mark>to</mark> _<mark>RGB</mark>_
Individual light/dark Individual light/dark
halo managementhalo management
_<mark>WW</mark>_ <mark>to to</mark> _<mark>RGBRGB</mark>_
<u>?′</u>
? <sup>?,?, ?</sup>
Blue weighted _L_
bae s timation (4 bins)ed tone mapping
<u>?′</u>
Concurrent global/localConcurrent global
<mark>Halo extractionHalo extraction</mark>
edge profile
Red weighted _L_
Luminance
?),*?,-.-/ + 1 −?),* ?34567
Concurrent global/localConcurrent global
?′ = ??
(a) Application for local TM pipeline (b) Color boost with local TM
tone mapping tone control
tone mapping tone control
Original Global/Local TM-1 Global/Local TM-2
(c) Leaf/flower individual control with local TM
Fig. 12: Application: (a) Ideal image processing pipeline (tone mapping) (b) Color boosted by local tone mapping and
corresponding grayscale image. (c) Demonstration example for easy control features using our decolorization algorithm. TM1:
background boost TM2: background suppression
application using the proposed decolorization algorithm and
demonstrate its effectiveness.
_1)_ _Global_ _tone_ _mapping:_ We discuss our decolorization
method’s applicability for post-processing tasks such as tone
mapping. Conventional methods have not shown such applicability because of their long run-time; thus, the use of _Y_
of YCbCr or _V_ of HSV for tone mapping is popular today.
We evaluated our method’s output of global tone mapping
because it has the ability to adequately remap colors to 1 _−_ _D_
luminance. Thus, even using global tone mapping confirms the
effectiveness of our method. Figure 11 shows tone mapped
results using _Y_, _V_, or our luminance channel. In the fish
image, using _Y_, the fish color became the same as the
background and could not be controlled separately, because the
weight of _R_ is small in the YCbCr color channel. Our method
was able to separate fish color from background in the same
way as human perception and directly mapped the color of the
background to dark. In the sky and snow scene, the global tone
curve for contrast enhancement is a centered sigmoid curve, in
which highlight/shadow clippings occur naturally. Since HSV
color space treats primary colors and whites the same way,
colors of sky and snow were mapped to luminance that was
too light. Thus, the sigmoid function degraded the contrast of
the outputted image. YCbCr treats _B_ as too low luminance; the
sky became too dark. We confirmed that our method generates
well-balanced images maintaining the contrast and the colors.
_2)_ _Local tone mapping:_ Local histogram equalization based
local tone mapping converts target pixels by using tone curves
constructed from local cumulative histograms. Smoothed local
histogram equalization (LHE) are also used as a smoothed
LH filter [31]. The Apical’s (ARM <sup>®</sup> ) Iridix algorithm [32],
which is based on smoothed LHE are used by a range of
camera makers, including Nikon, Olympus and Sony. For
our local tonemap application we selected smoothed LHEbased function as they are very suitable for practical real-time
applications, in Fig. 12(a) we show an ideal pipeline for such a
system. We implemented the local tonemap application similar
to one presented by Ambalathankandy et al. [33], as their
implementation has a linear _O_ (1) computational complexity
and produces output images with fine quality as shown in Fig.
12(b, c). The total computational time including our proposed
decolorization and the local tonemap operation was only
14 _._ 7 _µs_ per pixel (normalized time @2 _._ 7GHz CPU). This time
utilization is 20 _×_ less than Lu et al.’s work [8]. Additionally,
using our decolorization method has an advantage, which is
to individually control the back/foreground as shown in Fig.
12(c).
_C._ _Limitation_ _of_ _our_ _method_
In our decolorization method, pure green is likely to be
mapped to a dark luminance value. Light green will also be
mapped to a lesser dark luminance part as shown in Fig.
4. Therefore, certain scenes are likely to be perceived as
unnatural. For example: (a) Vegetables (e.g. leafy greens like
cabbage) (b) Green meadows under bright sky. (c) Bright green
neon lights. However, in Fig. 13 we perceive them as natural.
We postulate the following as the possible reasons: (i) There
are rarely any pure bright green (like G255) scene in nature.
(ii) In our color space, green color with white components
follow Eq.(1) by weighting function. Therefore, the color
keeps a balance among other color channels. (iii) Vegetation
scenery with dark green are well perceived as healthy plants.
IV. CONCLUSION
In this paper, we present a color temperature-based RGB to
gray conversion model by taking in to account the chromatic
Fig. 13: Examples to demonstrate limitation of our decolorization method when mapping bright green/neon color.
aberration phenomena. This anomaly results from differential
refraction of light depending on its wavelength, it causes
some of the rays (cool colors) to converge before others
(warm colors). This results in a perception of warmer colors
“advancing” towards the eye, while the cooler ones to be
“receding”. Essentially, since decolorization is expected to
have a key role in the pre-processing of tone mapping or
edge preserving filters, low calculation cost and fast operation
for the processing are required. To address this requirement,
we have developed a high-speed _O_ (1) decolorization method
that is based on color temperature-based perception. It refers
to RGB values in one pixel and performs weighted blending
of the Euclidean distances of warm/cool color vectors. This
simple conversion outputs a gray channel that is comparable to
the conventional optimization methods using iterations. When
our method is applied to tone mapping, it achieves better
results than one could be obtained with YCbCr/HSV color
space.
V. ACKNOWLEDGMENTS
We would like to sincerely thank Cadik et al., Lu et al. for
making available their datasets, and other authors for sharing
their source codes.
REFERENCES
[1] J. L. Morton, _Color_ _logic_ . Colorcom, 1998.
[2] J. M. SUNDET, “Effects of colour on perceived depth: review of exper
iments and evalutaion of theories,” _Scandinavian Journal of Psychology_,
vol. 19, no. 1, pp. 133–143, 1978.
[3] Y. Nayatani, “Simple estimation methods for the helmholtz kohlrausch
effect,” _Color_ _Research_ _&_ _Application_, vol. 22, no. 6, pp. 385–401,
1997.
[4] A. A. Gooch, S. C. Olsen, J. Tumblin, and B. Gooch, “Color2gray:
salience-preserving color removal,” _ACM_ _Transactions_ _on_ _Graphics_
_(TOG)_, vol. 24, no. 3, pp. 634–639, 2005.
[5] M. Grundland and N. A. Dodgson, “Decolorize: Fast, contrast enhanc
ing, color to grayscale conversion,” _Pattern Recognition_, vol. 40, no. 11,
pp. 2891–2896, 2007.
[6] K. Smith, P.-E. Landes, J. Thollot, and K. Myszkowski, “Apparent
greyscale: A simple and fast conversion to perceptually accurate images
and video,” in _Computer_ _Graphics_ _Forum_, vol. 27, no. 2, pp. 193–200.
Wiley Online Library, 2008.
[7] Y. Kim, C. Jang, J. Demouth, and S. Lee, “Robust color-to-gray via
nonlinear global mapping,” _ACM_ _Transactions_ _on_ _Graphics_ _(TOG)_,
vol. 28, no. 5, p. 161, 2009.
[8] C. Lu, L. Xu, and J. Jia, “Contrast preserving decolorization,” in _Com-_
_putational_ _Photography_ _(ICCP),_ _2012_ _IEEE_ _International_ _Conference_
_on_, pp. 1–7. IEEE, 2012.
[9] C. O. Ancuti, C. Ancuti, C. Hermans, and P. Bekaert, “Image and video
decolorization by fusion,” in _Asian_ _Conference_ _on_ _Computer_ _Vision_, pp.
79–92. Springer, 2010.
[10] C. Ancuti and C. O. Ancuti, “Laplacian-guided image decolorization,”
in _Image_ _Processing_ _(ICIP),_ _2016_ _IEEE_ _International_ _Conference_ _on_,
pp. 4107–4111. IEEE, 2016.
[11] Q. Liu, P. X. Liu, W. Xie, Y. Wang, and D. Liang, “Gcsdecolor: gradient
correlation similarity for efficient contrast preserving decolorization,”
_IEEE Transactions_ _on Image_ _Processing_, vol. 24, no. 9, pp. 2889–2904,
2015.
[12] Y. Song and L. Gong, “O (1) contrast preserving decolorization using
linear local mapping,” in _Wireless Communications & Signal Processing_
_(WCSP),_ _2016_ _8th_ _International_ _Conference_ _on_, pp. 1–6. IEEE, 2016.
[13] S. Liu and X. Zhang, “Image decolorization combining local features
and exposure features,” _IEEE_ _Transactions_ _on_ _Multimedia_, 2019.
[14] B. Cai, X. Xu, and X. Xing, “Perception preserving decolorization,” in
_2018_ _25th_ _IEEE_ _International_ _Conference_ _on_ _Image_ _Processing_ _(ICIP)_,
pp. 2810–2814. IEEE, 2018.
[15] X. Hou, J. Duan, and G. Qiu, “Deep feature consistent deep image
transformations: Downscaling, decolorization and hdr tone mapping,”
_arXiv_ _preprint_ _arXiv:1707.09482_, 2017.
[16] Z. Lin, W. Zhang, and X. Tang, “Learning partial differential equations
for computer vision,” _Peking_ _Univ.,_ _Chin._ _Univ._ _of_ _Hong_ _Kong_, 2008.
[17] X. Zhang and S. Liu, “Contrast preserving image decolorization combin
ing global features and local semantic features,” _The_ _Visual_ _Computer_,
vol. 34, no. 6-8, pp. 1099–1108, 2018.
[18] K. Simonyan and A. Zisserman, “Very deep convolutional networks for
large-scale image recognition. 2014,” _arXiv_ _preprint_ _arXiv:1409.1556_,
2018.
[19] L.-C. Ou, M. R. Luo, A. Woodcock, and A. Wright, “A study of
colour emotion and colour preference. part i: Colour emotions for single
colours,” _Color_ _Research_ _&_ _Application_, vol. 29, no. 3, pp. 232–240,
2004.
[20] M. Cad´ık, <sup>ˆ</sup> “Perceptual evaluation of color-to-grayscale image conver
sions,” in _Computer_ _Graphics_ _Forum_, vol. 27, no. 7, pp. 1745–1754.
Wiley Online Library, 2008.
[21] Q. Shan, J. Jia, and M. S. Brown, “Globally optimized linear windowed
tone mapping,” _IEEE transactions on visualization and computer graph-_
_ics_, vol. 16, no. 4, pp. 663–675, 2009.
[22] C. Lu, L. Xu, and J. Jia, “Contrast preserving decolorization with
perception-based quality metrics,” _International_ _journal_ _of_ _computer_
_vision_, vol. 110, no. 2, pp. 222–239, 2014.
[23] K. Ma, T. Zhao, K. Zeng, and Z. Wang, “Objective quality assessment
for color-to-gray image conversion,” _IEEE_ _Transactions_ _on_ _Image_ _Pro-_
_cessing_, vol. 24, no. 12, pp. 4673–4685, 2015.
[24] Z. Wang, A. C. Bovik, H. R. Sheikh, and E. P. Simoncelli, “Image
quality assessment: from error visibility to structural similarity,” _IEEE_
_transactions_ _on_ _image_ _processing_, vol. 13, no. 4, pp. 600–612, 2004.
[25] 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.
[26] S. Niemeyer, “Ec88-423 color expression in the home,” 1988.
[27] C. L. Eastlake, _Goethe’s_ _Theory_ _of_ _Colours_ . BoD–Books on Demand,
2020.
[28] V. A. Nguyen, I. P. Howard, and R. S. Allison, “Detection of the depth
order of defocused images,” _Vision_ _Research_, vol. 45, no. 8, pp. 1003–
1011, 2005.
[29] L. F. Hodges and D. F. McAllister, “Chromostereoscopic crt-based
display,” in _Three-Dimensional_ _Imaging_ _and_ _Remote_ _Sensing_ _Imaging_,
vol. 902, pp. 37–45. International Society for Optics and Photonics,
1988.
[30] J. Hong, H. Lee, D. Park, and C. Kim, “Depth perception enhancement
based on chromostereopsis in a 3d display,” _Journal_ _of_ _Information_
_Display_, vol. 13, no. 3, pp. 101–106, 2012.
[31] M. Kass and J. Solomon, “Smoothed local histogram filters,” _ACM_
_Transactions_ _on_ _Graphics_ _(TOG)_, vol. 29, no. 4, p. 100, 2010.
[32] V. Chesnokov, “Image enhancement methods and apparatus therefor,”
Nov. 27 2007, uS Patent 7,302,110.
[33] P. Ambalathankandy, M. Ikebe, T. Yoshida, T. Shimada, S. Takamaeda,
M. Motomura, and T. Asai, “An adaptive global and local tone mapping
algorithm implemented on fpga,” _IEEE_ _Transactions_ _on_ _Circuits_ _and_
_Systems_ _for_ _Video_ _Technology_, 2019.
섹션 본문
섹션 본문이 없습니다.
참고문헌
참고문헌 정보가 없습니다.