ColorInterpolationforNon EuclideanColorSpaces
ColorInterpolationforNon EuclideanColorSpaces
net/publication/332974251
CITATIONS READS
6 679
6 authors, including:
All content following this page was uploaded by Tobias M. Post on 09 May 2019.
A BSTRACT that is built into the human perceptual system to adapt to different
Color interpolation is critical to many applications across a variety viewing conditions. As a result, modern color difference formulas
of domains, like color mapping or image processing. Due to the (e.g. CIEDE1994, CIEDE2000) that were designed to match experi-
characteristics of the human visual system, color spaces whose dis- mental data produce complicated spaces, in which it is difficult to
tance measure is designed to mimic perceptual color differences tend correctly interpolate colors.
to be non-Euclidean. In this setting, a generalization of established
interpolation schemes is not trivial. This paper presents an approach
to generalize linear interpolation to colors for color spaces equipped
with an arbitrary non-Euclidean distance measure. It makes use
of the fact that in Euclidean spaces, a straight line coincides with
the shortest path between two points. Additionally, we provide an
interactive implementation of our method for the CIELAB color
space using the CIEDE2000 distance measure integrated into VTK
and ParaView.
Index Terms: Human-centered computing—Visualization—Visu-
alization techniques—Treemaps; Human-centered computing—
Visualization—Visualization design and evaluation methods
Figure 1: Visualization of hue- Figure 2: From the black
1 I NTRODUCTION superimportance and diminish- node: 1-neighborhood orange,
ing returns. 2-neighborhood green.
Many applications require interpolation between colors, for exam-
ple, color mapping, re-sampling of color images or movies, and
In this paper, we present a novel method for interpolating colors in
image manipulations, like stitching, morphing, or contrast adaption.
arbitrary color spaces equipped with a distance measure. Analogous
The most popular interpolation method is linear, where values are
to the concept of a geodesic in a Riemannian manifold, we use a
taken equidistantly on a straight line connecting the sampling points.
shortest path between the colors to be interpolated with respect to the
However, the state of the art indicates that human color perception
given distance measure, even though its length does generally not
is non-Euclidean due to the principle called hue superimportance,
coincide with the distance between the colors. To be mathematically
Figure 1. Hue superimportance [9] refers to the fact that changes
precise, we require a path-connected metric space. That allows the
in hue are perceived stronger than changes in saturation, Figure 1.
definition of a shortest path even though it might not be unique or
The circumference of a circle of constant luminance and saturation
finite. Furthermore, we provide an open source implementation
would be estimated to measure about 4π for its radius, which can-
of the algorithm in the Visualization Toolkit (VTK) [30, 31] and
not be embedded in a Euclidean plane. In non-Euclidean spaces,
ParaView [1] for the special case of CIELAB color space with the
the concept of a straight line is in general undefined. For the spe-
CIEDE2000 distance measure. We also conduct a parameter study
cial case of Riemannian manifolds, the generalization of a straight
to determine the best resolution and neighborhood with respect to
line is a geodesic, i.e., a shortest path between two points, whose
path lengths and runtime.
length coincides with the points’ distance. Furthermore, human
The main contributions of this paper in a nutshell are:
color perception is also non-Riemannian, due to the principle called
diminishing returns [9], Figure 1. In this context, diminishing returns • Presentation of a novel method for the interpolation of colors
refers to the phenomenon that when presented with two colors, A,C in arbitrary path-connected metric color spaces.
and their perceived middle (average/mixture) B, an observer usually
judges the sum of the perceived differences of each half greater than • Release of open an source implementation of the algorithm in
the difference of the two outer colors ∆(A, B) + ∆(B,C) > ∆(A,C). VTK and ParaView.
This effect is produced by a natural contrast enhancement filter • Optimization of the parameters w.r.t. path length and runtime
through experiments to achieve interactivity.
* e-mail: [email protected]
† e-mail: [email protected] We particularly do not claim that colormaps interpolated in non-
‡ e-mail: [email protected] metric spaces are better than the ones interpolated in Euclidean color
§ e-mail: [email protected] spaces. This could only be evaluated through a user study, which is
¶ e-mail: [email protected] outside the scope of this paper. We simply provide the functionality.
|| e-mail: [email protected]
2 R ELATED W ORK
Guild [6] describes the setup and the results of the colorimetric
experiments that led to the definition of the CIE standard observer.
His seminal paper describes the birth of the first modern color space:
(a) Naive VTK implementation. (b) Corrected implementation.
path is slightly curved but still follows the CIEDE1976 line closely.
The HSV and CIEDE2000 paths have more extreme deviations. Figure 8: Shortest paths from four different color spaces and the RGB
Whereas the HSV path moves more along the outskirts of the RGB color cube embedded in the CIELAB color space
color space, the CIEDE2000 path moves closer towards its center.
We were able to observe the same behavior with other colors as
well. This phenomenon is in accordance with hue-superimportance
because the human eye perceives desaturated colors as being closer
together than flashier ones. For colormaps with multiple control
(a) CIEDE1976
points, this often results in sharper transitions at these control points,
Figure 9, with the path forming a flower-like pattern.