The invention is in the field of methods and systems for color correcting to provide predictable results on displays with different color gamuts. The invention concerns notably a method for color gamut mapping using linear models and metadata on the color gamut.
When images are created in motion picture, broadcast or other video workflows, the color of the images is verified using a mastering display while finally the images will be watched on other displays, for example in theatres, on TV screens or on a tablet.
For example, a graphics arts creator verifies the colors on the monitor of his workstation while the final reproduction will be printed on paper. In this case, the workstation monitor is the mastering display device and the paper printer is the final reproduction device. Another example is capture of images on argentic film, scanning images of this film and color correction of the scanned images. The film is scanned using a dedicated high-resolution color correction device. The operator applies color correction and verifies the result on a high definition control monitor while the final color reproduction will be again a film printed on a film printer and the images projected by a film projector. Here, the control monitor is the mastering display device and the film printer and film projector are the final reproduction devices. In another case, broadcast content is prepared on a high grade production monitor but then reproduced on the screen of a consumer TV set. The high grade production monitor is the mastering display and the consumer TV is the final reproduction device.
Color differences between what is shown by the mastering display device used in production and what is shown by the final reproduction device is the general problem addressed in this invention. These color differences can include changes of hue, changes of color saturation, changes of contrast, changes of light intensity, changes of dynamic range, and changes of color gamut.
A solution to this problem of color differences is color management (CMM). For CMM, the color characteristics of the mastering display device and of the final reproduction device are measured, mathematically modeled and then compensated in a manner known per se using a color transformation which is the basis of the CMM. CMM takes notably into account the difference between the color gamut of mastering display device and the color gamut of the final reproduction device. The color gamut describes the totality of reproducible colors of a device. When an image to reproduce contains colors that are outside the gamut of the final reproduction device or close to its border, the applied color transform(s) used to implement CMM may contain a specific processing such as color compression or color clipping to move this color inside this gamut or on its border. This processing is called gamut mapping.
A simple and widely used way to implement such color management is gamut clipping. All colors that are outside the color gamut of the final reproduction device (for instance a target display device) are clipped to colors on the border of the color gamut of this device. Such a clipping is often performed in the device dependent color space of the reproduction device as shown in
Gamut mapping is usually more complex than just clipping. It maps colors from a source color gamut (for example the color gamut of a mastering display device) into a target color gamut (for example the color gamut of a final reproduction device). Instead of being linked to a mastering display device, the source color gamut might also be linked to an image capture device such as a camera or a scanner. Notably when these colors are received through a standardized channel, for instance a broadcast channel, and/or are provided through digital decoding, the source color gamut might be linked to a standard such as ITU-R BT.709. Such source color gamuts will be named below “reference color gamuts”. The source color gamut might also be linked to a medium such as film or paper prints.
Gamut mapping also acts on the intensity (i.e. luminance or lightness) of colors and includes so-called tone mapping. Gamut mapping may even consist only of tone mapping (i.e. for instance lightness mapping), if the white and black levels of the mastering display device and of the reproduction device are very different and/or if viewing conditions in front of the mastering display device differs from viewing conditions in front of the reproduction device.
Gamut mapping has an impact on color reproduction. Two kinds of reproduction are generally distinguished: colorimetric and non-colorimetric. The colorimetry of a color is measured by the XYZ coordinates of this color, using notably a colorimeter. Colorimetric color reproduction aims to reproduce a color on a target display device (i.e. final reproduction device) such that its colorimetry is identical or as close as possible to the colorimetry of a reference or mastering display device. On the opposite, gamut mapping, by principle, involves non-colorimetric color reproduction since at least some of the colors to reproduce are mapped.
Usually, color gamut mapping is carried out in specific color spaces. Some methods use the L*a*b* space defined by the CIE in 1976. In L*a*b* space, a constant a*b* angle is assumed to correspond to identically perceived hue. The L* coordinate represents the intensity or lightness. Unfortunately, this color space was shown to not well represent all hues, notably in blue tones. Other methods use the JCh space defined in the CIECAM-02 standard defined by the CIE in 2002. In JCh space, the h coordinate is assumed to correspond to perceived hue by the human eye and the J coordinate is assumed to correspond to perceived light intensity. JCh space was shown to better represent hues and intensity than L*a*b*. When performing gamut mapping in L*a*b* space, the classical approach is shown in
A specific situation of color gamut mapping concerns content with large color gamut and/or with high dynamic range.
A first situation of color mapping concerns, for example, a Ultra High Definition TV (UHDTV) content which is encoded according to the standard ITU-R BT.2020, known as having a wide color gamut, after being mastered by a LCD monitor having a color gamut narrower than the wide color gamut of encoding standard. It might occur that some colors of the UHDTV content encoded according to the ITU-R BT.2020 standard are not actually used during the mastering, notably because some colors of the UHDTV content that can be encoded according to ITU-R BT.2020 cannot be reproduced by the mastering display device, i.e. by the LCD monitor.
A second situation of color gamut mapping concerns, for example, a High Dynamic Range (HDR) content which is encoded according to a HDR standard having an extended range of color values, after being mastered by a LCD monitor having a low range of color values, namely lower than the extended range of the encoding standard. It might occur that some colors (notably luminances of these colors) of the HDR content encoded according to this HDR standard are not actually used during the mastering, notably because some colors (notably luminances) of the HDR content that can be encoded according to this HDR standard cannot be reproduced by the mastering display device, i.e. by the LCD monitor.
For the management of colors in the above two situations with UHDTV content and/or HDR content, we have now three color gamuts: First, the color gamut of the mastering display device or the color gamut of the content itself. Second, the color gamut used for the encoding and/or the transmission of the UHDTV or HDR content. More generally, this color gamut will be named reference color gamut. Third, the target color gamut of the device used for the reproduction of the content after decoding, here the consumer TV set. The color gamut of the mastering display device and the color gamut of the content are generally smaller than the reference color gamut.
If the colors of the UHDTV and/or HDR content are delivered directly to the consumer TV set without any other information except that concerning the reference color gamut of these colors, the CMM implemented for the consumer TV set does not know anything about the mastering display device and will take the reference color gamut used for the encoding as a source color gamut, i.e. as the color gamut of the colors of this content, although these colors have been generated using a mastering display device having another color gamut. It means that the content to be reproduced by a target display device is received in a format which is generally not adapted for a reproduction by this target display device but for a reproduction by what will be named a “reference display device” (see below). Before being reproduced by the target display device, an adaptation of the content will then be needed if the reproduction should be done by the target display device. As a matter of fact, if one wants that the CMM takes into account the color gamut of the mastering display device, this color gamut has to be sent to the consumer TV set as metadata that should be used for the color mapping of the UHDTV and/or HDR content towards the target color gamut, before being reproduced by the reproduction device. As shown below, the invention will deal with this problem.
More generally, the color gamut of the UHDTV content and/or HDR content is encoded in a reference color gamut which is generally defined by a specific standard such as ITU-R BT.709 or such as ITU-R BT.2020 as mentioned above. This specific standard generally defines a forward color transform and/or an inverse color transform, therefore defining, at least implicitly, a theoretic display device that will be named hereinafter a reference display device.
In a general typical application known from prior art in the field of reproduction of colors of a content provided in a reference or encoding color gamut, gamut mapping is generally performed from this reference or encoding color gamut towards the color gamut of a target display device used to reproduce this content.
Being mastered or not, source colors of the content are encoded in device dependent color coordinates representing these colors in the color space of a display device having the encoding and/or transmission color gamut as color gamut. As described above, this display device is named reference display device. The gamut of the source content gamut as the gamut of the mastering display device are generally smaller or equal to the encoding color gamut, i.e. the reference color gamut. As in the general typical application above, the color gamut of the target display device used to reproduce source colors of the content is smaller than the reference color gamut. But, in this specific application that the invention addresses, the color gamut mapping aims at mapping any color located in the source color gamut into the color gamut of the target display device.
In the PLCC models modelling color display devices (Piecewise Linear interpolation assuming Constant Chromaticities), it is assumed that:
the chromaticities of the primaries of the display device are constant,
there is no interaction between the different color channels of this display device.
A superset of PLCC models are described in the Recommended Practice 177 of the SMPTE entitled “Derivation of Basic Television Color Equations” published in 1993, this superset allows additionally incorporating an explicit white point of this display device into the model.
PLCC and RP177 models of a display device comprise both two steps. At first, input digital RGB values of the R, G and B channels of the display device are linearized, then a linear transformation using for instance a matrix is applied to these linearized RGB values to get the CIEXYZ color coordinates of a color reproduced by the display device when entering these input digital RGB values.
The linearization of RGB channels can be performed using a so-called “EOTF”, i.e. Electro-Optical Transfer Function. Such a linearization function may also be called Electro-Optical Conversion Function, or Tone Reproduction Curve (TRC). Annex 1 of the Recommendation ITU-R BT.1886 published in March 2011 gives more details about definition of EOTF.
In the first step of a PLCC or RP177 model of a color display device, the input digital color values R, G and B of the different color channels are linearized into linear values Rl, Gl and Bl by an EOTF specific to this device.
In the second step of a PLCC or RP177 model, these linear values Rl, Gl and Bl are transformed through a matrix into, for instance, X, Y and Z values representing the color coordinates of the color channels in the CIE XYZ color space. Other trichromatic, linear color spaces than XYZ could be used. For example, if Rs, Gs, Bs are the color coordinates of a specific trichromatic, linear color space having three specific color primaries, RP 177 allows to transform X, Y, Z color coordinates into Rs, Gs, Bs coordinates. By concatenating the transformation of Rl, Gl and Bl into X, Y, Z and X, Y, Z into Rs, Gs, Bs, a single linear transform can be built transforming directly Rl, Gl and Bl into Rs, Gs, Bs, When used in this way, Rs, Gs, Bs color coordinates can be considered as device independent such as X, Y, Z color coordinates. For the first step of a PLCC or RP177 model, we have then (RlGlBl)=EOTFD(R G B), where EOTFD is the EOTF of the modelled display device.
In case of a PLCC model, we have for the second step:
where XD-RYD-RZD-R, XD-GYD-GZD-G and XD-BYD-BZD-B are the XYZ color coordinates of, respectively, the Red, Green and Blue primaries of this display device, when linear values Rl, Gl and Bl are all normalized to be a value in the interval [0,1].
In case of a RP177 model, additionally the chromaticity coordinates xD-W, yD-W of the white point of the display device in the xy chromaticity space of the CIE are introduced such that the second step is defined as follows:
As a whole, it means that the relationship between a forward transform FTD characterizing a color display device D and an EOTFD combined with a matrix MD also characterizing this display device is as follows:
FTD (RGB)=IMD [EOTFD (RGB)] when using PLCC model, or FTD (RGB)=MD [EOTFD (RGB)] when using RP177 model, with MD=IMDWD.
Similarly, it means that the relationship between an inverse transform ITD characterizing a color display device D and an EOTFD combined with a matrix MD also characterizing this display device is as follows:
ITD (XYZ)=EOTF−1D (IM−1D[XYZ)] when using PLCC model, or ITD (XYZ)=EOTF−1D (M−1D[XYZ)] when using RP177 model.
As a whole, when using the PLCC model, a display device can be characterized by its EOTF and the XYZ color coordinates of its primaries. When using the RP177 model, the xy chromaticity coordinates of the white point of this display device should be added for its characterization.
A goal of the invention is to adapt the source colors of a source content which are encoded to be reproduced by a reference display device to the target color gamut of a target display device. More specifically, an aim of the invention is to better distribute colors to reproduce by the target display device in the color gamut of this device. This requires an adaptation of the content through a specific color gamut mapping of these source colors that that is described in detail below. These source colors may be notably provided:
in the reference device-dependent color space of this reference display device, whereas they are represented in R,G,B color coordinates in the reference device-dependent color space, or
in a device-independent color space, whereas they are then represented in X,Y,Z color coordinates in this color space.
The invention will be described hereinafter separately in each of these situations.
The first situation where source colors are represented in the reference device-dependent color space by trichromatic color coordinates R,G,B—respectively for the red, the green and the blue—will now be described. It means that, if the so-called reference display device is controlled by these color coordinates R,G,B, it will reproduce the source colors. This reference display device may correspond for instance to a standard such as ITU-R BT.2020. The reference display device may be different or identical to the mastering display device.
In this first situation, a subject of the invention is a method of mapping source colors of a source content, wherein said source colors are represented by device-dependent source coordinates R,G,B in the reference device-dependent color space of a reference display device characterized by a reference display forward color transform comprising:
applying said reference display forward color transform to device-dependent source coordinates R,G,B representing said source colors, resulting in device-independent source coordinates X,Y,Z representing the same source colors in a device-independent linear color space,
applying a virtual display inverse color transform ITVD to said resulting device-independent source coordinates X,Y,Z representing said source colors, resulting in device-dependent mapped coordinates R′,G′,B′ representing mapped colors in said reference device-dependent color space,
wherein said virtual display inverse color transform ITVD models a virtual display device characterized by the same primaries as the primaries of a mastering display device used to master said source content or by primaries extracted from a description of the color gamut of said source content.
As shown on
In some cases, mapped colors that are obtained from the mapping of this general embodiment illustrated on
A technical effect of the mapping of this general embodiment is that source colors are transformed into mapped colors that are better distributed over the whole reference color gamut. It infers that these mapped colors will then also better distributed over the whole target color gamut. An example of this technical effect of the invention is illustrated on
Advantages:
In a first variation, the virtual display device is further characterized by an EOTF corresponding to that of a mastering display device used to master said source content, preferably further characterized by a white point corresponding to that of said mastering display device. It then means that the application of said virtual display inverse color transform is closed to the application of the mastering display inverse color transform characterizing this mastering display device.
In a second variation, said virtual display device is further characterized by an EOTF corresponding to that of said reference display device, preferably further characterized by a white point corresponding to that of said reference display device.
As a variant, the virtual display may have additional characteristics such as cross channel non-linearities, as opposed to additive displays which have no cross channel non-linearities and are fully defined by the three primary colors, the white point and the three EOTFs (see PLCC and RP177 models above). Here, such cross channel non-linearities is the non-linear, cross influence of two color coordinates on the reproduced color.
There are several advantages of this second variation shown in
In well-known video systems, reference source colors are generally directly reproduced on a target display device without being previously mapped as described herein. Since these source colors are encoded in reference display dependent color coordinates, in order to get a good reproduction of source colors, the target display device needs to be compliant with such reference display dependent color coordinates. For example, the reference and target display devices could be compliant with ITU-R BT.2020 accepting color coordinates compliant with ITU-R BT.2020 and having a color gamut compliant with ITU-R BT.2020. However, the color gamut of typical target display devices is often not fully compliant and differs sometimes a lot from such an encoding standard. Typical target display devices therefore apply often target display color gamut mapping that compresses or expands the reference display color gamut to fit the target display color gamut. Notably in this case, the method shown in
Another subject of the invention is then a method for reproducing a source content on a target display device characterized by a target display inverse color transform, comprising
receiving device-dependent source coordinates R,G,B representing source colors of said source content in the reference device-dependent color space of a reference display device characterized by a reference display forward color transform,
receiving metadata representing color primaries of a mastering display device used to master said source content or extracting color primaries from a description of the color gamut of said source content,
using a virtual display inverse color transform ITVD modelling a virtual display device characterized by said color primaries, mapping said source colors into mapped colors according to the mapping method above that results in device-dependent mapped coordinates R′,G′,B′ representing said mapped colors,
applying said reference display forward color transform to said device-dependent mapped coordinates R′,G′,B′, resulting into device-independent mapped coordinates X′,Y′,Z′ representing said mapped colors in device-independent color space,
gamut mapping said device-independent mapped coordinates X′,Y′,Z′ from said reference color gamut towards said target color gamut and applying said target display inverse color transform to said gamut-mapped device-independent mapped coordinates X″,Y″,Z″, resulting into device-dependent target coordinates R″,G″,B″ representing said mapped colors in the target device-dependent color space of said target display device,
controlling said target display device by inputting said device-dependent target coordinates R″,G″,B″, resulting in the reproduction of said source content.
Such a method used to reproduce source colors and illustrated in
The second part of the color reproduction method, taken by its own, is already well-known. Reference forward color transform characterizing the reference display device is applied to reference display dependent color coordinates R′,G′,B′ resulting in X′,Y′,Z′ device independent color coordinates representing mapped colors in the CIE XYZ color space. Then, well-known gamut mapping is applied in order to ensure that all colors that can be encoded can be reproduced by the target display device. Often, gamut compression is applied resulting in reduced saturation and reduced contrast. This gamut mapping results in X″,Y″,Z″ device independent color coordinates representing colors that are within the target display color gamut. Then, finally, the target display inverse transform is applied to these X′,Y′,Z′ device independent color coordinates, resulting in third R″,G″,B″ color coordinates that are target display dependent, and that represent mapped colors in the color space of the target display device, and that are used to control the target display device to reproduce the source colors. In this way, the mapped color defined by reference display dependent R′G′B′ color coordinates is reproduced on the target display.
The method shown in
The second situation where source colors are represented in a device-independent color space by trichromatic color coordinates X,Y,Z will now be described. In this second situation illustrated in
Then, another subject of the invention is a method of mapping source colors of a source content, wherein said source colors are represented by first device-independent source coordinates X,Y,Z in a device-independent color space comprising:
applying a virtual display inverse color transform ITVD to said device-independent source coordinates X,Y,Z representing said source colors, resulting in device-dependent source coordinates R,G,B representing mapped colors in the reference device-dependent color space of a reference display device,
applying a reference display forward color transform characterizing said reference display device to said device-dependent source coordinates R,G,B representing said mapped colors, resulting in second device-independent source coordinates X′,Y′,Z′ representing the same mapped colors in the device-independent linear color space, wherein said virtual display inverse color transform (ITVD) models a virtual display device characterized:
by the same primaries as the primaries of a mastering display device used to master said source content or by primaries extracted from a description of the color gamut of said source content,
by an EOTF corresponding to that of a mastering display device used to master said source content or to that of said reference display device.
In a first variation of the above mapping method, said virtual display device is further characterized by an EOTF corresponding to that of a mastering display device used to master said source content, preferably is further characterized by a white point corresponding to that of said mastering display device.
In a second variation of the above mapping method, said virtual display device is further characterized by an EOTF corresponding to that of said reference display device, preferably further characterized by a white point corresponding to that of said reference display device.
The reproduction method comprises two parts. In the first part, the mapping method illustrated on
The second part of the reproduction method, taken by its own, is already well-known. Target inverse color transform characterizing the target display device is applied to the second device independent color coordinates X′,Y′,Z′, resulting in second R′,G′,B′ device dependent color coordinates that represent the mapped colors in the color space of the target display device, and that are used to control the target display device to reproduce the source colors. In this way, the mapped color defined by the second device independent color coordinates X′,Y′,Z′ is reproduced on the target display. If said mapped color is outside of the color gamut of the target display, the target display inverse transform—according to well-known state of the art and as already described for
Another subject of the invention is then a method for reproducing a source content on a target display device characterized by a target display inverse color transform, comprising
receiving first device-independent source coordinates X,Y,Z representing source colors of said source content,
receiving metadata representing color primaries of a mastering display device used to master said source content or extracting color primaries from a description of the color gamut of said source content,
using a virtual display inverse color transform ITVD modelling a virtual display device characterized by said color primaries, mapping said source colors into mapped colors according to the mapping method above that results in device-independent mapped coordinates X′,Y′,Z′ representing said mapped colors,
applying said target display inverse color transform to said device-independent mapped coordinates X′,Y′,Z′, resulting into device-dependent mapped coordinates R′,G′,B′,
controlling said target display device by inputting said device-dependent mapped coordinates R′,G′,B′, resulting in the reproduction of said source content.
The method shown in
The invention may have notably the following advantages:
A second problem that this invention may address is the consideration of metadata that can be needed for the calculation of the gamut mapping operator used to implement the color mapping method according to the invention. If such metadata changes into new metadata during the reproduction of a content by the target display device, the gamut mapping operator needs to be updated, i.e. re-calculated with the new metadata—which is usually slow. If the update is slow, the frequency of change of metadata is limited. As shown in
The invention will be more clearly understood on reading the description which follows, given by way of non-limiting example and with reference to the appended figures in which:
It will be appreciated by those skilled in the art that block diagrams and the like presented herein represent conceptual views of illustrative circuitry embodying the invention. They may be substantially represented in computer readable media and so executed by a computer or processor, whether or not such computer or processor is explicitly shown.
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.
A source content is provided but is formatted to be reproduced by a reference display device, for instance as standardized according to ITU-R BT.2020, i.e. based on a wide color gamut. This source content has been mastered on a given mastering display device, notably characterized by given color primaries.
We will now describe how such source colors could be advantageously mapped into mapped colors adapted to be reproduced by a target display device: in a first situation, the mapping of source colors is performed in the reference device-dependent color space of the reference display devices; in a second situation, the mapping of source colors is performed in device-independent color space.
The general embodiment of a mapping in the first situation is illustrated in
In this general embodiment of a mapping in the first situation illustrated on
In a second step of this method, the method applies the inverse transform ITVD of a virtual display device to the X,Y,Z color coordinates obtained from the first step above. Through this inverse transform, R′,G′,B′ device dependent color coordinates are obtained that represent mapped source colors, still in the color space of the reference display device. This virtual display device is characterized through a RP177 model (see above) by an EOTF, namely EOTFVD, and a matrix MVD. According to the invention, EOTFVD is defined as the EOTF of the reference display device and the matrix MVD is defined in reference notably to the primaries of the mastering display device according to the following equations:
where XMD-RYMD-RZMD-R, XMD-GYMD-GZMD-G and XMD-BYMD-BZMD-B are the X,Y,Z color coordinates of, respectively, the Red, Green and Blue primaries of the mastering display device and xVD-W, yVD-W, zVD-W are the chromaticity coordinates of the white point of the reference display device in the XYZ color space.
We have then ITVD(XYZ)=EOTF−1VD (M−1VD[XYZ]). This inverse transform ITVD of the virtual display device is capable to transform XYZ coordinates of any color located within the color gamut of this virtual display device—i.e. of the mastering display device—into R′G′B′ color coordinates representing the same color in the color space of this virtual display device. The color gamut of this virtual display device consists of all colors defined by color coordinates X,Y,Z where these color coordinates X,Y,Z can be transformed by ITVD into valid R′,G′,B′ color coordinates. When X,Y,Z color coordinates are valid in the range [0,1], usually valid R′G′B′ color coordinates are in the range [0,1], too.
The data defining the Red, Green and Blue primary colors of the mastering display device could be sent as metadata together with the content to be reproduced, for instance by the content creator. Such metadata can be advantageously compliant with a standard, as for instance the MPEG proposal entitled “Indication of SMPTE 2084 and 2085 and carriage of 2086 metadata in HEVC” from January 2014, which proposes color primaries as SEI metadata, defined as follows: “This SEI message provides metadata for specifying the color volume (the color primaries, white point, and luminance range) of the display that was used in mastering video content”.
If no data are available concerning the mastering display device, Red, Green and Blue primaries of the mastering display device are replaced by Red, Green and Blue primaries extracted from a gamut boundary description describing the color gamut of the source content to calculate the matrix IMVD above.
As the second step above applies the inverse of the EOTF of the reference display device, this step is equivalent to a gamut mapping from the color gamut of the mastering display device to the color gamut of the reference display device.
As already explained above, source colors of the content to be reproduced by the target display device is generally within the color gamut of the mastering display device because this content is precisely generated by this mastering display device. Therefore, colors represented by X,Y,Z color coordinates obtained through the first step above are within the color gamut of the virtual display device, because this virtual display device is characterized by the same primary colors as those of the mastering display device. If these Primary colors are represented in the CIE xy chromaticity space by coordinates xr,yr for the red primary, xg,yg for the green primary, and xb,yb for the blue primary, these three primaries xr,yr and xg,yg and xb,yb form a chromaticity gamut triangle within the CIE xy chromaticity space. This gamut triangle corresponds to the color gamut of the mastering display device. As shown on
An important element of the method of color mapping of this general embodiment based on the first situation in which source colors are represented by R,G,B color coordinates is that the output R′G′B′ of the virtual display inverse transform are reference display dependent color coordinates, i.e. is that the obtained mapped colors are represented in the color space of the reference display device.
We will now describe in reference to
The mapping method comprises the following steps:
As a whole, the combination of the application of the source matrix MS and of the application of the inverse of the EOTFRD of the reference display device is equivalent to the application of the inverse model ITVD of a virtual display device such that ITVD (XYZ)=EOTF−1RD (M−1S[XYZ]).
An implementation of the above example on a whole image workflow is shown in
In order to ensure valid device-dependent R′G′B′ color coordinates, the coordinates are clipped after application of inverse EOTF, such as shown in
mastering of the source content resulting in RGB color coordinates representing source colors in the color space of the mastering display,
application of a forward model of the mastering display then of an inverse model of the BT.2020 reference display, resulting in RGB color coordinates representing source colors in the color space of the ITU-R BT.2020 reference display,
application of the mapping method as described in the example above, resulting in R′G′B′ color coordinates representing mapped source colors in the color space of the BT.2020 reference display,
application of the forward model of the BT.2020 reference display then of an inverse model of the consumer display—i.e. target display device, resulting in R″,G″,B″ color coordinates representing mapped source colors in the color space of this consumer display, that are adapted to control this consumer display for the rendering of the source content.
A general embodiment of a mapping in the second situation in which source colors are represented in a device-independent color space by trichromatic color coordinates X,Y,Z will be now described in reference to
We will now describe a first example of implementation of this general embodiment in reference to
The method comprises the following steps:
As a whole, the combination of the application of the source matrix MS and of the application of the inverse of the EOTFRD of the reference display device is equivalent to the application of the inverse model ITVD of a virtual display device such that ITVD (XYZ)=EOTF−1RD (M−1S[XYZ]).
We will now describe a second example of implementation of the general embodiment above in reference to
This second example can be further simplified into a third example if the reference display device and the virtual display device are characterized by the same triple of EOTFs. In this case, neither an EOTF nor an inverse EOTF needs to be applied to color coordinates. This third example is shown on
An implementation of the general embodiment above applied on a whole image workflow is shown on
This implementation is then based on the following steps:
It is to be understood that the mapping method according to the invention may be implemented in various forms of hardware, software, firmware, special purpose processors, or combinations thereof. 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. The application program may be uploaded to, and executed by, a machine comprising any suitable architecture. Preferably, the machine is implemented on a computer platform having hardware such as one or more central processing units (“CPU”), 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. In addition, various other peripheral units may be connected to the computer platform such as an additional data storage unit and a printing unit.
Therefore, further subjects of the invention are summarized below.
A subject of the invention is notably a color mapping device for mapping source colors of a source content, wherein said source colors are represented by device-dependent source coordinates R,G,B in the reference device-dependent color space of a reference display device characterized by a reference display forward color transform comprising:
a reference display forward color transform module configured for applying said reference display forward color transform to device-dependent source coordinates (R,G,B) representing said source colors, resulting in device-independent source coordinates (X,Y,Z) representing the same source colors in a device-independent linear color space,
a virtual display inverse color transform module configured for applying a virtual display inverse color transform (ITVD) to the device-independent source coordinates X,Y,Z provided by said reference display forward color transform module, resulting in device-dependent mapped coordinates R′,G′,B′ representing mapped colors in said reference device-dependent color space, wherein said virtual display inverse color transform (ITVD) models a virtual display device characterized by the same primaries as the primaries of a mastering display device used to master said source content or by primaries extracted from a description of the color gamut of said source content.
A subject of the invention is also a color mapping device for mapping source colors of a source content, wherein said source colors are represented by first device-independent source coordinates X,Y,Z in a device-independent color space comprising:
a virtual display inverse color transform module configured for applying a virtual display inverse color transform (ITVD) to said device-independent source coordinates X,Y,Z representing said source colors, resulting in device-dependent mapped coordinates R,G,B representing mapped colors in the reference device-dependent color space of a reference display device characterized by a reference display forward color transform,
a reference display forward color transform module configured for applying said reference display forward color transform to device-dependent mapped coordinates R,G,B provided by said virtual display inverse color transform module, resulting in device-independent mapped coordinates X′,Y′,Z′ representing the same mapped colors in the device-independent linear color space,
wherein said virtual display inverse color transform (ITVD) models a virtual display device characterized by the same primaries as the primaries of a mastering display device used to master said source content or by primaries extracted from a description of the color gamut of said source content.
A subject of the invention is also a target display device characterized by a target display inverse color transform characterized by a target display inverse color transform, configured for reproducing a source content, comprising
a reception module configured for receiving device-dependent source coordinates R,G,B representing source colors of said source content in the reference device-dependent color space of a reference display device characterized by a reference display forward color transform,
a color primaries module configured to provide color primaries received as metadata representing color primaries of a mastering display device used to master said source content or extracted from a description of the color gamut of said source content,
a color mapping device as summarized above that is configured to map device-dependent source coordinates R,G,B provided by said reception module, using a virtual display inverse color transform (ITVD) modelling a virtual display device characterized by color primaries provided by said color primaries module, resulting in device-dependent mapped coordinates R′,G′,B′ representing said mapped colors,
a final color transform module configured to apply said reference display forward color transform and said target display inverse color transform to device-dependent mapped coordinates R′,G′,B′ provided by said color mapping device, resulting into device-independent mapped coordinates X′,Y′,Z′ representing said mapped colors in device-independent color space, configured to gamut map said device-independent mapped coordinates X′,Y′,Z′ from said reference color gamut towards said target color gamut and to apply said target display inverse color transform to said gamut-mapped device-independent mapped coordinates X″,Y″,Z″, resulting into device-dependent target coordinates R″,G″,B″ representing said mapped colors in the target device-dependent color space of said target display device,
a target display control module configured to control said target display device by inputting device-dependent mapped coordinates R″,G″,B″ provided by said final color transform module, resulting in the reproduction of said source content.
A subject of the invention is also a target display device characterized by a target display inverse color transform characterized by a target display inverse color transform, configured for reproducing a source content, comprising:
a reception module configured for receiving device-independent source coordinates X,Y,Z representing source colors of said source content,
a color primaries module configured to provide color primaries received as metadata representing color primaries of a mastering display device used to master said source content or extracted from a description of the color gamut of said source content,
a color mapping device as summarized above that is configured to map device-independent source coordinates X,Y,Z provided by said reception module, using a virtual display inverse color transform (ITVD) modelling a virtual display device characterized by color primaries provided by said color primaries module, resulting in device-independent mapped coordinates X′,Y′,Z′ representing said mapped colors,
a final color transform module configured to apply said target display inverse color transform to device-independent mapped coordinates X′,Y′,Z′ provided by said color mapping device, resulting into device-dependent mapped coordinates R′,G′,B′,
a target display control module configured to control said target display device by inputting device-dependent mapped coordinates R′,G′,B′ provided by said final color transform module, resulting in the reproduction of said source content.
Although the illustrative embodiments of the invention have been described herein with reference to the accompanying drawings, it is to be understood that the present invention is not limited to those precise embodiments, and that various changes and modifications may be effected therein by one of ordinary skill in the pertinent art without departing from the invention. All such changes and modifications are intended to be included within the scope of the present invention as set forth in the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
14305892.3 | Jun 2014 | EP | regional |
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/EP2015/063099 | 6/11/2015 | WO | 00 |