Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
SATURATION PROCESSING SPECIFICATION FOR DYNAMIC RANGE MAPPINGS
Document Type and Number:
WIPO Patent Application WO/2017/158463
Kind Code:
A1
Abstract:
For serving the new different needs of high dynamic range image handling and conversion of images to a different dynamic range in decoding strategies the inventor invented image encoder (201) for encoding at least one high dynamic range image (HDR _ORIG) for at least one time instant, and at least one image (Im_LDR_out) of a second dynamic range which is different from the one of the high dynamic range image by at least a factor two for the same time instant, which is arranged to encode a matrix of pixel colors for at least one of those two images, comprising a specification unit (212) which comprises a color saturation modification apparatus (202) as claimed in claim 1, and a saturation specification unit (204) arranged to specify a saturation modification specification function specifying a color-dependent saturation transformation, as a set of gains (g) for each possible value of a maximal one of at least two color difference values (R'-Y', B'-Y') of a pixel color (Y',Cb,Cr), which color difference values are defined as the value of a non-linear RGB additive color component of the pixel color minus the luma of the pixel color,, and the image encoder further comprising a formatter (210) arranged to output in an image signal (S_im) an encoding of an image (Im_in_DCT) comprising the matrix of pixel colors, and as metadata the set of gains (g).

Inventors:
STESSEN, Jeroen Hubert Christoffel Jacobus (Building 5, 5656 AE Eindhoven, 5656 AE, NL)
Application Number:
IB2017/051238
Publication Date:
September 21, 2017
Filing Date:
March 03, 2017
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
KONINKLIJKE PHILIPS N.V. (High Tech Campus 5, 5656 AE Eindhoven, 5656 AE, NL)
International Classes:
H04N1/60; H04N9/64
Domestic Patent References:
WO2012142506A12012-10-18
WO2006011074A12006-02-02
WO2015180854A12015-12-03
WO2011107905A12011-09-09
WO2014041471A12014-03-20
WO2014056679A12014-04-17
WO2014128586A12014-08-28
Foreign References:
US20160005153A12016-01-07
EP0647069A11995-04-05
DE19812526A11999-09-23
Attorney, Agent or Firm:
COOPS, Peter et al. (High Tech Campus, Building 5, 5656 AE Eindhoven, 5656 AE, NL)
Download PDF:
Claims:
CLAIMS:

1. An image encoder (201) for encoding at least one high dynamic range image (HDR ORIG) for at least one time instant, and at least one image (Im LDR out) for the same time instant having a second luminance dynamic range which is different from the luminance dynamic range of the high dynamic range image by at least a factor two, which is arranged to encode a matrix of pixel colors for at least one of those two images (HDR ORIG, Im LDR out), comprising a specification unit (212) which comprises a saturation

specification unit (204) arranged to specify a saturation modification specification function specifying a color-dependent saturation transformation, as a set of gains (g) for each possible value of a maximal one of at least two color difference values (R'-Y', B'-Y') of a pixel color (Y',Cb,Cr), which color difference values are defined as the value of a non-linear RGB additive color component of the pixel color minus the luma of the pixel color, and the image encoder further comprising a formatter (210) arranged to output in an image signal (S im) an encoding of an image (Im in DCT) comprising the matrix of pixel colors, and as metadata the set of gains (g).

2. An image encoder as claimed in claim 1, in which the specification unit (212) comprises a unit to determine a set of at least two weights (Wr, Wb), for multiplication with the at least two color difference values (R'-Y', B'-Y') by any receiver of the image signal (S im), and the formatter (210) is arranged to output those weights in the image signal (S_im).

3. An image decoder (301, 701) arranged to be able to receive an image

(Im in DCT) and calculate therefrom an image of a different luminance dynamic range (HDR ORIG) the different dynamic range having a coding peak brightness (PB C) which is a multiplicative factor of a magnitude being at least 2.0 different from the peak brightness of the received image (Im in DCT), at least one of the two images being a high dynamic range image (HDR ORIG), the decoder comprising a color mapper (304) arranged to derive the image of a different luminance dynamic range by performing for the pixels of the received image: - calculating a maximal one of at least two color difference values (R'-Y', B'- Y') of a pixel color (Y',Cb_in,Cr_in), which color difference values are defined as the value of a non-linear RGB additive color component of the pixel color minus the luma of the pixel color; and

- receiving a set of gains (ST g) which represent a corresponding gain (g) for each possible value of the maximal one of at least two color difference values (R'-Y', B'-Y'), and determining the gain (g) for the color of the currently being processed pixel; and

- multiplying a blue and red chrominance (Cb, Cr) of the pixel by the determined gain, to obtain the chrominance of the output color.

4. An image decoder (301, 701) as claimed in claim 3, comprising a unit (780) to receive at least two weights (Wr, Wb) and wherein the color mapper (304) is arranged to multiply the at least two color difference values (R'-Y', B'-Y') with the respective weights yielding Wr*(R'-Y') and Wb*(B'-Y') prior to the determination of the maximal one of at least two color difference values.

5. A display apparatus comprising an image decoder as claimed in claim 3 or 4.

6. A method of high dynamic range image encoding comprising determining an image (Im LDR out) of a second dynamic range which is different from the one of the high dynamic range image (HDR ORIG) by at least a factor two;

- encoding a matrix of pixel colors for at least one of those two images;

- specifying a saturation modification specification function specifying a color-dependent saturation transformation, as a set of gains (g) for each possible value of a maximal one of at least two color difference values (R'-Y', B'-Y') of a pixel color

(Y',Cb,Cr), which color difference values are defined as the value of a non-linear RGB additive color component of the pixel color minus the luma of the pixel color; and

- formatting in an output image signal (S im) an encoding of an image (Im in DCT) comprising the matrix of pixel colors, and as metadata the set of gains (g).

7. A method of image decoding receiving an image (Im in DCT) comprising:

- calculating from the received image (Im in DCT) an image of a different luminance dynamic range (HDR ORIG), the different dynamic range having a coding peak brightness (PB C) which is a multiplicative factor of a magnitude being at least 2.0 different from the peak brightness of the received image (Im in DCT), at least one of the two images being a high dynamic range image (HDR ORIG), the calculating comprising:

- calculating a maximal one of at least two color difference values (R'-Y', B'- Y') of a pixel color (Y',Cb_in,Cr_in), which color difference values are defined as the value of a non-linear RGB additive color component of the pixel color minus the luma of the pixel color; and

- receiving a set of gains (ST g) which represent a corresponding gain (g) for each possible value of the maximal one of at least two color difference values (R'-Y', B'-Y'), and determining the gain (g) for the color of the currently being processed pixel; and

- multiplying a blue and red chrominance (Cb in, Cr in) of the pixel by the determined gain, to obtain the chrominances of the output color (Cb out, Cr out).

8. A method of image decoding as claimed in claim 7 further comprising receiving at least two weights (Wr, Wb) and multiplying the at least two color difference values (R'-Y', B'-Y') with a respective one of these at least two weights prior to the calculating a maximal one of at least two color difference values.

Description:
Saturation processing specification for dynamic range mappings

FIELD OF THE INVENTION

The invention relates to methods and apparatuses for encoding respectively decoding an image or video (sets of still images to be shown successively) which can handle an increased luminance dynamic range compared to legacy image/video coding technologies, in particular, novel ways to specify how the color saturation of a second dynamic range image derived from a first dynamic range image (the two varying at least a factor two in luminance dynamic range, and e.g. a HDR image of coding peak brightness PB C of 1000 nit to be reconstructed in a receiving side apparatus from a received standard dynamic range SDR image with PB C = 100 nit) should deviate by saturation processing when deriving the second image with its second dynamic range. The invention also relates to saturation processing which is well-tuned to image processing chains involving mapping of images of considerably different luminance dynamic range (at least a factor 2, but it could be just as well that one needs to reduce the dynamic range by a factor 100, from a 10000 nit to a 100 nit image, or vice versa).

BACKGROUND OF THE INVENTION

Saturation is a more difficult technical quantity than it would seem to lay men who see only a small part of the story. Psychovisually, it is one of the meaningful properties of a color (of an object) that can be derived by the brain having an eye with three different cone types. Photometrically/Colorimetrically, it is a measure of how close a color is to a monochromatic spectrum of the same hue, or in other words how far it is from white, and then it is typically called purity. There it relates with such physical properties like e.g. an amount of colorant in an outer layer of an object, e.g. if there is a lot of colorant absorbing blue and green wavelengths whilst reflecting the red wavelengths we have a strong or pure red object. Mathematically for image color processing technology, it relates to some radial axis processing in some color space, by moving closer to or further away from some white. And this processing has to model how nature generates purities, and more specifically, how humans would perceive them. Furthermore, since colorfulness is dependent on luminance, the brain can derive three kinds of "saturation", which are called colorfulness, chroma, and saturation respectively, but in this text for simplicity we will use the word saturation, as it will be clear to the skilled person what we mean.

Another source of "complexity" is that saturation processing (and definitions) can be done in all kinds of spaces (with cylinder respectively cone or biconal shape), some of which are inherently scaled to the gamut extent, but have a deformed relationship compared to the linear nature of light, and others which may be simple, but can lead to clipping, especially because of the non-linear tent shape of 3 (or multi) primary additive displays.

Prior art has yielded a body of general saturation teachings, which were logically mostly concerned with image processing, usually the beautification of images. If one models human preferences for images, then one thing which stands out generally is that humans oftentimes prefer highly saturated images. Of course also desaturated pastel images may be beautiful, and hence color technology needs to be able to make those colors too. And, do so given the particulars of a technology, which we will assume here (non-limiting, for simplicity of elucidation) to be that of additive displays. These technologies were not concerned about any coding issues, e.g. a reconstruction quality of a HDR image(s) which should have minimal banding, DCT blocking artefacts etc. if the HDR image is

communicated to a receiver as a sole HDR image. But in particular if one desires to communicate two differently graded looks of the same HDR scene, namely e.g. a 1000 nit or 5000 nit PB C HDR grading and an SDR 100 nit PB C grading, and in particular if one wants to receive the HDR image communicated actually as an SDR image, one should be careful in how one does all the definition of the processing required to reconstruct one image from the other (which is in fact a functional encoding of the second image, say e.g. 1000 nit HDR, by communicating a set of functions to transform the actually received image, e.g. an SDR image)

There was also specific prior art in the area of camera capturing, and formatting the captured images in the limited gamut of a standard image format, like e.g. PAL. Note that all saturation-related prior art is going to have at least some similarities, which however should not be confused or misunderstood as to their differences and contrasts of components of the present invention. One should note that because saturation works in a gamut along outwards direction from the (zero saturation) luminance axis, all equations will likely have some form of the type color component minus unsaturated luma component. However, differences between some coordinate system with e.g. two particular chromatic dimensions versus some three-dimensional specification of the mathematics, and in particular linear versus non-linear color representations and the handling of color transformations in those respective spaces, may have very different colorimetric behavior, i.e. need to be contemplated with care, and hence are not trivially transformed into each other. It should also be understood that a mathematical transformation applied may be linear, e.g. a color matrixing, but if it is applied in a non-linear space, the final colorimetric behavior is still non- linear, with potentially different colorimetric behavior, which can be ignored for some applications or images, but important for others.

EP0647069 deals with a system for correctly formatting camera output in regions of higher brightness, so that e.g. no or reduced facial discoloration happens. These cameras have a so-called soft-clipper or knee circuit (Fig. 1, 2) on the luma component, to diminish yet keeping a little bit of the highlights. One should also mind that older type cameras based on scanning might have had a somewhat more non-linear overflow behavior, but CCD cameras would typically have a full-well limitation already, but still, such knee behavior could still help to keep a few highlights in the image, whilst not darkening the main part with the actors too much. In terms of this kneeing system behavior, this patent then adds a saturation-affecting circuit part. Firstly we'd like to note that these systems were not really intended to optimally handle HDR scenes, which might have higher brightness regions which are 10 or even 50 times brighter than the main brightness region on which the camera exposed. One kept a soft knee but clipped most of the really brighter regions to white anyway with that circuit.

DE19812526 is another color saturation modification circuit which of course works on color difference components, but in addition to the above differences again, like not allowing for a human-specifiable saturation gain (let alone it would be communicable between a creation and consumption side, or that it would form the basis of a novel philosophy of encoding a spectrum of different dynamic range looks, capable of serving as optimal to be rendered images a number of displays with different display peak brightness PB D out in the field), this patent works only in a standard manner on two color differences and is even further removed from any usable teaching towards our below described technologies. It was well-known that such "UV"-type saturation circuits existed priorly, because it was a very cheap convenient manner to do some saturation processing in a television which already got YUV video as input, i.e. before conversion to the required RGB for controlling the display.

Secondly very recently, there has been research into how to encode a set of HDR image(s), in particular in such a manner which can also service classical video applications (a video being any set of moving images, i.e. to be presented in temporal succession, in such application fields as e.g. cable television, internet-based OTT video supply, professional cinema, and the other related video applications). There are a number of particular requirements which can influence the design of good coding technologies for HDR image(s) or videos. One example of a coding technology of applicant is taught in

WO2015180854 (hereby incorporated in its entirety as to the combinable teachings for countries which allow so). It can be seen there that there can be various manners to make HDR coding technologies (depending inter alia on the application, e.g. is it for real-time broadcasting of a tv show, or for offline movie communication), so we do not intend to limit ourselves more than necessary in this application or its claims. It is important to understand that this technology allows to communicate an image of a first dynamic range actually as an image of a second dynamic range (assume without limitation for easy understand that a human creator has made a master 5000 nit PB C representation of an image, and manually re-grades this to a 100 nit SDR representation or look image to be actually communicated, and by grading we mean changing the colors of the objects, and at least their luminances in some manner as desired and calculable by mathematical functions, also to be communicated, from the first HDR image to the second). In some variants one desires to have only a luminance transformation, but in general one may also desire color processing, and in particular a saturation processing which is well-suited to the needs of transforming from a first luminance dynamic range, to a second one, which is typically considerable different (at least 2x higher PB_C, but typically 5x, lOx or even more; n.b. if we specify a dynamic range only by an upper point, namely the peak brightness of the brightest representable white, then we assume the lower point is zero, but one can also communicate codec minima if so desired).

Because it is somewhat of a new field, not yet well understood as general knowledge, we indicate in Fig. 6 what HDR images typically are, contrasted to SDR images. Basically they are all images which are not well-representable with an SDR encoding. The amount of bits per color channel (e.g. R,G, and B, or the Y' luma channel of Y'CbCr) is not a good indicator of dynamic range, as a 10 bit image can contain both a SDR or some e.g. 5000 nit PB C HDR image. What is relevant is the peak brightness of the code, and SDR images are supposed to represent only images up to 100 nit, and nothing beyond, in an absolute display-referred encoding (i.e. which we assume is already graded for typical e.g. home television viewing, whether by a human grader or an automatic algorithm). Typically substantially higher PB C encodings also need another code allocation function for allocating 10 bit luma codes to the to be represented (and display rendered) luminances, which so-called OETF (opto-electronic transfer function) will for HDR images not be the legacy Rec. 709 one, but e.g. the SMPTE ST.2084 one. Even in a relative representation, where one represents both the HDR and SDR image with luminances or lumas between 0.0 and 1.0, one will typically see that in a HDR image there are much darker pixels, and a larger proportion of darker pixels (e.g. as inspectable via the luminance histogram), than in the SDR image. E.g., if the take the cave image ImSCN3, the pixels representing the dark cave interior will be much darker than the sunny outdoors pixels seen through the narrow cave entrance, and one will typically see this as a bimodal histogram. In the SDR image the modes will lie much closer together, e.g. almost touching. HDR image representations will typically be able to represent HDR scene images with pixel brightnesses of up to 1000 nit (or in some HDR images and their encodings even higher luminances)

So the below invention embodiments were worked out in particular in a framework of newly emerging high dynamic range image handling (in particular coding for sending over wired or wireless video communication networks to receivers in other long distance or short distance locations, such as home computers, consumer TVs, settopboxes, but also e.g. professional movie theatre video receiving apparatuses etc.).

The requirements for this field of HDR video technology are different than what off-the-shelf saturation knowledge can cater for. In particular, we have developed a HDR video encoding framework which can encode a number of images (for one time instant of presentation) intended for displays of various dynamic range capabilities (in particular peak brightnesses of say 5000 nit, 1200 nit, and 200 nit), which bundle of images encoding needs to actually transmit only one image (per time instant) for a reference dynamic range of e.g. 1500 or 1000 or 100 nit, and as metadata a number of functions which are used at the receiver side e.g. in the settopbox to calculate at least one second image, e.g. for a connected display of 700 nit (see WO2011/107905, WO2014/041471, WO2014/056679). E.g., consider we transmit or store for later use an image optimally color graded by its creator for presentation on a 5000 nit High Dynamic Range (HDR) reference display, which image is supplemented with metadata color mapping functions for deriving a 100 nit image for rendering on an Low Dynamic Range (LDR) display. The receiving e.g. television of 100 nit peak brightness, will apply those color mapping functions to the 5000 nit HDR image, to get its appropriate 100 nit LDR image. That LDR image, or rather the metadata functions functionally encoding it, was typically also color graded by the creator as an image which looked reasonable on LDR displays (e.g. a close approximation of the HDR image rendering on a HDR display, given of course the limitations of an LDR display). We have elaborated a number of luminance mapping functions for mapping the luminances of pixels in the two images of different dynamic range, since primarily dynamic range mapping is an

optimization giving the original luminances of objects in a e.g. HDR image corresponding luminances in the range of possible LDR luminances (the other way around mapping LDR to HDR is of course similarly possible, with different mapping functions). Dynamic range mapping is a general color mapping problem, not just involving transformation of the luminance color component. E.g., as said above, the colorfulness of an object depends on its luminance, so if we need to map because of gamut/dynamic range technical limitations or artistic choices the luminances of an object in the first image to darker luminances in the second image, then the creator may want to combine this with a boost of the saturation of that object. Also, because the tent-shaped gamut of a (e.g.) 3-primary additive display is rather complex, and pointed as a function of luminance, it may be useful if also for that

optimization color control is possible. If one does "just anything" regarding the luminance transformation, it may be that too many pixel colors clip at the upper RGB gamut boundary (e.g. the one of the SDR image to be communicated), and the present embodiments can cater to mitigate or solve that issue.

However, especially when the metadata needs to be co-encoded and transmitted, there are technical limitations leading to solutions which would be more or less practical. So if any color processing methods or apparatuses have to be consistent with potential remote communicated specification of color processing, they have to conform to those limitations. Even more so because some of the video communication modes in the various different technologies needing HDR video coding (e.g. HDMI) may involve a limited bandwidth or number of data words per image to transmit any metadata. So one must smartly choose which functions are transmitted, since in this framework they determine which images can be encoded, but also determine how reasonably or unreasonably complex the receiving integrated circuits should always be, since they have to do the color mapping. Moreover, the functions also form a toolbox of functions allowing a grader to encode new dynamic range looks for his image content, so those tools should not be too few, nor too many, not be too complex, and in particular have a good major order impact on the color transformation of the image, in particular those aspects which are mostly needed for dynamic range transforms.

It was a problem that neither such adapted color processing tools, nor knowledge sufficiently inspiring how to develop them, was generally available, so we had to develop them. In WO2014128586 we introduced a saturation processing definition as function of a brightness variable like luminance, but we desired another useful saturation adaptation definition, and we will describe embodiments below.

SUMMARY OF THE INVENTION

Our below described embodiments solve most of the issues of previously not having a simple saturation specification strategy which was well in tune with the needs of luminance dynamic range converting color processing being able to handle sufficiently different and/or sufficiently large dynamic range images (e.g. with object pixel luminances up to 1000 nit, or even above that), in particular by means of an image encoder (201) for encoding at least one high dynamic range image (HDR ORIG) for at least one time instant, and at least one image (Im LDR out) for the same time instant having a second luminance dynamic range which is different from the luminance dynamic range of the high dynamic range image by at least a factor two, which is arranged to encode a matrix of pixel colors for at least one of those two images (HDR ORIG, Im LDR out), comprising a specification unit ( 12) which comprises a saturation specification unit (204) arranged to specify a saturation modification specification function specifying a color-dependent saturation transformation, as a set of gains (g) for each possible value of a maximal one of at least two color difference values (R'-Y', B'-Y') of a pixel color (Y',Cb,Cr), which color difference values are defined as the value of a non-linear RGB additive color component of the pixel color minus the luma of the pixel color, and the image encoder further comprising a formatter (210) arranged to output in an image signal (S im) an encoding of an image (Im in DCT) comprising the matrix of pixel colors, and as metadata the set of gains (g).

Saturation processing by doing a boost of (two) color differences in general, with a fixed same multiplicative factors for all colors (anywhere in the RGB or YCbCr gamut) was known, as it is tightly linked to the definitions of saturation as introduced in the introduction of this patent application, so we see a color-difference-related part again in our method, but it was difficult to find a simple good specification of the saturation along the color gamut, in a particular manner, which fulfilled the needs of quick and powerful grading, both to save on precious time for the grader, and calculation complexity for decoding ICs in various possibly cheaper apparatuses which need to use high dynamic range images, such as e.g. tablet displays. One difference which should be pointed to, is that the classical saturation processing methods, one defines a cone or cylinder with the luminance or luma as a first axis, and two chromatic difference axes defining the chromatic component of the pixel color (which roughly corresponds to the actual psychological impressions of hue and saturation), whereas we apply the processing on three color components. Of course a major difference is that our gain definition is specified in a very different manner than the usual/expectable orthogonal to the luma axis definition, or usually just a fixed boost, which gives very different colorimetric behavior, which is however better tuned to problems of dynamic range conversion, which most complexly occur in the narrowing upper part of all RGB gamuts.

This new saturation processing method appropriately bends to that. The surprising V-Y index which can be used as an input coordinate for any FC(V-Y) function (or equivalent derivative function, like FC/(V-Y)) which codifies some particular saturation change behavior as desired by the content creation side was introduced, surprising for anyone skilled in color technology since one would think that saturations always should be defined essentially orthogonal to the achromatic luminance axis (at most a function of luminance or luma Y'), and so even when variable for different actual pixel luminances, this way of specifying saturation strategies would seem very counterintuitive to colorimetric technologists at first sight, since along the achromatic axis V-Y is zero everywhere, but, given that achromatic colors needn't be processed anyway, this saturation specification method seemed to have very nice properties in practice. So the color grader will specify his optimal chromatic color processing strategy as (for constant hue typically, although of course one could for certain applications modify the basic method into a more sophisticated one, e.g. taking care also of some hue-dependent variation; but for most applications our method only needs a function of the V-Y parameter) a 1 -dimensional saturation modification specification (which we will assume is a set of gain values for each possible V'-Y' value which could occur as calculation result for any pixel at a receiving side, but an indirect specification of an output function yielding a V'-Y'_out could be used just as well, i.e. is considered the same thing), which varies based on the V-Y values for any color in the color gamut. So by specifying any such function F(V-Y), the grader also specifies a particular color saturation modification behavior for an input image, as seen in the resultant output image. Interesting practical F(V-Y) specifications have only a few (e.g. 2 or 3) e.g. linear segments, e.g. a part in which the saturations are boosted, and a part of the range (and corresponding part of the color gamut) in which the saturations are decreased, but of course more complex specifications can be made, to re-grade a particularly complex HDR scene. In general there is a mechanism to specify a function, and the grader can then select how complex he wants to make, and encode this function. In a typical larger system, the grader can actually visually see what he is specifying (e.g. on a LDR display via image communication interface 288, e.g. UDMI), and choose a final specification as artistically desired, e.g. because it gives appropriate LDR image looks under a situation of a particular kind of HDR input (e.g. a scene of a dark basement encoded in a native format with luminances up to 10000 nit). Although this should be clear to the skilled reader, we'd like to emphasize that this color processing, in whichever embodiment configuration i.e. e.g. to convert an input image associated with a display of a first dynamic range to an image suitable for driving a display of another dynamic range, can be used both to convert from a higher dynamic range to a lower one, or oppositely from a lower dynamic range to a higher one (e.g. 100 nit to whatever codec or display peak brightness). But the method is especially useful for converting to lower dynamic range(s), and then encoding HDR look images of a HDR scene as such equivalent SDR images, to be communicated to any receiving side (whether real time, or via intermediate storage). So this saturation specification forms part of the definition of a first image of a first dynamic range on the basis of a second image of a second dynamic range. Therefore typical HDR encoder apparatuses will also comprise a color mapper 202 which is arranged to apply our saturation mapping, so that a human grader can real time by applying the mapping see what the gain factors correspond to (e.g., he may simultaneously look at the master HDR image on a HDR display, and the derived SDR image, on a SDR display, and check the colorimetric impact of his choices both on the brightnesses of image pixels or objects, and their saturation). Also, one can specify the function so that it increases, or decreases the saturation, and, possibly differently depending on where the color lies in the gamut. In case the unit for specification 204 and the color mapping unit 202 are in different e.g. ICs, then there may be a bus 289 between the units for communicating the F(V-Y), and in software-based version on a single processor or similar, this may equivalently be realized by procedure calls, etc.

Additive primaries are primary colors that span a gamut of colors that can be made by mixing a percentage of each primary, whereby mixing 100% of each primary gives a predefined white color, e.g. D65. Linear additive primary-defined color percentages behave as a linear vector space, as if the primary indicates a number of photons of a certain primary color (in fact from a particular spectrum of the primary) of the primary. This has certain properties regarding e.g. the constancy of a hue in a mix etc. This should be contrasted with non-linear representations, which have very different color mixing behavior. Such non-linear coordinates can be defined e.g. by applying typically a function which is approximately a square root, i.e. we will indicate that with the prime (stroke) added to the color component, e.g. R'=sqrt(R), etc., or in fact any other non-linear function of the linear additive color component. But we assume the primes to mean typically a function which is a square root or close to that function shape (e.g. a Rec. 709 SDR luma). Of course mathematically, one can also define any color processing like e.g. a linear matrixing in such a non-linear color space, but the chromatic appearance of any set of colors processed in such a non-linear manner -e.g. a saturation-modification processing- will be different from a linear color processing. A luminance of a color is by definition a linear combination of the primaries, with weights depending on the chosen RGB coordinate system, i.e. the primaries and the required white point. A corresponding combination with the same weights of the non-linear primary components also exists, but that is called a luma Y', and as said, that color representation and the mathematical color transformations in it has different colorimetric behavior, and cannot be used similarly mutatis mutandis for a particular colorimetric task. I.e., one needs to seriously contemplate which mathematical transformation to use in which case, and may need to even more laboriously need to contemplate how to emulate e.g. some color processing behavior in a non-linear representation in a linear one or vice versa. Some color transformations, like in the old day circuits of analog television were designed with other primary considerations, e.g. calculation simplicity favored over color accuracy, than what present day technologies may need.

Various connected or separate apparatuses can specify such in various manner a function which codifies the saturation behavior (according to our particular V-Y, or preferably non-linear V'-Y' philosophy of the present invention) and communicate it to the color processing unit. In particular, the both may be comprised in an apparatus for verifying the action of the color transformation, such as in an image or video encoding apparatus.

Typically a grader will specify, by e.g. shaping the function with control points, at least one time, and possibly as many times until he is satisfied with the color transformation of the saturation processing, in particular the look of the (e.g. LDR) output image. But this may also be done e.g. by a camera operator etc. A final function FC can then be used for the upcoming real-time processing, stored in a memory for later processing, like e.g. when processing a batch of images, communicating over any communication technology, for e.g. enabling any receiver doing the image processing, etc. The skilled person will understand which equivalent variants can be used depending on the scenario, e.g. a standard can reserve a number of integer or real number placeholders, to put in a number of function specifying parameters, like e.g. a single gain, which could be an average in case the gain varies, a first coefficient containing e.g. a demarcator on the V-Y input axis where a first segment ends when starting at 0, and a slope number in case this is a linear segment, and in case the function is too complex and needs too many parameters, the standard may store the FC data in a LUT instead, etc. Any such saturation handling apparatuses (e.g. a part of an IC, or software running on an IC) could determine a good saturation strategy by themselves, i.e. even a decoder in a television could determine and apply it in e.g. an autoconversion strategy to make the colors of an incoming image nicer. Yet the saturation modification is of particular interest as a component in technologies where various looks of a scene for various dynamic ranges of displays on which the respective looks have to be rendered are specifically encoded, by colorimetric transformations of at least one received image per presentation time instant, which colorimetric transformations involve saturation processing.

Typically an apparatus for determining the encoding, if it makes use of the input from a human grader, will have a Ul-based specification of at least one function F(V- Y), supply that saturation specification function to the color processor to do the color transformation and allow the resulting output image to be inspected by the grader, and if the results are satisfactory finalize the grading-based encoding by e.g. formatting all describing data of the function in a metadata field associated with the pixelized image encoding, and stored or transmitted as an image signal, which can make any receiver do the same calculations to obtain the pair of images of lower and higher dynamic range, or, if the saturation transformation is done within the same dynamic range, the output e.g. LDR image. It should be clear that any encoder doing some kind of verification of what the encoding will look like, will comprise the basic saturation processing core of this invention. In any case, any decoder must comprise it, since it needs this defined way of changing the image look to be able to re-determine the second image, i.e. e.g. the LDR image which was not actually co- encoded as a pixelized image, but only as a specified color transformation to be applied to the communicated HDR image. In this manner, together with luminance-based color

transformations, an image of e.g. 3x or lOx lower dynamic range, typically lower peak brightness, is obtained.

As said, the saturation processing is particularly interesting in HDR image processing scenarios. In particular we have previously invented a HDR encoding framework, which does not necessarily encode one sole HDR look (i.e. e.g. an image to be presented on a 5000 nit display, which means it will look optimally on that display, yet, although of course being just an image it can also be directly rendered on other displays of lower of higher peak brightnesses, but because those displays don't match with the artistic intention, the image will not look optimal anymore, e.g. some parts will look too dark), but can encode a bundle of such looks for various intended displays (which we call display tunability). In such a technology only one of the range/look images actually needs to be encoded and transmitted (for each time instant T for video), e.g. the 1500 nit one, and the others are then calculated at the receiving side by applying functions. E.g. first functions map this to a reference 100 nit peak brightness dynamic range, and a second set of functions map it to 5000 nit. And a mapping to 3000 nit can also be done at the receiving end by correctly interpolating all the received information. In such encoding strategies one wants to specify the saturation change when going e.g. from 1500 nit to 100 nit, or from 1500 nit to 5000 nit, and for that the present saturation modification embodiments are highly useful. So the saturation processing forms part of the functional definition of one look (e.g. an LDR Im LDR out) as a function of another look (e.g. a previously made master HDR look HDR orig), and can be used for deriving the second look by a receiver, whichever one of the two (sets of) images is actually sent to the receiving side, with metadata comprising the color transformation functions definitions. In addition to the saturation processing there will be a luminance-direction color transformation, which may in the functional definition of the second image e.g. be applied prior to, or after the saturation processing. We note that in HDR processing one needs higher non-linearity for the definition of the luma code values than gamma 2.2. If one wants to use a particular good looking graded image which doubles as a code allocation function, the nonlinear luma transforms in such an application may even be more highly non-linear, e.g. an S- curve. E.g., one may communicate a LDR non-linear image of a linear HDR scene.

More advanced embodiments may allow specification of different saturation processing strategies more tuned to the colorimetric particulars of an image, namely the specification unit (212) comprises a unit to determine a set of at least two weights (Wr, Wb), and the formatter (210) is arranged to output those weights in the image signal (S im). E.g. there may be user interface means like rotating dials connected to software which allow a human grader to select at least two, or three, or four or more such weights together with his specification of the saturation processing function. He can again see what everything is doing. In simpler systems, e.g. a real-life television production console as it resides e.g. in an outside broadcasting van, those weights may be preset to a standard value (e.g. based on the knowledge of what kind of programs the producer typically makes, e.g. set at good values for soccer program creation in a soccer stadium), and then e.g. the creative director can adjust a value if needed. Some systems may even determine those weight values automatically (e.g. for a given standard shape of the saturation function, or even in conjunction with a selection of an optimal shape from a number of available shapes, etc.), based on colorimetric analysis of the produced images, e.g. calculating a difference measure between the colorfulness of a selected set of pixels in the HDR respectively the SDR image, etc. On any receiving side of the information which was previously determined on a transmission or creation side, the new technology may be used in an image decoder (301).

Namely an image decoder (301, 701) arranged to be able to receive an image (Im in DCT) and calculate therefrom an image of a different luminance dynamic range (HDR ORIG) the different dynamic range having a coding peak brightness (PB C) which is a multiplicative factor of a magnitude being at least 2.0 different from the peak brightness of the received image (Im in DCT), at least one of the two images being a high dynamic range image (HDR ORIG), the decoder comprising a color mapper (304) arranged to derive the image of a different luminance dynamic range by performing for the pixels of the received image:

- calculating a maximal one of at least two color difference values (R'-Y\ B'-Y') of a pixel color (Y',Cb_in,Cr_in), which color difference values are defined as the value of a non-linear RGB additive color component of the pixel color minus the luma of the pixel color; and

- receiving a set of gains (ST g) which represent a corresponding gain (g) for each possible value of the maximal one of at least two color difference values (R'-Y\ B'-Y'), and determining the gain (g) for the color of the currently being processed pixel; and

- multiplying a blue and red chrominance (Cb, Cr) of the pixel by the determined gain, to obtain the chrominance of the output color.

This decoder is new not only in that it is able to do this new saturation processing (based on a received specification of how to change the saturation from the content creation or transcoding side), but also in that it is the manner to obtain different looks which are uniquely defined based on such colorimetric redefinition of the colors (which may typically happen in a normalized coordinate system, in which R,G,B and Y are between 0 and 1, but the exact color locations in that gamut determine the artistic appropriateness of any look or grading of a particular HDR scene).

So this specific saturation processing, apart from being useful in general as an image processing, was realized by the inventor to be especially useful for defining images (i.e. further images of a different dynamic range from received images), if one has a technology where one needs to encode at least two looks on a HDR scene, which two looks are images intended for displays of significantly different dynamic range (e.g. a legacy 100 nit peak brightness, and a 5000 nit, or a 1000 nit), and whereby one would like to avoid communicating the pixel textures of both images (or at least, maybe some pixels may be sent in a second image, avoid that both images need to be communicated to a receiving side in full). The second look artistically graded, will then by derived mathematically from the first, which is actually communicated as an image comprising an encoding of the colors of sets of pixels, e.g. by a DCT-based coding like JPEG, or an MPEG variant or the like. In particular, in this framework the artistic desires of the content creator are taken into account, since he is specifying the second look, which is also actually coded by the color transformation for communication, but at the same time also specified, because at the encoding side he is selecting the optimal saturation change strategy as codified in FC(V-Y). At the decoding side this information is then used to be able to uniquely determine the second look image, e.g. non-limitingly a LDR image from a communicated HDR one. Note also that it can be technically advantageous to first to the color, i.e. saturation modification, and afterwards the luminance transformation part. E.g. if this chromatic transformation creates some designed headroom in the luminance direction, then different kinds of luminance transform can be applied, which may sometimes be critical in dynamic range compression, e.g. in conversion to LDR when several important bright objects have to be crammed in the top of the RGB gamut tent. This may be especially interesting for some kinds of scene, e.g. containing stained glass windows, etc.

Interestingly the embodiments of the various color handling technologies, like color processors, decoder, or even encoders may be comprised in a display apparatus such as a television, or movie theatre projector, etc.

The invention may also be realized in a communicatable image signal (S im) which is encoding at least two images of different dynamic range, at least one of the images being a high dynamic range image, the image signal comprising an encoding of a set of pixels one of the at least two images, and function metadata specifying the color

transformation functions to be applied to derive the other one of the at least two images, characterized in that the function metadata comprises a function specifying gains for various values of a difference value (V_in-Y) being defined as the value of the highest one of typically three (but potentially also 2 or more than three) color differences (R-Y,G-Y,B-Y) of a pixel color (R,G,B), which color differences are defined as the value of the respective additive primary color component of the pixel color minus the luminance of the pixel color. This signal can be stored, transmitted, used, etc. This signal then comprises all data to be able to decode the second look or graded image from the first one (i.e. both typically having a significantly different luminance dynamic range), comprising the fact that the inventor realized that the new saturation mapping can be used very well in the definition, i.e. co- encoding, of at least one other dynamic range image based upon a sole transmitted actual pixelized image encoding. Any memory product (299) internal to any apparatus, or detachable and separately distributable, comprising a memory for digital data bits, characterized in that the memory is filled with the novel image signal (S im) codifying the specific simple saturation modification strategy.

As the skilled reader will realize, all embodiments can be realized as many other variants, methods, signals, whether transmitted over network connections or stored, computer programs, etc.

BRIEF DESCRIPTION OF THE DRAWINGS

These and other aspects of the method and apparatus according to the invention will be apparent from and elucidated with reference to the implementations and embodiments described hereinafter, and with reference to the accompanying drawings, which serve merely as non-limiting specific illustrations exemplifying the more general concepts, and in which dashes are used to indicate that a component is optional, non-dashed

components not necessarily being essential. Dashes can also be used for indicating that elements, which are explained to be essential, are hidden in the interior of an object, or for intangible things such as e.g. selections of objects/regions (and how they may be shown on a display).

In the drawings:

Fig. 1 schematically illustrates a particular embodiment of the new saturation processing apparatus, i.e. the core of the decoder, or its mirror when in an encoding apparatus e.g. for checking what the decoder will do, or determining the dynamic range transform in the other direction (e.g. a HDR to SDR transformation, where the receiver will substantially reversed do the SDR to HDR reconstruction), optionally connected to a luminance processing strategy (the two color changes being substantially de-correlated);

Fig. 2 schematically illustrates a possible embodiment of how an HDR image encoder comprising an embodiment of the novel saturation processing apparatus may be realized;

Fig. 3 schematically illustrates a possible embodiment of an exemplary HDR image decoder e.g. a decoder in a STB connected to a display in a home environment, the skilled reader of course understanding that similar to this other usage scenarios may be e.g. a medical system, military system, advertising system in a supermarket, entertainment system in a theme park, etc.; Fig. 4 schematically illustrates one possibility of a simple manner for a human grader to specify a g(V-Y) saturation specification; and

Fig. 5 schematically illustrates what the V-Y specification would look like in an RGB color gamut, with R a red, G a green, and B a blue additive display primary color; Fig. 6 elucidates some aspects of converting images between a first and second luminance range representation, i.e. in particular the brightness aspects of the image transformation; and Fig. 7 shows a preferable embodiment of our V-Y-based principles, which is easily integratable with legacy systems which expect Y'CrCb processing in a rec. 709 or similar philosophy, i.e. with the non-linearity defining the lumas Y'from the luminances being approximately or actually a square root.

DETAILED DESCRIPTION OF THE DRAWINGS

Fig. 1 schematically shows merely one possible elucidating embodiment of a basic color saturation modification apparatus 101 according to the present invention. We use this Fig. only to elucidate some first principles of our embodiments, and as shown below other topologies of the processing circuit can be designed also. This apparatus 101 may e.g. be a processing unit of an IC for color processing, e.g. as we will assume in the below exemplary elucidation, comprised in an encoder for HDR video encoding or a decoder for HDR video decoding. It gets an input image of pixels with colors which we will assume are linear red, green and blue (RGB) colour components, for some color space like e.g. sRGB. But a more preferred embodiment which works closer to more typically used non-linear R'- Y' etc. based variants which are normally used in legacy SDR encodings (i.e. also in case we want to use our methods by sending a legacy compatible SDR image being the first dynamic range image to be converted into the image of the second dynamic range, being in that scenario typically a HDR image; but note that our decoding and processing can work in the other direction also, e.g. to downgrade a higher PB C HDR image to a lower one, e.g. from 5000 nit to 1000 nit, or 1000 nit to 100 nit, etc.), is elucidated with Fig. 7 below. The skilled person will understand how variants can exist, e.g. if gamma-space YCrCb pixel colors of an MPEG encoded image come in, there may be a preprocessing unit connected (not shown) for doing color conversion to this linear RGB color representation. Luminance calculation unit 102 calculates a luminance of the color, dependent on the color primaries of the used color space. E.g. the equation it uses may be Y=0.2126*R+0.7152*G+0.0722*B (for Rec. 709) or Y=0.2627*R+0.6780*G+0.0593*B (for Rec. 2020), both for D65 white point, etc. But interestingly in Fig. 7 we show how the (non-linear) V'-Y' -based philosophy can elegantly be casted in a Y'CbCr-type color processing, i.e. with R'-Y' etc. instead of the linear R-Y.

A subtracter 103 derives linear color differences (e.g. R-Y is obtained by subtracting the pixel luminance from its red color component, etc.). A maximum

determination unit 104 evaluates which one of the 3 color differences R-Y, G-Y, B-Y is the highest for the currently processed pixel, and outputs this value, e.g. R-Y. We will call V'-Y' or V-Y (for the linear less preferable case) whichever of the 3 inputs is the highest. This value is needed because our saturation strategy defines how much saturation or desaturation should be done based on the V_in-Y value of each image pixel. The amount of (de)saturation is indicated as a factor g for multiplying, and it is determined by a function F. This function could be calculated on the fly, but merely for this example we will assume it is read from a lookup table. This lookup table (or whatever data needed for enabling the evaluation of the function in general) F(V-Y) with index V-Y and output g, will typically be received externally via a data input 108, e.g. via metadata associated with the input image(s)

Im_in(R,G,B), being previously generated by the content creator of those image(s). The resulting gain is multiplied with the color differences by multiplier 106, yielding output linear color differences (R-Y,G-Y,B-Y)_out for the pixel. Finally the pixel luminance is added again by adder 107, to yield an output pixel color, and an image Im_out(R,G,B) with such pixel colors, which has a different saturation for the pixels.

What we have also shown in Fig. 1, and what is not in general present when the present saturation technology is only used as an image recoloring function, but is typically present in a video encoding or decoding processing chain, a second processing which keeps the chromaticity of the color (or in other words its saturation) constant, but changes the brightness or luminance of the pixel. In particular, the luminance mapping unit 150 can give a different brightening (or darkening) for pixels with various pixel grey values (or actually max(R,G,B) values) along the range of possible grey values, by multiplying with multiplier 153 the input RGB values with gain values gt, which are evaluated by gain value determination unit 152 as a function FT of the maximum (calculated by maximum

determination unit 151) of the input R,G and B values (denoted with V). This unit 150 giving a final output image Im_out2(R,G,B) actually implements what we described in detail in WO2014056679. Although various uses of this mapping technology are conceivable, such as e.g. mapping an intermediate 1000 nit encoded image to a 2000 nit image for display on a 2000 nit display, or upgrading a special 100 nit image which looks reasonable on a 100 nit display yet contains sufficient HDR texture information for transforming it functionally in a good quality 5000 nit image, we will elucidate the processing with an example of mapping 5000 nit master graded HDR (HDR ORIG) to a 100 nit LDR, suitable for driving LDR displays of 100 nit peak brightness or peak brightnesses around that value. Suppose we have a HDR capturing of a church. The interior of the church is not too bright, i.e. slightly darkish but with everything well visible. The sunny outside world shining through stained glass windows is much brighter, making those colors e.g. 10 or more times as bright as the inside colors. But that is well representable in an HDR image, because it has sufficient dynamic range. Defining the meaning of a coding (ignoring with which electro-optical transfer functions lumas have been allocated to luminances to be rendered on the display, and just focusing on those luminances only) can be done by looking at their rendering on a reference display. So for the church, we could say it is well color graded, i.e. has a pleasing look, if on a 5000 nit display the inside colors are e.g. mapped on a 0-200 subrange of luminances, and the stained glass windows are rendered with luminances in the interval 350-5000 nit. The HDR display (and its corresponding encoded HDR image) can display such high values even for blue which has only 7% as much luminance as the white or peak brightness. I.e. it has the possibility of rendering (and the corresponding HDR images should hence encode those) colors that are at the same time saturated and bright. On an LDR display however, nothing bright and at the same time saturated is possible. Either we keep the saturation of the colors, but then they become dull (e.g. for blue maximally 7% of 100 nit = 70 nit), or we try to make them brighter, but then suffer saturation of the colors, because moving up into the top of the gamut can only be done by desaturating colors. We assume that this was the grader's choice: "better a little less colorful windows if only I can simulate them as bright". This would be done by first desaturating with our unit 101 the colors towards the achromatic luminance axis (with constant luminance), and then we have room in the gamut top to boost the brightness of the desaturated colors (i.e. preferably solely or mainly for the stained glass parts of the image, i.e. their colors), with unit 150. If we processed the original non-desaturated colors with unit 150, we would quickly bump into the gamut upper boundary, and hence add little or no brightness (luminance) to the windows. So this is a typical interesting color processing variant associated with dynamic range transformations to lower luminance dynamic range, but when transforming a LDR image to a HDR image the same saturation processing could be used for other effects, e.g. making some objects or regions of the image more colorful. Note that in some embodiments the desaturation may happen after the luminance mapping part, although the philosophy is still the same. Typically in the encoder the desaturation may happen after the luminance transformation, and in a decoder it may be useful if one can after having the correct chromaticities (i.e. luminance-independent saturation) multiply with the appropriate luminance, or luma.

The skilled person will understand how various color mapping for images can be realized in practice, e.g. in a single chain of processings per pixel, or different successive calculations on intermediate result images, etc.

Fig. 2 shows how our saturation unit can be comprised in an encoder, for yielding HDR video. It gets as input an HDR grading image (HDR ORIG). Again we elucidate with the example that the grader will make a corresponding LDR image, and use our saturation technology to determine the saturation of that LDR image. Color mapper 202 is arranged to apply our saturation mapping as in Fig. 1, and yield an LDR output image Im LDR out, the look of which can be studied on a reference display 220. Now the grader can specify his desired saturation strategy, e.g. as a multilinear curve specifying the functional mapping between V_in-Y and V_out-Y, as in Fig. 4, or otherwise. E.g., he may create a function by specifying the x and y coordinates of 8 control points in a [0-1], [0-1] coordinate system. Thereto the (image or video) encoder 201 comprises a user interface unit 203. It may implement various user interface functionalities, e.g. to determine the luminance reallocation of the various HDR image grey regions into grey regions in the LDR image, e.g. it may allow the user to specify regions of an image to be processed in a different manner from the rest of the image. But one of the comprised units will be a saturation specification unit 204. The user may specify his user input USRINP via known grading tool input devices like color grading keyboards, and/or a mouse, etc. E.g., he may draw a curve like in Fig. 4a. Color mapper 202 can then apply all specified color transformations, in particular the saturation modification. If the grader is satisfied with the LDR look, the function FC(V-Y) will be the one to use at a receiving side to recreate the appropriate LDR look image out of a received HDR image. Otherwise, the grader may try another F(V-Y) specification. We will assume the textures are encoded in the original HDR ORIG, but we could also transmit e.g. the LDR image Im LDR out. The encoder then needs to collect and format all information by using formatter 210. It will encode the HDR-ORIG image as an MPEG-HEVC image, i.e. will calculate lumas according to a HDR EOTF function, calculate some chromatic color coordinates like CbCr or uv, do DCT transforms on the component images, etc. The metadata FC can e.g. be saved in dedicated SEI images, or similar metadata structures. The resulting image signal S im comprising image data Im in DCT and functional color mapping metadata FC for obtaining at least one other look image for a different dynamic range display, may directly be sent over some network, e.g. broadcasted with antenna 211, or may in another embodiment be stored on a memory product 299, say a Bluray disk. Equivalently of course the set of gains, i.e. the function g(V'-Y') or g(V-Y) can be encoded, e.g. as a LUT, etc. Fig. 2 also schematically shows the image signal S im/280 that the Bluray disk contains, which signal is logically composed of at least image data 281, and functional metadata 282.

As one out of many possibilities, we give the example where the formatter 210 encodes and formats the images and metadata according to an MPEG-family video compression standard, e.g. MPEG-FIEVC, with lObit words for the FIDR lumas.

Fig. 3 shows how in a mirrored manner the encoded image looks may be decoded, and without loss of generality, we can elucidate the case where a receiver applies exactly the same saturation strategy FC, to obtain the appropriate image for a connected e.g. 100 nit display 302 driven via wired or wireless connection 398, on the basis of the received image signal S im comprising an FIDR e.g. 5000 nit image encoding Im in DCT, and mapping functions for transforming it to an LDR image, both a color mapping function for one of our present saturation processing embodiments, and a luminance mapping function FT specified as a function of V=max(R,G,B)_in. The decoder 301 will get its basic image encoding, and the mapping functions for the chromatic and luminance adaptation via an image input 310, which typically gets combined image data + metadata image signals, and may be connected to various sources such as e.g. a DVB receiver, the internet, a BD reader, etc. In case the saturation processing functions in a standalone application such as image processing software, e.g. as a (pre)content generation method, the image source may be on a computer's hard disk etc. The decoder 301 comprises a deformatter 303 for undoing the MPEG decoding, and finally yielding a linear RGB representation of the Im in DCT with color components which we assume normalized to 1 for computational simplicity. The color mapper 304 will calculate the required LDR image, and it comprises our color saturation processing unit 305 as in Fig. 1. Indeed, in this example we will do exactly the same function FC as specified in the encoder to do the same downgrading the grader checked on display 220, but there can be other embodiments where one transmits a LDR image, which was created with FC, but needs to be upgraded with an inverse function FC "1 , or only a partial saturation change for a display with peak brightness between the one of the transmitted image, and the reference display corresponding to the image which the applied functions yield when applied to the transmitted image, etc. Note that typically the color mapping may also comprise a gamut mapping to the RGB gamut of the LDR display (for which the LDR image was graded), and the saturation processing will be done in that linear RGB space. Receiving side decoding apparatuses comprising our decoder 301 may be manifold, e.g. a settopbox preparing an image for a passive TV, or the color transformation may be done in the TV itself, and the decoding apparatus may generate optimal images for several connected displays of different peak brightness, etc. Of course the decoder and encoder may also be in several intermediate apparatuses, e.g. for transforming a first HDR image or video format in a second one, e.g. prior to transmission via satellite, or in a part of a cable system, or when transmitting a live news feed etc. Although we described an example of human color grader- tuned color mapping, the same technologies can also be done in an autoconverting color mapping unit, wherein the FC is e.g. determined mathematically by analyzing the properties of the images, such as e.g. looking at the histogram or otherwise determining which (how many, how large, ...) objects are in the brighter or darker subranges of the total luminance range. The specification unit (212) which actually does the generation of the FC function(s) may be different in the two scenarios. In case of user-generated saturation specifications, it will typically include user interface means to specify a functions, e.g. a graph on which one can draw a functional shape, e.g. by dragging control points, and the grader will be able to see the result, after applying the functions to the input image. When the specification unit is of the autoconversion type, there may be one or more image analysis units (not shown), but it may still be advantageous if the encoder shows the (e.g. single, or multiple propositions) automatically generated FC and/or FT, so that he can agree with the artistic quality of those by e.g. clicking an okay button. So the unit arranged to specify a function F(V-Y) encoding gains (g) may either be arranged to do a mathematical specification by itself, or comprise units allowing a human artist to do so. Or, instead of accurately specifying a multisegment saturation strategy, the color grader may just turn one single dial (even directly on a camera to yield appropriate HDR video output), which then mathematically changes the shape of the saturation definition function FC(V-Y).

In Fig. 4 we have given one exemplary simple embodiment, in which the grader needs to change only two parameters. To understand that better, the reader can first look at Fig. 5, which shows the equi-V-Y lines in a yellow-blue slice of the RGB display or codec gamut (shown schematically in a luminance uv-chromaticity representation). We see that the disadvantageous asymmetry of the gamut (7% maximum luminance for maximally driven pure blue vs. 93% for yellow), which makes luminance-based saturation difficult, is handled by having the V-Y lines scan through the colors in a different manner. The yellows correspond to smaller V-Y values, and the blues to larger ones, up to 0.93 for maximum blue (B=l, R=G=0). Now take the example of the stained glass window again. It may contain blue and yellow colors. One could desaturate the yellows, but that wouldn't yield much additional luminance (theoretically maximally 7%), yet it would lead to ugly desaturated colors. So we don't win on the one aspect of the optimal rendering in LDR of bright colorful objects, namely the brightness, yet we already severely lose the other aspect being the

saturation/colorfulness. However, by desaturating the blues only by 50 percent, we could win about 50% of brightness/luminance, when seen as percentages of achromatic luminance. Another way to describe this is to look at which luminance boost can still be done (typically in a second luminance processing block/phase) compared to the luminance we have currently. Suppose we start with maximum blue (B=l, R=G=0), or in the non-linear case mutatis mutandis (B'=l, G'=R'=0), which has a V=max(R,G,B)=l, and a Y=0.07 (or Y'). When half desaturating this color, we go to a B=0.535 (R=G=0.035). Since in this blue hue quadrant blue will always be the largest color component, we can still boost brightness or luminance by boosting blue up to maximally B=l (for that saturation, i.e. e.g. keeping R and G the same). In general we can boost by l/max(R,G,B)_desat, i.e. the maximum color component after desaturation. In this example that would yield 1/0.535 = 1.87, i.e. we can still boost with 87%. So if there are a significant amount of blue pixels in the window, it will suddenly look much brighter. And blue being a powerful color, the stained glass window will also still look colorful even with desaturated blues. So the grader can accomplish this by defining a smaller than 1 saturation gain g in the region of V-Y around e.g. 0.6. So we show a couple of examples of how saturation would behave. If for a half saturated bright yellow having V-Y value of 0.012 we specify a desaturation strategy 501 with say g=0.9, then a darker, more saturated yellow on the same V-Y line will have the same strategy 502, i.e. be desaturated by the same amount. Yet another color can be (de)saturated by a different strategy 503, or different amount g2(Y-V). And for the blues we can define yet another saturation amount g3 (504). Our described saturation strategy is so interesting, in particular for dynamic range conversion, because, contrary to conventional strategies (applying a constant gain to the difference signals R-Y etc.) which would desaturate the bright colors like yellows too much, it can desaturate mostly the dark colors like blue, red and magenta, which give the most impact in the brightness-colorfulness optimization. Also, the method is easily reversible (if only we design the saturation function to not have too low differential gain), which makes the calculation of FC-1 from FC at the encoder (or even decoder) side simple and robust for those scenarios that would need this.

Returning to Fig. 4, the grader can specify a saturation boost scenario in general (note that V-Y also decreases with luminance generally), and a desaturation for the colors that are naturally non-luminous like the blues, and need to be desaturated and boosted. He would specify the former to be e.g. 1.3 up to a chosen control point of Y-V_dl, and then use a linear slope which ends at a desaturation value of e.g. 0.7 for the bright blues (with the high V-Y values). For extreme HDR to LDR conversions we would get much lower end values, e.g. 0.1. Even such a quick specification will give him a good looking LDR image. The upper graph Fig. 4a shows the function V_out-Y vs. V_in-Y of the color transformation, and the lower graph Fig. 4b the corresponding gain. Although we elucidated the encoded image signal with a metadata specification of g(V-Y), of course the V out specification of Fig. 5a may be used mutatis mutandis.

Fig. 7 shows the core calculation part for the chromatic (saturation) changes of the chrominances of another useful decoder embodiment 700. The skilled person can understand the same mirroring topology (as for other variants) at the encoding side from this teaching. We assume (without loss of generality) that a SDR signal is input (Υ',

Cb_in,Cr_in). From the Cb Cr components at least two non-linear color differences can be calculated, an in this example merely elucidating the general principles we assume we determine 4 differences. Apart from the understandable R'-Y', etc., the fourth one (or further ones) can be chosen to implement some typical behavior. E.g. one may define the S direction in such a manner that one can control desired color behavior in e.g. the cyan direction (e.g. if one considers colors in particular in this cyan direction too colorful, one can make sure the cyan S'-Y' component is the highest and comes out of the maximum, and the creation side, e.g. the grader, will make such a saturation curve (FC, or the set of gains ST g directly), so that for these cyan colors there is e.g. some desaturation, making them less colorful. Some embodiments may multiply the 4 (or at least two) components by weights Wr,Wg, Wb, Ws before they go through the maximum calculation unit (702), which weights are typically optimized e.g. per image or scene or total video by the creation side, and communicated and received, in further metadata, e.g. SEI messages and the like. This is a very interesting addition to the basic system. In this manner the creation side can further influence which color component (as particular aspect of the various pixel colors, in particular the one of the currently processed pixel) comes out as the maximum, and then also its particular value, which will be a different input coordinate in the function (e.g. the set of gains; which e.g. may be communicated as a LUT, or a parametric function in which case one actually communicates in metadata a set of control points etc.), i.e. the final saturation transformation and ultimately the look of one of the pair of images (typically the look of the SDR image corresponding to the master HDR image). So e.g. in case of three values as input to maximum calculation unit 702, instead of R'-Y' etc., we will get the highest one of Wr*(R'- Y'), Wg*(G'-Y') and Wb*(B'-Y') as output V'-Y', and this will depend also (for different colors differently) on the chosen values of those weights Wr, Wg, Wb, in particular, as they have been selected at and communicated from the creation side, depending on the particulars of this current shot of images of this current HDR scene in the movie or video (e.g. for a television show which takes place in the same decor, these weights may stay the same for the whole program, but nonetheless they can be optimized, so that the color transformation between the optimal HDR and SDR image is optimal).

A mere useful example can be:

(R'-Y') = 0.00000 * Cb in + 1.75000 * Cr in(this will de-saturate red)

(G'-Y') = - 0.16455 * Cb in - 0.57135 * Cr in (this will de-saturate green)

(Β'-Υ') = 2.25000 * Cb in + 0.00000 * Cr in(this will de-saturate blue)

(S' -Y') = 0.00000 * Cb in - 1.00000 * Cr in

But in general one can use any set of 8 conversion constants, which also can be pre-agreed and fixed, or communicated as further metadata, e.g. once at the beginning of the movie or video, or every couple of seconds during a television broadcast, etc.

So matrixing unit 701 performs this matrixing from the Cb, Cr color components to the N color differences. Maximum calculation unit 702 determines which of these N values is the highest, and puts it on its output, gain factor determining unit 703 determines the gain value g corresponding to the maximum V'-Y' value, i.e. the color of the pixel being processed, and this value is then used by two multipliers (704, 705). This is essentially the core color processing. We have in dashed added other typical components, as their may typically also be a luminance processing, but this may happen in various manners. E.g. the luminance processing may happen prior to this color processing core, in which case Y' has already the correct luminance behavior (which can be seen e.g. in the histogram), i.e. has e.g. the HDR distribution of pixel/object luminances. In other embodiments the luminance processing may happen as a second stage processing after the saturation processing, as we elucidated with Fig. 1.

In this elucidating embodiment we have actually assumed that the determination of the luminance changing behavior (which can also be implemented as a modification of the Cb and Cr, but then not only those two components, but all three components Y', Cb and Cr are multiplied by the same constant M) in luminance processing unit 750 is done in parallel with the determination of the applicable gain factors g, and a single multiplicative color processing is done. Thereto final gain factor determination unit 751 may be comprised which determines a final gain factor g2 which is dependent on what is needed for both the brightness transformation and the particular saturation adjustment for this color. Finally, we assume there to be a final color transformation unit 710, which generates output color components, e.g. R'o, GO, B'o components, which may also be in a Rec.

709/SQRT (or Rec. 1886) representation, but alternatively SMPTE ST.2084 defined etc., and those may e.g. be directly delivered to a display for rendering over e.g. a HDMI cable, etc. Units for reading metadata etc. will be understood by the skilled person, hence are not needed for elucidating this invention. As to the unit arrange to receive the weights (780) the skilled reader will understand how that will be embodied in various embodiments, e.g. reading the metadata from a sector of a portable memory like a BD-disk, or memory stick, receiving a data signal via internet, or via a television signal connection, and in principle this data could even be incorporated in the image, e.g. in the last line, and extracted by doing the decoding calculations as per agreed manner to encode the weights metadata, etc.

The algorithmic components disclosed in this text may (entirely or in part) be realized in practice as hardware (e.g. parts of an application specific IC) or as software running on a special digital signal processor, or a generic processor, etc. A memory product should be understood as any physical realization comprising a memory, in particular anything which can be purchased, and non-limitatively covers such embodiments as e.g. an optical disk or other detachable and carryable memory product, or a memory segment on a network- connected server from which the contents of a specific part of the memory can be

downloaded, etc.

It should be understandable to the skilled person from our presentation which components may be optional improvements and can be realized in combination with other components, and how (optional) steps of methods correspond to respective means of apparatuses, and vice versa. The word "apparatus" in this application is used in its broadest sense, namely a group of means allowing the realization of a particular objective, and can hence e.g. be (a small circuit part of) an IC, or a dedicated appliance (such as an appliance with a display), or part of a networked system, etc. "Arrangement" is also intended to be used in the broadest sense, so it may comprise inter alia a single apparatus, a part of an apparatus, a collection of (parts of) cooperating apparatuses, etc.

The computer program product denotation should be understood to encompass any physical realization of a collection of commands enabling a generic or special purpose processor, after a series of loading steps (which may include intermediate conversion steps, such as translation to an intermediate language, and a final processor language) to enter the commands into the processor, and to execute any of the characteristic functions of an invention. In particular, the computer program product may be realized as data on a carrier such as e.g. a disk or tape, data present in a memory, data travelling via a network connection -wired or wireless- , or program code on paper. Apart from program code, characteristic data required for the program may also be embodied as a computer program product.

Some of the steps required for the operation of the method may be already present in the functionality of the processor instead of described in the computer program product, such as data input and output steps.

It should be noted that the above-mentioned embodiments illustrate rather than limit the invention. Where the skilled person can easily realize a mapping of the presented examples to other regions of the claims, we have for conciseness not mentioned all these options in-depth. Apart from combinations of elements of the invention as combined in the claims, other combinations of the elements are possible. Any combination of elements can be realized in a single dedicated element.

Any reference sign between parentheses in the claim is not intended for limiting the claim. The word "comprising" does not exclude the presence of elements or aspects not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements.