Technical Field
[0001] The invention relates to the dynamic range transformation of images, and in particular
but not exclusively, to image processing to generate High Dynamic Range images from
at least Low Dynamic Range images.
Background Art
[0002] It is known, notably from
WO2015/096955, to convert luminance values
YLDR of colors of a low dynamic range (LDR) version of an image into expanded luminance
values
YHDR for generating colors of a corresponding high dynamic range (HDR) version of this
image, by scaling exponentially these low dynamic range luminance values
YLDR (or low pass filtered luminance values
YLDR-LPF) using an exponent function with an exponent. For each pixel p of the LDR image,
a value of the exponent
EHDR(p) can be computed, for instance as disclosed
EP3136737 A1,
WO2015/096955,
WO2017/032822 and
WO2017/036908. Values of this exponent
EHDR(p) for each pixel of the image forms an expansion exponent map.
[0003] Such an exponential inverse Tone Mapping (iTM) can then be summarized by the following
equation:
- where

can be equal to the low dynamic range luminance value of the color of the pixel p
of the image, namely YLDR(p), or, for instance, to a low pass filtered luminance value of the same color as disclosed
for instance in WO2017/190850;
- where Ys (p) is a scaling function, for instance adapted as disclosed in WO2015/096955 to enhance details that may have been smoothed by the luminance expansion, and/or
for denoising the expanded version of the image.
[0004] A LDR version of an image is generally provided such that the range of luminance
values of its colors are all inferior or equal to a low peak luminance level
LLDR which correspond to the maximum luminance that a LDR display device can display.
If such a LDR version is coded using
BLDR bits, the low peak luminance level
LSDR corresponds to the coded value
2BLDR-1
. If
BLDR =10 and if L
LDR = 100 nits, the coded value 1023 corresponds to 100 nits.
[0005] As generated for instance as described above, a HDR version of an image is such that
the range of luminance values of its colors are all inferior or equal to a higher
peak luminance level
LHDR which correspond to the maximum luminance that a given HDR display device can display.
It means that a given HDR version of an image is specifically adapted to be displayed
by display devices having a peak luminance level equal to
LHDR. If such a HDR version is coded using
BHDR bits, the high peak luminance level
LHDR corresponds to the coded value
2BHDR-1. If
BHDR =12 and if L
HDR = 1000 nits, the coded value 4095 corresponds to 1000 nits.
[0006] A problem arises when an image has to be displayed by a target display device having
a target peak luminance
LT different from the low peak luminance level
LLDR and different from the high peak luminance level
LHDR, whenever
LLDR < LT < LHDR, or
LT > LHDR . Namely, this problem is the tone adaptation of an image to a target peak luminance
LT different from the high peak luminance level
LHDR for which the HDR image has been or can be generated.
[0007] The document
WO2013/046095 discloses several solutions to solve this problem.
Summary of invention
[0008] An object of the invention is to solve the above problem notably in the context of
exponential inverse Tone Mapping.
[0009] For this purpose, a subject of the invention is an image processing method according
to claim 1.
[0010] A subject of the invention is also an image processing device according to claim
2.
[0011] A subject of the invention is also an electronic device incorporating this image
processing device, as, for instance, a camera, a TV set, a monitor, a head mounted
display, a set top box, a gateway, a smartphone and a tablet.
[0012] A subject of the invention is also a non-transitory storage medium according to claim
5.
Brief description of drawings
[0013] The invention will be more clearly understood on reading the description which follows,
given by way of non-limiting examples and with reference to the appended figure:
- Figure 1 illustrates tone expansion of LDR luminance values YLDR(p) into target luminance values YT(p) of pixels p of the image, for difference values of the target peak luminance LT, according to the first embodiment of the tone adaptation of this image.
Description of embodiments
[0014] The functions of the various elements shown in the figures may be provided through
the use of dedicated hardware as well as hardware capable of executing software in
association with appropriate software.
[0015] It is to be understood that the invention may be implemented in various forms of
hardware, software, firmware, special purpose processors, or combinations thereof.
The term "processor" should not be construed to refer exclusively to hardware capable
of executing software, and may implicitly include, without limitation, digital signal
processor ("DSP") hardware, read-only memory ("ROM") for storing software, random
access memory ("RAM"), and non-volatile storage. The invention may be notably implemented
as a combination of hardware and software. Moreover, the software may be implemented
as an application program tangibly embodied on a program storage unit. Such a software
can take the form of a plug-in to be integrated to another software. The application
program may be uploaded to, and executed by,
an image processing device comprising any suitable architecture.
[0016] Preferably, the image processing device is implemented on a computer platform having
hardware such as one or more central processing units ("CPU") or processors, a random-access
memory ("RAM"), and input/output ("I/O") interfaces. The computer platform may also
include an operating system and microinstruction code. The various processes and functions
described herein may be either part of the microinstruction code or part of the application
program, or any combination thereof, which may be executed by a CPU. The computer
platform is connected to a target display device having its target peak luminance
L
T. In addition, various other peripheral units may be connected to the computer platform
such as an image reception device configured to receive images, an additional data
storage unit configured to store image data, a remote-control unit, ... This image
processing device may be part of an electronic device able to receive and/or store
images, for instance a camera, a TV set, a set-top-box, a monitor, a gateway, a smartphone,
a tablet, a head-mounted display.
[0017] All components of this image processing device for the tone adaptation of an image
are configured in a manner known per se to implement the different steps of the first
or second embodiments of the method described hereafter.
1st embodiment:
[0018] In this first embodiment, it is assumed that the image processing device receives
and/or stores the following data:
- a LDR version of an image adapted to be displayed by a LDR display device having a
low peak luminance LLDR, providing a LDR luminance value YLDR(p) for each pixel of the image; such a LDR version is generally binary coded over BLDR bits (ex.: 8 bits, corresponding to 256 different values);
- a map of HDR expansion exponents EHDR(p) to be used to expand luminance values of the LDR version for generating a HDR version
to be displayed by a HDR display device having a high peak luminance LHDR; such a HDR version will be generally binary coded within a wider range [0, NHDR] (ex.: 10 bits, corresponding to 1024 different values).
- the target peak luminance LT of the target display device connected to this image processing device (or to be
connected to it).
[0019] In order to compare the LDR version to the HDR version of the same image, in a
first step of this embodiment, luminance values of the LDR version are linearly scaled within
a
high dynamic range [0,
LHDR] to get scaled LDR luminance values
YSC-LDR(
p)
. The goal of this scaling step is to scale luminance values of the LDR version over
the range of the luminance values of the HDR version. We will scale for instance these
LDR luminance values
YSC-LDR(
p) over an interval [0,
NLDR] (corresponding for instance to 256 different values) according to:

