본문 펼치기
Journal of the Institute of Industrial Applications Engineers Vol.6, No.3, pp.112–118, (2018.7.25)
DOI: 10.12792/JIIAE.6.112 Online edition: ISSN 2187-8811 Print edition: ISSN 2188-1758
# Paper Saturation-Improved Hue-Preserving Gamut Mapping by Weighted Histogram Specification
Hengjun Yu <sup>∗</sup> Member, Kohei Inoue <sup>†∗</sup> Member
Kenji Hara <sup>∗</sup> Non-member, Kiichi Urahama <sup>∗</sup> Member
(Received April 18, 2018, revised July 1, 2018)
Abstract: This paper proposes a method for improving the saturation of colors in hue-preserving gamut mapping.
The proposed method uses three planes bounded by highly saturated edges of RGB color cube for hue-preserving
gamut mapping. Firstly, each color is projected onto one of the three planes to increase the saturation. Then
the projected color is transformed into the target color with a designated luminance and the same hue as the
original color. Furthermore, a saturation-weighted histogram specification method is also proposed and combined
with the proposed gamut mapping method for improving the saturation further than the gamut mapping methods
with conventional histogram equalization. Experimental results show that the proposed method can enhance the
saturation of color images better than recent hue-preserving gamut mapping methods.
Keywords: Gamut mapping, Hue preservation, Saturation improvement, Histogram specification
1. Introduction
In color image enhancement, hue-preserving gamut mapping is frequently required to preserve the appearance of image contents. Recently, Naik and Murthy [1] have proposed
a hue-preserving color image enhancement method for enhancing the contrast of color images without the gamut
problem, i.e., the enhanced colors may go outside the permitted color range. Han et al. [2] also proposed the equivalent method from a viewpoint of 3-D color histogram equalization. However, Naik and Murthy’s method cannot only
increase the saturation of colors to be enhanced, but also
often decreases it. To overcome this problem, Yang and
Lee [3] proposed a modified hue-preserving gamut mapping method that provides higher saturation than Naik and
Murthy’s one. In Yang and Lee’s method, the range of luminance is equally divided into three parts that correspond
to dark, middle and bright colors, and the saturation of dark
and bright colors can be enhanced. However, the other colors falling into the middle range of luminance are handled
in the same way as Naik and Murthy’s method, and therefore, the saturation of the colors in the middle range is not
increased even if Yang and Lee’s method is used.
In this paper, we propose an improved method for huepreserving gamut mapping where all chromatic colors have
the potential to have their saturation increased. We also propose a weighted histogram specification (HS) [4] method
with a saturation-weighted target histogram which is computed from an input color image, and combine the proposed
HS method with the proposed gamut mapping method. We
- Corresponding author: k-inoue@design.kyushu-u.ac.jp)
∗ Department of Communication Design Science, Kyushu University
4-9-1, Shiobaru, Minami-ku, Fukuoka 815-8540, Japan
experimentally compare the proposed method with Naik
and Murthy’s and Yang and Lee’s methods, and demonstrate that the saturation of color images is improved by the
proposed method better than the compared methods.
The rest of this paper is organized as follows. Section 2 summarizes previous hue-preserving gamut mapping
methods. Section 3 describes the proposed gamut mapping
method. Section 4 describes the proposed histogram specification method. Section 5 shows experimental results. Finally, Section 6 concludes this paper.
2. Previous Methods for Hue-Preserving Gamut Mapping
In this section, we first show the properties of color saturation, and then briefly summarize previous methods proposed by Naik and Murthy [1] and Yang and Lee [3].
2.1 Color Saturation Let _p_ = [ _p_ 1, _p_ 2, _p_ 3] <sup>_T_</sup> =
[ _r_, g, _b_ ] <sup>_T_</sup> be an RGB color vector in RGB color space, where
_r_, g and _b_ denote the R (red), G (green) and B (blue) values,
respectively, and satisfy 0 ≤ _pi_ ≤ 1 for _i_ = 1, 2, 3, and the
superscript _T_ denotes the matrix transpose. Then the intensity of _p_ is defined by _l_ = _r_ +g+ _b_ = <sup>∑3</sup> _i_ =1 <sup>_pi_</sup> <sup>∈</sup> <sup>[0, 3] [1], and</sup>
the saturation of _p_ is the distance from the intensity axis to
_p_ [5]:
~~(~~ <u>1</u>
∥ 1 ∥
~~(~~ <u>1</u> _T_ _<u>p</u>_
∥ 1 ∥
~~) (~~ <u>1</u>
∥ 1 ∥
~~)~~ 2
~~)~~ _T_ ~~~~ _p_ (1)
(2)
_S_ ( _p_ ) =
=
=
~~√~~
_p_ <sup>_T_</sup>
~~√~~
<u>(</u> _<u>r</u>_ <u>−</u> <u>g)</u> <sup>2</sup> <u>+ (g −</u> _<u>b</u>_ <u>)</u> <sup>2</sup> <u>+ (</u> _<u>b</u>_ <u>−</u> _<u>r</u>_ <u>)</u> <sup>2</sup>
, (3)
3
~~~~ _I_
∥ _p_ ∥ <sup>2</sup>
√
<u>(</u> _<u>r</u>_ <u>−</u> <u>g)</u> <sup>2</sup> <u>+ (g −</u> _<u>b</u>_ <u>)</u> <sup>2</sup> <u>+ (</u> _<u>b</u>_ <u>−</u> _<u>r</u>_ <u>)</u> <sup>2</sup>
112 Published by IIAE. 2018
Saturation-Improved Hue-Preserving Gamut Mapping 113
where 1 = [1, 1, 1] <sup>_T_</sup>, _I_ denotes the 3 × 3 identity matrix, and
∥· ∥ denotes the Euclidean norm. In terms of this saturation,
we have the following properties:
Property 1. _For a positive number u, it holds that_
_S_ ( _u_ _p_ ) = _uS_ ( _p_ ). (4)
_Proof._ Substituting _u_ _p_ for _p_ in (1), we have
We define a function that compute the above Naik’s
method as follows:
_p_ <sup>′</sup> = ψ <sup>Naik</sup> ( _p_, _lt_ ). (11)
Then we have the following property:
Property 3. _Naik’s method described in Algorithm 1 does_
_not increase the saturation:_
)
≤ _S_ ( _p_ ). (12)
√
_S_
~~) (~~ <u>1</u>
~~)~~ _T_ ~~~~ ( _u_ _p_ ) (5)
∥ 1 ∥
(
ψ <sup>Naik</sup> ( _p_, _lt_ )
~~~~ _I_ - ~~(~~ <u>1</u>
∥ 1 ∥
_S_ ( _u_ _p_ ) =
= _u_
( _u_ _p_ ) <sup>_T_</sup>
_p_ <sup>_T_</sup>
~~√~~
~~(~~ <u>1</u>
∥ 1 ∥
_Proof._ If α ≤ 1, then we have ψ <sup>Naik</sup> ( _p_, _lt_ ) = α _p_ . From Property 1, it follows that _S_ (ψ <sup>Naik</sup> ( _p_, _lt_ )) = _S_ (α _p_ ) = α _S_ ( _p_ ) ≤
_S_ ( _p_ ). If α > 1, then we have ψ <sup>Naik</sup> ( _p_, _lt_ ) = 1 - <sup><u>3</u></sup> 3 <sup><u>−</u></sup> - <sup>_<u>l</u>_</sup> _l_ <sup>_<u>t</u>_</sup> <sup>(</sup> <sup>1</sup> <sup>−</sup> <sup>_p_</sup> <sup>) by</sup>
_S_ ( _p_ ). If α > 1, then we have ψ <sup>Naik</sup> ( _p_, _lt_ ) = 1 - <sup><u>3</u></sup> 3 <sup><u>−</u></sup> - <sup>_<u>l</u>_</sup> _l_ <sup>_<u>t</u>_</sup> <sup>(</sup> <sup>1</sup> <sup>−</sup> <sup>_p_</sup> <sup>) by</sup>
Algorithm 1, where 0 < <u>33−−</u> _<u>llt</u>_ <sup><</sup> <sup>1</sup> <sup>because</sup> <sup>α</sup> <sup>=</sup> <sup>_lt_</sup> <sup>/</sup> <sup>_l_</sup> <sup>></sup> <sup>1</sup>
or _lt_ - _l_ . Therefore, from Property 2, it follows that
_S_ (ψ <sup>Naik</sup> ( _p_, _lt_ )) = <sup><u>3</u></sup> 3 <sup><u>−</u></sup> - <sup>_<u>l</u>_</sup> _l_ <sup>_<u>t</u>_</sup> <sup>_S_</sup> <sup>(</sup> <sup>_p_</sup> <sup>) ≤</sup> <sup>_S_</sup> <sup>(</sup> <sup>_p_</sup> <sup>).</sup>
~~) (~~ <u>1</u>
∥ 1 ∥
~~)~~ _T_ ~~~~ _p_ = _uS_ ( _p_ ). (6)
~~~~ _I_
Property 2. _For_ 0 < v < 1 _, it holds that_
_S_ ( 1 - v( 1 - _p_ )) = v _S_ ( _p_ ). (7)
_Proof._ Substituting 1 - v( 1 - _p_ ) for _p_ in (2), we have
<sup><u>3</u></sup> 3 <sup><u>−</u></sup> - <sup>_<u>l</u>_</sup> _l_ <sup>_<u>t</u>_</sup> <sup>_S_</sup> <sup>(</sup> <sup>_p_</sup> <sup>) ≤</sup> <sup>_S_</sup> <sup>(</sup> <sup>_p_</sup> <sup>).</sup>
_S_ ( 1 - v( 1 - _p_ )) = _S_ ((1 − v) 1 + v _p_ ) (8)
~~√~~
~~)~~ 2
~~(~~ <u>1</u> _T_ ~~[~~ <u>(1 −</u> <u>v)</u> <u>1</u> <u>+ v</u> _<u>p</u>_ ~~]~~
∥ 1 ∥
(9)
=
=
~~√~~
v <sup>2</sup>
∥(1 − v) 1 + v _p_ ∥ <sup>2</sup>
Yang and Lee also pointed out that the saturation of the
enhanced color image by Naik’s method decreases compared with that of the original one, and proposed a modified hue-preserving gamut mapping method as summarized
in the following subsection [3].
2.3 Yang’s Method First, the RGB color space is divided into three parts by two equiintensity planes _l_ = 1 and
_l_ = 2: _l_ ≤ 1, 1 < _l_ ≤ 2 and 2 < _l_ . For a dark color _p_ with
_l_ ≤ 1, the intensity of _p_ is boosted up as _p_ ˜ = _p_ / _l_ whose intensity is 1, and then Naik’s method is applied to _p_ ˜ with the
target intensity _lt_ . For a moderate color _p_ with 1 < _l_ ≤ 2,
Naik’s method is applied to _p_ directly. For a bright color
_p_ with _l_ - 2, _p_ is transformed into the CMY color vector
_q_ = 1 - _p_, and then the intensity of _q_ is dropped down as
_q_ ˜ = _q_ /(3 − _l_ ) to have the RGB color vector as _p_ ˜ = 1 - _q_ ˜
whose intensity is 2. Finally, Naik’s method is applied to _p_ ˜.
The pseudocode of Yang’s method is shown in Algorithm 2.
<u>Algorithm 2</u> <u>Yang’s method</u>
Require: RGB color vector _p_ = [ _r_, g, _b_ ] <sup>_T_</sup>, target intensity _lt_
Ensure: modified color vector _p_ <sup>′′</sup>
1: Compute the intensity of _p_ as _l_ = _r_ + g + _b_ ;
2: if _l_ ≤ 1 then
3: _p_ ˜ := _p_ / _l_ ;
4: _p_ <sup>′′</sup> := ψ <sup>Naik</sup> ( ˜ _p_, _lt_ );
5: else if 1 < _l_ ≤ 2 then
6: _p_ <sup>′′</sup> := ψ <sup>Naik</sup> ( _p_, _lt_ );
7: else
8: _p_ ˜ := 1 - 31− _l_ <sup>(</sup> <sup>1</sup> <sup>−</sup> <sup>_p_</sup> <sup>);</sup>
9: _p_ <sup>′′</sup> := ψ <sup>Naik</sup> ( ˜ _p_, _lt_ );
10: end if
We define a function that compute the above Yang’s
method as follows:
_p_ <sup>′′</sup> = ψ <sup>Yang</sup> ( _p_, _lt_ ). (13)
Then we have the following property:
IIAE Journal, Vol.6, No.3, 2018
~~~~ ∥ _p_ ∥2 −
~~(~~ <u>1</u> _T_ _<u>p</u>_
~~)~~ 2 <sup>~~~~</sup> = v _S_ ( _p_ ). (10)
∥ 1 ∥
Let _f_ ( _l_ ) ∈ [0, 3] be a function of _l_ ∈ [0, 3] for transforming the intensity of a gray scale image into the modified
one. For the convenience of the following description, let _lt_
be the target intensity, which will be given by _lt_ = _f_ ( _l_ ) in
Naik’s method, and let α = _lt_ / _l_ = _f_ ( _l_ )/ _l_ be the ratio of _lt_ to
_l_ . Then Naik’s method [1] can be summarized as follows.
2.2 Naik’s Method If α ≤ 1, then the modified color
_p_ <sup>′</sup> = [ _p_ <sup>′</sup> 1 <sup>,</sup> <sup>_p_</sup> <sup>′</sup> 2 <sup>,</sup> <sup>_p_</sup> <sup>′</sup> 3 <sup>]</sup> <sup>_T_</sup> <sup>of</sup> <sup>_p_</sup> <sup>is</sup> <sup>given</sup> <sup>by</sup> <sup>_p_</sup> <sup>′</sup> <sup>=</sup> <sup>α</sup> <sup>_p_</sup> <sup>or</sup> <sup>_p_</sup> <sup>′</sup> _i_ <sup>=</sup> <sup>α</sup> <sup>_pi_</sup>
_p_ <sup>′</sup> = [ _p_ <sup>′</sup> 1 <sup>,</sup> <sup>_p_</sup> <sup>′</sup> 2 <sup>,</sup> <sup>_p_</sup> <sup>′</sup> 3 <sup>]</sup> <sup>_T_</sup> <sup>of</sup> <sup>_p_</sup> <sup>is</sup> <sup>given</sup> <sup>by</sup> <sup>_p_</sup> <sup>′</sup> <sup>=</sup> <sup>α</sup> <sup>_p_</sup> <sup>or</sup> <sup>_p_</sup> <sup>′</sup> _i_ <sup>=</sup> <sup>α</sup> <sup>_pi_</sup>
for _i_ = 1, 2, 3; or else, first, _p_ is transformed into the
CMY (cyan, magenta and yellow) color vector as _q_ =
[ _q_ 1, _q_ 2, _q_ 3] <sup>_T_</sup> = 1 - _p_ . Then the modified CMY color vector
is given by _q_ <sup>′</sup> = <sup><u>3</u></sup> 3 <sup><u>−</u></sup> - <sup>_<u>l</u>_</sup> _l_ <sup>_<u>t</u>_</sup> <sup>_q_</sup> <sup>.</sup> <sup>Finally,</sup> <sup>_q_</sup> <sup>′</sup> <sup>is transformed back into</sup>
is given by _q_ <sup>′</sup> = <sup><u>3</u></sup> 3 <sup><u>−</u></sup> - <sup>_<u>l</u>_</sup> _l_ <sup>_<u>t</u>_</sup> <sup>_q_</sup> <sup>.</sup> <sup>Finally,</sup> <sup>_q_</sup> <sup>′</sup> <sup>is transformed back into</sup>
the RGB color vector as _p_ <sup>′</sup> = 1 - _q_ <sup>′</sup> .
The pseudocode of Naik’s method is shown in Algorithm 1.
<u>Algorithm 1</u> <u>Naik’s method</u>
Require: RGB color vector _p_ = [ _r_, g, _b_ ] <sup>_T_</sup>, target intensity _lt_
Ensure: modified color vector _p_ <sup>′</sup>
1: Compute the intensity of _p_ as _l_ = _r_ + g + _b_ ;
2: α := _lt_ / _l_ ;
3: if α ≤ 1 then
4: _p_ <sup>′</sup> := α _p_ ;
5: else
6: _p_ <sup>′</sup> := 1 - <sup><u>3</u></sup> 3 <sup><u>−</u></sup> - <sup>_<u>l</u>_</sup> _l_ <sup>_<u>t</u>_</sup> <sup>(</sup> <sup>1</sup> <sup>−</sup> <sup>_p_</sup> <sup>);</sup>
7: end if
114 H. Yu, K. Inoue, K. Hara and K. Urahama
Property 4. _The_ _saturation_ _given_ _by_ _Yang’s_ _method_ _de-_
_scribed in Algorithm 2 is greater than or equal to that given_
_by Naik’s method described in Algorithm 1:_
(
)
ψ <sup>Yang</sup> ( _p_, _lt_ )
≥ _S_
)
ψ <sup>Naik</sup> ( _p_, _lt_ )
. (14)
(
_S_
_Proof._ If _l_ ≤ 1, then there are three cases as follows: _lt_ ≤
_l_ ≤ 1, _l_ < _lt_ ≤ 1 and _l_ ≤ 1 < _lt_ . For _lt_ ≤ _l_ ≤ 1, we have
ψ <sup>Yang</sup> ( _p_, _lt_ ) = ψ <sup>Naik</sup> ( ˜ _p_, _lt_ ) = _lt_ ˜ _p_ = _lt_ _p_ / _l_ = α _p_ = ψ <sup>Naik</sup> ( _p_, _lt_ ),
from which it follows that _S_ (ψ <sup>Yang</sup> ( _p_, _lt_ )) = _S_ (ψ <sup>Naik</sup> ( _p_, _lt_ )).
For _l_ < _lt_ ≤ 1, we have ψ <sup>Naik</sup> ( _p_, _lt_ ) = 1 - <sup><u>3</u></sup> 3 <sup><u>−</u></sup> - <sup>_<u>l</u>_</sup> _l_ <sup>_<u>t</u>_</sup> <sup>(</sup> <sup>1</sup> <sup>−</sup> <sup>_p_</sup> <sup>)</sup> <sup>and</sup>
Figure 1: Three planes bounded by highly-saturated edges.
For _l_ < _lt_ ≤ 1, we have ψ <sup>Naik</sup> ( _p_, _lt_ ) = 1 - <sup><u>3</u></sup> 3 <sup><u>−</u></sup> - <sup>_<u>l</u>_</sup> _l_ <sup>_<u>t</u>_</sup> <sup>(</sup> <sup>1</sup> <sup>−</sup> <sup>_p_</sup> <sup>)</sup> <sup>and</sup>
ψ <sup>Yang</sup> ( _p_, _lt_ ) = <sup>_<u>l</u>_</sup> _l_ <sup>_<u>t</u>_</sup> <sup>_p_</sup> <sup>by Algorithms 1 and 2, respectively.</sup> <sup>From</sup>
Properties 2 and 1, it follows that _S_ (ψ <sup>Naik</sup> ( _p_, _lt_ )) = <sup><u>3</u></sup> 3 <sup><u>−</u></sup> - <sup>_<u>l</u>_</sup> _l_ <sup>_<u>t</u>_</sup> <sup>_S_</sup> <sup>(</sup> <sup>_p_</sup> <sup>)</sup>
and _S_ (ψ <sup>Yang</sup> ( _p_, _lt_ )) = _<u>llt</u>_ <sup>_S_</sup> <sup>(</sup> <sup>_p_</sup> <sup>),</sup> <sup>respectively.</sup> ( _<u>lt</u>_ <sup>Therefore,</sup> ) <sup>we</sup>
have that _S_ (ψ <sup>Yang</sup> ( _p_, _lt_ ))− _S_ (ψ <sup>Naik</sup> ( _p_, _lt_ )) = _l_ <sup>−</sup> <sup><u>3</u></sup> 3 <sup><u>−</u></sup> - <sup>_<u>l</u>_</sup> _l_ <sup>_<u>t</u>_</sup> _S_ ( _p_ ) =
( _<u>lt</u>_
)
<sup><u>3</u></sup> 3 <sup><u>−</u></sup> - <sup>_<u>l</u>_</sup> _l_ <sup>_<u>t</u>_</sup>
_<u>t</u>_
_l_ <sup>−</sup> <sup><u>3</u></sup> 3 <sup><u>−</u></sup> - <sup>_<u>l</u>_</sup> _l_ <sup>_<u>t</u>_</sup>
have that _S_ (ψ <sup>Yang</sup> ( _p_, _lt_ ))− _S_ (ψ <sup>Naik</sup> ( _p_, _lt_ )) = _l_ <sup>−</sup> <sup><u>3</u></sup> 3 <sup><u>−</u></sup> - <sup>_<u>l</u>_</sup> _l_ <sup>_<u>t</u>_</sup> _S_ ( _p_ ) =
<u>3(</u> _l_ (3 _<u>lt</u>_ −− _ll_ )) <sup>_S_</sup> <sup>(</sup> <sup>_p_</sup> <sup>)</sup> <sup>></sup> <sup>0</sup> <sup>or</sup> <sup>_S_</sup> <sup>(ψYang(</sup> <sup>_p_</sup> <sup>,</sup> <sup>_lt_</sup> <sup>))</sup> <sup>></sup> <sup>_S_</sup> <sup>(ψNaik(</sup> <sup>_p_</sup> <sup>,</sup> <sup>_lt_</sup> <sup>)).</sup> <sup>For</sup> <sup>_l_</sup> <sup>≤</sup>
1 < _lt_, we have _S_ (ψ <sup>Naik</sup> ( _p_, _lt_ )) = <sup><u>3</u></sup> 3 <sup><u>−</u></sup> - <sup>_<u>l</u>_</sup> _l_ <sup>_<u>t</u>_</sup> <sup>_S_</sup> <sup>(</sup> <sup>_p_</sup> <sup>) in the same way as</sup>
the above. We also have ψ <sup>Yang</sup> ( _p_, _lt_ ) = 1 - <sup><u>3</u></sup> 3 <sup><u>−</u></sup> - <sup>_<u>l</u>_</sup> 1 <sup>_<u>t</u>_</sup> <sup>(</sup> <sup>1</sup> <sup>−</sup> <sup>_p_</sup> <sup>˜) =</sup> <sup>1</sup> <sup>−</sup>
‘G’, ‘B’, ‘W’, ‘C’, ‘M’ and ‘Y’ labeled on the vertices denote black, red, green, blue, white, cyan, magenta and yellow colors, respectively. The colors of the planes indicate
that the planes from left to right in Fig. 1 are parallel to the
R, G and B axes of the RGB color space, respectively. The
projection of any color onto one of the three planes can increase the saturation of the color. The unit normal vectors of
those planes are given by _u_ 1 = θ[0 ~~√~~ <u>, 1, 1]</u> <sup>_T_</sup>, _u_ 2√= θ[1, 0, 1] <sup>_T_</sup>
and _u_ 3 = θ[1, 1, 0] <sup>_T_</sup>, where θ =
~~√~~
<u>1, 1]</u> <sup>_T_</sup>, _u_ 2√
2/2 = 1/
and _u_ 3 = θ[1, 1, 0] <sup>_T_</sup>, where θ = 2/2 = 1/ 2 is half the
length of a diagonal line of a square with a side length of 1.
the above. We also have ψ <sup>Yang</sup> ( _p_, _lt_ ) = 1 - <sup><u>3</u></sup> 3 <sup><u>−</u></sup> - <sup>_<u>l</u>_</sup> 1 <sup>_<u>t</u>_</sup> <sup>(</sup> <sup>1</sup> <sup>−</sup> <sup>_p_</sup> <sup>˜) =</sup> <sup>1</sup> <sup>−</sup>
<u>3−2</u> _<u>lt</u>_ <sup>(</sup> <sup>1</sup> <sup>−</sup> <sup>_p_</sup> <sup>˜) by Algorithm 2, and</sup> <sup>_S_</sup> <sup>(ψYang(</sup> <sup>_p_</sup> <sup>,</sup> <sup>_lt_</sup> <sup>)) =</sup> <sup><u>3−</u></sup> 2 <sup>_<u>lt</u>_</sup> <sup>_S_</sup> <sup>( ˜</sup> <sup>_p_</sup> <sup>) =</sup>
<u>3−2</u> _<u>lt</u>_ <sup>_S_</sup> <sup>(</sup> <sup>_p_</sup> <sup>/</sup> <sup>_l_</sup> <sup>)</sup> <sup>=</sup> <u>32−</u> _llt_ <sup>_S_</sup> <sup>(</sup> <sup>_p_</sup> <sup>)</sup> <sup>from</sup> <sup>Properties</sup> <sup>2</sup> ( <u>3</u> <sup>and</sup> <u>−</u> _<u>lt</u>_ <sup>1.</sup> <sup>Thus,</sup> ) <sup>we</sup>
have _S_ (ψ <sup>Yang</sup> ( _p_, _lt_ )) − _S_ (ψ <sup>Naik</sup> ( _p_, _lt_ )) = 2 _l_ <sup>−</sup> <sup><u>3</u></sup> 3 <sup><u>−</u></sup> - <sup>_<u>l</u>_</sup> _l_ <sup>_<u>t</u>_</sup> _S_ ( _p_ ) =
For a color _p_, we select one of the three planes by
<sup>2</sup>
( <u>3−</u> _<u>lt</u>_
<u>3</u> <sup>and</sup> <u>−</u> _<u>lt</u>_ <sup>1.</sup> )
2 _l_ <sup>−</sup> <sup><u>3</u></sup> 3 <sup><u>−</u></sup> - <sup>_<u>l</u>_</sup> _l_ <sup>_<u>t</u>_</sup>
have _S_ (ψ <sup>Yang</sup> ( _p_, _lt_ )) − _S_ (ψ <sup>Naik</sup> ( _p_, _lt_ )) = 2 _l_ <sup>−</sup> <sup><u>3</u></sup> 3 <sup><u>−</u></sup> - <sup>_<u>l</u>_</sup> _l_ <sup>_<u>t</u>_</sup> _S_ ( _p_ ) =
<u>3(12−</u> _l_ (3 _<u>l</u>_ <u>)(3−</u> _l_ <u>−)</u> _<u>lt</u>_ <u>)</u> _S_ ( _p_ ) ≥ 0 or _S_ (ψ <sup>Yang</sup> ( _p_, _lt_ )) ≥ _S_ (ψ <sup>Naik</sup> ( _p_, _lt_ )).
If 1 < _l_ ≤ 2, then we have ψ <sup>Yang</sup> ( _p_, _lt_ ) = ψ <sup>Naik</sup> ( _p_, _lt_ ),
which results in _S_ (ψ <sup>Yang</sup> ( _p_, _lt_ )) = _S_ (ψ <sup>Naik</sup> ( _p_, _lt_ )).
If _l_ - 2, then there are three cases as follows: _lt_ ≤
2 < _l_, 2 < _lt_ ≤ _l_ and 2 < _l_ < _lt_ . For _lt_ ≤ 2 < _l_,
we have ψ <sup>Naik</sup> ( _p_, _lt_ ) = α _p_ and ψ <sup>Yang</sup> ( _p_, _lt_ ) = ψ <sup>Naik</sup> ( ˜ _p_, _lt_ )
where _p_ ˜ = 1 - 31− _l_ <sup>(</sup> <sup>1</sup> <sup>−</sup> <sup>_p_</sup> <sup>)</sup> <sup>whose</sup> <sup>intensity</sup> <sup>is</sup> <sup>2,</sup> <sup>by</sup> <sup>Algo-</sup>
rithms 1 and 2, respectively. From Properties 1 and 2, it
follows that _S_ (ψ <sup>Naik</sup> ( _p_, _lt_ )) = α _S_ ( _p_ ) and _S_ (ψ <sup>Yang</sup> ( _p_, _lt_ )) =
_<u>l</u>_ 2 _<u>t</u>_ <sup>_S_</sup> <sup>( ˜</sup> <sup>_p_</sup> <sup>)</sup> <sup>=</sup> 2(3 _<u>lt</u>_ - _l_ ) <sup>_S_</sup> <sup>(</sup> <sup>_p_</sup> <sup>).</sup> <sup>Thus,</sup> <sup>we</sup> <sup>have</sup> <sup>that</sup> <sup>_S_</sup> <sup>(ψYang(</sup> <sup>_p_</sup> <sup>,</sup> <sup>_lt_</sup> <sup>))</sup> <sup>−</sup>
( )
_S_ (ψ <sup>Naik</sup> ( _p_, _lt_ )) = 2(3 _<u>lt</u>_ - _l_ ) <sup>−</sup> <sup>_<u>l</u>_</sup> _l_ <sup>_<u>t</u>_</sup> _S_ ( _p_ ) = <u>32</u> _<u>llt</u>_ (3( _<u>l</u>_ <u>−−2)</u> _l_ ) <sup>_S_</sup> <sup>(</sup> <sup>_p_</sup> <sup>)</sup> <sup>></sup> <sup>0</sup> <sup>or</sup>
_S_ (ψ <sup>Yang</sup> ( _p_, _lt_ )) - _S_ (ψ <sup>Naik</sup> ( _p_, _lt_ )). For 2 < _lt_ ≤ _l_, we have
_S_ (ψ <sup>Naik</sup> ( _p_, _lt_ )) = α _S_ ( _p_ ) in the same way as the above. We
also have ψ <sup>Yang</sup> ( _p_, _lt_ ) = ψ <sup>Naik</sup> ( ˜ _p_, _lt_ ) = 1 −(3− _lt_ )( 1 - _p_ ˜), where
)
_S_ (ψ <sup>Naik</sup> ( _p_, _lt_ )) =
(
_<u>lt</u>_
2(3− _l_ ) <sup>−</sup> <sup>_<u>l</u>_</sup> _l_ <sup>_<u>t</u>_</sup>
_p_ ˜ = 1 - 31− _l_ <sup>(</sup> <sup>1</sup> <sup>−</sup> <sup>_p_</sup> <sup>),</sup> <sup>by</sup> <sup>Algorithm</sup> <sup>2,</sup> <sup>and</sup> <sup>_S_</sup> <sup>(ψYang(</sup> <sup>_p_</sup> <sup>,</sup> <sup>_lt_</sup> <sup>))</sup> <sup>=</sup>
(3 - _lt_ ) _S_ ( ˜ _p_ ) = <u>33−−</u> _<u>llt</u>_ <sup>_S_</sup> <sup>(</sup> <sup>_p_</sup> <sup>)</sup> <sup>from</sup> <sup>Property</sup> <sup>2.</sup> ( 3− _<u>l</u>_ <sup>Therefore,</sup> _<u>t</u>_ ) <sup>we</sup>
have _S_ (ψ <sup>Yang</sup> ( _p_, _lt_ )) - _S_ (ψ <sup>Naik</sup> ( _p_, _lt_ )) = 3− _l_ <sup>−</sup> <sup>_<u>l</u>_</sup> _l_ <sup>_<u>t</u>_</sup> _S_ ( _p_ ) =
_i_ _p_ = arg median _i_ ∈{1,2,3} <sup>(</sup> <sup>_pi_</sup> <sup>),</sup> (15)
where the function ‘median’ selects the median value from
given values. For example, if _i_ _p_ = 1, then _pi_ _p_ = _p_ 1 = _r_
is the median value among _r_, g and _b_ . In this case, g or _b_
is the maximal value, and therefore, the extension of _p_ by
a scalar multiplication intersects with the red plane in Fig.
1 before it goes outside the gamut of the RGB color cube.
The equation of the plane with normal vector _u_ _i_ _p_ is given by
_u_ <sup>_T_</sup> _i_ _p_ <sup>_p_</sup> <sup>0</sup> <sup>= θ,</sup> (16)
where _p_ 0 denotes a point on the plane.
Let _p_ ˜ = α _p_, then _p_ ˜ may go outside the gamut when α
is large. To avoid such a gamut problem, we first project _p_
onto the above-mentioned plane with unit normal vector _u_ _i_ _p_,
and then apply Naik’s method to the projected color point.
The detailed procedure is as follows:
i) If _u_ <sup>_T_</sup> _i_ _p_ <sup>_p_</sup> <sup>≤</sup> <sup>θ,</sup> <sup>then</sup> <sup>we</sup> <sup>compute</sup> <sup>the</sup> <sup>intersection</sup> <sup>point</sup> <sup>of</sup> <sup>a</sup>
<sup>2.</sup>
( 3− _<u>lt</u>_
3− _l_ <sup>−</sup> <sup>_<u>l</u>_</sup> _l_ <sup>_<u>t</u>_</sup>
)
have _S_ (ψ <sup>Yang</sup> ( _p_, _lt_ )) - _S_ (ψ <sup>Naik</sup> ( _p_, _lt_ )) = 3− _l_ <sup>−</sup> <sup>_<u>l</u>_</sup> _l_ <sup>_<u>t</u>_</sup> _S_ ( _p_ ) =
<u>3(</u> _<u>l</u>_ <u>−</u> _<u>lt</u>_ <u>)</u>
_l_ (3− _l_ ) <sup>_S_</sup> <sup>(</sup> <sup>_p_</sup> <sup>)</sup> <sup>≥</sup> <sup>0</sup> <sup>or</sup> <sup>_S_</sup> <sup>(ψYang(</sup> <sup>_p_</sup> <sup>,</sup> <sup>_lt_</sup> <sup>))</sup> <sup>≥</sup> <sup>_S_</sup> <sup>(ψNaik(</sup> <sup>_p_</sup> <sup>,</sup> <sup>_lt_</sup> <sup>)).</sup> For
2 < _l_ < _lt_, we have ψ <sup>Naik</sup> ( _p_, _lt_ ) = 1 - <sup><u>3</u></sup> 3 <sup><u>−</u></sup> - <sup>_<u>l</u>_</sup> _l_ <sup>_<u>t</u>_</sup> <sup>(</sup> <sup>1</sup> <sup>−</sup> <sup>_p_</sup> <sup>)</sup> <sup>and</sup>
ψ <sup>Yang</sup> ( _p_, _lt_ ) = ψ <sup>Naik</sup> ( ˜ _p_, _lt_ ) = 1 - (3 - _lt_ )( 1 - _p_ ˜), where
_p_ ˜ = 1 - 31− _l_ <sup>(</sup> <sup>1</sup> <sup>−</sup> <sup>_p_</sup> <sup>),</sup> <sup>by</sup> <sup>Algorithms</sup> <sup>1</sup> <sup>and</sup> <sup>2,</sup> <sup>respectively.</sup>
From Property 2, we have _S_ (ψ <sup>Naik</sup> ( _p_, _lt_ )) = <u>33−−</u> _<u>llt</u>_ <sup>_S_</sup> <sup>(</sup> <sup>_p_</sup> <sup>)</sup> <sup>and</sup>
_S_ (ψ <sup>Yang</sup> ( _p_, _lt_ )) = (3 − _lt_ ) _S_ ( ˜ _p_ ) = <sup><u>3</u></sup> 3 <sup><u>−</u></sup> - <sup>_<u>l</u>_</sup> _l_ <sup>_<u>t</u>_</sup> <sup>_S_</sup> <sup>(</sup> <sup>_p_</sup> <sup>) =</sup> <sup>_S_</sup> <sup>(ψNaik(</sup> <sup>_p_</sup> <sup>,</sup> <sup>_lt_</sup> <sup>)).</sup>
Consequently, (14) holds in any case.
i) If _u_ <sup>_T_</sup> _i_ _p_ <sup>_p_</sup> <sup>≤</sup> <sup>θ,</sup> <sup>then</sup> <sup>we</sup> <sup>compute</sup> <sup>the</sup> <sup>intersection</sup> <sup>point</sup> <sup>of</sup> <sup>a</sup>
line _p_ β = β _p_ and a plane _u_ <sup>_T_</sup> _i_ _p_ <sup>_p_</sup> <sup>0</sup> <sup>= θ, where</sup> <sup>_p_</sup> <sup>β denotes a point</sup>
_p_ ˜ = 1 - 31− _l_ <sup>(</sup> <sup>1</sup> <sup>−</sup> <sup>_p_</sup> <sup>),</sup> <sup>by</sup> <sup>Algorithms</sup> <sup>1</sup> <sup>and</sup> <sup>2,</sup> <sup>respectively.</sup>
From Property 2, we have _S_ (ψ <sup>Naik</sup> ( _p_, _lt_ )) = <u>33−−</u> _<u>llt</u>_ <sup>_S_</sup> <sup>(</sup> <sup>_p_</sup> <sup>)</sup> <sup>and</sup>
_S_ (ψ <sup>Yang</sup> ( _p_, _lt_ )) = (3 − _lt_ ) _S_ ( ˜ _p_ ) = <sup><u>3</u></sup> 3 <sup><u>−</u></sup> - <sup>_<u>l</u>_</sup> _l_ <sup>_<u>t</u>_</sup> <sup>_S_</sup> <sup>(</sup> <sup>_p_</sup> <sup>) =</sup> <sup>_S_</sup> <sup>(ψNaik(</sup> <sup>_p_</sup> <sup>,</sup> <sup>_lt_</sup> <sup>)).</sup>
3. Proposed Gamut Mapping Method
As described above, Yang’s method [3] is equivalent to
Naik’s method [1] when 1 < _l_ ≤ 2. Therefore, in that case,
both methods decrease the color saturation. In this section,
we propose a hue-preserving gamut mapping method that
produces higher saturation than the above two methods.
Figure 1 shows three planes bounded by highly-saturated
edges of RGB color cube, where the capital letters ‘K’, ‘R’,
IIAE Journal, Vol.6, No.3, 2018
line _p_ β = β _p_ and a plane _u_ <sup>_T_</sup> _i_ _p_ <sup>_p_</sup> <sup>0</sup> <sup>= θ, where</sup> <sup>_p_</sup> <sup>β denotes a point</sup>
on the line, a parameter β is given by β = 1/( _pia_ + _pib_ ) at the
intersection point, where _iia_ = {[( _i_ _p_ - 1) − 1 + 3] mod 3} + 1
and _iib_ = {[( _i_ _p_ - 1) + 1] mod 3} + 1 denote the neighboring
numbers of _i_ _p_ with the modulo operation denoted by mod,
e.g., if _i_ _p_ = 1, then we have _ia_ = {[(1−1)−1+3] mod 3}+1 =
{2 mod 3} + 1 = 3 and _ib_ = {[(1 − 1) + 1] mod 3} + 1 =
{1 mod 3} + 1 = 2. Therefore, the intersection point is given
by _x_ _p_ = _p_ /( _pia_ + _pib_ ). Then we apply Naik’s method to _x_ _p_
to have _p_ <sup>′′′</sup> = ψ <sup>Naik</sup> ( _x_ _p_, _lt_ ).
ii) If _u_ <sup>_T_</sup> _i_ _p_ <sup>_p_</sup> <sup>></sup> <sup>θ, then we compute the intersection point of a</sup>
ii) If _u_ <sup>_T_</sup> _i_ _p_ <sup>_p_</sup> <sup>></sup> <sup>θ, then we compute the intersection point of a</sup>
line passing through _p_ and 1, a point on which is given by
_p_ γ = 1 + γ( _p_ - 1 ), and a plane _u_ <sup>_T_</sup> _i_ _p_ <sup>_p_</sup> <sup>0</sup> <sup>= θ, where a parameter</sup>
γ is given by γ = 1/(2 − _pia_ - _pib_ ) at the intersection point.
Therefore, the intersection point is given by y _p_ = 1 + ( _p_ 1 )/(2 − _pia_ - _pib_ ). Then we apply Naik’s method to y _p_ to
have _p_ <sup>′′′</sup> = ψ <sup>Naik</sup> (y _p_, _lt_ ).
_p_ γ = 1 + γ( _p_ - 1 ), and a plane _u_ <sup>_T_</sup> _i_
The pseudocode of the proposed method is shown in Algorithm 3.
<u>Algorithm 3</u> <u>The proposed method</u>
Saturation-Improved Hue-Preserving Gamut Mapping 115
Table 1: Combinations of original and target intensities.
Require: RGB color vector _p_ = [ _p_ 1, _p_ 2, _p_ 3] <sup>_T_</sup>, target intensity _lt_
Ensure: modified color vector _p_ <sup>′′′</sup>
1: Compute the intensity of _p_ as _l_ = _r_ + g + _b_ ;
√
2: θ := 1/ 2;
3: _u_ 1 := θ[0, 1, 1] <sup>_T_</sup>, _u_ 2 := θ[1, 0, 1] <sup>_T_</sup>, _u_ 3 := θ[1, 1, 0] <sup>_T_</sup> ;
4: Compute _i_ _p_ = arg median _i_ ∈{1,2,3} ( _pi_ );
5: Compute _ia_ = {[( _i_ _p_ - 1) − 1 + 3] mod 3} + 1;
6: Compute _ib_ = {[( _i_ _p_ - 1) + 1] mod 3} + 1;
7: if _u_ <sup>_T_</sup> _i_ _p_ <sup>_p_</sup> <sup>≤</sup> <sup>θ</sup> <sup>then</sup>
8: _x_ _p_ := _p_ /( _pia_ + _pib_ );
9: _p_ <sup>′′′</sup> := ψ <sup>Naik</sup> ( _x_ _p_, _lt_ );
10: else
11: y _p_ := 1 + ( _p_ - 1 )/(2 − _pia_ - _pib_ );
12: _p_ <sup>′′′</sup> := ψ <sup>Naik</sup> (y _p_, _lt_ );
13: end if
We define a function that compute the above proposed
method as follows:
_p_ <sup>′′′</sup> = ψ <sup>Prop</sup> ( _p_, _lt_ ) . (17)
Then we have the following property:
Property 5. _The saturation given by the proposed method_
_described_ _in_ _Algorithm_ _3_ _is_ _greater_ _than_ _or_ _equal_ _to_ _that_
_given by Yang’s method described in Algorithm 2:_
Original ( _l_ ) Target ( _lt_ )
Case 1-1 0 ≤ _l_ ≤ 1 0 ≤ _lt_ ≤ 1
Case 1-2 0 ≤ _l_ ≤ 1 1 < _lt_ ≤ _lx_
Case 1-3 0 ≤ _l_ ≤ 1 _lx_ < _lt_ ≤ 3
Case 2-1 1 < _l_ ≤ _lx_ 0 ≤ _lt_ ≤ _l_
Case 2-2 1 < _l_ ≤ _lx_ _l_ < _lt_ ≤ _lx_
Case 2-3 1 < _l_ ≤ _lx_ _lx_ < _lt_ ≤ 3
Case 3-1 _l_ y < _l_ ≤ 2 0 ≤ _lt_ ≤ _l_ y
Case 3-2 _l_ y < _l_ ≤ 2 _l_ y < _lt_ ≤ _l_
Case 3-3 _l_ y < _l_ ≤ 2 _l_ < _lt_ ≤ 3
Case 4-1 2 < _l_ ≤ 3 0 ≤ _lt_ ≤ _l_ y
Case 4-2 2 < _l_ ≤ 3 _l_ y < _lt_ ≤ 2
Case 4-3 2 < _l_ ≤ 3 2 < _lt_ ≤ 3
In Case 2-2, we have _S_ (ψ <sup>Prop</sup> ( _p_, _lt_ )) = <sup>_<u>l</u>_</sup> _l_ <sup>_<u>t</u>_</sup>
In Case 2-2, we have _S_ (ψ <sup>Prop</sup> ( _p_, _lt_ )) = <sup>_<u>l</u>_</sup> _l_ <sup>_<u>t</u>_</sup> <sup>_S_</sup> <sup>(</sup> <sup>_p_</sup> <sup>) as</sup> <sup>in Case</sup>
2-1, and _S_ (ψ <sup>Yang</sup> ( _p_, _lt_ )) = <u>33−−</u> _<u>llt</u>_ <sup>_S_</sup> <sup>(</sup> <sup>_p_</sup> <sup>)</sup> <sup>from</sup> <sup>ψYang(</sup> <sup>_p_</sup> <sup>,</sup> <sup>_lt_</sup> <sup>)</sup> <sup>=</sup>
ψ <sup>Naik</sup> ( _p_, _lt_ ) = 1 - <u>33−−</u> _<u>llt</u>_ <sup>(</sup> <sup>1</sup> <sup>−</sup> <sup>_p_</sup> <sup>),</sup> <sup>from</sup> ( <sup>which</sup> _<u>lt</u>_ <sup>it</sup> ) <sup>follows</sup>
that _S_ (ψ <sup>Prop</sup> ( _p_, _lt_ )) - _S_ (ψ <sup>Yang</sup> ( _p_, _lt_ )) = _l_ <sup>−</sup> <sup><u>3</u></sup> 3 <sup><u>−</u></sup> - <sup>_<u>l</u>_</sup> _l_ <sup>_<u>t</u>_</sup> _S_ ( _p_ ) =
( _<u>lt</u>_
<sup>it</sup> )
<sup><u>3</u></sup> 3 <sup><u>−</u></sup> - <sup>_<u>l</u>_</sup> _l_ <sup>_<u>t</u>_</sup>
_<u>lt</u>_
_l_ <sup>−</sup> <sup><u>3</u></sup> 3 <sup><u>−</u></sup> - <sup>_<u>l</u>_</sup> _l_ <sup>_<u>t</u>_</sup>
that _S_ (ψ <sup>Prop</sup> ( _p_, _lt_ )) - _S_ (ψ <sup>Yang</sup> ( _p_, _lt_ )) = _l_ <sup>−</sup> <sup><u>3</u></sup> 3 <sup><u>−</u></sup> - <sup>_<u>l</u>_</sup> _l_ <sup>_<u>t</u>_</sup> _S_ ( _p_ ) =
<u>3(</u> _l_ (3 _<u>lt</u>_ −− _ll_ )) <sup>_S_</sup> <sup>(</sup> <sup>_p_</sup> <sup>) > 0.</sup>
In Case 2-3, we have ψ <sup>Prop</sup> ( _p_, _lt_ ) = ψ <sup>Naik</sup> ( _x_ _p_, _lt_ ) = 1 33−− _llxt_ <sup>(</sup> <sup>1</sup> <sup>−</sup> <sup>_x_</sup> <sup>_p_</sup> <sup>)</sup> <sup>and</sup> <sup>_S_</sup> <sup>(ψProp(</sup> <sup>_p_</sup> <sup>,</sup> <sup>_lt_</sup> <sup>))</sup> <sup>=</sup> 33−− _llxt_ <sup>_S_</sup> <sup>(</sup> <sup>_x_</sup> <sup>_p_</sup> <sup>)</sup> <sup>=</sup> 33−− _llxt_ _<u>llx</u>_ <sup>_S_</sup> <sup>(</sup> <sup>_p_</sup> <sup>).</sup>
(
)
≥ _S_
)
ψ <sup>Yang</sup> ( _p_, _lt_ )
. (18)
(
33−− _llxt_ <sup>(</sup> <sup>1</sup> <sup>−</sup> <sup>_x_</sup> <sup>_p_</sup> <sup>)</sup> <sup>and</sup> <sup>_S_</sup> <sup>(ψProp(</sup> <sup>_p_</sup> <sup>,</sup> <sup>_lt_</sup> <sup>))</sup> <sup>=</sup> 33−− _llxt_ <sup>_S_</sup> <sup>(</sup> <sup>_x_</sup> <sup>_p_</sup> <sup>)</sup> <sup>=</sup> 33−− _llxt_ _<u>llx</u>_ <sup>_S_</sup> <sup>(</sup> <sup>_p_</sup> <sup>).</sup>
Since the saturation given by Yang’s method is the same as
(that in Case 2-2, we have 33−− _llxt_ _<u>llx</u>_ <sup>−</sup> <sup><u>3</u></sup> 3 <sup><u>−</u></sup> - <sup>_<u>l</u>_</sup> _l_ <sup>_<u>t</u>_</sup> ) _S_ ( _p_ ) = <sup><u>3(3</u></sup> (3− <sup><u>−</u></sup> _lx_ <sup>_<u>l</u>_</sup> _S_ <sup>_<u>t</u>_</sup> ) <sup><u>)(</u></sup> _l_ (3 ( <sup>_<u>lx</u>_</sup> −ψ <sup><u>−</u></sup> _l_ <sup>_<u>l</u>_</sup> ) <sup>Prop)</sup> <sup>_S_</sup> <sup>(</sup> ( <sup>_p_</sup> _p_ <sup>)</sup>, <sup>≥</sup> _lt_ )) <sup>0.</sup> - _S_ (ψ <sup>Yang</sup> ( _p_, _lt_ )) =
In Case 3-1, we have ψ <sup>Yang</sup> ( _p_, _lt_ ) = ψ <sup>Naik</sup> ( _p_, _lt_ ) =
_<u>llt</u>_ <sup>_p_</sup> <sup>and</sup> <sup>ψProp(</sup> <sup>_p_</sup> <sup>,</sup> <sup>_lt_</sup> <sup>)</sup> = ψ <sup>Naik</sup> (y _p_, _lt_ ) = _ll_ y _<u>t</u>_ <sup>y</sup> <sup>_p_</sup> <sup>the</sup> <sup>satura-</sup>
3− _lx_ _<u>llx</u>_
_<u>x</u>_
_l_ <sup>−</sup> <sup><u>3</u></sup> 3 <sup><u>−</u></sup> - <sup>_<u>l</u>_</sup> _l_ <sup>_<u>t</u>_</sup>
_S_ ( _p_ ) = <sup><u>3(3</u></sup> (3− <sup><u>−</u></sup> _lx_ <sup>_<u>lt</u>_</sup> ) <sup><u>)(</u></sup> _l_ (3 <sup>_<u>lx</u>_</sup> - <sup><u>−</u></sup> _l_ <sup>_<u>l</u>_</sup> ) <sup><u>)</u></sup>
_S_
)
ψ <sup>Prop</sup> ( _p_, _lt_ )
)
<sup><u>3</u></sup> 3 <sup><u>−</u></sup> - <sup>_<u>l</u>_</sup> _l_ <sup>_<u>t</u>_</sup>
_Proof._ All combinations of the original and target intensities for a given color _p_ are listed in Table 1, where _lx_ denotes the intensity of _xp_, and is given by _lx_ = _l_ /( _pia_ + _pib_ ),
and _l_ y denotes the intensity of y _p_, and is given by _l_ y =
3 + ( _l_ - 3)/(2 - _pia_ - _pib_ ). For each case, (18) is proved
by using Properties 1 and 2 as follows.
In Case 1-1, we have ψ <sup>Yang</sup> ( _p_, _lt_ ) = ψ <sup>Naik</sup> ( ˜ _p_, _lt_ ) = _lt_ ˜ _p_ =
_lt_ _p_ / _l_, which is equal to ψ <sup>Prop</sup> ( _p_, _lt_ ) = ψ <sup>Naik</sup> ( _x_ _p_, _lt_ ) =
_lt_ ( _pia_ + _pib_ ) _p_ /[ _l_ ( _pia_ + _pib_ )] = _lt_ _p_ / _l_ . Therefore, we have
_S_ (ψ <sup>Prop</sup> ( _p_, _lt_ )) = _S_ (ψ <sup>Yang</sup> ( _p_, _lt_ )).
In Case 1-2, we have ψ <sup>Yang</sup> ( _p_, _lt_ ) = 1 - <sup><u>3−</u></sup> 2 <sup>_<u>lt</u>_</sup> <sup>(</sup> <sup>1</sup> <sup>−</sup> <sup>_p_</sup> <sup>˜)</sup> <sup>the</sup>
saturation of which is _S_ (ψ <sup>Yang</sup> ( _p_, _lt_ )) = <u>32−</u> _llt_ <sup>_S_</sup> <sup>(</sup> <sup>_p_</sup> <sup>).</sup> <sup>On</sup> <sup>the</sup>
other hand, the saturation given by the proposed method
is the same as that in Case 1-1, i.e., _S_ (ψ <sup>Prop</sup> ( _p_, _lt_ )) =
tion of which is _S_ (ψ <sup>Prop</sup> ( _p_, _lt_ )) = _ll_ y _<u>t</u>_
<u>3−</u> _<u>l</u>_ <u>y</u>
3− _l_ <sup>_S_</sup> <sup>(</sup> <sup>_p_</sup> <sup>).</sup> <sup>Hence,</sup> <sup>we</sup>
( )
_l_
(
)
<u>3−</u> _<u>l</u>_ <u>y</u>
3− _l_ <sup>−</sup> <sup>_<u>l</u>_</sup> _l_ <sup>_<u>t</u>_</sup>
have _S_ (ψ <sup>Prop</sup> ( _p_, _lt_ )) − _S_ (ψ <sup>Yang</sup> ( _p_, _lt_ )) =
<u>3</u> _<u>lt</u>_ <u>(</u> _<u>l</u>_ <u>−</u> _<u>l</u>_ <u>y)</u>
_l_ y(3− _l_ ) _l_ <sup>_S_</sup> <sup>(</sup> <sup>_p_</sup> <sup>) > 0.</sup>
_<u>lt</u>_
_l_ y
_S_ ( _p_ ) =
In Case 1-2, we have ψ <sup>Yang</sup> ( _p_, _lt_ ) = 1 - <sup><u>3−</u></sup> 2 <sup>_<u>lt</u>_</sup>
In Case 3-2, we have ψ <sup>Prop</sup> ( _p_, _lt_ ) = ψ <sup>Naik</sup> (y _p_, _lt_ ) =
1 - 3 <sup><u>3</u></sup> - <sup><u>−</u></sup> _l_ <sup>_<u>l</u>_</sup> y <sup>_<u>t</u>_</sup> <sup>(</sup> <sup>1</sup> <sup>−</sup> <sup>y</sup> <sup>_p_</sup> <sup>),</sup> <sup>from</sup> <sup>which</sup> <sup>we</sup> <sup>have</sup> <sup>_S_</sup> <sup>(ψProp(</sup> <sup>_p_</sup> <sup>,</sup> <sup>_lt_</sup> <sup>))</sup> <sup>=</sup>
<u>3−</u> _<u>lt</u>_ <u>3−</u> _<u>lt</u>_ <u>3−</u> _<u>l</u>_ <u>y</u> <u>3−</u> _<u>lt</u>_
3− _l_ y <sup>_S_</sup> <sup>(y</sup> <sup>_p_</sup> <sup>)</sup> <sup>=</sup> 3− _l_ y 3− _l_ <sup>_S_</sup> <sup>(</sup> <sup>_p_</sup> <sup>)</sup> <sup>=</sup> 3− _l_ <sup>_S_</sup> <sup>(</sup> <sup>_p_</sup> <sup>),</sup> <sup>where</sup> <sup>we</sup> <sup>used</sup> <sup>that</sup>
y _p_ = 1 - <sup><u>3</u></sup> 3 <sup><u>−</u></sup> - <sup>_<u>l</u>_</sup> _l_ <sup><u>y</u></sup>
( <u>3−</u> _<u>lt</u>_
)
_<u>lt</u>_
)
2 <sup><u>−</u></sup> _l_ <sup>_<u>lt</u>_</sup>
<u>(</u> _<u>llt l</u>_ <sup>_S_</sup> _<u>t</u>_ <sup>(</sup> <sup>_p_</sup> <sup>). Therefore, we have</sup> ) <sup>_S_</sup> <sup>(ψProp(</sup> <sup>_p_</sup> <sup>,</sup> <sup>_lt_</sup> <sup>))−</sup> <sup>_S_</sup> <sup>(ψYang(</sup> <sup>_p_</sup> <sup>,</sup> <sup>_lt_</sup> <sup>)) =</sup>
_l_ <sup>−</sup> <sup><u>3</u></sup> 2 <sup><u>−</u></sup> _l_ <sup>_<u>lt</u>_</sup> _S_ ( _p_ ) = <sup><u>3(</u></sup> <sup>_<u>l</u>_</sup> 2 <sup>_<u>t</u>_</sup> <sup><u>−</u></sup> _l_ <sup><u>1)</u></sup> _S_ ( _p_ ) > 0 since _lt_ - 1 in this case.
In Case 1-3, we have ψ <sup>Prop</sup> ( _p_, _lt_ ) = ψ <sup>Naik</sup> ( _x_ _p_, _lt_ ) = 1 33−− _llxt_ <sup>(</sup> <sup>1</sup> <sup>−</sup> <sup>_x_</sup> <sup>_p_</sup> <sup>)</sup> <sup>the</sup> <sup>saturation</sup> <sup>of</sup> <sup>which</sup> <sup>is</sup> <sup>_S_</sup> <sup>(ψProp(</sup> <sup>_p_</sup> <sup>,</sup> <sup>_lt_</sup> <sup>))</sup> <sup>=</sup>
33−− _llxt_ <sup>_S_</sup> <sup>(</sup> <sup>_x_</sup> <sup>_p_</sup> <sup>)</sup> <sup>=</sup> 33−− _llxt_ _<u>llx</u>_ <sup>_S_</sup> <sup>(</sup> <sup>_p_</sup> <sup>)</sup> <sup>since</sup> <sup>_x_</sup> <sup>_p_</sup> <sup>=</sup> _<u>llx</u>_ <sup>_p_</sup> <sup>is</sup> <sup>derived</sup> <sup>from</sup>
y _p_ = 1 - <sup><u>3</u></sup> 3 <sup><u>−</u></sup> - <sup>_<u>l</u>_</sup> _l_ <sup><u>y</u></sup> <sup>(</sup> <sup>1</sup> <sup>−</sup> <sup>_p_</sup> <sup>) which is derived from y</sup> <sup>_p_</sup> <sup>=</sup> <sup>1</sup> <sup>+(</sup> <sup>_p_</sup> <sup>−</sup> <sup>1</sup> <sup>)/(2−</sup>
_pia_ - _pib_ ) and _l_ y = 3 + ( _l_ - 3)/(2 - _pia_ - _pib_ ). Since the saturation given by Yang’s method is the same as that in Case 3-1,( <u>3−</u> _<u>lt</u>_ )
we have _S_ (ψ <sup>Prop</sup> ( _p_, _lt_ )) − _S_ (ψ <sup>Yang</sup> ( _p_, _lt_ )) = 3− _l_ <sup>−</sup> <sup>_<u>l</u>_</sup> _l_ <sup>_<u>t</u>_</sup> _S_ ( _p_ ) =
3− _l_ <sup>−</sup> <sup>_<u>l</u>_</sup> _l_ <sup>_<u>t</u>_</sup>
_<u>t</u>_
_l_ <sup>−</sup> <sup><u>3</u></sup> 2 <sup><u>−</u></sup> _l_ <sup>_<u>lt</u>_</sup>
_S_ ( _p_ ) = <sup><u>3(</u></sup> <sup>_<u>l</u>_</sup> 2 <sup>_<u>t</u>_</sup> <sup><u>−</u></sup> _l_ <sup><u>1)</u></sup>
_<u>llx</u>_ <sup>_S_</sup> <sup>(</sup> <sup>_p_</sup> <sup>)</sup> <sup>since</sup> <sup>_x_</sup> <sup>_p_</sup> <sup>=</sup> _<u>llx</u>_
33−− _llxt_ <sup>_S_</sup> <sup>(</sup> <sup>_x_</sup> <sup>_p_</sup> <sup>)</sup> <sup>=</sup> 33−− _llxt_ _<u>llx</u>_ <sup>_S_</sup> <sup>(</sup> <sup>_p_</sup> <sup>)</sup> <sup>since</sup> <sup>_x_</sup> <sup>_p_</sup> <sup>=</sup> _<u>llx</u>_ <sup>_p_</sup> <sup>is</sup> <sup>derived</sup> <sup>from</sup>
_x_ _p_ = _p_ /( _pia_ + _pib_ ) and _lx_ = _l_ /( _pia_ + _pib_ ). The saturation
given by Yang’s method is the same as that in Case 1-2, i.e.,
_S_ (ψ <sup>Yang</sup> ( _p_, _lt_ )) = <sup><u>3</u></sup> 2 <sup><u>−</u></sup> _l_ <sup>_<u>lt</u>_</sup> <sup>_S_</sup> <sup>(</sup> <sup>_p_</sup> <sup>).</sup> <sup>Then</sup> ) <sup>we</sup> <sup>have</sup> <sup>_S_</sup> <sup>(ψProp(</sup> <sup>_p_</sup> <sup>,</sup> <sup>_lt_</sup> <sup>)) −</sup>
we have _S_ (ψ <sup>Prop</sup> ( _p_, _lt_ )) − _S_ (ψ <sup>Yang</sup> ( _p_, _lt_ )) = 3− _l_ <sup>−</sup> <sup>_<u>l</u>_</sup> _l_ <sup>_<u>t</u>_</sup> _S_ ( _p_ ) =
<u>3(3−</u> _<u>l</u>_ <u>−</u> _l_ ) _<u>ltl</u>_ <u>)</u> <sup>_S_</sup> <sup>(</sup> <sup>_p_</sup> <sup>) ≥</sup> <sup>0.</sup>
In Case 3-3, we have ψ <sup>Yang</sup> ( _p_, _lt_ ) = ψ <sup>Naik</sup> ( _p_, _lt_ ) = 1 <u>3−</u> _<u>lt</u>_
3− _l_ <sup>(</sup> <sup>1</sup> <sup>−</sup> <sup>_p_</sup> <sup>),</sup> <sup>from which we have</sup> <sup>_S_</sup> <sup>(ψYang(</sup> <sup>_p_</sup> <sup>,</sup> <sup>_lt_</sup> <sup>))</sup> <sup>=</sup> <sup><u>3</u></sup> 3 <sup><u>−</u></sup> - <sup>_<u>l</u>_</sup> _l_ <sup>_<u>t</u>_</sup> <sup>_S_</sup> <sup>(</sup> <sup>_p_</sup> <sup>)</sup>
which is the same as the saturation given by the proposed
method, i.e., _S_ (ψ <sup>Yang</sup> ( _p_, _lt_ )) = _S_ (ψ <sup>Prop</sup> ( _p_, _lt_ )).
In Case 4-1, we have ψ <sup>Yang</sup> ( _p_, _lt_ ) = ψ <sup>Naik</sup> ( ˜ _p_, _lt_ ) = _<u>l</u>_ 2 _<u>t</u>_ <sup>_p_</sup> <sup>˜</sup>
where _p_ ˜ = 1 - 3 <sup><u>1</u></sup> - _l_ <sup>(</sup> <sup>1</sup> <sup>−</sup> <sup>_p_</sup> <sup>) whose intensity is 2. Therefore, we</sup>
_SS_ ( (ψψ <sup>YangYang</sup> (( _pp_,, _l ltt_ )))) == <u>(</u> <sup><u>3</u></sup> <u>332</u> <sup><u>−</u></sup> −− _l_ <sup>_<u>lt</u>_</sup> _llxt_ <sup>_S_</sup> _<u>l</u>_ <sup>(</sup> _lx_ <sup>_p_</sup> <sup>−).</sup> <sup><u>3</u></sup> 2 <sup><u>−Then</u></sup> _l_ <sup>_<u>lt</u>_</sup> ) _S_ ( <sup>we</sup> _p_ ) = <sup>have3(</sup> <sup>_<u>l</u>_</sup> 2(3 <sup>_<u>x</u>_</sup> <sup><u>−</u></sup> <sup>_S_</sup> <sup><u>1)(3</u></sup> - <sup>(</sup> _l_ <sup>ψ</sup> _x_ ) <sup><u>−</u></sup> _l_ <sup>Prop</sup> <sup>_<u>lt</u>_</sup> <sup><u>)</u></sup> _S_ <sup>(</sup> ( <sup>_p_</sup> _p_ <sup>,</sup> <sup>_l_</sup> ) <sup>_t_</sup> <sup>))</sup> ≥ <sup>−</sup> 0
where _p_ ˜ = 1 - 3 <sup><u>1</u></sup> - _l_ <sup>(</sup> <sup>1</sup> <sup>−</sup> <sup>_p_</sup> <sup>) whose intensity is 2. Therefore, we</sup>
have _S_ (ψ <sup>Yang</sup> ( _p_, _lt_ )) = <sup>_<u>l</u>_</sup> 2 <sup>_<u>t</u>_</sup> <sup>_S_</sup> <sup>( ˜</sup> <sup>_p_</sup> <sup>) =</sup> <sup>_<u>l</u>_</sup> 2 <sup>_<u>t</u>_</sup> 31− _l_ <sup>_S_</sup> <sup>(</sup> <sup>_p_</sup> <sup>).</sup> <sup>For the proposed</sup>
2 _l_
<u>( 3−</u> _<u>lt</u>_
_<u>x</u>_
_l_ <sup>−</sup> <sup><u>3</u></sup> 2 <sup><u>−</u></sup> _l_ <sup>_<u>lt</u>_</sup>
<sup>_<u>x</u>_</sup> <sup><u>−1)(3−</u></sup> <sup>_<u>lt</u>_</sup> <sup><u>)</u></sup> _S_ ( _p_ ) ≥ 0
2(3− _lx_ ) _l_
_S_ ( _p_ ) = <sup><u>3(</u></sup> <sup>_<u>lx</u>_</sup> <sup><u>−1)(3−</u></sup> <sup>_<u>lt</u>_</sup> <sup><u>)</u></sup>
2(3− _lx_ ) _l_
3− _lx_ _<u>llx</u>_
)
2 <sup><u>−</u></sup> _l_ <sup>_<u>lt</u>_</sup>
have _S_ (ψ <sup>Yang</sup> ( _p_, _lt_ )) = <sup>_<u>l</u>_</sup> 2 <sup>_<u>t</u>_</sup> <sup>_S_</sup> <sup>( ˜</sup> <sup>_p_</sup> <sup>) =</sup> <sup>_<u>l</u>_</sup> 2 <sup>_<u>t</u>_</sup> 31− _l_ <sup>_S_</sup> <sup>(</sup> <sup>_p_</sup> <sup>).</sup> <sup>For the proposed</sup>
method, we have ψ <sup>Prop</sup> ( _p_, _lt_ ) = ψ <sup>Naik</sup> (y _p_, _lt_ ) = _ll_ y _<u>t</u>_ <sup>y</sup> <sup>_p_</sup> <sup>and</sup>
_S_ (ψ <sup>Prop</sup> ( _p_, _lt_ )) = _l_ <sup>_<u>l</u>_</sup> y <sup>_<u>t</u>_</sup>
since _lx_ = _pia_ + _<u>l</u>_ _pib_ <sup>=</sup>
_pia_ + _pi_ _<u>p</u>_ + _pib_
+ _pi_ _<u>p</u>_ + _pib_
≥ 1 or _lx_ - 1 ≥ 0.
_pia_ + _pib_
_l_ y
<u>3−</u> _<u>l</u>_ <u>y</u>
3− _l_ <sup>_S_</sup> <sup>(</sup> <sup>_p_</sup> <sup>).</sup> <sup>Therefore, we have</sup>
( )
(
)
In Case 2-1, from ψ <sup>Yang</sup> ( _p_, _lt_ ) = ψ <sup>Naik</sup> ( _p_, _lt_ ) = _<u>llt</u>_
_l_ <sup>_<u>l</u>_</sup> y <sup>_<u>t</u>_</sup> <sup>_S_</sup> <sup>(y</sup> <sup>_p_</sup> <sup>)</sup> <sup>=</sup> _l_ <sup>_<u>l</u>_</sup> y <sup>_<u>t</u>_</sup>
In Case 2-1, from ψ <sup>Yang</sup> ( _p_, _lt_ ) = ψ <sup>Naik</sup> ( _p_, _lt_ ) = _<u>llt</u>_ <sup>_p_</sup> <sup>and</sup>
ψ <sup>Prop</sup> ( _p_, _lt_ ) = ψ <sup>Naik</sup> ( _xp_, _lt_ ) = _llxt_ <sup>_x_</sup> <sup>_p_</sup> <sup>=</sup> _llxt_ _<u>llx</u>_ <sup>_p_</sup> <sup>=</sup> <sup>_<u>l</u>_</sup> _l_ <sup>_<u>t</u>_</sup> <sup>_p_</sup> <sup>,</sup> <sup>we</sup> <sup>have</sup>
<u>3−</u> _<u>l</u>_ <u>y</u> <u>1</u>
3− _l_ <sup>−</sup> <sup>_<u>l</u>_</sup> 2 <sup>_<u>t</u>_</sup> 3− _l_
_<u>lt</u>_
_l_ y
_<u>llx</u>_ <sup>_p_</sup> <sup>=</sup> <sup>_<u>l</u>_</sup> _l_ <sup>_<u>t</u>_</sup>
_<u>lx</u>_
ψ <sup>Prop</sup> ( _p_, _lt_ ) = ψ <sup>Naik</sup> ( _xp_, _lt_ ) = _llxt_ <sup>_x_</sup> <sup>_p_</sup> <sup>=</sup> _llxt_ _<u>llx</u>_ <sup>_p_</sup> <sup>=</sup> <sup>_<u>l</u>_</sup> _l_ <sup>_<u>t</u>_</sup> <sup>_p_</sup> <sup>,</sup> <sup>we</sup> <sup>have</sup>
_S_ (ψ <sup>Prop</sup> ( _p_, _lt_ )) = _S_ (ψ <sup>Yang</sup> ( _p_, _lt_ )).
_S_ (ψ <sup>Prop</sup> ( _p_, _lt_ )) - _S_ (ψ <sup>Yang</sup> ( _p_, _lt_ )) =
<u>3</u> _<u>lt</u>_ <u>(2−</u> _<u>l</u>_ <u>y)</u>
2(3− _l_ ) _l_ y <sup>_S_</sup> <sup>(</sup> <sup>_p_</sup> <sup>) ≥</sup> <sup>0 since 2−</sup> <sup>_l_</sup> <sup>y</sup> <sup>= 2−[3+(</sup> <sup>_l_</sup> <sup>−3)/(2−</sup> <sup>_pia_</sup> <sup>−</sup> <sup>_pib_</sup> <sup>)] =</sup>
IIAE Journal, Vol.6, No.3, 2018
_S_ ( _p_ ) =
116 H. Yu, K. Inoue, K. Hara and K. Urahama
1− _pi_ _<u>p</u>_
(1− _pia_ )+(1− _pib_ ) <sup>≥</sup> <sup>0.</sup>
~~√~~
<u>ty</u> axis√
3 =
In Case 4-2, we have ψ <sup>Prop</sup> ( _p_, _lt_ ) = ψ <sup>Naik</sup> (y _p_, _lt_ ) =
1 - 3 <sup><u>3</u></sup> - <sup><u>−</u></sup> _l_ <sup>_<u>l</u>_</sup> y <sup>_<u>t</u>_</sup> <sup>(</sup> <sup>1</sup> <sup>−</sup> <sup>y</sup> <sup>_p_</sup> <sup>),</sup> <sup>from</sup> <sup>which</sup> <sup>we</sup> <sup>have</sup> <sup>_S_</sup> <sup>(ψProp(</sup> <sup>_p_</sup> <sup>,</sup> <sup>_lt_</sup> <sup>))</sup> <sup>=</sup>
<u>3−</u> _<u>lt</u>_ <u>3−</u> _<u>lt</u>_ <u>3−</u> _<u>l</u>_ <u>y</u>
3− _l_ y <sup>_S_</sup> <sup>(y</sup> <sup>_p_</sup> <sup>)</sup> <sup>=</sup> 3− _l_ y 3− _l_ <sup>_S_</sup> <sup>(</sup> <sup>_p_</sup> <sup>)</sup> <sup>=</sup> <sup><u>3</u></sup> 3 <sup><u>−</u></sup> - <sup>_<u>l</u>_</sup> _l_ <sup>_<u>t</u>_</sup> <sup>_S_</sup> <sup>(</sup> <sup>_p_</sup> <sup>).</sup> <sup>Since</sup> <sup>the</sup> <sup>saturation</sup>
given by Yang’s method is the same as that in Case 4-1, wehave _S_ (ψ <sup>Prop</sup> ( _p_, _lt_ )) − _S_ (ψ <sup>Yang</sup> ( _p_, _lt_ )) = ( <u>33−−</u> _<u>llt</u>_ <sup>−</sup> <sup>_<u>l</u>_</sup> 2 <sup>_<u>t</u>_</sup> 31− _l_ ) _S_ ( _p_ ) =
whose ortho ~~√~~ <u>gonal</u> projection onto the intensi ~~√~~ <u>ty</u> axis√ <u>coin-</u>
cides with 3 _k_ / _K_, i.e., from ~~√~~ <u>1</u> 3 = 3 _k_ / _K_,
3 <sup>1</sup> <sup>_T_</sup> <sup>_r_</sup> <sup>=</sup> <sup>ρ</sup> <sup>_rl_</sup> <sup>/</sup>
cides with 3 _k_ / _K_, i.e., from ~~√~~ <u>1</u> 3 = 3 _k_ / _K_,
3 <sup>1</sup> <sup>_T_</sup> <sup>_r_</sup> <sup>=</sup> <sup>ρ</sup> <sup>_rl_</sup> <sup>/</sup>
we have ~~√~~ <u>ρ</u> _r_ = 3 _k_ /( _Kl_ ).
i-2) If 3 _k_ / _K_ - ϕ _x_, then we compute a point _r_ = ρ _r_ 1 + (1
<u>gonal</u> projection onto the intensi ~~√~~
3 _k_ / _K_, i.e., from ~~√~~ <u>13</u> <sup>1</sup> <sup>_T_</sup> <sup>_r_</sup> <sup>=</sup> <sup>ρ</sup> <sup>_rl_</sup> <sup>/</sup>
~~√~~
( <u>3−</u> _<u>lt</u>_
<u>3−</u> _<u>lt</u>_ <u>1</u> )
3− _l_ <sup>−</sup> <sup>_<u>l</u>_</sup> 2 <sup>_<u>t</u>_</sup> 3− _l_
~~√~~
have _S_ (ψ <sup>Prop</sup> ( _p_, _lt_ )) − _S_ (ψ <sup>Yang</sup> ( _p_, _lt_ )) = 3− _l_ <sup>−</sup> <sup>_<u>l</u>_</sup> 2 <sup>_<u>t</u>_</sup> 31− _l_ _S_ ( _p_ ) =
<u>3(22(3−−</u> _<u>llt</u>_ )) <sup>_S_</sup> <sup>(</sup> <sup>_p_</sup> <sup>) ≥</sup> <sup>0.</sup>
In Case 4-3, we have ψ <sup>Yang</sup> ( _p_, _lt_ ) = ψ <sup>Naik</sup> ( ˜ _p_, _lt_ ) = 1 <u>33−−</u> _<u>l</u>_ 2 _<u>t</u>_ <sup>(</sup> <sup>1</sup> <sup>−</sup> <sup>_p_</sup> <sup>˜)</sup> <sup>and</sup> <sup>_S_</sup> <sup>(ψYang(</sup> <sup>_p_</sup> <sup>,</sup> <sup>_lt_</sup> <sup>))</sup> <sup>=</sup> <sup>(3</sup> <sup>−</sup> <sup>_lt_</sup> <sup>)</sup> <sup>_S_</sup> <sup>( ˜</sup> <sup>_p_</sup> <sup>)</sup> <sup>=</sup> <u>33−−</u> _<u>llt</u>_ <sup>_S_</sup> <sup>(</sup> <sup>_p_</sup> <sup>),</sup>
which is the same as the saturation given by the proposed
method, i.e., _S_ (ψ <sup>Yang</sup> ( _p_, _lt_ )) = _S_ (ψ <sup>Prop</sup> ( _p_, _lt_ )).
Consequently, (18) holds in any case.
In summary, from Properties 4 and 5, we have the following inequality:
i-2) If 3 _k_ / _K_ - ϕ _x_, then we compute a point _r_ = ρ _r_ 1 + (1
ρ _r_ ) _x_ _p_ whose orthogonal projection onto the intensity axis
~~√~~
coincides with 3 _k_ / _K_, i.e., from ~~√~~ <u>13</u> <sup>1</sup> <sup>_T_</sup> <sup>[ρ</sup> <sup>_r_</sup> <sup>1</sup> <sup>+ (1 −</sup> <sup>ρ</sup> <sup>_r_</sup> <sup>)</sup> <sup>_x_</sup> <sup>_p_</sup> <sup>] =</sup>
coincides with 3 _k_ / _K_, i.e., from ~~√~~ <u>13</u> <sup>1</sup> <sup>_T_</sup> <sup>[ρ</sup> <sup>_r_</sup> <sup>1</sup> <sup>+ (1 −</sup> <sup>ρ</sup> <sup>_r_</sup> <sup>)</sup> <sup>_x_</sup> <sup>_p_</sup> <sup>] =</sup>
√
3 _k_ / _K_, we have ρ _r_ = [3 _k_ ( _pia_ + _pib_ )/ _K_ - _l_ ]/[3( _pia_ + _pib_ ) − _l_ ].
i-3) We vote the saturation of _r_ to _hk_ as _hk_ ← _hk_ + _S_ ( _r_ ).
ii) If _u_ <sup>_T_</sup> _i_ _p_ <sup>_p_</sup> <sup>></sup> <sup>θ,</sup> <sup>then</sup> <sup>we</sup> <sup>compute</sup> <sup>the</sup> <sup>intersection</sup> <sup>y</sup> <sup>_p_</sup> <sup>of</sup> <sup>the</sup>
ii) If _u_ <sup>_T_</sup> _i_ _p_ <sup>_p_</sup> <sup>></sup> <sup>θ,</sup> <sup>then</sup> <sup>we</sup> <sup>compute</sup> <sup>the</sup> <sup>intersection</sup> <sup>y</sup> <sup>_p_</sup> <sup>of</sup> <sup>the</sup>
plane _u_ <sup>_T_</sup> _i_ _p_ <sup>_p_</sup> <sup>0</sup> <sup>=</sup> <sup>θ</sup> <sup>and</sup> <sup>the</sup> <sup>line</sup> <sup>passing</sup> <sup>through</sup> <sup>_p_</sup> <sup>and</sup> <sup>1</sup> <sup>.</sup> <sup>Let</sup>
plane _u_ <sup>_T_</sup> _i_ _p_ <sup>_p_</sup> <sup>0</sup> <sup>=</sup> <sup>θ</sup> <sup>and</sup> <sup>the</sup> <sup>line</sup> <sup>passing</sup> <sup>through</sup> <sup>_p_</sup> <sup>and</sup> <sup>1</sup> <sup>.</sup> <sup>Let</sup>
ϕy be the orthogonal projection of y _p_ onto the intensity axis
√
as ϕy = ~~√~~ <u>13</u> <sup>1</sup> <sup>_T_</sup> <sup>y</sup> <sup>_p_</sup> <sup>= [</sup> <sup>_l_</sup> <sup>+ 3(1 −</sup> <sup>_pia_</sup> <sup>−</sup> <sup>_pib_</sup> <sup>)]/[</sup> 3(2 − _pia_ - _pib_ )].
as ϕy = ~~√~~ <u>13</u> <sup>1</sup> <sup>_T_</sup> <sup>y</sup> <sup>_p_</sup> <sup>= [</sup> <sup>_l_</sup> <sup>+ 3(1 −</sup> <sup>_pia_</sup> <sup>−</sup> <sup>_pib_</sup> <sup>)]/[</sup> 3(2 − _pia_ - _pib_ )].
Then, for _k_ = 0, . . ., _K_, we take either step ii-1) or ii-2) followed by√ <u>ii-3)</u> as follows:
ii-1) If 3 _k_ / _K_ ≤ ϕy, then we compute a point _s_ = ρ _s_ _p_
√
)
≤ _S_
)
ψ <sup>Yang</sup> ( _p_, _lt_ )
≤ _S_
)
,
(19)
(
(
ψ <sup>Prop</sup> ( _p_, _lt_ )
ii-1) If 3 _k_ / _K_ ≤ ϕy, then we compute a point _s_ = ρ _s_ _p_
whose ortho√gonal projection onto the inte√nsity axis coincides with 3 _k_ / _K_, i.e., from ~~√~~ <u>13</u> <sup>1</sup> <sup>_T_</sup> <sup>_s_</sup> <sup>=</sup> 3 _k_ / _K_, we have
cides with 3 _k_ / _K_, i.e., from ~~√~~ <u>13</u> <sup>1</sup> <sup>_T_</sup> <sup>_s_</sup> <sup>=</sup> 3 _k_ / _K_, we have
ρ _s_ = 3 _k_ (2√ − _pia_ - _pib_ )/{ _K_ [ _l_ + 3(1 − _pia_ - _pib_ )]}.
ii-2) If 3 _k_ / _K_ - ϕy, then we compute a point _s_ = ρ _s_ 1 +
√
√
<u>gonal</u> projection onto the inte√
3 _k_ / _K_, i.e., from ~~√~~ <u>13</u> <sup>1</sup> <sup>_T_</sup> <sup>_s_</sup> <sup>=</sup>
_S_
(
ψ <sup>Naik</sup> ( _p_, _lt_ )
which shows the order of the saturation values given by
Naik’s, Yang’s and the proposed methods.
4. Saturation-Weighted Histogram Specification
In Naik’s [1] and Yang’s [3] methods, histogram equalization (HE) [5] is typically used for the intensity transformation _f_ ( _l_ ). However, HE does not necessarily improve the
saturation of color images. In this section, we propose an alternative weighted histogram specification (HS) [4] method
for saturation improvement. HS aims to transform an input
image into the output image whose histogram fits a specified target one. The proposed HS method computes the
target histogram from an input color image using the saturation values. In the proposed gamut mapping method described in Section 3, the modified color _p_ <sup>′′′</sup> of _p_ is located
on line segments joining the points 0 and _x_ _p_ (y _p_ ) or the
points _x_ _p_ (y _p_ ) and 1 . The closer _p_ <sup>′′′</sup> is to the corresponding
plane, in Fig. 1, with the unit normal vector _u_ _i_ _p_, the higher
saturation it has. Based on this observation, we calculate a
target histogram by voting the saturation values of the colors
on the line segments to the histogram initialized to 0, and
use the obtained target histogram in HS. That is, each vote
to the histogram is weighted by the saturation value. The
detailed procedure for computing the saturation-weighted
target histogram is as follows.
Let _P_ be an input RGB color image, and let _h_ =
[ _h_ 0, . . ., _hk_, . . ., _hK_ ] be a target histogram initialized by _hk_ =
0 for _k_ = 0, . . ., _K_, e.g., _K_ = 255 × 3 = 765 if _P_ is a 24-bit
color image. Then, for every pixel _p_ ∈ _P_, we do the following procedure:
i) If _u_ <sup>_T_</sup> _i_ _p_ <sup>_p_</sup> <sup>≤</sup> <sup>θ,</sup> <sup>then</sup> <sup>we</sup> <sup>compute</sup> <sup>the</sup> <sup>intersection</sup> <sup>_x_</sup> <sup>_p_</sup> <sup>of</sup> <sup>the</sup>
ii-2) If 3 _k_ / _K_ - ϕy, then we compute a point _s_ = ρ _s_ 1 +
(1 - ρ _s_ ) _p_ whose orth√ogonal projection onto the int√ensity
axis coincides with 3 _k_ / _K_, i.e., from ~~√~~ <u>13</u> <sup>1</sup> <sup>_T_</sup> <sup>_s_</sup> <sup>=</sup> 3ρ _s_ +
√
onal projection onto the int√
3 _k_ / _K_, i.e., from ~~√~~ <u>13</u> <sup>1</sup> <sup>_T_</sup> <sup>_s_</sup> <sup>=</sup>
3ρ _s_ +
√
(1 − ρ _s_ ) _l_ / 3 = 3 _k_ / _K_, we have ρ _s_ = (3 _k_ / _K_ - _l_ )/(3 − _l_ ).
ii-3) We vote the saturation of _s_ to _hk_ as _hk_ ← _hk_ + _S_ ( _s_ ).
(1 − ρ _s_ ) _l_ /
√
3 =
i) If _u_ <sup>_T_</sup> _i_ _p_ <sup>_p_</sup> <sup>≤</sup> <sup>θ,</sup> <sup>then</sup> <sup>we</sup> <sup>compute</sup> <sup>the</sup> <sup>intersection</sup> <sup>_x_</sup> <sup>_p_</sup> <sup>of</sup> <sup>the</sup>
extension of _p_ and the plane _u_ <sup>_T_</sup> _i_ _p_ <sup>_p_</sup> <sup>0</sup> <sup>=</sup> <sup>θ.</sup> <sup>Let</sup> <sup>ϕ</sup> <sup>_x_</sup> <sup>be</sup> <sup>the</sup> <sup>or-</sup>
extension of _p_ and the plane _u_ <sup>_T_</sup> _i_ _p_ <sup>_p_</sup> <sup>0</sup> <sup>=</sup> <sup>θ.</sup> <sup>Let</sup> <sup>ϕ</sup> <sup>_x_</sup> <sup>be</sup> <sup>the</sup> <sup>or-</sup>
thogonal projection of _xp_ onto the intensity axis joining ‘K’
√
and ‘W’ in Fig. 1 as ϕ _x_ = ~~√~~ <u>13</u> <sup>1</sup> <sup>_T_</sup> <sup>_x_</sup> <sup>_p_</sup> <sup>=</sup> <sup>_l_</sup> <sup>/[</sup> 3( _pia_ + _pib_ )]. Then,
and ‘W’ in Fig. 1 as ϕ _x_ = ~~√~~ <u>13</u> <sup>1</sup> <sup>_T_</sup> <sup>_x_</sup> <sup>_p_</sup> <sup>=</sup> <sup>_l_</sup> <sup>/[</sup> 3( _pia_ + _pib_ )]. Then,
for _k_ = 0, . . ., _K_, we take either step i-1) or i-2) followed by
i-3) as fo ~~√~~ <u>llows:</u> ~~√~~
i-1) If 3 _k_ / _K_ ≤ ϕ _x_ where 3 _k_ / _K_ = ∥ _k_ 1 / _K_ ∥ for a point
<u>llows:</u> ~~√~~
3 _k_ / _K_ ≤ ϕ _x_ where
~~√~~
i-1) If 3 _k_ / _K_ ≤ ϕ _x_ where 3 _k_ / _K_ = ∥ _k_ 1 / _K_ ∥ for a point
_k_ 1 / _K_ on the intensity axis, then we compute a point _r_ = ρ _r_ _p_
The pseudocode for computing the saturation-weighted
target histogram is shown in Algorithm 4.
By the above procedure, we obtain the saturationweighted target histogram _h_ for HS, which provides an intensity transformation function for _f_ ( _l_ ) used in the proposed
gamut mapping method described in Section 3.
5. Experimental Results
In this section, we show experimental results of hue-preserving gamut mapping on real color images, and compare
the proposed method with Naik’s method [1] and Yang’s
method [3].
Figure 2 shows the gamut mapping results, where
Fig. 2(a) shows three original images: Couple (underexposed), House (moderately exposed) and Tiffany (overexposed) arranged from left to right. Figures 2(b) and
(c) show the results by Naik’s method and Yang’s one,
where histogram equalization (HE) is used for the intensity transformation _f_ ( _l_ ). Naik’s method decreases the saturation compared with the original images in Fig. 2(a)
as shown in Fig. 2(b), whose images become similar to
their grayscale ones. Yang’s method alleviates the decrease
in saturation compared with Naik’s results as shown in
Fig. 2(c). Figures 2(d) and (e) show the results by the proposed methods with HE and saturation-weighted histogram
specification (SWHS) described in Section 4, respectively.
The images in Fig. 2(d) are more colorful than that in
Fig. 2(c), which demonstrates the saturation improvement
in the proposed gamut mapping method described in Section 3 compared with Yang’s method. The proposed method
with SWHS further improves the saturation as shown in
Fig. 2(e), which demonstrates the effectiveness of the proposed SWHS method described in Section 4.
IIAE Journal, Vol.6, No.3, 2018
Saturation-Improved Hue-Preserving Gamut Mapping 117
<u>Algorithm 4</u> <u>Computing saturation-weighted histogram</u>
Require: RGB color image _P_
Ensure: saturation-weighted histogram _h_ = [ _h_ 0, _h_ 1, . . ., _hK_ ]
1: Initialize√ _<u>h</u>_ as _hk_ = 0 for _k_ = 0, 1, . . ., _K_ ;
2: θ := 1/ 2;
2: θ := 1/ 2;
3: _u_ 1 := θ[0, 1, 1] <sup>_T_</sup>, _u_ 2 := θ[1, 0, 1] <sup>_T_</sup>, _u_ 3 := θ[1, 1, 0] <sup>_T_</sup> ;
4: for each pixel _p_ = [ _p_ 1, _p_ 2, _p_ 3] <sup>_T_</sup> in _P_ do
5: Compute the intensity of _p_ as _l_ = _p_ 1 + _p_ 2 + _p_ 3;
6: Compute _i_ _p_ = arg median _i_ ∈{1,2,3} ( _pi_ );
7: Compute _ia_ = {[( _i_ _p_ - 1) − 1 + 3] mod 3} + 1;
8: Compute _ib_ = {[( _i_ _p_ - 1) + 1] mod 3} + 1;
9: if _u_ <sup>_T_</sup> _i_ _p_ <sup>_p_</sup> <sup>≤</sup> <sup>θ</sup> <sup>then</sup>
9: if _u_ <sup>_T_</sup> _i_ _p_ <sup>_p_</sup> <sup>≤</sup> <sup>θ</sup> <sup>then</sup>
10: _x_ _p_ := _p_ /( _pia_ + _pib_ );
11: ϕ _x_ := ~~√~~ <u>13</u> <sup>1</sup> <sup>_T_</sup> <sup>_x_</sup> <sup>_p_</sup> <sup>;</sup>
12: for _k_ := 0 to _K_ do
~~√~~
13: if 3 _k_ / _K_ ≤ ϕ _x_
~~√~~
13: if 3 _k_ / _K_ ≤ ϕ _x_ then
14: ρ _r_ := 3 _k_ /( _Kl_ );
15: _r_ := ρ _r_ _p_ ;
16: else
17: ρ _r_ := [3 _k_ ( _pia_ + _pib_ )/ _K_ - _l_ ]/[3( _pia_ + _pib_ ) − _l_ ];
18: _r_ = ρ _r_ 1 + (1 − ρ _r_ ) _x_ _p_ ;
19: end if
20: _hk_ ← _hk_ + _S_ ( _r_ );
21: end for
22: else
23: y _p_ := 1 + ( _p_ - 1 )/(2 − _pia_ - _pib_ );
24: ϕy := ~~√~~ <u>13</u> <sup>1</sup> <sup>_T_</sup> <sup>y</sup> <sup>_p_</sup> <sup>;</sup>
25: for _k_ := 0 to _K_ do
~~√~~
26: if 3 _k_ / _K_ ≤ ϕy then
~~√~~
26: if 3 _k_ / _K_ ≤ ϕy then
27: ρ _s_ := 3 _k_ (2 − _pia_ - _pib_ )/{ _K_ [ _l_ + 3(1 − _pia_ - _pib_ )]};
28: _s_ := ρ _s_ _p_ ;
29: else
30: ρ _s_ := (3 _k_ / _K_ - _l_ )/(3 − _l_ );
31: _s_ := ρ _s_ 1 + (1 − ρ _s_ ) _p_ ;
32: end if
33: _hk_ ← _hk_ + _S_ ( _s_ );
34: end for
35: end if
36: end for
Figure 3 shows the saturation images corresponding to
the images in Fig. 2, where the brightness of each pixel in
the saturation images is proportional to the value of saturation _S_ ( _p_ ) in (3). For example, the regions of business suit
in the left image and woman’s face in the right image have
brighter pixels in Figs. 3(d) and (e) than in Figs. 3(b) and
(c).
Figure 4 shows the mean saturation values per pixel of
the images in Fig. 3. The vertical and horizontal axes denote mean saturation and images, respectively. The colors
of bars denote the compared methods, i.e., cyan, green, yellow, orange and red denote the original image, Naik’s results, Yang’s results and the results of the proposed methods
with HE and SWHS, respectively. This figure shows graphically and numerically that Naik’s method (green bar) decreases the mean saturation from the original images (cyan
bar), Yang’s method (yellow bar) gives higher saturation
than Naik’s method, and the proposed methods (orange and
red bars) boost up the mean saturation values further than
Yang’s method.
(a) Original images
(b) Naik’s method [1]
(c) Yang’s method [3]
(d) Proposed method with HE
(e) Proposed method with SWHS
Figure 2: Gamut mapping results.
6. Conclusion
In this paper, we proposed a hue-preserving gamut mapping
method which improves the saturation of color images more
than recently proposed related methods. We also proposed a
histogram specification method with a saturation-weighted
target histogram, and combined it with the proposed gamut
mapping method to boost up the saturation. Experimental
results showed that the proposed methods can improve the
saturation of color images better than the compared methods.
Acknowledgment
This work was supported by JSPS KAKENHI Grant
Number JP16H03019.
IIAE Journal, Vol.6, No.3, 2018
118 H. Yu, K. Inoue, K. Hara and K. Urahama
enhancement without gamut problem,” _IEEE_ _Trans._ _Image_
_Process._, vol. 12, no. 12, pp. 1591–1598, Dec. 2003. DOI:
10.1109/TIP.2003.819231
[2] J.-H. Han, S. Yang, and B.-U. Lee, “A Novel 3-D Color His
(a) Original images
(b) Naik’s method [1]
(c) Yang’s method [3]
(d) Proposed method with HE
(e) Proposed method with SWHS
Figure 3: Saturation images.
Figure 4: Mean saturation.
References
[1] S. K. Naik and C. A. Murthy, “Hue-preserving color image
IIAE Journal, Vol.6, No.3, 2018
togram Equalization Method With Uniform 1-D Gray Scale
Histogram,” _IEEE_ _Trans._ _Image_ _Process._, vol. 20, no. 2, pp.
506–512, 2011. DOI: 10.1109/TIP.2010.2068555
[3] S. Yang and B. Lee, “Hue-preserving gamut mapping with
high saturation,” _Electronics_ _Letters_, vol. 49, no. 19, pp.
1221–1222, 2013. DOI: 10.1049/el.2013.0221
[4] A. Rosenfeld and A. C. Kak, _Digital Picture Processing_, Aca
demic Press, Inc., Orlando, FL, USA, 2nd edition, 1982.
[5] R. C. Gonzalez and R. E. Woods, _Digital_ _Image_ _Processing_
_(3rd_ _Edition)_, Prentice-Hall, Inc., Upper Saddle River, NJ,
USA, 2006.
Hengjun Yu (Member) He received B.Eng.
degree from University of Electronic Science and
Technology of China in 2014. He is currently
a graduate student in Kyushu University. His
research interests include image processing and
gesture recognition.
Kohei Inoue (Member) He received B.Des.,
M.Des. and D.Eng. degrees from Kyushu Institute of Design in 1996, 1998 and 2000, respectively. He is currently an Associate Professor
in Kyushu University. His research interests include pattern recognition and image processing.
Kenji Hara (Non-member) He received the
BE and ME degrees from Kyoto University in
1987 and 1989, respectively, and the PhD degree from Kyushu University in 1999. He is currently an Associate Professor in Kyushu University. His research interests include physics-based
vision and geometric modeling.
Kiichi Urahama (Member) He received
M.Eng. and D.Eng. degrees from Kyushu
University in 1976 and 1980. From 1980 to
1995 he was an Associate Professor in Kyushu
Institute of Technology. He is now a Professor
in Kyushu University. His research interests
include pattern recognition, image processing
and computer graphics.