기본 정보
- 저자
- DOI
- 10.3390/s21082740
- 저널
- Sensors
- 발행년도
- 2021
- 발행기관
- Multidisciplinary Digital Publishing Institute
- 피인용수
- 20
- 라이선스
- cc-by
- 논문 유형
- –
- 언어
- –
- 원문 페이지
- https://doi.org/10.3390/s21082740
- 토픽
- Color Science and Applications
- OpenAlex ID
- W3153306790
평가 내용
- 관련도
- 사업분야
- 필름·전자재료 · (15) 디스플레이 패널재료
- 부 분야
- –
- R&D 측면
- –
- 확신도
- –
- 근거 용어
- –
- 판단 근거
- 임베딩 유사도 기반 평가로 '필름·전자재료 > 디스플레이 패널재료' 분야에 선정된 논문입니다.
- R&D 활용 포인트
- –
- 평가 입력
- –
초록
In this paper, a novel method to modify color images for the protanopia and deuteranopia color vision deficiencies is proposed. The method admits certain criteria, such as preserving image naturalness and color contrast enhancement. Four modules are employed in the process. First, fuzzy clustering-based color segmentation extracts key colors (which are the cluster centers) of the input image. Second, the key colors are mapped onto the CIE 1931 chromaticity diagram. Then, using the concept of confusion line (i.e., loci of colors confused by the color-blind), a sophisticated mechanism translates (i.e., removes) key colors lying on the same confusion line to different confusion lines so that they can be discriminated by the color-blind. In the third module, the key colors are further adapted by optimizing a regularized objective function that combines the aforementioned criteria. Fourth, the recolored image is obtained by color transfer that involves the adapted key colors and the associated fuzzy clusters. Three related methods are compared with the proposed one, using two performance indices, and evaluated by several experiments over 195 natural images and six digitized art paintings. The main outcomes of the comparative analysis are as follows. (a) Quantitative evaluation based on nonparametric statistical analysis is conducted by comparing the proposed method to each one of the other three methods for protanopia and deuteranopia, and for each index. In most of the comparisons, the Bonferroni adjusted p-values are <0.015, favoring the superiority of the proposed method. (b) Qualitative evaluation verifies the aesthetic appearance of the recolored images. (c) Subjective evaluation supports the above results.
본문 99,803자
본문 펼치기
# _sensors_
_Article_
## A Novel Approach to Image Recoloring for Color Vision Deficiency
George E. Tsekouras <sup>1,</sup> * , Anastasios Rigos <sup>1</sup> , Stamatis Chatzistamatis <sup>1</sup> , John Tsimikas <sup>2</sup> , Konstantinos Kotis <sup>1</sup> ,
George Caridakis <sup>1</sup> and Christos-Nikolaos Anagnostopoulos <sup>1</sup>
1 Department of Cultural Technology and Communications, University of the Aegean, 811 00 Mitilini, Greece;
a.rigos@aegean.gr (A.R.); stami@aegean.gr (S.C.); kotis@aegean.gr (K.K.); gcari@aegean.gr (G.C.);
canag@ct.aegean.gr (C.-N.A.)
2 Department of Statistics and Actuarial-Financial Mathematics, University of the Aegean,
811 00 Mitilini, Greece; tsimikas@aegean.gr
* Correspondence: gtsek@ct.aegean.gr; Tel.: +30-22-510-36631
[���������](https://www.mdpi.com/article/10.3390/s21082740?type=check_update&version=2)
[�������](https://www.mdpi.com/article/10.3390/s21082740?type=check_update&version=2)
Citation: Tsekouras, G.E.; Rigos, A.;
Chatzistamatis, S.; Tsimikas, J.; Kotis,
K.; Caridakis, G.; Anagnostopoulos,
C.-N. A Novel Approach to Image
Recoloring for Color Vision
Deficiency. _Sensors_ 2021, _21_, 2740.
[https://doi.org/10.3390/s21082740](https://doi.org/10.3390/s21082740)
Academic Editor: Fernanda Irrera
Received: 15 March 2021
Accepted: 9 April 2021
Published: 13 April 2021
Publisher’s Note: MDPI stays neutral
with regard to jurisdictional claims in
published maps and institutional affil
iations.
Copyright: © 2021 by the authors.
Licensee MDPI, Basel, Switzerland.
This article is an open access article
distributed under the terms and
conditions of the Creative Commons
Attribution (CC BY) license [(https://](https://creativecommons.org/licenses/by/4.0/)
[creativecommons.org/licenses/by/](https://creativecommons.org/licenses/by/4.0/)
4.0/).
Abstract: In this paper, a novel method to modify color images for the protanopia and deuteranopia
color vision deficiencies is proposed. The method admits certain criteria, such as preserving image
naturalness and color contrast enhancement. Four modules are employed in the process. First, fuzzy
clustering-based color segmentation extracts key colors (which are the cluster centers) of the input
image. Second, the key colors are mapped onto the CIE 1931 chromaticity diagram. Then, using the
concept of confusion line (i.e., loci of colors confused by the color-blind), a sophisticated mechanism
translates (i.e., removes) key colors lying on the same confusion line to different confusion lines so
that they can be discriminated by the color-blind. In the third module, the key colors are further
adapted by optimizing a regularized objective function that combines the aforementioned criteria.
Fourth, the recolored image is obtained by color transfer that involves the adapted key colors and the
associated fuzzy clusters. Three related methods are compared with the proposed one, using two
performance indices, and evaluated by several experiments over 195 natural images and six digitized
art paintings. The main outcomes of the comparative analysis are as follows. (a) Quantitative
evaluation based on nonparametric statistical analysis is conducted by comparing the proposed
method to each one of the other three methods for protanopia and deuteranopia, and for each index.
In most of the comparisons, the Bonferroni adjusted _p_ -values are <0.015, favoring the superiority of
the proposed method. (b) Qualitative evaluation verifies the aesthetic appearance of the recolored
images. (c) Subjective evaluation supports the above results.
Keywords: color vision deficiency; image recoloring; confusion line; chromaticity diagram; fuzzy
clustering; differential evolution; color transfer; natural images; art paintings
1. Introduction
The human trichromatic color vision originates from the comparison of the rates at
which photons are absorbed by three types of photoreceptor cone-cells namely, the L-, M-,
and S-cones [1,2]. In practice, the above types of cones define the three channels of the LMS
color space, and only as an approximation of their stimulation they correspond to the red,
green, and blue colors, respectively. Color vision deficiency (CVD) (or color-blindness) is
defined as the human eye’s inability to correctly match and perceive colors affecting at least
8% of males and 0.8% of females [2,3]. It is caused by genetic mutations that lead either to
the absence or dysfunctionality of one or two types of cones [2,4,5]. The impact of CVD
on human vision is reflected on various physiological levels such as color discrimination,
object recognition, color appearance, color naming, etc. [1,6].
There are three categories of CVDs [1–3,5]. The most severe and the rarest one is the
achromatopsia caused by the absence of two types of cones. The second is the dichromacy,
where one type of cones is missing. Dichromacy includes three subcategories: protanopia,
_Sensors_ 2021, _21_, 2740 2 of 30
deuteranopia, and tritanopia, depending on whether the L-, the M-, or the S-cones are
missing, respectively. Protanopia and deuteranopia have similar effects and belong to the
so-called red–green color vision deficiency. The third is the anomalous trichromacy, where
no cone types are missing but at least one of them is malfunctioning. It also comprises
three subcategories namely the protanomaly, deuteranomaly and tritanomaly depending
on whether the L-, the M-, and the S-cones are affected, respectively.
This paper considers the defects of protanopia and deuteranopia. Since protanopes
and deuteranopes lack one primary type of cone, they match the full-color spectrum using
the other two primary types of cones. Thus, they confuse only the colors that can be
perceived and discriminated by the missing primary type of cone [3].
An effective tool to describe the above color confusion process is the confusion lines
defined on the CIE 1931 chromaticity diagram [4,5]. A confusion line is defined as the
locus of the set of colors confused by the protanope or deuteranope. All confusion lines
intersect at a point outside the chromaticity diagram, which is called copunctal point
and it is imaginary stimulus realized as the locus of the missing primary [3,6]. The colorblind confuses all colors belonging to the same line and therefore the entire line appears
achromatic to him [4]. In essence, those colors are perceived by the color-blind with the
same colorfulness, which consists of hue and saturation, but they can be identical only
under the appropriate intensity [6–8]. Figure 1 shows some confusion lines for protanopia
and deuteranopia taken from Judd’s revised chromaticity diagram [3,9].
Figure 1. Confusion lines for protanopia ( left diagram ) with copunctal point ( _xcp_, _ycp_ ) = (0.763, 0.236) and deuteranopia
( right diagram ) with copunctal point ( _xcp_, _ycp_ ) = (1.4, _−_ 0.4).
To solve the problem of color-blindness, image recoloring algorithms have been implemented following different approaches. In any case however, the design of image
recoloring algorithms must fulfill certain requirements. The most important are the preservation of color naturalness and the preservation or enhancement of color contrast [10].
Naturalness refers to the reduction of the perceptual color difference between the original
and the recolored image, and therefore it quantifies their color distribution and aesthetic
similarity. Contrast is important for object recognition and color discrimination, especially
in the case where two different objects are perceived by the color-blind as one object.
So far, a wide range of recoloring methods have been developed based on optimization
of specially designed objective functions [11–16] or regularized objective functions [17–19]
_Sensors_ 2021, _21_, 2740 3 of 30
that uniformly combine the naturalness and contrast criteria, pixel-based classification [20],
spectral filtering [21], cluster analysis [22], gradient domain recoloring [23,24], confusionline based [7,8,25], color transformation and rotation/translation [26–29], neural networks [30], image retrieval [31], and deep learning [32].
In this study, a novel approach to image recoloring for protanopes and deuteranopes
is developed. The proposed method encompasses four modules: (a) key color extraction,
(b) key color translation, (c) key color optimization, and (d) cluster-to-cluster color transfer.
The first module performs color segmentation of the input image using fuzzy clustering to
extract a number of cluster centers, called key colors. In the second module, the key colors
are mapped in the CIE 1931 chromaticity diagram. Colors confused by the color blind
(called here confusing key colors) are ranked in terms of the cardinalities of the associated
clusters. Then, an iterative process is set up, where in each iteration the confusing key color
with the highest rank is translated (removed) to its closest non-occupied (by other key
colors) confusion line. In the third module, only the luminance channel of the translated
confusing key colors is further optimized in terms of a regularized objective function that
uniformly quantifies the contrast and the naturalness criteria. Finally, the fourth module
uses a color transfer mechanism to finalize the recoloring process of the image’s pixels.
The paper is organized as follows. Section 2 presents the state of the art and the current
contribution. Section 3 describes the proposed methodology in detail. The experimental
evaluation and the respective findings are reported and analyzed in Section 4. Finally, the
paper concludes in Section 5.
2. State of the Art and the Current Contribution
_2.1._ _Image Recoloring for the Color-Blind:_ _State of the Art_
One of the most challenging problems in color science is the identification of the
dichromatic color appearance so that normal trichromats can realize the way color-blinds
experience colors. In their seminal papers, Vienot et al. [33,34] developed an algorithmic framework to simulate the dichromatic color vision. Their findings suggested that
protanopia and deuteranopia are reduced forms of normal trichromatic vision. In particular, they showed that the dichromat color gamut is a plane in the three-dimensional
RGB space. Having generated the dichromat simulation of an image using the above
method, recoloring processes can be applied to carry out color adaptation of the image
in order to enhance color appearance, color discrimination, and object recognition for the
color-blind [10,13,17].
So far, several approaches have been developed to perform image recoloring. Kuhn et al. [13]
transformed the red–green–blue (RGB) dichromatic simulated gamut in the CIELab color
space and generated a set of key colors. They minimized an objective function that included
distances between key colors and their projections on the Lb plane. Finally, the Lb plane
was rotated to match the desired colors. While the method manages to increase the contrast,
it finally changes the colors significantly due to the rotation process and the naturalness deteriorates. In [17] the CIELab color space was used to perform image recoloring. Confusing
colors were rotated in the ab plane. The rotation angles were calculated by the minimization
of a regularized objective function that involved color contrast and naturalness criteria.
However, the above minimization might compromise either the contrast or the naturalness
requirement. Han et al. [7] also employed the CIELab space, where the original image was
segmented into regions and extracted representative colors. Confusing colors belonging
to the same confusion line were relocated so that all regions can be discriminated by the
color-blind. However, the selected number of confusion lines was very large, exceeding the
number of wavelengths seen by the color-blind. Therefore, it is possible colors belonging
to two or more confusion lines may still be confused and the contrast of the recolored
image is compromised. Huang et al. [25] applied mixture modeling in the CIELab space
to partition the colors into clusters. The distance between pairs of cluster centers was
generalized to quantify the dissimilarity between pairs of distributions. Based on these
dissimilarities an objective function was minimized to obtain an efficient recoloring of the
_Sensors_ 2021, _21_, 2740 4 of 30
original image. The above method increases the contrast but there is no control over hue
changes for the confusing colors and thus, the color naturalness might be compromised.
Meng and Tanaka [16] modified the lightness in the CIELab space without changing the
hue of the original image. That modification was carried out in terms of an optimization
problem where the objective function included color differences. Although this strategy
seems to effectively maintain the naturalness, the unchanged hue in combination with the
changed lightness may negatively affect the contrast of the recolored image. Kang et al. [15]
calculated a set of key colors in the CIELab. The authors estimated the differences between
pairs of them and projected the resulting difference vectors on the color subspace seen by
the dichromats, which is a plane. Then, they minimized an objective function that included
the above projections and attempted to improve the local contrast between color regions of
the image, and the image’s global contrast. While the optimization method improves the
contrast, there is no mechanism to control the naturalness, which might be compromised.
Apart from the CIELab, a commonly used color space is the Hue-Saturation-Value
(HSV). For example, Wong and Bishop [27] showed that effective results can be obtained if
the saturation and brightness remain the same as in the original image, while the hue value
is shifted by applying a nonlinear mapping that involves a power of the hue value. This
process makes confused hue ranges distinguishable from each other. The hues’ remapping
process finally improves the contrast, while the power hue shift retains the aesthetics of
the original image and thus the naturalness. Similarly, Chin and Sabudin [28] transformed
the original image into the HSV color space, where the hue value was appropriately
rotated, while the saturation and brightness remained unchanged. Specifically, the ranges
of reds and greens are translated towards the ranges of blues and yellows, which are
distinguishable by the protanopes and deuteranopes. Using the above strategy, the contrast
seems to be enhanced while the naturalness is compromised.
The RGB color space has been considered, also. Ma et al. [30] applied a self-organizing
map (SOM) to transform the RGB space into the dichromatic space by preserving the
distance ratios between homologous colors. The resulting code-vectors are mapped into
a rectangular color palette that has black and white in two opposing corners, blue and
yellow in the other two corners, obtaining the final image recoloring. Although the method
enhances the color contrast, the naturalness may be compromised because the color palette
utilizes only blue and yellow and their variants. In [32], a recoloring for art paintings
was proposed. First, a deep learning network was used to perform transfer learning
from natural images to art paintings and then a semantic segmentation approach was
set up to generate annotated object recognition of art paintings. The recoloring process
was carried out by optimizing an objective function that involved only the colors that
were significantly different from the respective simulated ones. Since there are recolored
only colors associated with the annotated objects the naturalness is improved, but the
contrast might be compromised. In [23], the RGB image was represented as a vectorvalued function. Then, using the gradient domain, a global transformation followed by a
multi-scale reintegration took place to obtain the recolored image. However, it tended to
produce visual halo artifacts near strong chromatic edges, which might negatively affect
both naturalness and contrast.
Finally, in [26] the original and the simulated images were transformed in the XYZ
space, with normalized luminance values. Regarding the other two channels, errors
between homologous colors of the original and the simulated images were derived and
rotated. As the rotation angle increases, the selected colors are far away from the dichromat
plane and vice-versa. In any case, the colors do not change that much for distant colors and
the naturalness is preserved. However, the above rotation strategy will not favor contrast
enhancement.
_2.2._ _The Current Contribution_
The method proposed in this paper uses four algorithmic modules (as mentioned
in Section 1) and builds on a novel perspective to the image recoloring for the color
_Sensors_ 2021, _21_, 2740 5 of 30
blind. To enhance color discrimination and color appearance, the method provides certain
contributions, which are delineated as follows:
_•_ The first contribution concerns the number of colors to be modified. In contrast to
other approaches that adapt all colors of the input image [26–28,30], our approach
modifies only the colors confused by the color blind. Since not all image colors are
modified it is expected that the recolored image will maintain the naturalness.
_•_ The second contribution assumes that the adaptation of confusing colors should be
driven by a confusion-line based approach. Confusion lines are the product of extensive experimentations [3,6,9]. As such, they accurately reflect the way a dichromat
perceives colors. In contrast to other approaches that perform the recoloring only in
terms of optimization [15,16,23,25,32], this paper introduces a mechanism to remove
specific confusing colors to specific confusion lines, thus enhancing the contrast. Since
each color is transferred to its closest non-occupied confusion line, it is expected that
the naturalness will be preserved, also.
_•_ The third contribution concerns the need to further optimize both naturalness and contrast. Unlike other approaches that use color or plane rotation mechanisms [13,17,27,28],
herein we manipulate the luminance channel to minimize a regularized objective that
uniformly combines the naturalness and contrast criteria.
In summary, the main idea of the current contribution is to build a four-module
approach, where the naturalness and contrast are gradually improved from one module to
the next, taking into account specific requirements.
3. The Proposed Method
_3.1._ _Preliminaries_
The processing of the proposed method is depicted in Figure 2. There are four
operational modules involved. (a) Fuzzy clustering [35] is applied to the input image
to extract a set of key colors, which are the resulting cluster centers, in the RGB color
space. A subset of key colors corresponds to confusing image colors, called here confusing
key colors, while the rest of them to non-confusing colors, called here non-confusing
key colors. (b) The confusing key colors are ranked in decreasing order according to the
cardinalities of the associated clusters. Then, all key colors are mapped on the CIE 1931
chromaticity diagram defined on the _xyY_ color space. An iterative process is carried out,
where in each iteration the highest ranked confusing key color, if necessary, is translated
(moved) to a different confusion line and becomes discriminated by the color-blind. (c) The
modified key colors are transformed back to the RGB space. To avoid suboptimal results,
an objective function that combines the naturalness and contrast criteria is minimized
by the differential evolution algorithm [36]. This module obtains the final recolored key
colors. (d) All pixels of the input image that are not discriminated by the color blind along
with the above recolored key colors are mapped in the _lαβ_ space [37]. Then, each pixel
is recolored by a cluster-to-cluster color transfer approach, which involves the key colors
and the associated clusters. Finally, the recolored pixels are mapped into the RGB space,
obtaining the recolored image. The color space pipeline used is depicted on the top of
Figure 2.
_Sensors_ 2021, _21_, 2740 6 of 30
Figure 2. The basic structure of the proposed recoloring method.
The mapping from _RGB_ to _xyY_ is denoted as _ϕ_ : _RGB →_ _xyY_, and from _RGB_ to _lαβ_
as _ψ_ : _RGB →_ _lαβ_ . In the above transformations, all colors were gamma-corrected, and
the procedure was carried out in terms of the CIE Standard Illuminant D65 [1,38]. The
analytical description for the former can be found in [1,38], while for the latter in [39,40].
The _lαβ_ space is a transformation of the LMS model and was introduced by Ruderman
et al. in [37]. The reason for using this space in this paper is that it reduces the correlation between the three channels, enabling the elimination of undesirable cross-channel
effects [39,40]. Moreover, its logarithmic-based nature enables the uniform changes in channel intensity to be equally detectable, which is expected to derive an effective pixel-based
recoloring.
To obtain the dichromat simulation of a color we use the algorithm developed by
Vienot et al. [33,34]. This algorithm shows that the dichromat color space perceived by people suffering from dichromacy is a plane in the _RGB_ space, denoted as _RGBD_, where _D_ refers
to protanopia or deuteranopia, interchangeably. Therefore, _RGBD_ is a proper subspace of
the _RGB_ space, _RGBD_ _⊂_ _RGB_, which means that _x_ _∈_ _RGBD_ _⇒_ _x_ _∈_ _RGB_ . The mapping,
from _RGB_ to _RGBD_ is _fD_ : _RGB →_ _RGBD_ . Thus, _RGBD_ = _{_ _x_ : _x_ = _fD_ ( _c_ ), _c_ _∈_ _RGB}_ .
Since _c_ _∈_ _RGB_ its follows that it has three coordinates, one for each channel of the _RGB_
model: _c_ = [ _cR_ _cG_ _cB_ ] <sup>_T_</sup> . Relationally, _x_ belongs to the _RGBD_ and, as showed above, it also
belongs to the _RGB_ space. Therefore, _x_ has also three channel values: _x_ = [ _xR_ _xG_ _xB_ ] <sup>_T_</sup> . A
detailed description for the calculations of the transformation _fD_ ( _·_ ) is given in [33,34].
_3.2._ _Module 1:_ _Key Color Extraction_
with 1 _≤_ _t_ 1 _≤_ _N_, 1 _≤_ _t_ 2 _≤_ _M_ and _p_ _t_ 1 _t_ 2 is
The _N × M_ sized input image is _P_ =
_p_ _t_ 1 _t_ 2
the ( _t_ 1, _t_ 2) pixel of the image. To reduce the computational complexity, the image pixels
are grouped into _m_ color bins _Bk_ (1 _≤_ _k ≤_ _m_ ), with radius _ρ_ . The radius is selected to be
neither very small (because the computational time would be increased) nor large (because
the resulting color matching would be inefficient). Through experimentation we found that
a credible interval is _ρ_ _∈_ [5, 10]. For each bin, the representative color is the mean of all
pixels belonging to that bin. The set of the representative colors is _C_ = _{_ _c_ 1, _c_ 2, . . ., _c_ _m}_,
with _m <_ _N · M_ . The dichromat simulation of _C_ is: _fD_ ( _C_ ) = _{ fD_ ( _c_ ) : _c_ _∈_ _C}_ .
If the color _c_ _k_ and its dichromat simulation _fD_ ( _c_ _k_ ) lie in a sphere with radius _δ_, which
is appropriately selected, then the two colors appear to be the same to a protanope or
deuteranope, meaning that the color _c_ _k_ is not confused, otherwise it is confused by the
color-blind. Thus, the set _C_ is divided into two subsets, _CA_ containing confusing colors
and _CB_ containing non-confusing colors,
_CA_ = _{_ _c_ _∈_ _C_ : _∥_ _c_ _−_ _fD_ ( _c_ ) _∥≥_ _δ}_ (1)
_CB_ = _C −_ _CA_ (2)
_Sensors_ 2021, _21_, 2740 7 of 30
The physical meaning of the parameter _δ_ is to decide whether the distance between
_c_ _k_ and its dichromat simulation _fD_ ( _c_ _k_ ) is small enough. If this is the case, the two colors
belong to the same color region in the _RGB_ color space and therefore, the color-blind
perceives the color _c_ _k_ correctly. Otherwise, they belong to different color regions, meaning
that the color blind confuses the color _c_ _k_ with other colors. The parameter takes values
between 0 and 255. However, its value should not be very large or very small. Through
extensive experimentation on the Flowers and Fruits data sets, which were taken from the
McGill’s calibrated color image database [41] and contain 195 calibrated color images, we
found that a credible interval for the parameter _δ_ in Equation (1) is _δ ∈_ [20, 30].
Next, the well-known fuzzy c-means [35] is applied separately to the sets _CA_ and
_CB_ . The target is to partition the elements of the above sets into _nA_ and _nB_ fuzzy clusters,
respectively. There are several reasons for choosing the fuzzy c-means algorithm. First,
it is not sensitive to random initialization. Second, it involves soft competition between
cluster centers, which implies that all clusters have the potential to move and to win data
avoiding the creation of underutilized small clusters. Finally, it can generate compact and
well separated clusters, thus effectively revealing the underlying data structure.
The sets of the resulting cluster centers are,
_SA_ = _{_ _a_ 1, _a_ 2, . . ., _a_ _nA_ _}_ and _SB_ = _{_ _b_ 1, _b_ 2, . . ., _b_ _nB_ _}_ (3)
Only for _CA_, the clusters are denoted as: _A_ 1, _A_ 2, . . ., _AnA_ .
Definition 1. _A color_ _c_ _k_ (1 _≤_ _k_ _≤_ _m_ ) _of the set C belongs to the cluster_ _Ai_ (1 _≤_ _i_ _≤_ _nA_ ) _if it_
_also belongs to the set CA and appears to have its maximum membership degree to that cluster._ _Then,_
_each pixel of the input image belonging to the corresponding bin Bk_ (1 _≤_ _k ≤_ _m_ ) _also belongs to_
_the cluster_ _Ai._ _The cardinality of the cluster_ _Ai_ _is defined as the number of pixels of the input image_
_that belong to_ _Ai, and it is denoted as |Ai|._
The elements of _SA_ are the key colors of the confusing image colors, called confusing
key colors, and the elements of _SB_ the key colors of the non-confusing image colors, called
non-confusing key colors. The problem is how to appropriately recolor the key colors of
_SA_ to obtain the set _SA_, _rec_
_SA_, _rec_ = _{_ _a_ 1, _rec_, _a_ 2, _rec_, . . ., _a_ _nA_, _rec}_ (4)
where _rec_ stands for the recoloring. The next two modules (presented in Sections 3.3 and 3.4)
describe in detail the above task.
_3.3._ _Module 2:_ _Key Color Translation_
The sets _SA_ and _SB_ are mapped onto the _xyY_ space as,
_ϕ_ ( _SA_ ) = _{ϕ_ ( _a_ 1), _ϕ_ ( _a_ 2), . . ., _ϕ_ ( _a_ _nA_ ) _}_ (5)
_ϕ_ ( _SB_ ) = _{ϕ_ ( _b_ 1), _ϕ_ ( _b_ 2), . . ., _ϕ_ ( _b_ _nB_ ) _}_ (6)
with
_ϕ_ ( _a_ _i_ ) =
_ϕ_ ( _a_ _i_ ) _x_, _ϕ_ ( _a_ _i_ ) _y_, _ϕ_ ( _a_ _i_ ) _Y_
- _b_ _j_
- = - _ϕ_
_x_ <sup>,</sup> <sup>_ϕ_</sup>
_y_ <sup>,</sup> <sup>_ϕ_</sup>
_Y_
- _T_
, _i_ = 1, 2, . . ., _nA_ (7)
- _T_
, _j_ = 1, 2, . . ., _nB_ (8)
- _b_ _j_
- _b_ _j_
_ϕ_
- _b_ _j_
where _ϕ_ ( _a_ _i_ ) _x_ is the hue, _ϕ_ ( _a_ _i_ ) _y_ the colorfulness, and _ϕ_ ( _a_ _i_ ) _Y_ the relative luminance coordinate. The latter takes values in [0, 100]. Note that, in view of Equations (4), (5), and (7), the
problem is to recolor the elements of _ϕ_ ( _SA_ ) and map them back to the RGB space.
_Sensors_ 2021, _21_, 2740 8 of 30
The CIE 1931 chromaticity diagram is the projection of the _xyY_ color space on the
_xy_ -plane [1,9,38]. Thus, the key colors in Equations (7), (8) are projected as points on the
_xy_ -plane,
- _T_ = - _ϕ_ ( _a_ _i_ ) _x_, _ϕ_ ( _a_ _i_ ) _y_ - _T_ (9)
-
- _T_ = _ϕ_ _b_ _j_
_v_ _i_ =
_u_ _j_ =
- _vix_, _viy_
- _uix_, _uiy_
_x_ <sup>,</sup> <sup>_ϕ_</sup>
- _T_
(10)
_y_
- _b_ _j_
The above points include only the chromaticity coordinates, which consists of hue and
colorfulness. By defining the sets _V_ = _{_ _v_ 1, _v_ 2, . . ., _v_ _nA_ _}_ and _U_ = _{_ _u_ 1, _u_ 2, . . ., _u_ _nB_ _}_, we
can easily verify that there is a bijective correspondence between _V_ and _SA_ (thus, between
_V_ and _{A_ 1, _A_ 2, . . ., _AnA_ _}_ ), and also between _U_ and _SB_ .
To recolor the elements of _ϕ_ ( _SA_ ) we must, first, recolor the elements of _V_ . The recoloring of _V_ is denoted as _Vrec_ = _{_ _v_ 1, _rec_, _v_ 2, _rec_, . . ., _v_ _nA_, _rec}_ . To address this issue, a
confusion-line based algorithm has been developed, which is described within the next
paragraphs.
The colors _{_ _v_ 1, _v_ 2, . . ., _v_ _nA_ _}_ are ranked in decreasing order according to the cardinalities of the associated clusters _{A_ 1, _A_ 2, . . ., _AnA_ _}_,
- _nA_
### rank ( v i ) = |A|i ∑
_ℓ_ =1
_|A|ℓ_ (11)
The reason for using the above ranking function is that a key color corresponding to a
cluster with large cardinality is associated with a large image area, and its contribution to
the final result should be more important.
Proper subsets of the set of confusion lines of Judd’s revised chromaticity diagram [3,9]
for protanopia and deuteranopia are employed. The number of total confusion lines is
defined as _QD_, where _D_ refers either to protanopia or deuteranopia. All colors belonging
to the same confusion line are not discriminated one from another and they are perceived
as a single color by the color-blind. Using the standard point-to-line distance, each one of
the colors of _V_ and _U_ is assigned to its closest confusion line. The distance of the point
_v_ = ( _vx_, _vy_ ) to the confusion line _L_ that passes through the copunctal point ( _xcp_, _ycp_ ) and
a point ( _x_ 0, _y_ 0) in the chromaticity diagram is given as follows,
�� _<u>y</u>_ <u>0</u> _−_ _<u>vy</u>_
- _−_ ( _<u>x</u>_ <u>0</u> _−_ _<u>vx</u>_ )� _<u>ycp</u>_ _−_ _<u>y</u>_ <u>0</u>
(12)
<u>�2</u>
_d_ ( _v_, _L_ ) =
��� _<u>xcp</u>_ _−_ _<u>x</u>_ <u>0</u>
_<u>x</u>_ <u>0��</u> _<u>y</u>_ <u>0</u> _−_ _<u>vy</u>_ - _−_ ( _<u>x</u>_ <u>0</u> _−_ _<u>vx</u>_ )� _<u>ycp</u>_ _−_ _<u>y</u>_ <u>0���</u>
<u>��</u> _xcp −_ _x_ 0�2 + <u>�</u> _ycp −_ _y_ 0�2
<u>�</u>
<u>�2</u> + _ycp −_ _y_ 0
Each confusion line is labeled as “occupied” if it contains at least one of the colors
_{_ _v_ 1, _v_ 2, . . ., _v_ _nA_ _}_ and _{_ _u_ 1, _u_ 2, . . ., _u_ _nB_ _}_, or “non-occupied” if it does not contain any
,
colors. The set of the “non-occupied” confusion lines is _CLD_ =
where _|·|_ stands for set cardinality.
_L_ 1, _L_ 2, . . ., _L|CLD|_
Next, we identify colors of the set _V_ to be translated to different confusion lines.
Regarding the occupied confusion lines, the following cases can happen:
_•_ Case 1: A confusion line contains at least one color from the set _U_ . If it also contains
colors from the set _V_, then all these colors are going to be translated to separate
confusion lines.
_•_ Case 2: A confusion line does not contain colors from the set _U_, but it contains at least
two colors from the set _V_ . In this case, the color with the lowest rank remains on the
confusion line, while the rest of the colors are translated to different confusion lines.
_•_ Case 3: A confusion line contains only one color, which belongs to the set _V_ . In this
case, no color is going to be translated.
The identified colors to be translated form the set Φ _V_, with Φ _V_ _⊆_ _V_ . The point-to-line
distances (see Equation (12)) between colors belonging to Φ _V_, which are points on the
_Sensors_ 2021, _21_, 2740 9 of 30
chromaticity diagram, and lines belonging to the set _CLD_ are calculated. In addition, the
standard projection of the point _v_ on the line _L_ is calculated and symbolized as _proj_ ( _v_, _L_ ).
Then, an iterative algorithm takes place. Each iteration involves the following steps.
First the algorithm identifies the color _v_ _∗_ _∈_ Φ _V_ with the highest rank as,
(13)
_v_ _∗_ =
- _v_ <sup>_′_</sup> _∈_ Φ _V_ : _rank_ ( _v_ <sup>_′_</sup> ) = max
_v∈_ Φ _V_
_{rank_ ( _v_ ) _}_
Then, the non-occupied confusion line _L∗_ _∈_ _CLD_ that is closer to _v_ _∗_ is determined,
_d_ ( _v_ _∗_, _L∗_ ) = min
_L∈CLD_
_{d_ ( _v_ _∗_, _L_ ) _}_ (14)
Next, the _v_ _∗_ is translated to its projection point _v_ _∗_, _tr_ on the line _L∗_,
_v_ _∗_, _tr_ = _proj_ ( _v_ _∗_, _L∗_ ) (15)
Since the color _v_ _∗_ has been removed it must be deleted form the set Φ _V_, while the
same holds for the line _L∗_ and the set _CLD_ . Thus, the iteration ends with the updating
process of the sets Φ _V_ and _CLD_,
Φ _V_ = Φ _V −{_ _v_ _∗}_ (16)
_CLD_ = _CLD −{L∗}_ (17)
Using the above iterative process, all colors of _V_ = _{_ _v_ 1, _v_ 2, . . ., _v_ _nA_ _}_ are recolored,
_v_ _i_, _rec_ =
- _v_ _i_, _tr_, _i f_ _v_ _i_ _was_ _translated_
(18)
_v_ _i_, _otherwise_
Finally, we obtain the recoloring of the set _V_ as follows,
_Vrec_ = _{_ _v_ 1, _rec_, _v_ 2, _rec_, . . ., _v_ _nA_, _rec}_ (19)
The next algorithm presents the above steps in a systematic manner.
Algorithm 1: Translation process of the colors belonging to the set _V_
Inputs : The sets _V_, Φ _V_, _CLD_ ; Output : The set _Vrec_
Set _|_ Φ _V_ _|_ 0 = _|_ Φ _V_ _|_ and _|CLD|_ 0 = _|CLD|_
While _|_ Φ _V_ _| >_ 0 and _|CLD| >_ 0 do
1. Apply Equation (13) to estimate the _v_ _∗_ _∈_ Φ _V_ with the highest rank.
2. Apply Equation (14) to identify the confusion line _L∗_ _∈_ _CLD_, which is closer to _v_ _∗_ .
3. Apply Equation (15) to translate the color _v_ _∗_ to its projection point _v_ _∗_, _tr_ lying on _L∗_ .
4. Apply Equation (16) to update the set Φ _V_
5. Apply Equation (17) to update the set _CLD_
End While
6. Apply Equation (18) to recolor the elements of _V_ and form the recolored set _Vrec_ in
Equation (19)
Remark 1 . _Regarding Algorithm 1, the following observations are brought into spotlight._
_1._ _It is possible that at least two colors will move to distant confusion lines._ _Although this will_
_increase contrast, the naturalness will be compromised._
_2._ _It is recommended nA_ + _nB_ _≤_ _QD_ _so that |_ Φ _V| ≤|CLD|, and all colors of_ Φ _V_ _will move to_
_different confusion lines._ _We performed extensive experiments on the Flowers and Fruits data_
_sets, which contain 195 calibrated color images and were taken from the McGill’s calibrated_
_color image database [41] and found that the above condition is effective as far as the color_
_segmentation of the input image is concerned._ _However, depending on the designer’s choice,_
_Sensors_ 2021, _21_, 2740 10 of 30
_if_ _nA_ + _nB_ _>_ _QD_ _it is possible to get |_ Φ _V| > |CLD| and some key colors of_ Φ _V_ _will not be_
_removed._ _In this case the naturalness will be enhanced, and the contrast will be reduced._
Remark 2. _In steps 1–3 the key color with the highest rank is translated first, while the key color_
_with the lowest rank last._ _Given that the higher ranked key color corresponds to larger image area,_
_the reasons behind this choice are enumerated as follows:_
_1._ _Let us assume that there is an occupied confusion line, which falls in the above-mentioned_
_Case 1._ _Thus, the confusion line contains key colors from the sets U and V and therefore, all_
_key colors belonging to V and lying on that confusion line must be translated._ _By translating,_
_first, the key color with the highest rank, this color will be removed to its closest non-occupied_
_confusion line, and the final color will be close to the original one._ _In this direction, a low_
_ranked key color will be removed to a distant non-occupied confusion line._ _Following this_
_strategy, large image areas will be recolored using colors similar to the original ones, while_
_small image areas using colors much different to the original ones._ _This fact directly implies_
_that_ _the_ _recolored_ _image_ _will_ _preserve_ _the_ _naturalness_ _criterion._ _On_ _the_ _other_ _hand,_ _if_ _we_
_choose to remove the low ranked key colors first,_ _the opposite effect will take place and the_
_naturalness criterion of the recolored image will be seriously compromised._
_2._ _Let us assume that there is an occupied confusion line, which falls in the above-mentioned_
_Case 2._ _Thus, the confusion line contains key colors from the set V and therefore all but one_
_key colors must be translated._ _If we choose to remove the low ranked key colors first, then the_
_non-occupied confusion lines closer to the above occupied one will be exhausted, and the higher_
_ranked key colors will be forced to be removed to distant confusion lines._ _Thus, large images_
_areas will be recolored using much different colors to the original one and the naturalness_
_will be seriously damaged._ _Yet, the highest ranked key color will remain the same._ _However,_
_there is no guarantee that this counterbalancing effect will be strong enough to improve the_
_naturalness criterion._
Figure 3 illustrates the mechanism of Algorithm 1 using four color translations. Note
that the projection of color _v_ 4 lies outside the chromaticity diagram. This is a rare situation,
and the final position of _v_ 4, _tr_ is selected above the diagram’s baseline, called “line of
purples”. This line contains non-spectral colors. Therefore, the selected point is located at a
very small distance _ε_ = 0.01 above that line. Since we are moving on the same confusion
line, the result will be the same for the color-blind.
So far, the translation process focused on the chromaticity values _ϕ_ ( _a_ _i_ ) _x_ and _ϕ_ ( _a_ _i_ ) _y_
of the color _ϕ_ ( _a_ _i_ ) (see Equations (7) and (9)). Thus, the luminance coordinates _ϕ_ ( _a_ _i_ ) _Y_
( _i_ = 1, 2, . . ., _nA_ ) have not been considered yet. A simple approach to this problem would
be to avoid changing the values of luminance. However, in view of the difficulties reported
in Remarks 1 and 2, keeping the input image’s luminosity might lead to suboptimal results
as far as the naturalness and contrast criteria are concerned. Therefore, we further optimize
the adapted key colors by manipulating their luminance values only. This task will be
presented in the next module. For the moment, we complete the analysis of the current
module as indicated in the next paragraphs. Based on Equations (9) and (18) it follows that,
- _T_
(20)
- _T_ = _ϕ_ ( _a_ _i_ ) _x_, _rec_, _ϕ_ ( _a_ _i_ ) _y_, _rec_
_v_ _i_, _rec_ =
- _vix_, _rec_, _viy_, _rec_
Using Equations (5), (7), (18), and (20) the recoloring of _ϕ_ ( _SA_ ) reads as,
- (21)
_ϕ_ ( _SA_ ) _rec_ =
- _ϕ_ ( _a_ 1) _rec_, _ϕ_ ( _a_ 2, _rec_ ) _rec_, . . ., _ϕ_ ( _a_ _nA_ ) _rec_
where
- _T_
(22)
_ϕ_ ( _a_ _i_ ) _rec_ =
_ϕ_ ( _a_ _i_ ) _x_, _rec_, _ϕ_ ( _a_ _i_ ) _y_, _rec_, _ϕ_ ( _a_ _i_ ) _Y_, _rec_
_Sensors_ 2021, _21_, 2740 11 of 30
Figure 3. The key color translation process, where _rank_ ( _v_ 3) _> rank_ ( _v_ 1) _> rank_ ( _v_ 2) _> rank_ ( _v_ 4).
Note that the luminance values of the recolored key colors are defined as _ϕ_ ( _a_ _i_ ) _Y_, _rec_
( _i_ = 1, 2, . . ., _nA_ ). Their values will be determined in the next section in terms of an
optimization procedure.
_3.4._ _Module 3:_ _Key Color Optimization_
Having estimated the recolored chromaticity values _ϕ_ ( _a_ _i_ ) _x_, _rec_ and _ϕ_ ( _a_ _i_ ) _y_, _rec_ for the
key colors of the set _ϕ_ ( _SA_ ) _rec_, the respective luminance values _ϕ_ ( _a_ _i_ ) _Y_, _rec_ should be defined
as functions of the input image’s luminance values _ϕ_ ( _a_ _i_ ) _Y_ . If _ϕ_ ( _a_ _i_ ) _Y_, _rec_ _>>_ _ϕ_ ( _a_ _i_ ) _Y_ then
the image will be much brighter, while in the opposite case much darker. Imposing
such aggressive changes in the input image’s luminance will negatively affect the balance
between naturalness and contrast. To resolve this problem, the following domain of values
for the recolored luminance values _ϕ_ ( _a_ _i_ ) _Y_, _rec_ _∈_ Θ _i_ is suggested,
(0, _ϕ_ ( _a_ _i_ ) _Y_ + _γ_ ], _i f_ _ϕ_ ( _a_ _i_ ) _Y_ _<_ _γ_
[ _ϕ_ ( _a_ _i_ ) _Y −_ _γ_, 100], _i f_ 100 _−_ _ϕ_ ( _a_ _i_ ) _Y_ _<_ _γ_
[ _ϕ_ ( _a_ _i_ ) _Y −_ _γ_, _ϕ_ ( _a_ _i_ ) _Y_ + _γ_ ], _otherwise_
Θ _i_ =
(23)
In general, the above relation implies that the recolored luminance _Yrec_ lies within
an interval with radius equal to _γ_ and center the original image luminance _Y_, with
_Sensors_ 2021, _21_, 2740 12 of 30
_Yrec_ _∈_ [ _Y −_ _γ_, _Y_ + _γ_ ], retaining the edges of the interval [0, 100] inviolable. The parameter
_γ_ should neither be large nor small. Through trial-and-error it was found that a credible
value is _γ_ = 5.
The set _ϕ_ ( _SA_ ) _rec_ is mapped from the _xyY_ into the _RGB_ space as _SA_, _rec_ = _ϕ_ <sup>_−_</sup> <sup>1</sup> ( _ϕ_ ( _SA_ ) _rec_ ),
where based on Equations (4), (20), and (21) each element of _SA_, _rec_ is,
_a_ _i_, _rec_ = _ϕ_ <sup>_−_</sup> <sup>1</sup> ( _ϕ_ ( _a_ _i_ ) _rec_ ) = _h_
_ϕ_ ( _a_ _i_ ) _Y_, _rec_
, ( _i_ = 1, 2, . . ., _nA_ ) (24)
Note that the above inverse mapping defines the _a_ _i_, _rec_ _∈_ _RGB_ as a function of the
corresponding luminance _ϕ_ ( _a_ _i_ ) _Y_, _rec_ . The dichromat simulation of _SA_, _rec_ is,
_fD_ ( _SA_, _rec_ ) = _{ fD_ ( _a_ 1, _rec_ ), _fD_ ( _a_ 2, _rec_ ), . . ., _fD_ ( _a_ _nA_, _rec_ ) _}_ (25)
To this end, there are five sets involved in the optimization approach namely, _SA_
given in Equation (3), _SA_, _rec_ reported in Equation (4) and its dichromat simulation
_fD_ ( _SA_, _rec_ ) in Equation (25), _SB_ in Equation (3) and its dichromat simulation _fD_ ( _SB_ ) =
_{ fD_ ( _b_ 1), _fD_ ( _b_ 2), . . ., _fD_ ( _b_ _nB_ ) _}_ . Recalling that _SA_ and _SB_ respectively include the key
colors that correspond to the clusters of image’s confusing and non-confusing colors, the
color differences between the elements of _SA_ and _SB_ as perceived by a normal trichromat
are determined as _∥_ _a_ _i −_ _b_ _j∥_ (1 _≤_ _i ≤_ _nA_ ; 1 _≤_ _j ≤_ _nB_ ). After the recoloring, the same
differences as seen by a dichromat color-blind are defined between the elements of the sets
_fD_ ( _SA_, _rec_ ) and _fD_ ( _SB_ ) as _∥_ _fD_ ( _a_ _i_, _rec_ ) _−_ _fD_ - _b_ _j_ - _∥_ . To enable a dichromat to perceive the color
differences in a similar way as a normal trichromat does, thus enhancing the contrast of
the recolored image, the above distances must be as similar as possible [32],
_fD_ ( _SA_, _rec_ ) and _fD_ ( _SB_ ) as _∥_ _fD_ ( _a_ _i_, _rec_ ) _−_ _fD_
- _b_ _j_
<u>1</u>
_E_ 1 =
_nAnB_
_nA_ _nB_
### ∑ ∑
_i_ =1 _j_ =1
�� _∥_ _a_ _i −_ _b_ _j∥−∥_ _fD_ ( _a_ _i_, _rec_ ) _−_ _fD_ - _b_ _j_
- _∥_ �� (26)
Following the same reasoning between the elements of _SA_ and _fD_ ( _SA_, _rec_ ) [32],
_nB_
### ∑
_j_ =1
<u>1</u>
_E_ 2 =
_nAnB_
_nA_
### ∑
_i_ =1
�� _∥_ _a_ _i −_ _a_ _j∥−∥_ _fD_ ( _a_ _i_, _rec_ ) _−_ _fD_ - _a_ _j_, _rec_
- _∥_ �� (27)
Thus, _E_ 1 and _E_ 2 quantify the contrast enhancement of the recolored image [32]. To
further improve the naturalness, the subsequent error function is employed [32],
_E_ 3 = <sup><u>1</u></sup>
_nA_
_nA_
### ∑
_i_ =1
_∥_ _a_ _i −_ _a_ _i_, _rec∥_ (28)
Based on the above analysis, the overall optimization approach is defined as,
Minimize: _E_ = ( _E_ 1 + _E_ 2) + _λE_ 3 (29)
with respect to the luminance variables _ϕ_ ( _a_ _i_ ) _Y_, _rec_ _i_ = 1, 2, . . ., _nA_ .
As indicated in Equation (23) _ϕ_ ( _a_ _i_ ) _Y_, _rec_ _∈_ Θ _i_ . Note that Equation (24) defines the
colors _a_ _i_, _rec_ as functions of _ϕ_ ( _a_ _i_ ) _Y_, _rec_ . The parameter _λ_ is the regularization factor that takes
positive values, and its functionality relies on obtaining a counterbalance between contrast
and naturalness.
To perform the above optimization the well-known differential evolution (DE) algorithm is applied [36]. The DE is carried out in three evolutionary phases namely, mutation,
crossover, and selection. It also includes two pre-defined learning parameters: (a) the
parameter that controls the population’s evolving rate denoted as _FR_ _∈_ (0, 1], and (b) the
parameter that controls the fraction of the feature values copied from one generation to the
next, denoted as _CR_ _∈_ [0, 1]. The population consists of _q_ particles. Each particle encodes
the luminance variables, _ϕ_ ( _a_ 1) _Y_, _rec_, _ϕ_ ( _a_ 2) _Y_, _rec_, . . ., _ϕ_ ( _a_ _nA_ ) _Y_, _rec_ . Thus, the size of feature
_Sensors_ 2021, _21_, 2740 13 of 30
space where the DE searches for a solution is _nA_ . The maximum number of iterations
is _t_ max.
The result of the above-mentioned optimization is the final calculation of the recoloring
set _SA_, _rec_ = _{_ _a_ 1, _rec_, _a_ 2, _rec_, . . ., _a_ _nA_, _rec}_ .
_3.5._ _Module 4:_ _Cluster-to-Cluster Color Transfer_
The implementation of this module obtains the recolored image, eventually. The
key idea is to elaborate on the clusters _A_ 1, _A_ 2, . . ., _AnA_, the respective cluster centers
_SA_ = _{_ _a_ 1, _a_ 2, . . ., _a_ _nA_ _}_, and the recolored centers _SA_, _rec_ = _{_ _a_ 1, _rec_, _a_ 2, _rec_, . . ., _a_ _nA_, _rec}_,
obtained in the previous module, with _a_ _i_ _∈_ _RGB_ and _a_ _i_, _rec_ _∈_ _RGB_ .
According to Definition 1, each cluster _Ai_ includes _|Ai|_ pixels from the input image,
which correspond to confusing colors. Those pixels along with the cluster center _a_ _i_ and its
recoloring _a_ _i_, _rec_ are mapped from _RGB_ in the _lαβ_ space as
=
- _p_ <sup>_l_</sup> _t_
<sup>_l_</sup> _t_ 1 _t_ 2 <sup>_pα_</sup> _t_ 1
<sup>_α_</sup> _t_ 1 _t_ 2 <sup>_p_</sup> _t_ <sup>_β_</sup> 1
_t_ <sup>_β_</sup> 1 _t_ 2
_p_ <sup>_lαβ_</sup>
_t_ 1 _t_ 2 <sup>=</sup> <sup>_ψ_</sup>
_p_ <sup>_lαβ_</sup>
_t_ 1 _t_ 2
_p_ _t_ 1 _t_ 2
- _T_
such that _p_ _t_ 1 _t_ 2 _∈_ _Ai_ (30)
_i_ <sup>_α_</sup> <sup>_a_</sup> _i_ <sup>_β_</sup>
_i_
_a_ _i_ <sup>_lαβ_</sup> = _ψ_ ( _a_ _i_ ) =
- _ai_ <sup>_l_</sup>
_i_ <sup>_l_</sup> <sup>_a_</sup> _i_ <sup>_α_</sup>
- _T_
(31)
and
_i_ <sup>_α_</sup>, _rec_ <sup>_a_</sup> _i_ <sup>_β_</sup>,
_a_ <sup>_lαβ_</sup>
_i_, _rec_ <sup>=</sup> <sup>_ψ_</sup> <sup>(</sup> <sup>_a_</sup> <sup>_i_</sup> <sup>,</sup> <sup>_rec_</sup> <sup>) =</sup>
- _ai_ <sup>_l_</sup>,
- _T_
(32)
_i_ <sup>_l_</sup>, _rec_ <sup>_a_</sup> _i_ <sup>_α_</sup>,
_i_, _rec_
In [39,40], Reinhard et al. developed a color transfer technique between images. In
this paper, we adopt that technique and use it to perform color transfer between clusters.
A detailed analysis of the color transfer technique is given in [39,40].
<sup>_α_</sup> _t_ 1 _t_ 2, _rec_ <sup>_p_</sup> _t_ <sup>_β_</sup> 1
Our target is to obtain a recoloring _p_ <sup>_lαβ_</sup>
_t_ 1 _t_ 2, _rec_ <sup>=</sup>
- _p_ <sup>_l_</sup> _t_
<sup>_l_</sup> _t_ 1 _t_ 2, _rec_ <sup>_pα_</sup> _t_
_t_ <sup>_β_</sup> 1 _t_ 2, _rec_
- _T_
of the pixels
_p_ <sup>_lαβ_</sup>
_t_ 1 _t_ 2
<sup>_lαβ_</sup>
_t_ 1 _t_ 2 <sup>that belong to the cluster</sup> <sup>_Ai_</sup> <sup>.</sup> <sup>We can easily calculate the standard deviation vector</sup>
of the cluster _Ai_ in _lαβ_ color space.
_T_
_σ_ _i_ = [ _σi_ <sup>_l_</sup>
_i_ <sup>_α_</sup> _σi_ <sup>_β_</sup>
_i_ <sup>_l_</sup> _σi_ <sup>_α_</sup>
_i_ <sup>_β_</sup> <sup>]</sup>
Upon the assumption that _a_ <sup>_lαβ_</sup>
_i_, _rec_
Upon the assumption that _a_ <sup>_lαβ_</sup>
_i_, _rec_ <sup>is</sup> <sup>the</sup> <sup>center</sup> <sup>of</sup> <sup>a</sup> <sup>hypothetical</sup> <sup>cluster,</sup> <sup>which</sup> <sup>has</sup>
the same cardinality with _Ai_ and the same standard deviation _σ_ _i_, _rec_ = _σ_ _i_, we use the
mechanism of Reinhard et al. [39,40] to transfer the color of the second hypothetical cluster
to the first cluster and to obtain the recoloring of each pixel as follows,
_p_ <sup>_l_</sup>
_t_ 1 _t_ 2, _rec_
_p_ <sup>_α_</sup>
_t_ 1 _t_ 2, _rec_
_p_ <sup>_β_</sup>
_t_ 1 _t_ 2, _rec_
_p_ <sup>_l_</sup>
_t_
_t_ 1 _t_ 2
_p_ <sup>_α_</sup>
_t_ 1 _t_ 2
_p_ <sup>_β_</sup>
_t_ 1 _t_ 2
_ai_ <sup>_l_</sup>
_ai_ <sup>_α_</sup>
_ai_ <sup>_β_</sup>
_ai_ <sup>_l_</sup>
_i_, _rec_
_ai_ <sup>_α_</sup>, _rec_
_a_ <sup>_β_</sup>
_i_, _rec_
+
_i_, _rec_
=
_−_
(33)
_p_ <sup>_lαβ_</sup>
_t_ 1 _t_ 2, _rec_ <sup>=</sup>
_t_ 1 _t_ 2, _rec_
_t_ 1 _t_ 2
The colors _p_ <sup>_lαβ_</sup>
_t_ 1 _t_ 2, _rec_ <sup>are mapped back to the</sup> <sup>_RGB_</sup> <sup>space as,</sup>
_p_ _t_ 1 _t_ 2, _rec_ = _ψ_ <sup>_−_</sup> <sup>1�</sup>
_p_ <sup>_lαβ_</sup>
_t_ 1 _t_ 2, _rec_
_p_ <sup>_lαβ_</sup>
_t_ 1 _t_ 2
such that _p_ _t_ 1 _t_ 2 _∈_ _Ai_ (34)
Finally, the recolored image _I_ _rec_ is generated by recoloring all pixels belonging to the
clusters _A_ 1, _A_ 2, . . ., _AnA_, while the rest of the pixels remain unchanged.
_3.6._ _Computational Complexity Analysis_
In this section, the computational complexity of the algorithm is evaluated in terms of
distance calculations per iteration.
First, Module 1 is considered. Recalling that the size of the input image is _N × M_, the
number of distance calculations involved in the generation of the bins _Bk_ (1 _≤_ _k ≤_ _m_ ) is less
than _NMm_ . Also, it is easily verified that for the implementation of Equations (1) and (2),
_NM_ distance calculations are needed. On the other hand, it is well known that the
complexity of the fuzzy c-means for _c_ clusters and _H_ data is _O_ - _H_ _c_ <sup>2�</sup> [35]. As indi
cated previously by Equation (3) and the corresponding analysis, the sets _CA_ and _CB_,
_Sensors_ 2021, _21_, 2740 14 of 30
defined in Equations (1) and (2), are separately clustered by the fuzzy c-means into _nA_
and _nB_ fuzzy clusters, respectively. Thus, the computational complexity of this procedure is _O_ - _|CA|n_ 2 _A_ <sup>+</sup> <sup>_|CB|n_</sup> <sup>2</sup> _B_ �. By setting _n_ = max _{nA_, _nB}_, and taking into account that
- _|CA|n_ 2 _A_ <sup>+</sup> <sup>_|CB|n_</sup> <sup>2</sup> _B_
dure is _O_ - _|CA|n_ 2 _A_ <sup>+</sup> <sup>_|CB|n_</sup> <sup>2</sup> _B_ �. By setting _n_ = max _{nA_, _nB}_, and taking into account that
_|CA|_, _|CB|_ _<_ _m_ it follows that _O_ - _|CA|n_ 2 _A_ <sup>+</sup> <sup>_|CB|n_</sup> <sup>2</sup> _B_ - _∼_ _O_ - _mn_ <sup>2�</sup> . In total, for Module 1
_B_
- _|CA|n_ 2 _A_ <sup>+</sup> <sup>_|CB|n_</sup> <sup>2</sup> _B_
- _∼_ _O_ - _mn_ <sup>2�</sup>
_|CA|_, _|CB|_ _<_ _m_ it follows that _O_ - _|CA|n_ 2 _A_ <sup>+</sup> <sup>_|CB|n_</sup> <sup>2</sup> _B_ - _∼_ _O_ - _mn_ <sup>2�</sup> . In total, for Module 1
we get _O_ - _NMm_ + _Nm_ + _mn_ <sup>2�</sup> _∼_ _O_ - _NMm_ + _mn_ <sup>2�</sup> . By considering the maximum of _n_ <sup>2</sup>
- _NMm_ + _Nm_ + _mn_ <sup>2�</sup> _∼_ _O_
- _NMm_ + _mn_ <sup>2�</sup> .
<sup>2</sup> _B_
and _NM_ it follows that _NMm_ + _mn_ <sup>2</sup> _≤_ 2 _m_ max
<sup>�</sup> . By considering the maximum of _n_ <sup>2</sup>
- _NM_, _n_ <sup>2�</sup>
and _NM_ it follows that _NMm_ + _mn_ <sup>2</sup> _≤_ 2 _m_ max� _NM_, _n_ <sup>2�</sup> . Thus, the computational
complexity of Module 1 is _O_ - _m_ max� _NM_, _n_ <sup>2��</sup> .
In Module 2, the mappings and the ranking process take place only once, and their
effects are not significant. Thus, there are only two dominant effects. The first is related to
the implementation of Equation (12) and the second to the implementation of Algorithm 1.
The Equation (12) is applied between the elements of the sets _V_ and _U_ and the _QD_ confusion
lines. The number of distance calculations is ( _nA_ + _nB_ ) _QD_ _<_ 2 _nQD_ . In Algorithm 1,
step 1 involves less than _|_ Φ _V|_ 0 calculations, while step 2 less than _|_ Φ _V|_ 0 _|CLD|_ 0. Since
_|_ Φ _V|_ 0 _≤_ _nA_ _≤_ _n_ and _|CLD|_ 0 _<_ _QD_, the number of calculations for Algorithm 1 is
less than _n_ ( _QD_ + 1). Thus, the total number of calculations in Module 2 is less than
2 _nQD_ + _n_ ( _QD_ + 1), and since _QD_ is fixed it follows that the computational complexity of
Module 2 is _O_ ( _n_ ) .
In Module 3, the estimations of _E_ 1, _E_ 2, and _E_ 3 (see Equations (26), (27), and (28))
involve 3 _nAnB_, 3 _nAnB_, and _nA_ distance calculations, respectively. It can be easily shown
that the sum of the above numbers is less than 6 _n_ <sup>2</sup> + _n_ . In addition, the implementation
of the differential evolution is carried out using _q_ particles. Thus, the total number of
distance calculations performed in this module is less than _q_ (6 _n_ <sup>2</sup> + _n_ ). Since _q_ is fixed, the
computational complexity of Module 3 is _O_ - _n_ <sup>2�</sup> .
- _NM_, _n_ <sup>2��</sup>
- _m_ max
- _n_ <sup>2�</sup> .
computational complexity of Module 3 is _O_ - _n_ <sup>2�</sup> .
Regarding Module 4, the most dominant effect is the implementation of Equation (33).
The resulting number of calculations is
of Module 4 is _O_ ( _NM_ ) .
_nA_
∑
_i_ =1
_|Ai| <_ _NM_, and the computational complexity
Thus, the overall computational complexity is _O_ - _m_ max� _NM_, _n_ <sup>2�</sup> + _n_ + _n_ <sup>2</sup> + _NM_ �.
We can easily show that _m_ max� _NM_, _n_ <sup>2�</sup> + _n_ + _n_ <sup>2</sup> + _NM_ _<_ 4 _m_ max� _NM_, _n_ <sup>2�</sup>, which
implies that the computational complexity is modified as _O_ - _m_ max� _NM_, _n_ <sup>2��</sup> .
- _m_ max
Thus, the overall computational complexity is _O_
- _NM_, _n_ <sup>2�</sup> + _n_ + _n_ <sup>2</sup> + _NM_
- _NM_, _n_ <sup>2�</sup> + _n_ + _n_ <sup>2</sup> + _NM_ _<_ 4 _m_ max
- _NM_, _n_ <sup>2�</sup>
- _m_ max
- _NM_, _n_ <sup>2��</sup> .
.
4. Experimental Evaluation
The performance of the proposed method was evaluated and compared to the respective performances of three related methods. The first, called here Method 1, is the
algorithmic scheme developed by Huang et al. in [25]. The second, called here Method 2,
was introduced in [27] by Wong and Bishop. Finally, the third, called here Method 3, was
developed by Ching and Sabudin in [28]. The basic structures of the three methods are
described in Section 2. At this point, it is emphasized that Method 2 produces only one
recolored image for both protanopia and deuteranopia [27]. The only difference is that the
dichromat simulated images of that recolored image are obviously different for protanopia
and deuteranopia. Therefore, the quantitative results obtained by this method are the same
for both the protanopia and deuteranopia cases. Table 1 depicts the parameter setting for
the proposed method. For the other three methods the parameter settings were the same
as reported in the respective referenced papers.
Two data sets were used. The first data set includes the Flowers and Fruits data sets
taken from the McGill’s calibrated color image database [(http://tabby.vision.mcgill.ca](http://tabby.vision.mcgill.ca)
(accessed on 5 January 2021)) [41]. The Flowers data set includes 143 natural images, while
the Fruits data set 52 natural images. In total there were 195 natural images. Figure 4
illustrates four of those images.
_Sensors_ 2021, _21_, 2740 15 of 30
Table 1. Parameter setting for the proposed method.
~~Module 1~~ ~~Modules 2 and 3~~ ~~Differential Evolution~~
Parameter Value Parameter Value Parameter Value
_QD_
_ρ_ 10 17 _q_ 20
<u>(Protanopia)</u>
_QD_
_δ_ 25 15 _FR_ 0.8
(Deuteranopia)
_nA_ 5 _γ_ 5 _CR_ 0.6
_nB_ 5 _λ_ 0.2 _t_ max 100
Figure 4. A sample of four images included in the Flowers and Fruits data sets taken from the McGill’s calibrated color
image database.
[The second data set includes six paintings taken from the Web Gallery of Art (https:](https://www.wga.hu)
~~[//www.wga.hu (accessed on 28 September 2020)), which are depicted in Figure 5.](https://www.wga.hu)~~
Figure 5. ( a ) Painting 1, ( b ) Painting 2, ( c ) Painting 3, ( d ) Painting 4, ( e ) Painting 5, and ( f ) Painting 6.
Paintings 1–4 were created by Vincent van Gogh, Painting 5 by El Greco, and Painting 6 by Ambrosius
Bosschaert.
_Sensors_ 2021, _21_, 2740 16 of 30
To perform the overall comparison, three kinds of experimental evaluations were
conducted, which are analytically described in the following subsections.
_4.1._ _Quantitative Evaluation_
To conduct the comparative quantitative evaluation of the four methods, two performance indices were employed. First the naturalness index [17,22,32]
_M_
### ∑
_t_ 2=1
<u>1</u>
Jnat =
_N_ _M_
_N_
### ∑
_t_ 1=1
_∥_ _p_ _t_ 1 _t_ 2 _−_ _p_ _t_ 1 _t_ 2, _rec∥_ (35)
Second, the feature similarity index (FSIMc) that was developed in [42]. FSIMc takes
values in [0, 1] and quantifies the chrominance information of the recolored image in
relation to the original image. A higher value of FSIMc indicates that the recolored image’s
chrominance information is closer to the chrominance information of the original image.
The interested reader may refer to [42] for a detailed description of the index, while a brief
derivation of its basic structure is given in the Appendix A.
4.1.1. Quantitative Evaluation Using the Data Set of the Art Paintings
In this evaluation, the six art paintings are used to compare the four methods. Specifically, the values of the two indices Jnat and FSIMc obtained by the four methods are directly
compared. In addition, diagrammatic illustration of the translation process is given.
Table 2 presents the results for the naturalness index. Apart from the simulations
in Painting 6 (concerning both protanopia and deuteranopia), the proposed method outperforms the other three methods, indicating a high-quality natural appearance of the
recolored images when they are viewed by a normal trichromat. This fact is also supported
by the subjective evaluation presented later on in this paper.
Table 2. Naturalness index (Jnat) values obtained by the four methods for protanopia and deuteranopia considering the
paintings reported in Figure 5.
Protanopia Deuteranopia
Method
Painting Proposed
Method Method
2 3
Method Method
2 3
Method Method
1 2
Method Method
Proposed
3 1
Method Method
1 2
3
1 4.8324 9.9372 13.2600 12.0398 7.4648 13.6121 13.2600 9.6462
2 2.2735 7.7299 8.3201 8.4141 2.4797 9.1270 8.3201 5.6994
3 4.4311 6.5477 9.3297 9.5566 2.1356 4.6454 9.3297 6.9328
4 4.2495 6.5726 11.8014 11.7561 4.1392 4.5544 11.8014 9.4815
5 3.7393 7.5320 8.7266 10.8788 3.9259 7.9379 8.7266 7.5273
6 2.6914 2.4915 6.7193 6.4676 2.6676 1.5740 6.7193 4.7121
Table 3 reports the FSIMc index values obtained by the four methods for both dichromacy cases. This table shows some interesting results. Regarding the protanopia case, it
seems that Method 1 appears to be very competitive to our proposed method. Similar
results are reported in the case of deuteranopia, where, in addition to the previous results,
Method 3 gives the best index value for Painting 1. In total, the proposed method achieves
a competitive performance when compared to the other methods, which directly implies
that the chrominance information of the recolored paintings is close to the original ones.
_Sensors_ 2021, _21_, 2740 17 of 30
Table 3. Feature similarity index (FSIMc) values obtained by the four methods for protanopia and deuteranopia considering
the paintings reported in Figure 5.
Protanopia Deuteranopia
Method
Painting Proposed
Method Method
1 2
Method Method
2 3
Method Method
Proposed
3 1
Method Method
1 2
Method Method
2 3
3
1 0.9386 0.9828 0.9654 0.9342 0.9443 0.9430 0.9654 0.9752
2 0.9939 0.9832 0.9663 0.9518 0.9690 0.9936 0.9663 0.9922
3 0.9891 0.9735 0.9254 0.9099 0.9922 0.9831 0.9254 0.9788
4 0.9454 0.9747 0.9647 0.9141 0.9212 0.9778 0.9647 0.9707
5 0.9911 0.9882 0.9676 0.9545 0.9907 0.9854 0.9676 0.9828
6 0.9895 0.9917 0.9631 0.9423 0.9953 0.9760 0.9631 0.9842
Figure 6 depicts a sample of two key color translations as described in Algorithm 1.
<u>The first refers to Painting 1 and concerns the protanopia case, while the second refers to</u>
Painting 5 and concerns the deuteranopia case.
Figure 6. Translation process (see Algorithm 1) for the confusing key colors: ( a ) Painting 1 for the protanopia case;
( b ) Painting 5 for the deuteranopia case.
4.1.2. Quantitative Evaluation Using the Data Set of Natural Images
Herein, the four algorithms are compared in terms of statistical analysis using the two
above-mentioned indices and considering the 195 calibrated natural images taken McGill’s
color image database [41].
For both protanopia and deuteranopia we explored differences between the four
methods separately for the Jnat index and the FSIMc index. We utilized nonparametric
methods for statistical inference. For each CVD type by index combination, we employed an
overall 0.05 significance level. The Friedman test was used to assess differences in median
between the four methods. Follow-up, pairwise comparisons between our proposed
method and the other three were conducted using the Wilcoxon signed rank procedure. The
confidence intervals and associated _p_ -values concerning follow-up comparisons reported in
_Sensors_ 2021, _21_, 2740 18 of 30
this paper are Bonferroni adjusted to ensure an overall 0.05 type-I error for each CVD type
by index combination. A detailed report of the results of the statistical analysis follows,
separately for each CVD type.
Table 4 and Figure 7a summarize the Jnat results for Protanopia. There were statistically significant differences in median Jnat between the four methods. The overall _p_ -value
was <0.001 (based on the Friedman test).
Table 4. Descriptive Statistics of the Jnat and FSIMc indices for the protanopia case considering the
McGill’s Flowers and Fruits data sets (in total 195 images).
Method Min 1st Quartile (Q1) Median 3rd Quartile (Q3) Max
Jnat
Method 1 0.994 8.579 12.881 16.082 22.042
Method 2 5.262 10.149 12.181 14.003 17.825
Method 3 6.494 11.649 13.277 14.783 20.177
Proposed 0.036 2.297 4.802 8.208 17.376
FSIMc
Method 1 0.897 0.955 0.972 0.986 0.999
Method 2 0.836 0.916 0.939 0.955 0.986
Method 3 0.756 0.889 0.926 0.947 0.988
<u>Proposed</u> <u>0.885</u> <u>0.959</u> <u>0.973</u> <u>0.986</u> <u>1.000</u>
Figure 7. Boxplots for protanopia case considering the McGill’s Flowers and Fruits data sets (in total 195 images): ( a ) the
Jnat values (see Table 4), ( b ) Jnat differences between the three competing methods and the proposed method (see Table 5),
( c ) FSIMc values (see Table 4), and ( d ) FSIMc differences between the three competing methods and the proposed method
(see Table 5).
_Sensors_ 2021, _21_, 2740 19 of 30
Table 5. Descriptive statistics of the observed Jnat and FSIMc differences between the three competing methods and the
proposed method for the protanopia case considering the McGill’s Flowers and Fruits data sets (in total 195 images).
95% CIs for Medians
Method Min Q1 Median Q3 Max _p_ -Value (Bonferroni adj.)
(Bonferroni adj.)
Jnat Differences (Method–Proposed)
Method 1 _−_ 9.887 3.214 6.579 10.987 18.659 (5.736, 8.035) <0.015
Method 2 _−_ 3.085 4.611 7.020 8.435 13.017 (6.016, 7.400) <0.015
Method 3 _−_ 1.251 4.912 7.475 10.254 14.898 (6.810, 8.208) <0.015
FSIMc Differences (Proposed–Method)
Method 1 _−_ 0.078 _−_ 0.012 0.002 0.015 0.072 ( _−_ 0.001,0.006) 0.603
Method 2 _−_ 0.046 0.022 0.037 0.053 0.118 (0.033, 0.040) <0.015
Method 3 _−_ 0.041 0.027 0.049 0.076 0.198 (0.042, 0.058) <0.015
Table 5 and Figure 7b provide a summary of the differences in Jnat (competing method
value–proposed method value). The median difference was statistically significantly greater
than zero. The _p_ -values are Bonferroni adjusted and based on the Wilcoxon signed rank
testing procedure. We conclude that our proposed method was superior to the other three.
Table 4 and Figure 7c summarize the FSIMc results for protanopia. There were statistically significant differences in median FSIMc between the four methods ( _p_ -value < 0.001).
Table 5 and Figure 7d provide a summary of the differences in FSIMc (proposed
method value–competing method value). The _p_ -values are Bonferroni adjusted and based
on the Wilcoxon signed rank testing procedure. Our proposed method was superior to
Method 2 and Method 3. On the other hand, the median difference in FSIMc between our
method and Method 1 was not statistically significant.
Table 6 and Figure 8a summarize the Jnat results for deuteranopia. There were
statistically significant differences in median Jnat between the four methods. The overall
_p_ -value was <0.001 (based on the Friedman test).
Table 6. Descriptive statistics of the Jnat and FSIMc indices for the deuteranopia case considering the
McGill’s Flowers and Fruits data sets (in total 195 images).
Method Min 1st Quartile (Q1) Median 3rd Quartile (Q3) Max
Jnat
Method 1 0.312 6.901 11.590 15.072 20.727
Method 2 5.262 10.149 12.181 14.003 17.825
Method 3 2.842 7.155 9.485 12.239 15.946
Proposed 0.045 2.523 4.890 8.197 17.076
FSIMc
Method 1 0.897 0.956 0.976 0.910 1.000
Method 2 0.836 0.916 0.939 0.955 0.986
Method 3 0.790 0.949 0.972 0.985 1.000
Proposed 0.908 0.960 0.978 0.990 0.998
_~~Sensors~~_ ~~2021~~ ~~,~~ _~~21~~_ ~~, 2740~~ ~~20 of 30~~
Table 7. Descriptive statistics of the observed Jnat and FSIMc differences between the three competing methods and the
<u>proposed method for the deuteranopia case considering the McGill’s Flowers and Fruits data sets (in total 195 images).</u>
<u>95% CIs for Medians</u>
~~Method~~ ~~Min~~ ~~Q1~~ ~~Median~~ ~~Q3~~ ~~Max~~ _~~p~~_ ~~-Value (Bonferroni adj.)~~
(Bonferroni adj.)
Jnat Differences (Method–Proposed)
Method 1 _−_ 8.516 0.460 4.880 10.072 19.144 (3.569, 7.572) <0.015
Method 2 _−_ 2.655 5.022 6.558 7.945 12.800 (5.866, 7.151) <0.015
Method 3 _−_ 2.209 2.259 3.768 5.335 10.739 (3.223, 4.345) <0.015
FSIMc Differences (Proposed–Method)
Method 1 _−_ 0.081 _−_ 0.020 _−_ 0.001 0.018 0.090 ( _−_ 0.005, 0.006) 1.000
Method 2 _−_ 0.031 0.022 0.038 0.056 0.096 (0.033, 0.044) <0.015
Method 3 _−_ 0.084 _−_ 0.004 0.005 0.019 0.141 (0.001, 0.009) <0.015
Figure 8. Boxplots for deuteranopia case considering the McGill’s Flowers and Fruits data sets (in total 195 images): ( a ) the
Jnat values (see Table 6), ( b ) Jnat differences between the three competing methods and the proposed method (see Table 7),
( c ) FSIMc values (see Table 6), and ( d ) FSIMc differences between the three competing methods and the proposed method
(see Table 7).
Table 7 and Figure 8b provide a summary of the differences in Jnat between our
proposed method and the other three methods (competing method value–proposed method
value). The median difference in Jnat between our method and any competing method was
statistically significantly greater than zero. The _p_ -values are Bonferroni adjusted and based
on the Wilcoxon signed rank testing procedure. Our proposed method was superior to the
other three methods.
Table 6 and Figure 8c summarize the FSIMc results for deuteranopia. There were statistically significant differences in median FSIMc between the four methods ( _p_ -value < 0.001).
Finally, Table 7 and Figure 8d provide a summary of the differences in FSIMc (proposed
method value–competing method value). The _p_ -values are Bonferroni adjusted and based
_Sensors_ 2021, _21_, 2740 21 of 30
on the Wilcoxon signed rank testing procedure. We conclude that our proposed method
was superior to Method 2 and Method 3. On the other hand, the median difference in
FSIMc between our method and Method 1 was not statistically significant.
In summary, there were statistically significant differences between the four methods
for all four CVD types by index combinations. Follow up testing revealed that: (a) our
proposed method performed better than the other three methods in terms of Jnat, for both
protanopia and deuteranopia, (b) our proposed method performed better than Method 2
and Method 3 in terms of FSIMc, for both protanopia and deuteranopia, (c) there was no
difference in performance in terms of FSIMc between our proposed method and Method 1,
either for protanopia or deuteranopia.
_4.2._ _Qualitative Evaluation_
In this section visual comparison is conducted considering the paintings in Figure 5.
Figure 9 illustrates the results for the case of protanopia using Paintings 1, 3, and 4.
Considering Painting 1 (rows 1 and 2), the proposed recolored image clearly enhances
the contrast of the depicted cows. In addition, it softly modifies the background and the
grass, maintaining the overall painting’s naturalness. Those properties are passed in the
dichromat simulation of the recolored painting, also. On the other hand, Methods 1 and 2
enhance the contrast by mainly modifying the background and the grass. However, this
strategy imposes an apparent negative effect on the naturalness. Method 3 also changes
the background but not as much as Methods 1 and 2. To enhance contrast, it chooses to
use mainly pure green color for the cows resulting in an unnatural representation of the
painting.
In the case of Painting 3 (rows 3 and 4), the colors used by the proposed method
are closer to the original painting. Moreover, the contrast (especially in the dichromat
simulated painting) is enhanced when compared to the other methods. This fact is obvious
at the edge line that separates the flowers and the background. The recoloring of Method
1 seems to be more competitive to our method. In Method 2 the colors of the dichromat
simulated painting look alike the colors of the respective modified painting. While the
same characteristic appears in the adapted paintings obtained by Method 3, the contrast in
this case provides better object discrimination than Methods 1 and 2.
In Painting 4 (rows 5 and 6) the effect of the contrast enhancement is obvious regarding
the proposed method. Specifically, the method chooses colors that enable the color-blind
to easily discriminate between different areas of the painting. This effect is justified by
the luminance optimization process. Regarding this issue, Methods 2 and 3 seem to be
more competitive to our method, while the contrast of Method 1 has not been enhanced
significantly.
Figure 10 summarizes the results for the case of deuteranopia using Paintings 2, 5, and
6. In the case of Painting 2 (rows 1 and 2), Methods 1 and 3 perform the color adaptation
using mainly green color. On the other hand, Method 2 is slightly diversified from the
above two methods. As far as the proposed method is concerned, the adapted colors are
closer to the original colors, retaining the painting’s aesthetics and therefore its naturalness.
Note that in the simulated painting of the proposed method the different areas of the
paintings are clearly distinguishable one from another.
In the case of Painting 5 (rows 3 and 4) the proposed algorithm obtains the best tradeoff
between naturalness and contrast when compared to the rest of the methods. For example,
the color of the cloak in our recolored painting resembles the color of the original image,
while the dichromat simulated painting obtains more pleasant contrast enhancement than
the other three methods.
_Sensors_ 2021, _21_, 2740 22 of 30
Figure 9. Qualitative comparison for protanopia using Paintings ( 1, 3, and 4 ). The original and the recolored paintings are
given in rows ( 1, 3, and 5 ), while their respective protanope simulations are given in rows ( 2, 4, and 6 ).
_Sensors_ 2021, _21_, 2740 23 of 30
Figure 10. Qualitative comparison for deuteranopia using Paintings ( 2, 5, and 6 ). The original and the recolored paintings
are given in rows ( 1, 3, and 5 ), while their respective deuteranope simulations are given in rows ( 2, 4, and 6 ).
_Sensors_ 2021, _21_, 2740 24 of 30
Finally, in the case of Painting 6 (rows 5 and 6), the results support the abovementioned remarks. Clearly the recolored painting obtained by the proposed method
chooses more pleasant colors retaining the overall image aesthetics. Moreover, in the
dichromat simulated image, the contrast is effectively enhanced providing better discrimination abilities for the color-blind.
_4.3._ _Subjective Evaluation_
The four methods were evaluated in terms of pairwise comparisons performed by 28
volunteers. The responses of the volunteers were completely anonymous and no personally
identifiable information was captured. Each volunteer was subjected to the well-known
Ishihara test [43], which identifies if a person is protanope, deuteranope, or has normal
color vison. The test suggested that eight are normal color viewers, two protanopes, seven
protanomalous trichromats, three deuteranopes, and eight deuteranomalous trichromats.
Color confusions between protanopes and protanomalous trichromats are qualitatively similar, while the same holds between the deuteranopes and deuteranomalous
trichromats [3,44]. This remark justifies term “protan” for protanopia/protanomaly and
“deutan” for deuteranopia/deuteranomaly [3,44]. Based on this remark, three groups were
identified: (a) Group1 including eight normal color vision viewers; (b) Group 2 including
nine protan viewers; (c) Group 3 including 11 deutan viewers. The tested images were
the six paintings reported in Figure 5. To carry out the evaluation, the subsequent three
questions were used. Q1: “Which image looks more similar to the original one?” Q2:
“Which image has the most pleasant contrast?” Q3: “What is your overall preference?”
The first question refers to the naturalness, the second to the contrast, and the third to the
overall appearance of the recolored images.
For Group 1 two experiments took place. In the first experiment, called experiment 1,
viewers were asked to indicate their binary preferences for the above-mentioned questions
regarding the protanopia (protan case) recolored images. Given the six images and the
eight viewers belonging to Group 1, the comparison between a specific pair of methods
was conducted using 48 binary choices for each pairwise comparison. Since there were six
pairwise cases, the number of binary choices, called preference scores, between all pairs of
algorithms was equal to 288 per question. In the second experiment, called experiment 2,
the viewers did the same procedure regarding the deuteranopia (deutan case) recolored
images, obtaining again 288 preference samples per question.
For Group 2 and Group 3, the first question Q1 was discarded. The reason behind this
choice relies on the fact that when protans and deutans look at the original image they do
not perceive it correctly, and any attempt to judge whether the recolored image is similar
or not to the original will fail. Therefore, for Groups 2 and 3 only the questions Q2 and
Q3 were considered for the protanopia and deuteranopia recolored paintings, respectively.
Given the six images and the nine viewers belonging to Group 2, the comparison for a
specific pair of algorithms was conducted using 54 binary choices. Since there were six
pairwise cases, the total number of binary preferences between all pairs of algorithms was
equal to 324 per question. Following the same analysis for the Group 3, which included
11 participants, we obtained a set of 396 binary choices for each question.
The pairwise-comparison data were analyzed by the Thurstone’s law of comparative
judgement, case V [45]. Case V of Thurstone’s comparative judgment law is a classical
tool to perform ranking of items based on subjective choices of individuals by measuring
the individuals’ preference orderings for some stimuli taken from a set of discrete binary
choices. In his seminal paper [45], Thurstone proposed a solution in calculating the average
preference scores for each item, which Mosteller later showed was the solution to a least
squares’ optimization problem [46]. In this paper, the items correspond to the four methods,
and the Thurstone–Mosteller fitting model is used to estimate the average preference scores.
The results from the above analysis are depicted in Figure 11 for the Group 1, and in
Figure 12 for the Groups 2 and 3.
_Sensors_ 2021, _21_, 2740 25 of 30
1.20
0.80
0.40
0.00
-0.40
-0.80
-1.20
1.20
0.80
0.40
0.00
-0.40
-0.80
-1.20
1.20
0.80
0.40
0.00
-0.40
-0.80
-1.20
Normal Viewer
~~Question 1 - Protan~~
Proposed Method 1 Method 2 Method 3
Normal Viewer
~~Question 2 - Protan~~
Proposed Method 1 Method 2 Method 3
Normal Viewer
~~Question 3 - Protan~~
Proposed Method 1 Method 2 Method 3
Normal Viewer
~~Question 1 - Deutan~~
Proposed Method 1 Method 2 <sup>Method 3</sup>
Normal Viewer
~~Question 2 - Deutan~~
Proposed Method 1 Method 2 Method 3
Normal Viewer
<u>Question 3 - Deutan</u>
Proposed Method 1 Method 2 Method 3
1.20
0.80
0.40
0.00
-0.40
-0.80
-1.20
1.20
0.80
0.40
0.00
-0.40
-0.80
-1.20
1.20
0.80
0.40
0.00
-0.40
-0.80
-1.20
Figure 11. Average preference scores (blue column bars) and the corresponding 95% confidence intervals (error bars) of
the pairwise comparisons for the participants belonging to Group 1: ( left column ) reports the results for experiment 1
(recolored paintings for protanopia) for the three questions, and ( right column ) reports the results for the experiment 2
(recolored paintings for deuteranopia) for the three questions.
Figure 11 illustrates the average preference scores and the corresponding 95% confidence intervals of the pairwise comparisons between the four methods with respect to the
normal color vision participants regarding the three aforementioned questions Q1, Q2, and
Q3. Recalling that Q1 refers to the naturalness, Q2 to the contrast, and Q3 to the overall
appearance of the recolored paintings, we can easily point out the following observations.
_Sensors_ 2021, _21_, 2740 26 of 30
1.20
0.80
0.40
0.00
-0.40
-0.80
-1.20
1.20
0.80
0.40
0.00
-0.40
-0.80
-1.20
-1.20
Proposed Method 1 Method 2 Method 3 Proposed Method 1 Method 2 Method 3
Protan Viewer
~~Question 2~~
1.20
0.80
0.40
0.00
-0.40
-0.80
Protan Viewer
~~Question 3~~
Proposed Method 1 Method 2 Method 3 Proposed Method 1 Method 2 Method 3
Method 2
Deutan Viewer
~~Question 2~~
-1.20
1.20
0.80
0.40
0.00
-0.40
-0.80
Deutan Viewer
~~Question 3~~
Figure 12. Average preference scores (blue column bars) and the corresponding 95% confidence intervals (error bars) of the
pairwise comparisons for the participants belonging to Group 2 and 3: ( first raw ) reports the results for the protan viewers
regarding the protanopia recolored images and the questions 2 and 3, and ( second raw ) reports the results for the deutan
viewers regarding the deuteranopia recolored paintings and the questions 2 and 3.
First, the analysis indicates that the normal color vision viewers clearly preferred the
proposed method for all questions and cases of recolored paintings (protan and deutan).
In particular, the participants’ preference to the proposed method becomes more evident
in Question 2—Protan, Question 2—Deutan, and Question 3—Deutan cases. Second, the
most competitive method to our proposed one is Method 1 (Huang et al. [25]). Indeed,
apart from the case Question 2—Deutan, that method outperformed the other two. Third,
Method 2 (Wong and Bishop [27]) performs better than Method 3 (Ching and Sabudin [28]).
Figure 12 illustrates the average preference scores and the corresponding 95% confidence intervals of the pairwise comparisons between the four methods with respect to
Group 2 and Group 3, regarding Questions 2 and 3. The analysis illustrated in this figure
directly indicates the superiority of the proposed method, supporting the results reported
in Figure 11. However, the difference between the proposed and the other three methods
has been clearly reduced for both the protans and deutans when compared to the results
in Figure 11. As far as the other three methods are concerned, Method 2 outperforms the
others in two cases of deutan viewers (second raw in Figure 12), while each one of Method
1 and Method 3 in only one, respectively.
In summary, the results of the subjective evaluations show that the proposed method
improves the visual details, enhances the contrast, and provides a pleasant appearance for
normal color vision viewers as well as for protans and deutans.
5. Discussion and Conclusions
This contribution presents a novel method to modify color images for protanopia
and deuteranopia color vision deficiencies. The method consists of four main modules,
which are applied in sequence. The first module concerns the color segmentation of the
_Sensors_ 2021, _21_, 2740 27 of 30
input image and the generation of a number of key colors that might be confusing or
non-confusing for the color-blind. The second module maps the key colors onto CIE 1931
chromaticity diagram, where a sophisticated mechanism removes confusing key colors that
lie on the same confusion line to different confusion lines so that they can be discriminated
by the color-blind. Specifically, each confusing key color is translated to its closest nonoccupied confusion line. Next, the above modified key colors are further optimized in the
third module through a regularized objective function. Finally, the fourth module obtains
the recolored image by adapting the pixels of the input image that correspond to confusing
key colors using a color transfer technique.
The implementation of the proposed method is carried out by considering two basic
criteria. First, the preservation of the natural appearance of the recolored image in relation
to the original input image. Second the contrast enhancement between different image areas.
The former is related to the preservation of the recolored image aesthetics as perceived by
a normal color vision viewer. The latter refers to the discrimination of image areas that
include colors confused by the color-blind.
The above-mentioned criteria are implemented throughout the whole method. To
justify that conclusion the following remarks are pointed out. First, the image pixels that
are recolored are those that correspond to the confusing key colors. Thus, the part of the
input image that corresponds to non-confusing colors remains unchanged; a fact that favors
the naturalness criterion. Second, in the key color translation process, the key colors that lie
on the same confusion line are removed to different confusion lines. This strategy enhances
the contrast because colors that were initially confused can now be discriminated by the
color-blind. Moreover, since each confusing key color is moved to its closest non-occupied
confusion line, the recolored key colors will be close to the original ones, preserving the
naturalness criterion. Finally, the optimization procedure presented in the third module
uniformly takes into account both criteria and finally obtains an optimal recoloring of the
input image.
For a full validation of the proposed method, extensive experimental studies were
conducted. The validation demonstrated the improved performance compared to other
three recoloring methodologies. By way of the next steps, future research efforts could
be made in the following directions. First, in extending the methodology to cope with
the tritanopia and anomalous trichromacy defects. Second, in developing more effective
machine learning approaches in the recoloring process. Third, in implementing more
sophisticated optimization procedures to maintain an optimal tradeoff between naturalness
preservation and contrast enhancement.
Author Contributions: G.E.T. proposed the idea, formulated the method, and wrote the first draft of
the paper; A.R. and S.C. developed the software and proposed substantial modifications regarding the
method; J.T. and C.-N.A. performed the statistical analysis; K.K. and G.C. performed the experiments.
All authors contributed to writing the final version of the paper. All authors have read and agreed to
the published version of the manuscript.
Funding: This research is co-financed by Greece and the European Union (European Social FundESF) through the Operational Programme “Human Resources Development, Education and Lifelong
Learning 2014–2020” in the context of the project “Color perception enhancement in digitized art
paintings for people with Color Vision Deficiency” (MIS 5047115).
Institutional Review Board Statement: Not applicable.
Informed Consent Statement: Not applicable.
Data Availability Statement: Not applicable.
Acknowledgments: We thank the anonymous reviewers for providing constructive comments for
improving the overall manuscript.
Conflicts of Interest: The authors declare no conflict of interest.
_Sensors_ 2021, _21_, 2740 28 of 30
Appendix A
In this Appendix, a brief description of the form of the FSIMc index is given. Further
details can be found in reference [42]. The analysis involves the input image _P_ =
_p_ _t_ 1 _t_ 2
-
and its recolored image _P_ _rec_ = _p_ _t_ 1 _t_ 2, _rec_, (1 _≤_ _t_ 1 _≤_ _N_ ; 1 _≤_ _t_ 2 _≤_ _M_ ).
To obtain the FSIMc index the above two images are transformed into the _YIQ_ color
_p_ _t_ 1 _t_ 2, _rec_
and its recolored image _P_ _rec_ =
_t_ <sup>_I_</sup> 1 _t_ 2 <sup>_p_</sup> _t_ <sup>_Q_</sup> 1
_t_ 1 _t_ 2
space. The transformation of _p_ _t_ 1 _t_ 2 is _p_ <sup>_YIQ_</sup> _t_ 1 _t_ 2
- _T_
. Relationally, the transfor
<sup>_YIQ_</sup> _t_ 1 _t_ 2 <sup>=</sup>
- _p_ <sup>_Y_</sup> _t_ 1
<sup>_Y_</sup> _t_ 1 _t_ 2 <sup>_p_</sup> _t_ <sup>_I_</sup> 1
- _p_ <sup>_Y_</sup> - _T_ . Only for the luminance channel
mation of _p_ _t_ 1 _t_ 2, _rec_ is _p_ <sup>_YIQ_</sup> _t_ 1 _t_ 2, _rec_ <sup>=</sup> _t_ 1 _t_ 2, _rec_ <sup>_p_</sup> _t_ <sup>_I_</sup> 1 _t_ 2, _rec_ <sup>_p_</sup> _t_ <sup>_Q_</sup> 1 _t_ 2, _rec_
_Y_, for each of the above pixels, we calculate the phase congruencies ( _PC_ ), which are denoted
_t_ <sup>_I_</sup> 1 _t_ 2, _rec_ <sup>_p_</sup> _t_ <sup>_Q_</sup> 1
mation of _p_ _t_ 1 _t_ 2, _rec_ is _p_ <sup>_YIQ_</sup> _t_ 1 _t_ 2,
_t_ <sup>_Q_</sup> 1 _t_ 2, _rec_
<sup>_YIQ_</sup> _t_ 1 _t_ 2, _rec_ <sup>=</sup>
- _p_ <sup>_Y_</sup> _t_ 1
<sup>_Y_</sup> _t_ 1 _t_ 2, _rec_ <sup>_p_</sup> _t_ <sup>_I_</sup>
as _PC_ ( _p_ <sup>_Y_</sup> _t_ 1
<sup>_Y_</sup> _t_ 1 _t_ 2 <sup>),</sup> <sup>_PC_</sup> <sup>(</sup> <sup>_pY_</sup> _t_ 1
as _PC_ ( _p_ <sup>_Y_</sup> _t_ 1 _t_ 2 <sup>),</sup> <sup>_PC_</sup> <sup>(</sup> <sup>_pY_</sup> _t_ 1 _t_ 2, _rec_ <sup>).</sup> <sup>In addition, only for the luminance channel, we calculate the</sup>
respective image gradient magnitudes ( _G_ ), which are denoted as _G_ ( _p_ <sup>_Y_</sup> _t_ 1 _t_ 2 <sup>),</sup> <sup>_G_</sup> <sup>(</sup> <sup>_pY_</sup> _t_ 1 _t_ 2, _rec_ <sup>).</sup>
respective image gradient magnitudes ( _G_ ), which are denoted as _G_ ( _p_ <sup>_Y_</sup> _t_ 1 _t_ 2 <sup>),</sup> <sup>_G_</sup> <sup>(</sup> <sup>_pY_</sup> _t_ 1 _t_ 2, _rec_ <sup>).</sup>
The maximum value between _PC_ ( _p_ <sup>_Y_</sup> _t_ 1 _t_ 2 <sup>),</sup> <sup>_PC_</sup> <sup>(</sup> <sup>_pY_</sup> _t_ 1 _t_ 2, _rec_ <sup>) is</sup>
<sup>_Y_</sup> _t_ 1 _t_ 2 <sup>),</sup> <sup>_PC_</sup> <sup>(</sup> <sup>_pY_</sup> _t_ 1
<sup>_Y_</sup> _t_ 1 _t_ 2 <sup>),</sup> <sup>_G_</sup> <sup>(</sup> <sup>_pY_</sup> _t_ 1
<sup>_Y_</sup> _t_ 1 _t_ 2, _rec_ <sup>) is</sup>
- _PC_ ( _p_ <sup>_Y_</sup> _t_ 1
<sup>_Y_</sup> _t_ 1 _t_ 2, _rec_ <sup>)</sup>
(A1)
_PC_ max, _t_ 1 _t_ 2 = max
<sup>_Y_</sup> _t_ 1 _t_ 2 <sup>),</sup> <sup>_PC_</sup> <sup>(</sup> <sup>_pY_</sup> _t_ 1
Next, the following similarity measures are estimated,
2 _PC_ ( _p_ <sup>_Y_</sup> _<u>t</u>_ <u>1</u> _<u>t</u>_ <u>2</u> <sup>)</sup> <sup>_PC_</sup> <sup>(</sup> <sup>_pY_</sup> _<u>t</u>_ <u>1</u> _<u>t</u>_ <u>2,</u> _<u>rec</u>_ <sup>)</sup> <sup>+</sup> <sup>_θ_</sup> <sup><u>1</u></sup>
<u>�</u> <u>�2</u> <u>�</u> <u>�2</u>
_PC_ ( _p_ <sup>_Y_</sup> _t_ 1 _t_ 2 <sup>)</sup> + _PC_ ( _p_ <sup>_Y_</sup> _t_ 1 _t_ 2, _rec_ <sup>)</sup>
_SPC_, _t_ 1 _t_ 2 =
_SG_, _t_ 1 _t_ 2 =
2 _G_ ( _p_ <sup>_Y_</sup> _<u>t</u>_ <u>1</u> _<u>t</u>_ <u>2</u> <sup>)</sup> <sup>_G_</sup> <sup>(</sup> <sup>_pY_</sup> _<u>t</u>_ <u>1</u> _<u>t</u>_ <u>2,</u> _<u>rec</u>_ <sup>)</sup> <sup>+</sup> <sup>_θ_</sup> <sup><u>2</u></sup>
<u>�</u> <u>�2</u> <u>�</u> <u>�2</u>
_G_ ( _p_ <sup>_Y_</sup> _t_ 1 _t_ 2 <sup>)</sup> + _G_ ( _p_ <sup>_Y_</sup> _t_ 1 _t_ 2, _rec_ <sup>)</sup>
2 _PC_ ( _p_ <sup>_Y_</sup> _<u>t</u>_ <u>1</u> _<u>t</u>_ <u>2</u> <sup>)</sup> <sup>_PC_</sup> <sup>(</sup> <sup>_pY_</sup> _<u>t</u>_ <u>1</u>
<u>�2</u>
+
<u>�2</u>
+
<sup>_Y_</sup> _t_ 1 _t_ 2, _rec_ <sup>)</sup>
(A2)
(A3)
<u>�2</u>
+ _θ_ 1
<sup>_Y_</sup> _t_ 1 _t_ 2 <sup>)</sup>
<u>�</u> _PC_ ( _p_ <sup>_Y_</sup> _t_ 1
2 _G_ ( _p_ <sup>_Y_</sup> _<u>t</u>_ <u>1</u> _<u>t</u>_ <u>2</u> <sup>)</sup> <sup>_G_</sup> <sup>(</sup> <sup>_pY_</sup> _<u>t</u>_ <u>1</u> _<u>t</u>_
<sup>_Y_</sup> _t_ 1 _t_ 2, _rec_ <sup>)</sup>
<u>�2</u>
<sup>)</sup> + _θ_ 2
<sup>_Y_</sup> _t_ 1 _t_ 2 <sup>)</sup>
<u>�</u> _G_ ( _p_ <sup>_Y_</sup> _t_ 1
Relationally, for the chromaticity channels _I_ and _Q_ the subsequent similarity measures
are estimated,
_SI_, _t_ 1 _t_ 2 =
_SQ_, _t_ 1 _t_ 2 =
2 _pt_ <sup>_I_</sup> <u>1</u> _<u>t</u>_ <u>2</u> <sup>_p_</sup> _<u>t</u>_ <sup>_I_</sup> <u>1</u> _<u>t</u>_ <u>2,</u> _<u>rec</u>_ <sup>+</sup> <sup>_θ_</sup> <sup><u>3</u></sup>
<u>�</u> <u>�2</u> <u>�</u> <u>�2</u>
_pt_ <sup>_I_</sup> 1 _t_ 2 + _pt_ <sup>_I_</sup> 1 _t_ 2, _rec_ +
2 _p_ <sup>_Q_</sup>
_<u>t</u>_ <u>1</u> _<u>t</u>_ <u>2</u> <sup>_p_</sup> _<u>t</u>_ <sup>_Q_</sup> <u>1</u> _<u>t</u>_ <u>2,</u> _<u>rec</u>_ <sup>+</sup> <sup>_θ_</sup> <sup><u>4</u></sup>
<u>�</u> <u>�2</u> <u>�</u> <u>�2</u>
_pt_ <sup>_Q_</sup> 1 _t_ 2 + _pt_ <sup>_Q_</sup> 1 _t_ 2, _rec_ +
2 _pt_ <sup>_I_</sup> <u>1</u> _<u>t</u>_ <u>2</u> <sup>_p_</sup> _<u>t</u>_ <sup>_I_</sup>
<u>�2</u>
+
<u>�2</u>
+
<u>�</u> _p_ <sup>_I_</sup>
_t_
_t_ 1 _t_ 2, _rec_
<u>�2</u>
+ _θ_ 3
_t_ 1 _t_ 2
2 _p_ <sup>_Q_</sup>
_<u>t</u>_ <u>1</u> _<u>t</u>_ <u>2</u> <sup>_p_</sup> _<u>t</u>_ <sup>_Q_</sup> <u>1</u>
_t_ 1 _t_ 2, _rec_
<u>�2</u>
+ _θ_ 4
_t_ 1 _t_ 2
<u>�</u> _p_ <sup>_Q_</sup>
_t_ 1
To this end, the FSIMc index is defined as follows,
(A4)
(A5)
(A6)
- _η_ _PC_ max, _t_ 1 _t_ 2
_SPC_, _t_ 1 _t_ 2 _SG_, _t_ 1 _t_ 2
- _SI_, _t_ 1 _t_ 2 _SQ_, _t_ 1 _t_ 2
FSIMc =
∑
_t_ <u>1,</u> _t_ <u>2</u>
∑ _PC_ max, _t_ 1 _t_ 2
_t_ 1, _t_ 2
The detailed calculation procedure of the phase congruencies and image gradient
magnitudes as well the appropriate values for the parameters _θ_ 1, _θ_ 2, _θ_ 3, _θ_ 4, and _η_ are
given in reference [42].
References
1. Fairchild, M.D. _Color Appearance Models_ ; Wiley: West Sussex, UK, 2005.
2. Stockman, A.; Sharpe, L.T. The spectral sensitivities of the middle- and long-wavelength-sensitive cones derived from measurements in observers of known genotype. _Vis._ _Res._ 2000, _40_, 1711–1737. [[CrossRef]](http://doi.org/10.1016/S0042-6989%0x2800%0x2900021-3)
3. Smith, V.C.; Pokorny, J. Color matching and color discrimination. In _The Science of Color_ ; Elsevier BV: Oxford, UK, 2003; pp.
103–148.
4. Pridmore, R.W. Orthogonal relations and color constancy in dichromatic colorblindness. _PLoS ONE_ 2014, _9_, e107035. [[CrossRef]](http://doi.org/10.1371/journal.pone.0107035)
5. Fry, G.A. Confusion lines of dichromats. _Color Res._ _Appl._ 1992, _17_, 379–383. [[CrossRef]](http://doi.org/10.1002/col.5080170603)
6. Moreira, H.; Álvaro, L.; Melnikova, A.; Lillo, J. Colorimetry and dichromatic vision. In _Colorimetry_ _and_ _Image_ _Processing_ ;
IntechOpen: London, UK, 2018; pp. 2–21.
_Sensors_ 2021, _21_, 2740 29 of 30
7. Han, D.; Yoo, S.J.; Kim, B. A novel confusion-line separation algorithm based on color segmentation for color vision deficiency. _J._
_Imaging Sci._ _Technol._ 2012, _56_, 1–17. [[CrossRef]](http://doi.org/10.2352/J.ImagingSci.Technol.2012.56.3.030501)
8. Choi, J.; Lee, J.; Moon, H.; Yoo, S.J.; Han, D. Optimal color correction based on image analysis for color vision deficiency. _IEEE_
_Access_ 2019, _7_, 154466–154479. [[CrossRef]](http://doi.org/10.1109/ACCESS.2019.2948653)
9. Judd, D.B. Standard response functions for protanopic and deuteranopic vision. _J. Opt._ _Soc._ _Am._ 1945, _35_, 199–221. [[CrossRef]](http://doi.org/10.1364/JOSA.35.000199)
10. Ribeiro, M.; Gomes, A.J. Recoloring algorithms for colorblind people: A survey. _ACM Comput._ _Surv._ 2019, _52_, 1–37. [[CrossRef]](http://doi.org/10.1145/3329118)
11. Wakita, K.; Shimamura, K. SmartColor: Disambiguation framework for the colorblind. In Proceedings of the 7th International
ACM SIGACCESS Conference on Computers and Accessibility (ASSETS ’05), Baltimore, MD, USA, 9–12 October 2005; pp. 158–165.
12. Jefferson, L.; Harvey, R. Accommodating color blind computer users. In Proceedings of the 8th international ACM SIGACCESS
Conference on Computers and Accessibility—Assets ’06, Portland, OR, USA, 23–25 October 2006; pp. 40–47.
13. Kuhn, G.R.; Oliveira, M.M.; Fernandes, L.A.F. An efficient naturalness-preserving image-recoloring method for dichro-mats.
_IEEE Trans._ _Vis._ _Comput._ _Graph._ 2008, _14_, 1747–1754. [[CrossRef]](http://doi.org/10.1109/TVCG.2008.112)
14. Zhu, Z.; Toyoura, M.; Go, K.; Fujishiro, I.; Kashiwagi, K.; Mao, X. Naturalness- and information-preserving image recoloring for
red–green dichromats. _Signal Process._ _Image Commun._ 2019, _76_, 68–80. [[CrossRef]](http://doi.org/10.1016/j.image.2019.04.004)
15. Kang, S.-K.; Lee, C.; Kim, C.-S. Optimized color contrast enhancement for dichromats suing local and global contrast. In
Proceedings of the IEEE International Conference on Image Processing (ICIP), Abu Dhabi, United Arab Emirates, 25–28 October
2020; pp. 1048–1052.
16. Meng, M.; Tanaka, G. Lightness modification method considering visual characteristics of protanopia and deuteranopia. _Opt._ _Rev._
2020, _27_, 548–560. [[CrossRef]](http://doi.org/10.1007/s10043-020-00625-5)
17. Huang, J.-B.; Tseng, Y.-C.; Wu, S.-I.; Wang, S.-J. Information preserving color transformation for protanopia and deuteran-opia.
_IEEE Signal Process._ _Lett._ 2007, _14_, 711–714. [[CrossRef]](http://doi.org/10.1109/LSP.2007.898333)
18. Nakauchi, S.; Onouchi, T. Detection and modification of confusing color combinations for red-green dichromats to achieve a color
universal design. _Color Res._ _Appl._ 2008, _33_, 203–211. [[CrossRef]](http://doi.org/10.1002/col.20404)
19. Rigos, A.; Chatzistamatis, S.; Tsekouras, G.E. A systematic methodology to modify color images for dichromatic human color
vision and its application in art paintings. _Int._ _J. Adv._ _Trends Comput._ _Sci._ _Eng._ 2020, _9_, 5015–5025. [[CrossRef]](http://doi.org/10.30534/ijatcse/2020/119942020)
20. Bennett, M.; Quigley, A. A method for the automatic analysis of colour category pixel shifts during dichromatic vision. _Lect._ _Notes_
_Comput._ _Sci._ 2006, _4292_, 457–466.
21. Martínez-Domingo, M.Á.; Valero, E.M.; Gómez-Robledo, L.; Huertas, R.; Hernández-Andrés, J. Spectral filter selection for
increasing chromatic diversity in CVD subjects. _Sensors_ 2020, _20_, 2023. [[CrossRef] [PubMed]](http://doi.org/10.3390/s20072023)
22. Jeong, J.-Y.; Kim, H.-J.; Wang, T.-S.; Yoon, Y.-J.; Ko, S.-J. An efficient re-coloring method with information preserving for the
color-blind. _IEEE Trans._ _Consum._ _Electron._ 2011, _57_, 1953–1960. [[CrossRef]](http://doi.org/10.1109/TCE.2011.6131176)
23. Simon-Liedtke, J.T.; Farup, I. Multiscale daltonization in the gradient domain. _J._ _Percept._ _Imaging_ 2018, _1_, 10503-1–10503-12.
[[CrossRef]](http://doi.org/10.2352/J.Percept.Imaging.2018.1.1.010503)
24. Farup, I. Individualised Halo-Free Gradient-Domain Colour Image Daltonisation. _J. Imaging_ 2020, _6_, 116. [[CrossRef]](http://doi.org/10.3390/jimaging6110116)
25. Huang, J.-B.; Chen, C.-S.; Jen, T.-S.; Wang, S.-J. Image recolorization for the color blind. In Proceedings of the 2009 IEEE
Inter-national Conference on Acoustics, Speech and Signal Processing (ICASSP 2009), Taipei, Taiwan, 19–24 April 2009; pp.
1161–1164.
26. Hassan, M.F.; Paramesran, R. Naturalness preserving image recoloring method for people with red–green deficiency. _Signal_
_Process._ _Image Commun._ 2017, _57_, 126–133. [[CrossRef]](http://doi.org/10.1016/j.image.2017.05.011)
27. Wong, A.; Bishop, W. Perceptually-adaptive color enhancement of still images for individuals with dichromacy. In Proceedings of
the 2008 Canadian Conference on Electrical and Computer Engineering; Institute of Electrical and Electronics Engineers (IEEE),
Vancouver, BC, Canada, 6–7 October 2008; pp. 002027–002032.
28. Ching, S.-L.; Sabudin, M. Website image colour transformation for the colour blind. In Proceedings of the 2nd International
Conference on Computer Technology and Development; Institute of Electrical and Electronics Engineers (IEEE), Cairo, Egypt,
2–4 November 2010; pp. 255–259.
29. Lin, H.-Y.; Chen, L.-Q.; Wang, M.-L. Improving Discrimination in Color Vision Deficiency by Image Re-Coloring. _Sensors_ 2019,
_19_, 2250. [[CrossRef]](http://doi.org/10.3390/s19102250)
30. Ma, Y.; Gu, X.; Wang, Y. Color discrimination enhancement for dichromats using self-organizing color transformation. _Inf._ _Sci._
2009, _179_, 830–843. [[CrossRef]](http://doi.org/10.1016/j.ins.2008.11.010)
31. Li, J.; Feng, X.; Fan, H. Saliency Consistency-Based Image Re-Colorization for Color Blindness. _IEEE Access_ 2020, _8_, 88558–88574.
[[CrossRef]](http://doi.org/10.1109/ACCESS.2020.2993300)
32. Chatzistamatis, S.; Rigos, A.; Tsekouras, G.E. Image Recoloring of Art Paintings for the Color Blind Guided by Semantic Segmentation. In Proceedings of the 21st International Conference on Engineering Applications of Neural Networks (EANN 2020),
Halkidiki, Greece, 5–7 June 2020; pp. 261–273.
33. Vienot, F.; Brettel, H.; Ott, L.; Ben M’Barek, A.; Mollon, J.D. What do color-blind people see. _Nature_ 1995, _376_, 127–128. [[CrossRef]](http://doi.org/10.1038/376127a0)
34. Vienot, F.; Brettel, H.; Mollon, J.D. Digital Video Colourmaps for Checking the Legibility of Displays by Dichromats. _Color Res._
_Appl._ 1999, _24_, 243–252. [[CrossRef]](http://doi.org/10.1002/%0x28SICI%0x291520-6378%0x28199908%0x2924:4<243::AID-COL5>3.0.CO;2-3)
35. Bezdek, J.C. _Pattern_ _Recognition_ _with_ _Fuzzy_ _Objective_ _Function_ _Algorithms_ ; Springer Science and Business Media LLC:
Berlin/Heidelberg, Germany, 1981.
_Sensors_ 2021, _21_, 2740 30 of 30
36. Price, K.V.; Storn, R.M.; Lampinen, J.A. _Differential_ _Evolution:_ _A_ _Practical_ _Approach_ _to_ _Global_ _Optimization_ ; Springer:
Berlin/Heidelberg, Germany, 2005.
37. Ruderman, D.L.; Cronin, T.W.; Chiao, C.-C. Statistics of cone responses to natural images: Implications for visual coding. _J. Opt._
_Soc._ _Am._ _A_ 1998, _15_, 2036–2045. [[CrossRef]](http://doi.org/10.1364/JOSAA.15.002036)
38. Poynton, C.A. _Digital Video and HDTV: Algorithms and Interfaces_ ; Morgan Kaufmann: San Francisco, CA, USA, 2003.
39. Reinhard, E.; Adhikhmin, M.; Gooch, B.; Shirley, P. Color transfer between images. _IEEE Eng._ _Med._ _Biol._ _Mag._ 2001, _21_, 34–41.
[[CrossRef]](http://doi.org/10.1109/38.946629)
40. Reinhard, E.; Pouli, T. Colour spaces for colour transfer. _Lect._ _Notes Comput._ _Sci._ 2011, _6626_, 1–15.
41. Olmos, A.; Kingdom, F.A.A. A Biologically Inspired Algorithm for the Recovery of Shading and Reflectance Images. _Perception_
2004, _33_, 1463–1473. [[CrossRef] [PubMed]](http://doi.org/10.1068/p5321)
42. Zhang, L.; Zhang, L.; Mou, X.; Zhang, D. FSIM: A feature similarity index for image quality assessment. _IEEE Trans._ _Image Process._
2011, _20_, 2378–2386. [[CrossRef]](http://doi.org/10.1109/TIP.2011.2109730)
43. Ishihara, S. Tests for Color Blindness. _Am._ _J. Ophthalmol._ 1918, _1_, 376. [[CrossRef]](http://doi.org/10.1016/S0002-9394%0x2818%0x2990663-X)
44. Farnsworth, D. _The_ _Farnsworth_ _Dichotomous_ _Test_ _for_ _Color_ _Blindness—Panel_ _D–15_ ; Psychological Corporation: New York, NY,
USA, 1947.
45. Thurstone, L.L. A law of comparative judgement. _Psychol._ _Rev._ 1927, _34_, 273–286. [[CrossRef]](http://doi.org/10.1037/h0070288)
46. Mosteller, F. Remarks on the method of paired comparisons: I. The least squares solution assuming equal standard deviations
and equal correlations. _Psychometrika_ 1951, _16_, 3–9. [[CrossRef]](http://doi.org/10.1007/BF02313422)
섹션 본문
섹션 본문이 없습니다.
참고문헌 48건
- Colour Spaces for Colour Transfer Lecture notes in computer science · Springer Science+Business Media · 2011 10.1007/978-3-642-20404-3_1
- Digital video and HDTV algorithms and interfaces Choice Reviews Online · Association of College and Research Libraries · 2003 10.5860/choice.40-6437
- A Method for the Automatic Analysis of Colour Category Pixel Shifts During Dichromatic Vision Lecture notes in computer science · Springer Science+Business Media · 2006 10.1007/11919629_47
- Differential Evolution: A Practical Approach to Global Optimization Springer eBooks · Springer Nature · 2014
- Accommodating color blind computer users 2006 10.1145/1168987.1168996
- Color discrimination enhancement for dichromats using self-organizing color transformation Information Sciences · Elsevier BV · 2008 10.1016/j.ins.2008.11.010
- Remarks on the Method of Paired Comparisons: III. A Test of Significance for Paired Comparisons when Equal Standard Deviations and Equal Correlations Are Assumed Springer eBooks · Springer Nature · 2007 10.1007/978-0-387-44956-2_10
- Standard Response Functions for Protanopic and Deuteranopic Vision Journal of the Optical Society of America · Optica Publishing Group · 1945 10.1364/josa.35.000199
- Information Preserving Color Transformation for Protanopia and Deuteranopia IEEE Signal Processing Letters · Institute of Electrical and Electronics Engineers · 2007 10.1109/lsp.2007.898333
- A law of comparative judgment. Psychological Review · American Psychological Association · 1927 10.1037/h0070288
- An efficient re-coloring method with information preserving for the color-blind IEEE Transactions on Consumer Electronics · Institute of Electrical and Electronics Engineers · 2011 10.1109/tce.2011.6131176
- Confusion lines of dichromats Color Research & Application · Wiley · 1992 10.1002/col.5080170603
- Orthogonal Relations and Color Constancy in Dichromatic Colorblindness PLoS ONE · Public Library of Science · 2014 10.1371/journal.pone.0107035
- SmartColor 2005 10.1145/1090785.1090815
- Website image colour transformation for the colour blind 2010 10.1109/icctd.2010.5645874
- What do colour-blind people see? Nature · Nature Portfolio · 1995 10.1038/376127a0
- Remarks on the method of paired comparisons: I. The least squares solution assuming equal standard deviations and equal correlations Psychometrika · Springer Science+Business Media · 1951 10.1007/bf02313422
- An Efficient Naturalness-Preserving Image-Recoloring Method for Dichromats IEEE Transactions on Visualization and Computer Graphics · Institute of Electrical and Electronics Engineers · 2008 10.1109/tvcg.2008.112
- Tests for Color Blindness American Journal of Ophthalmology · Elsevier BV · 1918 10.1016/s0002-9394(18)90663-x
- Digital video colourmaps for checking the legibility of displays by dichromats Color Research & Application · Wiley · 1999 10.1002/(sici)1520-6378(199908)24:4<243::aid-col5>3.0.co;2-3
- Pattern Recognition with Fuzzy Objective Function Algorithms Springer eBooks · Springer Nature · 1981 10.1007/978-1-4757-0450-1
- Color transfer between images IEEE Computer Graphics and Applications · Institute of Electrical and Electronics Engineers · 2001 10.1109/38.946629
- Perceptually-adaptive color enhancement of still images for individuals with dichromacy Conference proceedings - Canadian Conference on Electrical and Computer Engineering · Institute of Electrical and Electronics Engineers · 2008 10.1109/ccece.2008.4564901
- Detection and modification of confusing color combinations for red‐green dichromats to achieve a color universal design Color Research & Application · Wiley · 2008 10.1002/col.20404
- Statistics of cone responses to natural images: implications for visual coding Journal of the Optical Society of America A · Optica Publishing Group · 1998 10.1364/josaa.15.002036
- The spectral sensitivities of the middle- and long-wavelength-sensitive cones derived from measurements in observers of known genotype Vision Research · Elsevier BV · 2000 10.1016/s0042-6989(00)00021-3
- FSIM: A Feature Similarity Index for Image Quality Assessment IEEE Transactions on Image Processing · Institute of Electrical and Electronics Engineers · 2011 10.1109/tip.2011.2109730
- Image recolorization for the colorblind 2009 10.1109/icassp.2009.4959795
- A Biologically Inspired Algorithm for the Recovery of Shading and Reflectance Images Perception · SAGE Publishing · 2004 10.1068/p5321
- A Novel Confusion-Line Separation Algorithm Based on Color Segmentation for Color Vision Deficiency Journal of Imaging Science and Technology · Society for Imaging Science and Technology · 2012 10.2352/j.imagingsci.technol.2012.56.3.030501
- Naturalness preserving image recoloring method for people with red–green deficiency Signal Processing Image Communication · Elsevier BV · 2017 10.1016/j.image.2017.05.011
- Colorimetry and Dichromatic Vision InTech eBooks · InTech · 2018 10.5772/intechopen.71563
- Multiscale Daltonization in the Gradient Domain Journal of Perceptual Imaging · Society for Imaging Science & Technology · 2018 10.2352/j.percept.imaging.2018.1.1.010503
- Naturalness- and information-preserving image recoloring for red–green dichromats Signal Processing Image Communication · Elsevier BV · 2019 10.1016/j.image.2019.04.004
- Improving Discrimination in Color Vision Deficiency by Image Re-Coloring Sensors · Multidisciplinary Digital Publishing Institute · 2019 10.3390/s19102250
- Recoloring Algorithms for Colorblind People ACM Computing Surveys · Association for Computing Machinery · 2019 10.1145/3329118
- Optimal Color Correction Based on Image Analysis for Color Vision Deficiency IEEE Access · Institute of Electrical and Electronics Engineers · 2019 10.1109/access.2019.2948653
- Spectral Filter Selection for Increasing Chromatic Diversity in CVD Subjects Sensors · Multidisciplinary Digital Publishing Institute · 2020 10.3390/s20072023
- Saliency Consistency-Based Image Re-Colorization for Color Blindness IEEE Access · Institute of Electrical and Electronics Engineers · 2020 10.1109/access.2020.2993300
- Image Recoloring of Art Paintings for the Color Blind Guided by Semantic Segmentation Proceedings of the international neural networks society · Springer International Publishing · 2020 10.1007/978-3-030-48791-1_20
- A Systematic Methodology to Modify Color Images for Dichromatic Human Color Vision and its Application in Art Paintings International Journal of Advanced Trends in Computer Science and Engineering · The World Academy of Research in Science and Engineering · 2020 10.30534/ijatcse/2020/119942020
- Optimized Color Contrast Enhancement For Dichromats Using Local And Global Contrast 2022 IEEE International Conference on Image Processing (ICIP) · 2020 10.1109/icip40778.2020.9190999
- Lightness modification method considering visual characteristics of protanopia and deuteranopia Optical Review · Springer Science+Business Media · 2020 10.1007/s10043-020-00625-5
- Individualised Halo-Free Gradient-Domain Colour Image Daltonisation Journal of Imaging · Multidisciplinary Digital Publishing Institute · 2020 10.3390/jimaging6110116
- Individualised Halo-Free Gradient-Domain Colour Image Daltonisation 2020 10.20944/preprints202010.0167.v1
- Standard Response Functions for Protanopic and Deuteranopic Vision Journal of the Optical Society of America · Optica Publishing Group · 1948 10.1364/josa.38.0815_1
- Remarks on the method of paired comparisons: III. A test of significance for paired comparisons when equal standard deviations and equal correlations are assumed Psychometrika · Springer Science+Business Media · 1951 10.1007/bf02289116
- Color Matching and Color Discrimination Elsevier eBooks · Elsevier BV · 2003 10.1016/b978-044451251-2/50004-0