[0020] The ratio

is the scaling ratio.
[0021] NLDR may be related to the number of bits
BLDR over which the luminance values of the LDR version are coded, and then
NLDR = 2
BLDR -1.
NLDR may be independent from the number of bits
BLDR.
[0022] The straight dotted line of figure 1 illustrates the variation of
Ysc,LDR(
p) in function of
YLDR(p).
[0023] Still in this first step, LDR expansion exponents
ELDR(p) are computed such as to approximate these scaled LDR luminance values
Ysc,LDR(
p) such that:

[0024] These obtained LDR expansion exponent values
ELDR(p) then forms a map. Therefore, we have:

[0025] Or:

such that the map of LDR expansion exponents
ELDR(p) is computed as follows:

[0026] Since in equation (5a) we divide by log(
Y(
i)) attention is needed to avoid a division by zero. As such, we instead define
ELDR as follows:

[0027] In summary, in this first step, a map of low dynamic range expansion exponents
ELDR(p) is computed such that, when applied to low dynamic range luminance values
YLDR (or low pass filtered luminance values) of the low dynamic range version of the image,
low dynamic range luminance values
YLDR are scaled by a factor

.
[0028] In a
second step, for each pixel p of the image, target expansion exponent values
ET(p) are computed as a weighted sum of the HDR expansion exponent
EHDR(p) and of the LDR expansion exponent
ELDR(p) : 
with a weight 0 ≤
αin ≤ 1 of the HDR expansion exponent
EHDR(p) which is proportional to the difference between the target peak luminance
LT of the target display device and the low peak luminance
LLDR, this difference being scaled by the difference between the high peak luminance
LHDR and the low peak luminance
LLDR. This weight
αin is preferably computed as follows:

