Color conversion data generation method
The color conversion method using a 3x3 matrix and reshaping metadata addresses HDR content delivery challenges, ensuring efficient coding and compatibility across various displays.
Patent Information
- Application Number
- JP2023521836
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2020-10-14
- Filing Date
- 2021-10-14
- Publication Date
- 2024-08-26
- Estimated Expiration
- 2041-10-14
AI Technical Summary
Existing technologies face challenges in efficiently delivering high dynamic range (HDR) content due to bit depth limitations and the need for backwards compatibility, requiring improved techniques for combining SDR and metadata to enhance coding efficiency and content protection.
A color conversion method involving a 3x3 color transformation matrix and a 3x1 offset vector is applied to HDR images, followed by reshaping and compression, with backward reshaping metadata transmitted to reconstruct HDR content on compatible and non-compatible displays.
This approach maintains coding efficiency while ensuring compatibility across different display types, allowing for high-quality HDR content reconstruction and enhanced content protection.
Smart Images

Figure 0007540085000073 
Figure 0007540085000074 
Figure 0007540085000072
Abstract
Description
[Technical field]
[0001]
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS This case claims priority to U.S. Provisional Patent Application No. 63 / 091,436, filed October 14, 2020, and European Patent Application No. 20201683.8, filed October 14, 2020, both of which are incorporated by reference in their entireties.
[0002]
[0002] TECHNICAL FIELD FIELD OF THE DISCLOSURE The present disclosure relates generally to images. More specifically, embodiments of the present invention relate to color transformation and processing of high dynamic range (HDR) video with coding efficiency constraints. [Background technology]
[0003]
[0003] As used herein, the term "dynamic range" (DR) may relate to the ability of the human visual system (HVS) to perceive a range of intensities (e.g., luminance, luma) in an image, e.g., from darkest gray (black) to brightest white (highlight). In this sense, DR relates to "scene-referred" intensity. DR may also relate to the ability of a display device to properly or approximately render a certain width of intensity range. In this sense, DR relates to "display-referred" intensity. Unless a particular meaning is explicitly specified somewhere in the description of this case to have a particular meaning, it should be inferred that the term may be used in either sense, e.g., interchangeably.
[0004]
[0004] As used herein, the term "high dynamic range (HDR)" refers to a DR width that is approximately 14-15 times larger than the human visual system (HVS). In practice, the DR that allows humans to simultaneously perceive a wide range in intensity range may be somewhat truncated in relation to HDR. As used herein, the terms visual dynamic range (VDR) or enhanced dynamic range (EDR) may individually or interchangeably refer to the DR perceivable in a scene or image by the human visual system (HVS) including eye movements, allowing for some light adaptation changes across the scene or image. As used herein, VDR may refer to a DR that is 5-6 times larger. Thus, perhaps representing a somewhat narrower but still wide DR width in relation to the true scene referred to as HDR, VDR or EDR, may be referred to as HDR.
[0005]
[0005] In practice, an image contains one or more color components (e.g., luma Y and chroma Cb and Cr), where each color component is represented with n bits of precision per pixel (e.g., n=8). For example, when using gamma luminance coding, an image with n≦8 (e.g., color 24-bit JPEG images) may be considered a standard dynamic range image, while an image with n≧10 may be considered an extended dynamic range image. HDR images may also be stored and distributed using high-precision (e.g., 16-bit) floating-point formats, such as the OpenEXR file format developed by Industrial Light and Magic.
[0006] Currently, most consumer desktop displays have a resolution of 200 to 300 cd / m 2 or nits of brightness. Most consumer HDTVs range from 300 to 500 nits, with newer models reaching 1,000 nits (cd / m 2). Such conventional displays represent low dynamic range (LDR), also known as standard dynamic range (SDR) in the context of HDR. With the increasing availability of HDR content due to advances in both capture devices (e.g., cameras) and HDR displays (e.g., Dolby Laboratories' PRM-4200 Professional Reference Monitor), HDR content may be color graded and displayed on HDR displays that support a higher dynamic range (e.g., 1,000 nits to 5,000 nits or more).
[0007]
[0007] As used herein, the term "forward reshaping" refers to a sample-to-sample or codeword-to-codeword mapping process from an original bit-depth and original codeword distribution or representation (e.g., gamma, PQ, HLG, etc.) of a digital image to an image of the same or different bit-depth and different codeword distribution or representation. Reshaping allows for improved compressibility or improved image quality at a fixed bit rate. For example, but not by way of limitation, reshaping may be applied to 10-bit or 12-bit PQ coded HDR video to improve coding efficiency in 10-bit video coding architectures. At a receiver, after decompressing the received signal (which may or may not be reshaped), the receiver may apply an "inverse (or backward) reshaping function" to restore the signal to the original codeword distribution and / or achieve a higher dynamic range.
[0008]
[0008] Due to bit depth limitations and the potential need for backward compatibility, in a typical single-layer HDR delivery scenario, HDR content is transmitted as a combination of an SDR base layer and metadata. Legacy decoders are able to extract a viewable SDR stream from the SDR base layer, while new HDR decoders are able to apply metadata to the SDR base layer to reconstruct an HDR version closer to the original HDR source. As recognized by the inventors herein, improved techniques for combining content protection with improved coding efficiency in the delivery of such HDR content are desirable.
[0009]
[0009] The approaches described in this section are approaches that could be pursued, but not necessarily approaches that have been previously conceived or pursued. Thus, unless specifically indicated, it should not be assumed that any approach described in this section qualifies as prior art merely by virtue of its inclusion in this section. Similarly, it should not be assumed that problems identified with one or more of the approaches have been recognized in any prior art in this section, unless specifically indicated. [Brief description of the drawings]
[0010]
[0010] Embodiments of the present invention are illustrated by way of example, and not by way of limitation, in the figures of the accompanying drawings, in which like reference numerals refer to similar elements and in which: [Figure 1A]
[0011] FIG. 1A illustrates an exemplary single-layer encoder for HDR data using color transformation and reshaping functions according to an embodiment. [Figure 1B]
[0012] FIG. 1B illustrates an exemplary HDR decoder according to an embodiment, which corresponds to the encoder of FIG. 1A. [Diagram 2]
[0013] FIG. 2 illustrates an exemplary process for generating color transformation parameters according to an embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0011]
[0014] In this case, a color conversion method under coding efficiency constraints for coding HDR video is described. In the following description, for the purpose of explanation, numerous specific details are set forth to provide a thorough understanding of the present invention. However, it will be apparent that the present invention may be practiced without these specific details. In other instances, well-known structures and devices have not been described in exhaustive detail in order to avoid unnecessarily obscuring, obscuring, or obscuring the present invention.
[0012]
[0015] overview Exemplary embodiments described herein relate to color transformation under coding efficiency constraints for coding of HDR images. In an embodiment, a processor: receiving an input image in a first dynamic range and a first color space; accessing a first 3x3 color transformation matrix and a first 3x1 offset vector based on a color transformation from the first color space to a standard-based color space; applying a first 3x3 color transformation matrix to the input image to generate a first image having a luminance component and a chroma component (210); generating minimum and maximum pixel values for the first image with respect to the luminance and chrominance components; calculating (215) a luminance scaler based on the minimum and maximum luminance pixel values in the first image; Calculate elements of a 2x2 chroma transformation matrix based on the coding efficiency constraint and the first 3x3 color transformation matrix; Form a 3x3 intermediate transformation matrix based on the luma scaler and the 2x2 chroma transformation matrix; applying the 3x3 intermediate transformation matrix to the first image to generate a second image (225); generating an intermediate 3x1 offset vector based on the minimum and maximum pixel values in the luma and chroma components of the second image and the first offset vector; and An output 3x3 color transform matrix is generated by multiplying the first 3x3 color transform matrix by a 3x3 intermediate transform matrix, an output 3x1 offset vector is generated by adding the first 3x1 offset vector to the intermediate 3x1 offset vector, and an output image in the second color space is generated by adding pixel values of the second image to the output 3x1 offset vector (230).
[0013]
[0016] Example HDR Coding System 1A and 1B illustrate an exemplary single-layer backward-compatible codec framework that uses both color transformation and image reshaping, according to an embodiment. More specifically, FIG. 1A illustrates an exemplary encoder architecture that may be implemented with one or more computational processors in an upstream video encoder. FIG. 1B illustrates an exemplary decoder architecture that may also be implemented with one or more computational processors in one or more downstream video decoders.
[0014]
[0017] Under this framework, given a reference HDR content (105) and a corresponding reference SDR content (108) (i.e., a representation of the same image as the HDR content, but color graded within a standard dynamic range), a reshaped SDR content (134) is encoded and transmitted as SDR content in a single layer of a coded video signal (144) by an upstream encoding device implementing an encoder architecture. The received SDR content is received and decoded in a single layer of the video signal by a downstream decoding device implementing a decoder architecture. Backward reshaping metadata (152) is also encoded and transmitted in the video signal together with the reshaped content, so that an HDR display device can reconstruct the HDR content based on the (reshaped) SDR content and the backward reshaping metadata. Without loss of generality, in some embodiments, as in systems that are not backward compatible, the reshaped SDR content may not be viewable by itself and must be viewed in conjunction with a backward reshaping function, thereby producing viewable SDR or HDR content. In other embodiments that support backward compatibility, legacy SDR decoders are still able to play received SDR content without using the backward reshaping function.
[0015]
[0018] As shown in FIG. 1A, given an HDR image (120), its corresponding SDR image (125), and a target dynamic range, a forward reshaping function is generated in step 130, and a forward reshaping mapping step (132) is applied to the HDR image (120) under the forward reshaping function to generate a reshaped SDR base layer (134). A compression block (142) (e.g., an encoder implemented according to any known video coding algorithm such as AVC, HEVC, AV1, VVC, etc.) compresses / encodes the SDR image (134) in a single layer (144) of a video signal. Furthermore, a backward reshaping function generator (150) can generate a backward reshaping function that can be transmitted to a decoder as metadata (152). In some embodiments, the metadata (152) may represent the forward reshaping function (130), and it is then up to the decoder to generate the backward reshaping function (not shown).
[0016]
[0019] Examples of backward reshaping metadata that represent / specify an optimal backward reshaping function may include, but are not necessarily limited to, any of: inverse tone mapping function, inverse luma mapping function, inverse chroma mapping function, look-up tables (LUTs), polynomials, inverse display control coefficients / parameters, etc. In various embodiments, the luma backward reshaping function and the chroma backward reshaping function may be derived / optimized together or separately and may be derived using various techniques, such as, for example and without limitation, as described later in this disclosure.
[0017]
[0020] The backward reshaping metadata (152), as generated by a backward reshaping function generator (150) based on the reshaped SDR image (134) and the target HDR image (120), may be multiplexed as part of the video signal 144, for example as supplemental enhancement information (SEI) messaging.
[0018]
[0021] In some embodiments, the backward reshaping metadata (152) is carried in the video signal as part of overall image metadata that is carried in the video signal separately from the single layer in which the SDR image is encoded in the video signal. For example, the backward reshaping metadata (152) may be encoded in a component stream within the coded bitstream, which may or may not be separate from the single layer in which the SDR image (134) is coded.
[0019]
[0022] Thus, the backward reshaping metadata (152) can be generated at the encoder side or pre-generated and can take advantage of powerful computational resources available at the encoder side and offline encoding flows (including, but not limited to, content-adaptive multi-pass, look-ahead processing, inverse luma mapping, inverse chroma mapping, CDF-based histogram approximation, and / or transfer).
[0020]
[0023] The encoder architecture of FIG. 1A can avoid directly encoding the target HDR image (120) into a coded / compressed HDR image in the video signal; instead, it can use backward reshaping metadata (152) in the video signal to enable a downstream decoding device to backward reshape the SDR image (134) (encoded in the video signal) into a reconstructed image that is identical or a close / best approximation of the reference HDR image (120).
[0021]
[0024] In an embodiment, the reference SDR and HDR signals may be available in color formats that are not suitable for direct coding (e.g., in RGB color format). Conventionally, such signals are converted to a format suitable for a codec, such as YCbCr, YUV, etc. The color conversion blocks 110 and 115 represent the RGB to YCC conversion using a 3x3 RGB matrix and a 3x1 offset vector. As used herein, the term "YCC" refers to a generic luma-chroma-like color representation that is similar to YUV or YCbCr, but is generated from RGB input data using a proprietary color conversion. These blocks can be used to perform conventional color conversion (e.g., according to Rec. 709 (see [4]) or Rec. 2020 (see [5])) or color conversion under coding efficiency constraints according to exemplary embodiments shown in the following sections.
[0022]
[0025] In some embodiments, as shown in FIG. 1B, an encoded video signal with a reshaped SDR image (144) in a single layer and backward reshaping metadata (152) as part of the overall image metadata are received as input at the decoder side of the codec framework. A decompression block (154) decompresses / decodes the compressed video data in the single layer (144) of the video signal into a decoded SDR image (156). Decompression 154 typically corresponds to the inverse of compression 142. The decoded SDR image (156) may be the same as the SDR image (134), subject to quantization errors in the compression block (142) and decompression block (154), which may be optimized for an SDR display device. In a backward compatible system, the decoded SDR image (156), after an appropriate inverse SDR color transform (175) representing the inverse of the SDR color transform (110), can be output in an output SDR video signal (177) (e.g., via an HDMI® interface, via a video link, etc.) to be rendered on an SDR display device.
[0023]
[0026] Optionally, alternatively or additionally, in the same or another embodiment, the backward reshaping block 158 retrieves backward (or forward) reshaping metadata (152) from the input video signal, constructs a backward reshaping function based on the reshaping metadata (152), and performs a backward reshaping process on the decoded SDR image (156) based on the optimal backward reshaping function to generate a backward reshaped image (160) (or a reconstructed HDR image). In some embodiments, after a suitable inverse HDR color transform (170) (representing the inverse of the HDR color transform 115), the backward reshaped image (172) represents an HDR image of production quality or near production quality that is identical or closely / optimally approximating the reference HDR image (105). The backward reshaped image (172) may be output (e.g., via an HDMI® interface, via a video link, etc.) in an output HDR video signal to be rendered on an HDR display device.
[0024]
[0027] In some embodiments, the color transformation (170) may be part of a display management process specific to an HDR display device and may be performed on the backward-reshaped image (160) as part of an HDR image rendering process that renders the backward-reshaped image (160) on an HDR display device.
[0025]
[0028] Color conversion for content protection With reference to FIG. 1A, in an embodiment, the reference HDR RGB signal (105) is a 3x3 RGB to YCbCr matrix (R F v ) and a 3x1 offset vector (t F v ) to YCbCr. The corresponding 3x3 YCbCr to RGB matrix (R Bv ) and a 3x1 offset vector (t B v ) will be used at the decoder side (170). To ensure revertability, in an embodiment, the backward color transformation matrix is the inverse of the forward matrix, i.e., R B v =(R F v ) -1 In an embodiment, R B v and B v The value of may be part of the metadata (152). Typically, but not exclusively, R B v and B v is determined using either the Rec.709 or Rec.2020 specifications.
[0026]
[0029] In block 110, the reference SDR RGB signal (108) is converted at the encoder side into a 3x3 RGB to YCC color matrix (R F s ) and a 3x1 offset vector (t F s ) for the inverse SDR color transform (175). B s ) and a 3x1 offset vector (t B s ) will be used at the decoder side. To ensure reversibility, the backward color transformation matrix is the inverse of the forward matrix, i.e., R B s =(R F s ) -1 In an embodiment, R B s and B s This data can be transmitted as part of the metadata (152). B s andB s are not necessarily defined in the Rec. 709 specification (or any other standards-based transform); i.e., they are design parameters that are adjusted according to the exemplary embodiment. Note that after forward reshaping (132), the reshaped signal (134) will be in the same color space as the output (125) of the SDR color transform (110). At the decoder, the following exemplary operating scenarios are possible, as illustrated by FIG. 1B:
[0030] Content Protection for Authorized Devices As mentioned before, on the encoder side, the base layer is F s and t F s These parameters are designed by the algorithm described below, and they are not standard (e.g., Rec.709, Rec.2020, etc.). To restore the correct color, the corresponding R B s and t B s R B s and t B s The values of R are not required to be based on a standard such as Rec.709, so legacy devices can B s and t B s If the device does not have information about the YCC matrix, it will convert YCC to RGB using the default Rec.709 matrix, which will produce an unwatchable picture in terms of color and brightness. B s and t B s If the values of RGB are accessible, the colors of the reconstructed SDR RGB image will be correct. Therefore, in such scenarios, a proprietary color transform can be used as an "authorization" mechanism to control the viewing even of an SDR version of HDR content.
[0027]
[0031] In another embodiment, the unique color information may be used as a "fingerprint" or "watermarking" scheme. For example, a content provider may decide to use different color transformation matrices for different distribution regions (e.g., Europe, Asia, America, etc.) or for a particular streaming provider (e.g., Amazon, Hulu, etc.).
[0028]
[0032] HDR Content Recovery Under HDR playback mode, using the received metadata, it is possible to reconstruct an HDR RGB image from the baseline YCC SDR image using only one color transform. In an embodiment, this can be achieved by using a cross-color predictor, such as a multi-color channel, multiple regression (MMR) predictor (see [1]). The properties of the MMR predictor allow the decoder to recover the HDR data with the correct YCbCr colors even when the SDR source is color incorrect. Given a YCbCr HDR output (160), R B v and t B v Using the associated metadata it is possible to convert it from YCbCr to RGB.
[0029]
[0033] In summary, in the embodiment, R B s and t B s The color transformation parameters of the can play an important role in protecting the content. B s and t B s Using the default YCC2RGB matrix will produce incorrect output unless you have B s and t Bs By carefully designing R, it is possible to avoid creating unwatchable base layers and even to improve compression efficiency. In the following sections, we will introduce some techniques for achieving these goals. B s and t B s This shows how to build it.
[0030]
[0034] As mentioned above, SDR RGB-to-YCC color conversion F s ,t F s} and the corresponding SDR YCC-to-RGB inverse color transform {R B s ,t B s} under certain constraints, and we would like to maintain or improve coding efficiency. F s and F s The 12 coefficients of are written as follows:
[0031]
number
[0032]
number
[0035] As long as any coefficients in the RGB to YCC matrix deviate from a standard-based matrix (e.g., Rec. 709 matrix), converting to RGB using the regular Rec. 709 matrix will result in incorrect color and brightness. F s and F sAlthough there seems to be a great deal of flexibility in deriving the parameters, these parameters cannot be chosen randomly, since they may affect the coding efficiency, given that all coding standards are designed under the assumption of operating in the YCbCr color space. Thus, two main concerns need to be addressed: (1) the overall video coding efficiency should be maintained, and (2) the leakage of luma / chroma information should be prohibited.
[0033]
[0036] In embodiments, new matrices can be derived based on existing color space transformation matrices, such as Rec. 709 and Rec. 2020. A standard-based set of color transformations (e.g., as defined in Rec. 709 and Rec. 2020) is represented as follows:
[0034]
number
[0035]
number
[0036]
number
[0037] Where:
[0037]
number
[0038] In embodiments, R F s The new coefficients of are expressed as another 3x3 matrix W s By multiplying with:
[0039]
number
[0040]
number
[0041] W is equal to the identity matrix I s In this case, it becomes:
[0042]
number
[0038] Let us represent the three input components of the i-th pixel of an RGB SDR signal as a 3x1 vector:
[0043]
number
[0044]
number
[0045]
number
[0046]
number
[0047]
number
[0048]
number
[0039] First consider the case where the luminance component is left unchanged, thus reducing the design freedom from 12 parameters to 8 parameters.
[0049]
number
[0040] The matrix can be further constrained to allow no luma leakage into chroma (i.e., no luma and chroma crosstalk) as follows:
[0050]
number
[0051]
number
[0052]
number
[0053] It should be noted that increasing the chroma scaling factor corresponds to allocating more codewords to the chroma of the base layer, and thus the quantization loss of the baseband signal is expected to be less, resulting in better video coding gain, which has also been verified by numerical simulations. Then, the 3x3 matrix W s The design guidelines for W can be derived as follows: s s from matrix ” 1 and s ” Substituting 2, we get:
[0054]
number
[0055]
number
[0056]
number
[0057]
number
[0058]
number
[0059]
number
[0060]
number
[0044] 3x1 p F s A 3x3 matrix and vector p that are combined to produce a vector F s must satisfy the following constraints so that the final output of the normalized data is in the range [0,1], i.e. the data is not clipped:
[0061]
number
[0062]
number
[0063]
[0045] Note that adjusting the offset is equivalent to adjusting the DC value of chroma. This kind of adjustment does not affect coding efficiency when using lossy video compression.
[0064] In an embodiment, a simple linear scaling and offset may be applied to the luma component to utilize additional base layer codewords, thereby reducing baseband quantization error and improving coding efficiency. In this case, equation (5) is reduced from 12 parameters to 10 parameters.
[0065]
number
[0047] Furthermore, to satisfy equations (17) and (22), the values of β and p0 must be ~ i,0 It is also necessary to constrain,,, so that it is not clipped. Therefore,
[0066]
number
[0067]
number
[0068] From equation (24), given the value of β, the offset p0 is determined as follows:
[0069]
number
[0070]
number
[0071]
number
[0072] In an embodiment, the design flow may proceed as follows: Step 210: A standard-based color transformation matrix, M s F ,(e.g., from Rec.709) and reference input SDR data (s i ), then s' i =M F s si Calculate the minimum and maximum values of each color channel of the transformed data, i.e., min{s ’ i,ch} and max{s ’ i,ch}, where ch indicates one of the three color channels (e.g., Y, Cb, or Cr).
[0073] Step 215: In this step, a luma scaler may be selected. For example, if β≠1, then β needs to be determined. Its upper bound is bounded by the maximum and minimum luma values calculated in step 210. Choosing β>1 improves the coding efficiency in luma, but may force more iterations in the process to generate the output color transformation matrix. From equation (26), we obtain:
[0074]
number
[0075] Step 225: W s is applied to the output of step 210 to obtain, for each pixel, s ” i =W s s ’ i These values are useful in choosing the offset 3x1 vector. For example, from equations (25) and (27), we can choose the standard base offset vector n F s =[n s,0 ,n s,01 ,n s,02 ] is given, then:
[0076]
number
[0077] In the decoder, R B s =(R F s ) -1 and B s =t F s Given, the YCC-to-RGB color conversion operations include:
[0078]
number
[0052] Existing reshaping techniques may be frame-based, i.e. new reshaping metadata is transmitted with each new frame, or scene-based, i.e. new reshaping metadata is transmitted with each new scene. As used herein, the term "scene" with respect to a video sequence (sequence of frames / images) may refer to a series of consecutive frames in the video sequence that share similar luminance, color, and dynamic range characteristics. Scene-based methods work well in video workflow pipelines that have access to the entire scene; however, it is not common to include only one frame for some scenes (e.g. fade in / fade out).
[0079]
[0053] Process 200 can be updated at the frame or scene level as needed; however, to maintain coding efficiency, it is recommended to keep the same color transformation throughout a sequence, within a scene, or within a group of pictures (GOP). To adapt process 200 to a scene or group of pictures, the frame-based minimum and maximum pixel values can be replaced with scene-based minimum and maximum pixel values. For example, equation (26) can be rewritten as:
[0080]
number
[0081]
[0054] Construction of reshaping function As mentioned above, the nonstandard color transformation R F s (110) may also be used as part of a system that allows a close approximation of a reference HDR input (105) to be reconstructed from received reshaped SDR data. It is possible to apply backward reshaping after applying an appropriate inverse SDR transform on the received base layer (156) (158); however, using appropriate forward reshaping, it is possible to eliminate the extra inverse color transformation step and directly extract the reconstructed HDR content in the appropriate (e.g., standard-defined) YCbCr color space. This process is described below. Without limitation, some steps are described in the context of what is called a three-dimensional mapping table (3DMT or d3 DMT) representation, where, for computational simplicity, each frame is represented as a three-dimensional mapping table, where each color component (e.g., Y, Cb, or Cr) is subdivided into "bins," and instead of representing the image using explicit pixel values, the pixel average within each bin is used. Details of the 3DMT formulation can be found in Ref. [2].
[0082] In an embodiment, the step of generating a forward reshaping function (130) requires two sets of reference inputs: (1) reference HDR YCbCr pixel values (120), and (2) reference SDR YCC pixel values (125). For an HDR signal, we denote the three color components of the i-th pixel of the reference RGB HDR data input as a 3x1 vector:
[0083]
number
[0084]
number
[0085]
number
[0086]
number
[0087]
number
[0088] For chroma, the d3DMT representation (Ref. [2]) is used to represent the HDR signal {v ~ i,0} and SDR signal {s ~ i,0}. D3DMT pair entries are constructed using a parametric (e.g., MMR) representation between
[0089]
number
[0090]
number
[0091]
number
[0092]
number
[0093]
number
[0094]
number
[0095]
number
[0059] The backward luma reshaping function first performs a backward reshaping 1D-LUT (BLUT) (T B Y ) and then T B Y The mapping of can be generated by approximating the mapping of as a piecewise polynomial function (eg, using an 8-piece approximation using a quadratic polynomial).
[0096]
[0060] To produce a chroma backward reshaping mapping, it is also possible to use a polynomial approximation (e.g., MMR) by considering a parametric model between (a) the 3-channel forward reshaped SDR bins of d3DMT and (2) the original HDR chroma bins of d3DMT.
[0097]
[0061] The MMR expansion format for the i-th forward reshaped SDR bin is expressed as:
[0098]
number
[0099]
number
[0100]
number
[0101]
number
[0102]
number
[0103] 1. GM. Su et al., “Multiple color channel multiple regression predictor,” US Patent 8,811,490. 2. Q. Song et al., PCT Patent Application Ser. No. PCT / US2019 / 031620, “High-fidelity full reference and high-efficiency reduced reference encoding in end-to-end single-layer backward compatible encoding pipeline,” filed on May 9, 2019, published as WO 2019 / 217751. 3. B. Wen et al., “ Inverse luma / chroma mappings with histogram transfer and approximation,” U.S. Patent 10,264,287. 4. Rec. ITU-R BT. 709, “Parameter values for the HDTV standards for production and international programme exchange,” ITU, 06 / 2015. 5. Rec. ITU-R BT. 2020, “Parameter values for ultra-high definition television systems for production and international programme exchange,” ITU, 06 / 2014.
[0062] Computer system implementation example The embodiments of the present invention may be implemented using a computer system, a system of electronic circuits and elements, an integrated circuit (IC) device such as a microcontroller, a field programmable gate array (FPGA), another configurable or programmable logic device (PLD), a discrete time or digital signal processor (DSP), an application specific IC (ASIC), and / or an apparatus including one or more of such systems, devices, or elements. The computer and / or IC may execute, control, or process instructions related to color transformation under coding efficiency constraints for coding HDR video, such as those described herein. The computer and / or IC may calculate any of various parameters or values related to color transformation under coding efficiency constraints for coding HDR video, such as those described herein. The embodiments of the image and video dynamic range expansion may be implemented in hardware, software, firmware, and various combinations thereof.
[0104]
[0063] A particular implementation of the present invention includes a computer processor executing software instructions that cause the processor to perform the method of the present invention. For example, one or more processors in a display, an encoder, a set-top box, a transcoder, etc., can realize the method of color conversion under the coding efficiency constraint for coding HDR video as described above by executing software instructions in a program memory accessible to the processor. The present invention may also be provided in the form of a program product. The program product can include any non-transitory tangible medium carrying a set of computer-readable signals that include instructions that, when executed by a data processor, cause the data processor to perform the method of the present invention. A program product according to the present invention may be in any of a wide variety of non-transitory tangible forms. The program product can include physical media such as, for example, magnetic data storage media including floppy disks, hard disk drives, optical data storage media including CD ROMs, DVDs, electronic data storage media including ROMs, flash RAMs, etc. The computer-readable signals in the program product may optionally be compressed or encrypted.
[0105]
[0064] When an element (e.g., a software module, processor, assembly, device, circuit, etc.) is referred to above, unless otherwise specified, the element (including references to "means") should be construed to include any element that performs the function of the described element (e.g., that is functionally equivalent) as an equivalent of that element, including elements that are not structurally equivalent to the disclosed structures that perform the functions in the described exemplary embodiments of the invention.
[0106]
[0065] Equivalents, extensions, substitutions and others Thus, exemplary embodiments of color transformation under coding efficiency constraints for coding HDR video are described. In such specification, embodiments of the invention are described with reference to numerous specific details that may vary from implementation to implementation. Thus, the sole and exclusive indication of what is and what is intended by the applicant to be the invention is the set of claims issued from this application in a particular form, such claims issued in that particular form, including any subsequent modifications. Any definitions expressly set forth herein for terms contained in such claims shall govern the meaning of such terms used in such claims. Thus, no limitations, elements, properties, features, advantages, or attributes not expressly recited in a claim shall in any way limit the scope of such claims. Thus, the specification and drawings are to be interpreted in an illustrative and not restrictive sense.
[0107] Various aspects of the present invention can be discerned from the following enumerated example details (EEE).
[0108] EEE 1. A method for generating color transformation data under a coding efficiency constraint, the method comprising: receiving an input image in a first dynamic range and a first color space; accessing a first 3x3 color transformation matrix and a first 3x1 offset vector based on a color transformation from the first color space to a standard-based color space; applying the first 3x3 color transformation matrix to the input image to generate a first image having a luminance component and a chroma component (210); generating minimum and maximum pixel values for the first image with respect to the luminance and chroma components; calculating (215) a luminance scaler based on the minimum and maximum luminance pixel values in the first image; calculating elements of a 2x2 chroma transformation matrix based on a coding efficiency constraint and the first 3x3 color transformation matrix; forming a 3x3 intermediate transformation matrix based on the luma scaler and the 2x2 chroma transformation matrix; applying the 3x3 intermediate transformation matrix to the first image to generate a second image (225); generating an intermediate 3x1 offset vector based on the minimum and maximum pixel values in the luma and chroma components of the second image and the first offset vector; and generating an output 3x3 color transform matrix by multiplying the first 3x3 color transform matrix with the 3x3 intermediate transform matrix, generating an output 3x1 offset vector by adding the first 3x1 offset vector to the intermediate 3x1 offset vector, and generating an output image in a second color space by adding pixel values of the second image to the output 3x1 offset vector (230).
[0109] EEE 2. The method of EEE 1, further comprising: The method includes generating a reverse 3x3 color transform matrix and a reverse 3x1 offset vector to transform image data from the second color space to the first color space, wherein the reverse 3x1 offset vector is equal to the output 3x1 offset vector and the reverse 3x3 color transform matrix comprises an inverse of the output 3x3 color transform matrix.
[0110] EEE 3. The method of EEE 1 or 2, wherein the first color space comprises an RGB color space, the standard-based color space comprises a YCbCr color space, and the first 3x3 color transform matrix and the first 3x1 offset vector are based on either a Rec.709 or a Rec.2020 standard.
[0111] EEE 4. The method of any one of the preceding EEE, wherein the luminance scaler is set to 1; or
[0112]
number
[0113] EEE 5. In the method according to any one of the preceding EEE, the coding efficiency constraint when calculating elements of a 2x2 chroma transformation matrix includes an energy conservation criterion for chroma values of pixels in the first image before and after chroma transformation by the 2x2 chroma transformation matrix.
[0114] EEE 6. In the method of EEE 5, the energy conservation criterion is:
[0115]
number
[0116] EEE 7. In the EEE 6 method, the 2x2 transformation matrix
[0117]
number
[0118]
number
[0119] EEE 8. In the method of EEE 7, the 2x2 transformation matrix is
[0120]
number
[0121] EEE 9. The method according to any one of the preceding EEE, wherein the 3x3 intermediate transformation matrix W s The step of forming
[0122]
number
[0123] EEE 10. In the method of EEE 6 or EEE 9, α=1, or
[0124]
number
[0125] EEE 11. The method according to any one of the preceding EEE, further comprising: T The step of generating the offset vector constraints
[0126]
number
[0127] EEE 12. If the method of EEE 11 determines that at least one element of an offset vector does not satisfy its offset vector constraints: forming an updated 3x3 intermediate transform matrix based on the updated luma scaler and / or the updated 2x2 chroma transform matrix; applying the updated 3x3 intermediate transformation matrix to the first image to generate the second image (225); and generating the intermediate 3x1 offset vector to satisfy the offset vector constraint; The method further includes the step of performing an iteration by:
[0128] EEE 13. The method of any one of the preceding EEEs, further comprising: receiving a first high dynamic range (HDR) image in a second dynamic range higher than the first dynamic range in the first color space representing the same scene as the first image; applying a standards-based color transform to the first HDR image to generate a second HDR image in the second dynamic range; applying a forward reshaping function to the second HDR image to generate a base image in the first dynamic range, the forward reshaping function mapping pixel values from the second dynamic range and the standard-based color space to pixel values in the first dynamic range and the second color space; and compressing the base image to generate a compressed image in the second color space; and Storing the compressed image, the output 3x3 color transformation matrix, the output 3x1 offset vector, and parameters for a backward reshaping function that reconstructs an output HDR image based on the compressed image.
[0129] EEE 14. The method of EEE 13, further comprising, in a decoder receiving said output signal: decompressing the compressed image to generate an intermediate base signal in the first dynamic range and the second color space; and generating a first output signal in the first color space and the first dynamic range based on the intermediate base signal, the output 3x3 color transformation matrix, and the output 3x1 offset vector, or generating an HDR output signal in the standard color space based on the intermediate base signal and the parameters for the backward reshaping function, the backward reshaping function mapping pixel values from the second color space and the first dynamic range to the standard-based color space and the second dynamic range.
[0130] EEE 15. A non-transitory computer-readable storage medium having stored thereon computer-executable instructions for performing the method of any one of EEE1 to 14 on one or more processors.
Claims
1. 1. A method for generating color transformation data under a coding efficiency constraint, the method comprising: receiving an input image in a first dynamic range and a first color space; accessing a first 3x3 color transformation matrix and a first 3x1 offset vector based on a color transformation from the first color space to a standard-based color space; applying the first 3x3 color transformation matrix to the input image to generate a first image having a luminance component and a chroma component; generating minimum and maximum pixel values for the first image with respect to the luminance component; calculating a luminance scalar based on the minimum and maximum luminance pixel values in the first image; calculating elements of a 2x2 chroma transformation matrix based on a coding efficiency constraint and the first 3x3 color transformation matrix; forming a 3x3 intermediate transformation matrix based on the luma scaler and the 2x2 chroma transformation matrix; applying the 3x3 intermediate transformation matrix to the first image to generate a second image; generating minimum and maximum pixel values for the second image with respect to the luminance and chrominance components; generating an intermediate 3x1 offset vector based on the minimum and maximum pixel values in the luma and chroma components of the second image and the first 3x1 offset vector; and generating an output 3x3 color transformation matrix by multiplying the first 3x3 color transformation matrix with the 3x3 intermediate transformation matrix, generating an output 3x1 offset vector by adding the first 3x1 offset vector to the intermediate 3x1 offset vector, and generating an output image in a second color space by adding pixel values of the second image to the output 3x1 offset vector; The method includes:
2. 13. The method of claim 1 further comprising:
11. A method for converting image data from the second color space to the first color space, comprising generating a reverse 3x3 color transformation matrix and a reverse 3x1 offset vector, wherein the reverse 3x1 offset vector is equal to the output 3x1 offset vector and the reverse 3x3 color transformation matrix comprises an inverse of the output 3x3 color transformation matrix.
3. 3. The method of claim 1 or 2, wherein the first color space comprises an RGB color space, the standard-based color space comprises a YCbCr color space, and the first 3x3 color transform matrix and the first 3x1 offset vector are based on either a Rec. 709 or a Rec. 2020 standard.
4. 4. The method according to claim 1, wherein the luminance scaler is set to 1, or [0,64] where s' is i,0 is the luminance value for the i-th pixel of the first image normalized to [0,1], and max{s' i,0 } denotes the maximum luminance value in the first image, and min{s' i,0 } indicates the minimum luminance value in the first image.
5. 5. The method of claim 1, wherein the coding efficiency constraint when computing elements of a 2x2 chroma transform matrix comprises an energy conservation criterion for chroma values of pixels in the first image before and after chroma transformation by the 2x2 chroma transform matrix.
6. 6. The method of claim 5, wherein the energy conservation criterion is: [0.65] For the i-th pixel, s' i,1 and s' i,2 denotes the chroma value before applying the 2x2 chroma transformation matrix, and s” i,1 and s” i,2 denotes the chroma value after applying the 2x2 chroma transformation matrix.
7. 7. The method of claim 6, wherein the 2x2 transformation matrix [0.66] Regarding the above, under the energy conservation criterion, [0.67] where α is a constant close to 1.
8. 8. The method of claim 7, wherein the 2x2 transformation matrix is [0068] where θ corresponds to any parameter in [0,2π].
9. 9. The method according to claim 1, wherein the intermediate 3x3 transformation matrix W s The step of forming [0,69] where β denotes the luminance scalar, and α and θ are parameters.
10. The method according to claim 6 or claim 9, wherein α=1, or [Number 70] where δ is a parameter greater than or equal to 0.
11. 11. The method of claim 1, wherein the intermediate 3x1 offset vector [p 0 p 1 p 2 ] T The step of generating the offset vector constraint [Equation 71] where s" i,j denotes the pixel value for the j-th color component of the i-th pixel in the second image, [n s,0 n s,1 n s,2 ] T indicates a first offset vector.
12. 12. The method of claim 11, when determining that at least one offset vector element does not satisfy the offset vector constraint: forming an updated 3x3 intermediate transform matrix based on the updated luma scaler and / or the updated 2x2 chroma transform matrix; applying the updated 3x3 intermediate transformation matrix to the first image to generate the second image; and generating the intermediate 3x1 offset vector to satisfy the offset vector constraints; The method further comprising the step of iterating by:
13. The method according to any one of claims 1 to 12, further comprising: receiving a first high dynamic range (HDR) image in a second dynamic range higher than the first dynamic range in the first color space depicting the same scene as the first image; applying a standards-based color transform to the first HDR image to generate a second HDR image in the second dynamic range; applying a forward reshaping function to the second HDR image to generate a base image in the first dynamic range, the forward reshaping function mapping pixel values from the second dynamic range and the standard-based color space to pixel values in the first dynamic range and the second color space; and compressing the base image to generate a compressed image in the second color space; and storing the compressed image, the output 3x3 color transformation matrix, the output 3x1 offset vector, and parameters for a backward reshaping function that reconstructs an output HDR image based on the compressed image; The method includes:
14. 14. The method of claim 13, in a decoder receiving the output signal, further comprising: decompressing the compressed image to generate an intermediate base signal in the first dynamic range and the second color space; and generating a first output signal in the first color space and the first dynamic range based on the intermediate base signal, the output 3x3 color transformation matrix, and the output 3x1 offset vector, or generating an HDR output signal in the standard-based color space based on the intermediate base signal and the parameters for the backward reshaping function, the backward reshaping function mapping pixel values from the second color space and the first dynamic range to the standard-based color space and the second dynamic range; The method includes:
15. A non-transitory computer readable storage medium having stored thereon computer executable instructions for executing the method of any one of claims 1 to 14 on one or more processors.
Citation Information
Patent Citations
Image encoding method, image decoding method, image encoding device, image decoding device, program therefor and recording medium
JP2014204332A
Perceptual color transformations for wide color gamut video coding
JP2016213828A
Systems for Encoding High Dynamic Range and Wide Gamut Sequences
JP2018525905A
Perceptual color transformations for wide color gamut video coding
US20160323556A1
System for coding high dynamic range and wide color gamut sequences
US20210006793A1