[0029] An interpolated expansion exponent map
ET(p) is then obtained.
[0030] In a
third step, luminance values of the LDR image are expanded into target luminance values
YT for generating colors of a corresponding target range image, by scaling exponentially
these low dynamic range luminance values
YLDR (or low pass filtered luminance values
YLDR-LPF) using an exponent function with an exponent based on the target expansion exponent
map
ET(p). Such an inverse Tone Mapping (iTM) can then be summarized by the following equation:

, or, using equation 6:
- where

can be equal to the low dynamic range luminance value of the color of the pixel p,
namely YLDR(p), or, for instance, to a low pass filtered luminance value of the same color;
- where Ys (p) is a scaling function, for instance adapted as disclosed in WO2015/096955 to enhance details that may have been smoothed by the luminance expansion, and/or
for denoising the expanded image.
[0031] Note that, when
, equation 8b above combined with equation 3 can also be written as:

[0032] In this equation 8c, the target expanded luminance
YT(p) is based on a linear combination of a HDR expansion gain and of a LDR expansion gain,
which is multiplied by a constant factor
K(1-αin).
[0033] Figure 1 illustrates the variation of the target luminance values Y
T(p) in function of the low dynamic range luminance values Y
LDR(p) = Y'
LDR(P) for different values of the target peak luminance L
T = 100, 250, 500, 750 and 1000 cd/m
2, when L
LDR = 100 cd/m2 and L
HDR = 1000 cd/m
2.
[0034] In a
fourth step, a tone-adapted version of the image is built in a manner known per se, based on the
target luminance values
YT . For instance, the expanded luminance value
YT of each pixel is combined with its chromatic channels for instance as described in
WO2015/096955. A target range image is then obtained that can be sent from the image processing
device to the target display to be displayed. Advantageously, the tone-adapted target
version of the image that is obtained is specifically tone adapted to the peak luminance
value L
T of the target display.
[0035] This first embodiment is preferred because expansion can be encoded using a look-up
table taking luminance values of the LDR image as input (for instance, coded over
8 bits in the interval [0-255] or over 10 bits in the interval [0-1023]) and giving
expanded luminance. Since this is a relatively small amount of data, the interpolation
is much more efficient than interpolating every pixel of the image, irrespective of
what is in the images to be interpolated. Additionally, compared to the second variant
of the second embodiment below, this embodiment avoids double application of the iTM.
2nd embodiment:
[0036] In this second embodiment, which is not part of the invention, it is also assumed
that the image processing device receives and/or stores the following data:
- as in the first embodiment above, a LDR version of an image adapted to be displayed
by a LDR display device having a low peak luminance LLDR, providing a LDR luminance value YLDR(p) for each pixel of the image;
- a HDR version of the image adapted to be displayed with a HDR display device having
a high peak luminance value LHDR, providing a HDR luminance value YHDR(p) for each pixel of the image;
- as in the first embodiment above, the target peak luminance LT of the target display device connected to this image processing device (or to be
connected to it).
[0037] In this second embodiment, for each pixel p of the image, we will process as follows.
[0038] In a
first step, in order to compare the LDR version to the HDR version of the same image, luminance
values of the LDR version are linearly scaled within a
low dynamic range [0,
LLDR] to get scaled LDR luminance values
Y'SC-LDR(
p). As in the first embodiment, independently or not from the number of bits B
LDR over which the luminance values of the LDR version are coded, we will scale the LDR
luminance values
Y'SC-LDR(
p) over an interval [0,
NLDR] (corresponding for instance to 256 different values) according to:

[0039] In a
second step, a target luminance value of this pixel
Y'T(p) is computed as a weighted sum of the scaled LDR luminance value
Y'SC,LDR computed in the first step and of the HDR luminance value
YHDR of this pixel, such that:

with a weight 0 ≤
αin ≤ 1 of the HDR luminance value
YHDR(
p) which is proportional to the difference between the target peak luminance
LT of the target display device and the low peak luminance
LLDR, this difference being scaled by the difference between the high peak luminance
LHDR and the low peak luminance
LLDR. This weight
αin is then preferably computed as follows:

[0040] In a
third step, the target luminance value
Y'T(
p) is combined with its chromatic channels for instance as described in
WO2015/096955.
[0041] A target version of the image is then obtained that can be sent from the image processing
device to the target display to be displayed. Advantageously, the target version of
the image that is obtained is specifically tone adapted to the peak luminance value
L
T of the target display.
[0042] This second embodiment is less efficient computationally than the first one in the
case where look-up tables are used to implement luminance expansion, as it requires
each pixel of the final image to be interpolated. However, in applications where absolute
luminance is required at the output, it may be preferred. Given the above formulation
if for example
Lt = 500 cd/m
2, the values in
Yexp,t will range between 0 and 500.
[0043] As a first variant of this second embodiment, which is not part of the invention,
in the first step, the scaling ratio is

as in the first embodiment. Scaled LDR luminance values that are obtained are then
distributed within the HDR interval [0,
LHDR] as the coded luminance values of the LDR version are distributed in the interval
[0,
NLDR]
. Therefore, we have:

[0044] As a second variant of this second embodiment (that may be combined with the first
variant), which is not part of the invention, HDR luminance values
YHDR(
p) may be computed as in the second step of the first embodiment, from a map of HDR
expansion exponents
EHDR(p).
[0045] It is to be understood that the invention may be implemented in various forms of
hardware, software, firmware, special purpose processors, or combinations thereof.
[0046] While some of the specific embodiments may be described and claimed separately, it
is understood that the various features of embodiments described may be used in combination
[0047] The invention is defined in the appended claims.
1. An image processing method for tone adapting an image to a target peak luminance LT
of a target display device from a low dynamic range version of this image adapted
to be displayed on a display device having a low peak luminance LLDR, and from high
dynamic range expansion exponents EHDR(p) to be applied to low dynamic range luminance
values YLDR(p) or to low pass filtered luminance values of said low dynamic range
version of said image to get expanded luminance values YHDR(p) of a high dynamic range
version of said image adapted to be displayed on a display device having a high peak
luminance LHDR, said method comprising, for a pixel p in the image:
- obtaining low dynamic range expansion exponents ELDR(p) such that, when applied
to low dynamic range luminance values YLDR(p) orto low pass filtered luminance values
of said low dynamic range version of said image, low dynamic range luminance values
YLDR(p) are linearly scaled from a low dynamic range [0, NLDR] to a high dynamic range
[0, LHDR] by a factor LHDR / NLDR,
wherein

and

otherwise,
- obtaining target expansion exponents ET(p) as a weighted sum of the high dynamic
range expansion exponents EHDR(p) and of the obtained low dynamic range expansion
exponents ELDR(p), with a weight 0 ≤ α_in ≤ 1 of the high dynamic range expansion
exponent EHDR(p) and with a weight of the low dynamic range expansion exponent ELDR(p)
equal to (1- α_in), wherein the weight α_in of the high dynamic range expansion exponent
EHDR(p) is proportional to a difference between the target peak luminance LT of the
target display device and the low peak luminance LLDR, this difference being scaled
by another difference between the high peak luminance LHDR and the low peak luminance
LLDR,
- applying obtained target expansion exponent ET(p) to low dynamic range luminance
values YLDR(p) or to low pass filtered luminance values of said low dynamic range
version of said image, and applying a scaling function Ys(p), resulting in target
luminance values YT,
- building a tone-adapted version of said image based on said target luminance values
YT.
2. An image processing device for tone adapting an image to a target peak luminance LT
of a target display device from a low dynamic range version of this image adapted
to be displayed on a display device having a low peak luminance LLDR, and from high
dynamic range expansion exponents EHDR(p) to be apply to low dynamic range luminance
values YLDR or to low pass filtered luminance values of said low dynamic range version
of said image to get expanded luminance values YHDR(p) of a high dynamic range version
of said image adapted to be displayed on a display device having a high peak luminance
LHDR, said device comprising at least one processor configured for, for a pixel p
in the image:
- obtaining low dynamic range expansion exponents ELDR(p) such that, when applied
to low dynamic range luminance values YLDR(p) orto low pass filtered luminance values
of said low dynamic range version of said image, low dynamic range luminance values
YLDR are linearly scaled from a low dynamic range [0, NLDR] to a high dynamic range
[0, LHDR] by a factor LHDR / NLDR,
wherein

and
- obtaining target expansion exponents ET(p) as a weighted sum of the high dynamic
range expansion exponents EHDR(p) and of the obtained low dynamic range expansion
exponents ELDR(p), with a weight 0 ≤ α_in ≤ 1 of the high dynamic range expansion
exponent EHDR(p) and with a weight of the low dynamic range expansion exponent ELDR(p)
equal to (1- α_in), wherein the weight α_in of the high dynamic range expansion exponent
EHDR(p) is proportional to a difference between the target peak luminance LT of the
target display device and the low peak luminance LLDR, this difference being scaled
by another difference between the high peak luminance LHDR and the low peak luminance
LLDR,
- applying obtained target expansion exponent ET(p) to low dynamic range
luminance values YLDR(p) or to low pass filtered luminance values of said low dynamic
range version of said image, and applying a scaling function Ys(p), resulting in target
luminance values YT,
- building a tone-adapted version of said image based on said target luminance values
YT.
3. An electronic device incorporating the image processing device according to claim
2.
4. The electronic device according to claim 3 selected in the group consisting of a camera,
a TV set, a monitor, a head mounted display, a set top box, a gateway, a smartphone
and a tablet.
5. A non-transitory storage medium carrying instructions which, when executed by a computing
device, cause the computing device to carry out the method according to claim 1.
1. Bildverarbeitungsverfahren für die Farbtonanpassung eines Bilds an eine Zielspitzenleuchtdichte
LT einer Zielanzeigevorrichtung von einer Version mit niedrigem Dynamikbereich dieses
Bilds, die daran angepasst ist, auf eine Anzeigevorrichtung mit einer niedrigen Spitzenleuchtdichte
LLDR angezeigt zu werden, und von Erweiterungsexponenten EHDR(p) für einen hohen Dynamikbereich,
die auf Leuchtdichtewerte YLDR(p) eines niedrigen Dynamikbereichs oder auf tiefpassgefilterte
Leuchtdichtewerte der Version mit niedrigem Dynamikbereich des Bilds angewendet werden
sollen, um erweiterte Leuchtdichtewerte YHDR(p) einer Version mit hohem Dynamikbereich
des Bilds zu erhalten, die daran angepasst ist, auf einer Anzeigevorrichtung mit einer
hohen Spitzenleuchtdichte LHDR angezeigt zu werden, wobei das Verfahren für ein Pixel
p in dem Bild umfasst:
- Erhalten von Erweiterungsexponenten ELDR(p) für einen niedrigen Dynamikbereich derart,
dass, wenn sie auf Leuchtdichtewerte YLDR(p) eines niedrigen Dynamikbereichs oder
auf tiefpassgefilterte Leuchtdichtewerte der Version mit niedrigem Dynamikbereich
des Bilds angewendet werden, Leuchtdichtewerte YLDR(p) eines niedrigen Dynamikbereichs
von einem niedrigen Dynamikbereich [0, NLDR] auf einen hohen Dynamikbereich [0, LHDR]
durch einen Faktor LHDR/NLDR linear skaliert werden,
wobei

und
- Erhalten von Zielerweiterungsexponenten ET(p) als eine gewichtete Summe der Erweiterungsexponenten
EHDR(p) für einen hohen Dynamikbereich und der erhaltenen Erweiterungsexponenten ELDR(p)
für einen niedrigen Dynamikbereich mit einem Gewicht 0 ≤ α_in ≤ 1 des Erweiterungsexponenten
EHDR(p) für einen hohen Dynamikbereich und mit einem Gewicht des Erweiterungsexponenten
ELDR(p) für einen niedrigen Dynamikbereich gleich (1 - α_in), wobei das Gewicht α_in
des Erweiterungsexponenten EHDR(p) für einen hohen Dynamikbereich proportional zu
einer Differenz zwischen der Zielspitzenleuchtdichte LT der Zielanzeigevorrichtung
und der niedrigen Spitzenleuchtdichte LLDR ist, wobei diese Differenz durch eine weitere
Differenz zwischen der hohen Spitzenleuchtdichte LHDR und der niedrigen Spitzenleuchtdichte
LLDR skaliert wird,
- Anwenden des erhaltenen Zielerweiterungsexponenten ET(p) auf Leuchtdichtewerte YLDR(p)
eines niedrigen Dynamikbereichs oder auf tiefpassgefilterte Leuchtdichtewerte der
Version mit niedrigem Dynamikbereich des Bilds und Anwenden einer Skalierungsfunktion
Ys(p), was zu Zielleuchtdichtewerten YT führt,
- Aufbauen einer farbtonangepassten Version des Bilds auf der Grundlage der Zielleuchtdichtewerte
YT.
2. Bildverarbeitungsvorrichtung für die Farbtonanpassung eines Bilds an eine Zielspitzenleuchtdichte
LT einer Zielanzeigevorrichtung von einer Version mit niedrigem Dynamikbereich dieses
Bilds, die daran angepasst ist, auf eine Anzeigevorrichtung mit einer niedrigen Spitzenleuchtdichte
LLDR angezeigt zu werden, und von Erweiterungsexponenten EHDR(p) für einen hohen Dynamikbereich,
die auf Leuchtdichtewerte YLDR(p) eines niedrigen Dynamikbereichs oder auf tiefpassgefilterte
Leuchtdichtewerte der Version mit niedrigem Dynamikbereich des Bilds angewendet werden
sollen, um erweiterte Leuchtdichtewerte YHDR(p) einer Version mit hohem Dynamikbereich
des Bilds zu erhalten, die daran angepasst ist, auf einer Anzeigevorrichtung mit einer
hohen Spitzenleuchtdichte LHDR angezeigt zu werden, wobei die Vorrichtung mindestens
einen Prozessor umfasst, der dafür konfiguriert ist, für ein Pixel p in dem Bild:
- Erweiterungsexponenten ELDR(p) für einen niedrigen Dynamikbereich derart zu erhalten,
dass, wenn sie auf Leuchtdichtewerte YLDR eines niedrigen Dynamikbereichs oder auf
tiefpassgefilterte Leuchtdichtewerte der Version mit niedrigem Dynamikbereich des
Bilds angewendet werden, Leuchtdichtewerte YLDR(p) eines niedrigen Dynamikbereichs
von einem niedrigen Dynamikbereich [0, NLDR] auf einen hohen Dynamikbereich [0, LHDR]
durch einen Faktor LHDR/NLDR linear skaliert werden,
wobei

und
- Zielerweiterungsexponenten ET(p) als eine gewichtete Summe der Erweiterungsexponenten
EHDR(p) für einen hohen Dynamikbereich und der erhaltenen Erweiterungsexponenten ELDR(p)
für einen niedrigen Dynamikbereich mit einem Gewicht 0 ≤ α_in ≤ 1 des Erweiterungsexponenten
EHDR(p) für einen hohen Dynamikbereich und mit einem Gewicht des Erweiterungsexponenten
ELDR(p) für einen niedrigen Dynamikbereich gleich (1 - α_in) zu erhalten, wobei das
Gewicht α_in des Erweiterungsexponenten EHDR(p) für einen hohen Dynamikbereich proportional
zu einer Differenz zwischen der Zielspitzenleuchtdichte LT der Zielanzeigevorrichtung
und der niedrigen Spitzenleuchtdichte LLDR ist, wobei diese Differenz durch eine weitere
Differenz zwischen der hohen Spitzenleuchtdichte LHDR und der niedrigen Spitzenleuchtdichte
LLDR skaliert wird,
- den erhaltenen Zielerweiterungsexponenten ET(p) auf Leuchtdichtewerte YLDR(p) eines
niedrigen Dynamikbereichs oder auf tiefpassgefilterte Leuchtdichtewerte der Version
mit niedrigem Dynamikbereich des Bilds anzuwenden und eine Skalierungsfunktion Ys(p)
anzuwenden, was zu Zielleuchtdichtewerten YT führt,
- auf der Grundlage der Zielleuchtdichtewerte YT eine farbtonangepasste Version des
Bilds aufzubauen.
3. Elektronische Vorrichtung, die die Bildverarbeitungsvorrichtung nach Anspruch 2 enthält.
4. Elektronische Vorrichtung nach Anspruch 3, die in der Gruppe ausgewählt ist, die aus
einer Kamera, aus einem Fernsehgerät, aus einem Monitor, aus einer am Kopf montierten
Anzeige, aus einer Set-Top-Box, aus einem Gateway, aus einem Smartphone und aus einem
Tablet besteht.
5. Nichttransitorisches Speichermedium, das Anweisungen trägt, die, wenn sie durch eine
Computervorrichtung ausgeführt werden, veranlassen, dass die Computervorrichtung das
Verfahren nach Anspruch 1 ausführt.
1. Procédé de traitement d'image pour adapter la tonalité d'une image à une luminance
maximale cible LT d'un dispositif d'affichage cible à partir d'une version à plage
dynamique inférieure de cette image adaptée pour être affichée sur un dispositif d'affichage
ayant une luminance maximale inférieure LLDR, et à partir d'exposants d'expansion
de plage dynamique élevée EHDR(p) à appliquer à des valeurs de luminance de plage
dynamique inférieure YLDR(p) ou à des valeurs de luminance filtrées en passe-bas de
ladite version à plage dynamique inférieure de ladite image pour obtenir des valeurs
de luminance étendues YHDR(p) d'une version à plage dynamique élevée de ladite image
adaptée pour être affichée sur un dispositif d'affichage ayant une luminance maximale
élevée LHDR, ledit procédé comprenant, pour un pixel p dans l'image :
- l'obtention d'exposants d'expansion de plage dynamique inférieure ELDR(p) de sorte
que, lorsqu'ils sont appliqués à des valeurs de luminance de plage dynamique inférieure
YLDR(p) ou à des valeurs de luminance filtrées en passe-bas de ladite version à plage
dynamique inférieure de ladite image, les valeurs de luminance de plage dynamique
inférieure YLDR(p) sont mises à l'échelle de façon linéaire d'une plage dynamique
inférieure [0, NLDR] à une plage dynamique élevée [0, LHDR] selon un facteur LHDR/NLDR,
dans lequel

et
- l'obtention d'exposants d'expansion cibles ET(p) sous la forme d'une somme pondérée
des exposants d'expansion de plage dynamique élevée EHDR(p) et des exposants d'expansion
de plage dynamique inférieure ELDR(p) obtenus, avec un poids 0 ≤ α_in ≤ 1 de l'exposant
d'expansion de plage dynamique élevée EHDR(p) et avec un poids de l'exposant d'expansion
de plage dynamique inférieure ELDR(p) égal à (1 - α_in), où le poids α_in de l'exposant
d'expansion de plage dynamique élevée EHDR(p) est proportionnel à une différence entre
la luminance maximale cible LT du dispositif d'affichage cible et la luminance maximale
inférieure LLDR, cette différence étant mise à l'échelle par une autre différence
entre la luminance maximale élevée LHDR et la luminance maximale inférieure LLDR,
- l'application de l'exposant d'expansion cible ET(p) obtenu aux valeurs de luminance
de plage dynamique inférieure YLDR(p) ou aux valeurs de luminance filtrées en passe-bas
de ladite version à plage dynamique inférieure de ladite image, et l'application d'une
fonction de mise à l'échelle Ys(p), produisant des valeurs de luminance cibles YT,
- la construction d'une version adaptée à la tonalité de ladite image d'après lesdites
valeurs de luminance cibles YT.
2. Dispositif de traitement d'image pour adapter la tonalité d'une image à une luminance
maximale cible LT d'un dispositif d'affichage cible à partir d'une version à plage
dynamique inférieure de cette image adaptée pour être affichée sur un dispositif d'affichage
ayant une luminance maximale inférieure LLDR, et à partir d'exposants d'expansion
de plage dynamique élevée EHDR(p) à appliquer à des valeurs de luminance de plage
dynamique inférieure YLDR ou à des valeurs de luminance filtrées en passe-bas de ladite
version à plage dynamique inférieure de ladite image pour obtenir des valeurs de luminance
étendues YHDR(p) d'une version à plage dynamique élevée de ladite image adaptée pour
être affichée sur un dispositif d'affichage ayant une luminance maximale élevée LHDR,
ledit dispositif comprenant au moins un processeur configuré, pour un pixel p dans
l'image, pour :
- obtenir des exposants d'expansion de plage dynamique inférieure ELDR(p) de sorte
que, lorsqu'ils sont appliqués à des valeurs de luminance de plage dynamique inférieure
YLDR(p) ou à des valeurs de luminance filtrées en passe-bas de ladite version à plage
dynamique inférieure de ladite image, les valeurs de luminance de plage dynamique
inférieure YLDR sont mises à l'échelle de façon linéaire d'une plage dynamique inférieure
[0, NLDR] à une plage dynamique élevée [0, LHDR] selon un facteur LHDR/NLDR,
dans lequel

et
- obtenir des exposants d'expansion cibles ET(p) sous la forme d'une somme pondérée
des exposants d'expansion de plage dynamique élevée EHDR(p) et des exposants d'expansion
de plage dynamique inférieure ELDR(p) obtenus, avec un poids 0 ≤ α_in ≤ 1 de l'exposant
d'expansion de plage dynamique élevée EHDR(p) et avec un poids de l'exposant d'expansion
de plage dynamique inférieure ELDR(p) égal à (1 - α_in), où le poids α_in de l'exposant
d'expansion de plage dynamique élevée EHDR(p) est proportionnel à une différence entre
la luminance maximale cible LT du dispositif d'affichage cible et la luminance maximale
inférieure LLDR, cette différence étant mise à l'échelle par une autre différence
entre la luminance maximale élevée LHDR et la luminance maximale inférieure LLDR,
- appliquer l'exposant d'expansion cible ET(p) obtenu aux valeurs de luminance de
plage dynamique inférieure YLDR(p) ou aux valeurs de luminance filtrées en passe-bas
de ladite version à plage dynamique inférieure de ladite image, et appliquer une fonction
de mise à l'échelle Ys(p), produisant les valeurs de luminance cibles YT,
- construire une version adaptée à la tonalité de ladite image d'après lesdites valeurs
de luminance cibles YT.
3. Dispositif électronique comprenant le dispositif de traitement d'image selon la revendication
2.
4. Dispositif électronique selon la revendication 3 sélectionné dans le groupe comprenant
une caméra, un téléviseur, un moniteur, un visiocasque, un boîtier décodeur, une passerelle,
un smartphone et une tablette.
5. Support de stockage non transitoire comprenant des instructions qui, lorsqu'elles
sont exécutées par un dispositif informatique, indiquent au dispositif informatique
d'exécuter le procédé selon la revendication 1.