The present disclosure relates generally to images. More particularly, an embodiment of the present invention relates to improving coding efficiency of high-dynamic range (HDR) images reconstructed from standard-dynamic range (SDR) images using reshaping functions.
As used herein, the term ‘dynamic range’ (DR) may relate to a capability of the human visual system (HVS) to perceive a range of intensity (e.g., luminance, luma) in an image, e.g., from darkest grays (blacks) to brightest whites (highlights). In this sense, DR relates to a ‘scene-referred’ intensity. DR may also relate to the ability of a display device to adequately or approximately render an intensity range of a particular breadth. In this sense, DR relates to a ‘display-referred’ intensity. Unless a particular sense is explicitly specified to have particular significance at any point in the description herein, it should be inferred that the term may be used in either sense, e.g. interchangeably.
As used herein, the term high dynamic range (HDR) relates to a DR breadth that spans the 14-15 orders of magnitude of the human visual system (HVS). In practice, the DR over which a human may simultaneously perceive an extensive breadth 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 relate to the DR that is perceivable within a scene or image by a human visual system (HVS) that includes eye movements, allowing for some light adaptation changes across the scene or image. As used herein, VDR may relate to a DR that spans 5 to 6 orders of magnitude. Thus, while perhaps somewhat narrower in relation to true scene referred HDR, VDR or EDR nonetheless represents a wide DR breadth and may also be referred to as HDR.
In practice, images comprise one or more color components (e.g., luma Y and chroma Cb and Cr) wherein each color component is represented by a precision of n-bits per pixel (e.g., n=8). For example, using gamma luminance coding, images where n≤8 (e.g., color 24-bit JPEG images) are considered images of standard dynamic range, while images where n≥10 may be considered images of enhanced dynamic range. 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.
Most consumer desktop displays currently support luminance of 200 to 300 cd/m2 or nits. Most consumer HDTVs range from 300 to 500 nits with new models reaching 1000 nits (cd/m2). Such conventional displays thus typify a lower dynamic range (LDR), also referred to as a standard dynamic range (SDR), in relation to HDR. As the availability of HDR content grows due to advances in both capture equipment (e.g., cameras) and HDR displays (e.g., the PRM-4200 professional reference monitor from Dolby Laboratories), HDR content may be color graded and displayed on HDR displays that support higher dynamic ranges (e.g., from 1,000 nits to 5,000 nits or more).
In a traditional image pipeline, captured images are quantized using a non-linear opto-electronic function (OETF), which converts linear scene light into a non-linear video signal (e.g., gamma-coded RGB or YCbCr). Then, on the receiver, before being displayed on the display, the signal is processed by an electro-optical transfer function (EOTF) which translates video signal values to output screen color values. Such non-linear functions include the traditional “gamma” curve, documented in ITU-R Rec. BT.709 and BT. 2020, the “PQ” (perceptual quantization) curve described in SMPTE ST 2084, and the “HybridLog-gamma” or “HLG” curve described in and Rec. ITU-R BT. 2100.
As used herein, the term “forward reshaping” denotes a process of sample-to-sample or codeword-to-codeword mapping of a digital image from its original bit depth and original codewords distribution or representation (e.g., gamma, PQ, HLG, and the like) to an image of the same or different bit depth and a different codewords distribution or representation. Reshaping allows for improved compressibility or improved image quality at a fixed bit rate. For example, without limitation, reshaping may be applied to 10-bit or 12-bit PQ-coded HDR video to improve coding efficiency in a 10-bit video coding architecture. In 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 its original codeword distribution and/or to achieve a higher dynamic range.
As used herein, the term “rate control” refers to adjusting quantization during image and video compression to achieve specific goals related to the overall bit rate and/or image quality of the coded bitstream. Traditional reshaping techniques are independent of the rate-control mechanisms within a video codec. As appreciated by the inventors here, improved techniques for rate-control-aware reshaping to reduce coding artifacts in HDR coding are desired.
The approaches described in this section are approaches that could be pursued, but not necessarily approaches that have been previously conceived or pursued. Therefore, unless otherwise indicated, it should not be assumed that any of the approaches described in this section qualify as prior art merely by virtue of their inclusion in this section. Similarly, issues identified with respect to one or more approaches should not assume to have been recognized in any prior art on the basis of this section, unless otherwise indicated.
An embodiment of the present invention is illustrated by way of example, and not in way by limitation, in the figures of the accompanying drawings and in which like reference numerals refer to similar elements and in which:
Designing rate-control-aware reshaping functions for coding HDR images and video content is described herein. In the following description, for the purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the present invention. It will be apparent, however, that the present invention may be practiced without these specific details. In other instances, well-known structures and devices are not described in exhaustive detail, in order to avoid unnecessarily occluding, obscuring, or obfuscating the present invention.
Example embodiments described herein relate to designing rate-control-aware reshaping functions for the efficient coding of HDR images. In an embodiment, in an apparatus comprising one or more processors, a processor receives one or more input images in a first dynamic range (e.g., a high-dynamic range), it computes a first codeword range for luma pixels in the one or more input images, it computes a noise metric for the luma pixels in the one or more input images, it computes a scaler to adjust the first codeword range based on the first codeword range and the noise metric, and if the scaler is bigger than one, then a) it generates a second codeword range for the luma pixels in the one or more input images based on the scaler and the first codeword range, wherein the second codeword range is larger than the first codeword range, and b) it generates a forward luma reshaping function mapping luma pixel values from the first dynamic range to a second dynamic range (e.g., a standard dynamic range) based on the second codeword range; else it generates the forward luma reshaping function based on the first codeword range.
Example HDR Coding System
As described in U.S. Pat. No. 10,032,262, “Block-based content-adaptive reshaping for high dynamic range images,” by A. Kheradmand et al., to be referred to as the '262 patent, which is incorporated herein by reference in its entirety,
Under this framework, given reference HDR content (120), corresponding SDR content (134) (also to be referred as base-layer (BL) or reshaped content) is encoded and transmitted in a single layer of a coded video signal (144) by an upstream encoding device that implements the encoder-side codec architecture. The SDR content is received and decoded, in the single layer of the video signal, by a downstream decoding device that implements the decoder-side codec architecture. Backward-reshaping metadata (152) is also encoded and transmitted in the video signal with the SDR content so that HDR display devices can reconstruct HDR content based on the SDR content and the backward reshaping metadata. Without loss of generality, in some embodiments, as in non-backward-compatible systems, SDR content may not be watchable on its own, but must be watched in combination with the backward reshaping function which will generate watchable SDR or HDR content. In other embodiments which support backward compatibility, legacy SDR decoders can still playback the received SDR content without employing the backward reshaping function.
As illustrated in
Examples of backward reshaping metadata representing/specifying the optimal backward reshaping functions may include, but are not necessarily limited to only, any of: inverse tone mapping function, inverse luma mapping functions, inverse chroma mapping functions, lookup tables (LUTs), polynomials, inverse display management coefficients/parameters, etc. In various embodiments, luma backward reshaping functions and chroma backward reshaping functions may be derived/optimized jointly or separately, may be derived using a variety of techniques, for example, and without limitation, as described in the '262 patent.
The backward reshaping metadata (152), as generated by the backward reshaping function generator (150) based on the SDR images (134) and the target HDR images (120), may be multiplexed as part of the video signal 144, for example, as supplemental enhancement information (SEI) messaging.
In some embodiments, backward reshaping metadata (152) is carried in the video signal as a part of overall image metadata, which is separately carried in the video signal from the single layer in which the SDR images are encoded in the video signal. For example, the backward reshaping metadata (152) may be encoded in a component stream in the coded bitstream, which component stream may or may not be separate from the single layer (of the coded bitstream) in which the SDR images (134) are encoded.
Thus, the backward reshaping metadata (152) can be generated or pre-generated on the encoder side to take advantage of powerful computing resources and offline encoding flows (including but not limited to content adaptive multiple passes, look ahead operations, inverse luma mapping, inverse chroma mapping, CDF-based histogram approximation and/or transfer, etc.) available on the encoder side.
The encoder-side architecture of
In some embodiments, as illustrated in
Optionally, alternatively, or in addition, in the same or another embodiment, a backward reshaping block 158 extracts the backward (or forward) reshaping metadata (152) from the input video signal, constructs the backward reshaping functions based on the reshaping metadata (152), and performs backward reshaping operations on the decoded SDR images (156) based on the optimal backward reshaping functions to generate the backward reshaped images (160) (or reconstructed HDR images). In some embodiments, the backward reshaped images represent production-quality or near-production-quality HDR images that are identical to or closely/optimally approximating the reference HDR images (120). The backward reshaped images (160) may be outputted in an output HDR video signal (e.g., over an HDMI interface, over a video link, etc.) to be rendered on an HDR display device.
In some embodiments, display management operations specific to the HDR display device may be performed on the backward reshaped images (160) as a part of HDR image rendering operations that render the backward reshaped images (160) on the HDR display device.
Rate-Control-Aware Reshaping
Rate control is an integral part of any video compression pipeline. The principle behind rate control is to adjust how much a picture is quantized to achieve a target bit rate. In general, more bits per frame corresponds to a better visual quality; however, allocating more bits per frame comes at the cost of increased bandwidth. Rate control tries to find a balance between a target bit rate and acceptable quality.
For example, under most rate-control schemes, pictures with complex textures are deemed visually significant and are allocated more bits during quantization; however, noisy images with perceptually irrelevant content may also exhibit complex textures and may end up being allocated more bits than necessary. Being allocated more bits for perceptually irrelevant content corresponds to allocating less bits for real content, which is highly inefficient and may even result in lower overall visual quality.
As depicted in
Image Reshaping
During reshaping each channel or color component of a HDR frame is mapped, separately, to the base layer (134). Mapping of HDR channels to base layer is commonly referred to as forward reshaping. For example, the luma channel in HDR is mapped to the base layer luma channel using a luma forward reshaping curve. The chroma channels in the HDR are separately mapped to the base layer chroma channels using their respective forward chroma reshaping curves. To achieve the highest visual quality, the base layer is designed to occupy most of the base layer codeword range; however, under certain conditions, (e.g., for noisy HDR content with a small codeword range), there is no need to span the entire base layer codeword range as it hardly improves the visual quality. Instead, the bit rate can be lowered by restricting the small codeword range HDR content to a smaller codeword range in the base layer.
Let the luma channel forward reshaping function to be denoted by ƒL, such that, it maps HDR luma values vL to base layer luma values sL i.e. sL=ƒL (vL). In an embodiment, without limitation, the function may be monotonically non-decreasing.
As used herein, the terms “scene” or “group of pictures” refer to a set of consecutive frames in a video sequence with similar color or dynamic range characteristics. While example embodiments may refer to a scene, a forward reshaping function and/or a corresponding backward reshaping function as described herein may be constructed with similar methods for one of: a single image, a single group of pictures, a scene, a time window within a single scene or a single media program, etc.
Let the minimum and maximum HDR luma values in the i-th scene be given by vL,mini and vL,maxi respectively. To generate a base layer of bit depth Bs, the function ƒL typically tries to map the minimum HDR luma value vL,mini to zero (or other legal minimum value) and the maximum HDR luma value vL,maxi to the largest base layer codeword 2B
ƒL(vL,mini)=sL,mini=0
ƒL(vL,maxi)=sL,maxi=2B
The HDR codewords in the range [vL,mini, vL,maxi] are mapped to base layer luma codewords in the range [0, 2B
rLi=sL,maxi−sL,mini=2B
Irrespective of the codeword range of HDR codewords, typically, the base layer spans the entire allowed codeword range.
For chroma channels, the mapping is slightly different. Suppose ƒC0 and ƒC1 be the functions for forward mapping of the C0 and C1 channels respectively (e.g., Cb and Cr in a YCbCr representation). These functions should also be monotonically non-decreasing. In an embodiment, the range of base layer chroma codewords rCxi is calculated using the following logic. As the procedure is same for both C0 and C1, the chroma-related subscripts are replaced by Cx.
The HDR Cx channel codewords in the range [vCx,mini, vCx,maxi] are mapped to the base layer Cx channel codewords range [sCx,mini, sCx,maxi]. In an embodiment, the function mapping HDR Cx channel codewords to the base layer codewords may be given by:
Reshaping functions try to map HDR codewords to a range of base layer codewords. A wider range of codewords in the base layer is good to maintain high visual quality; however, in certain cases (e.g., for a noisy HDR signal with narrow codeword range) the number of bits required to compress such a base layer is far more significant than the visual quality improvement. A rate-control-aware reshaping scheme should help an encoder to intelligently allocate fewer bits to such HDR content, while the regular HDR content should pass through unchanged.
To design such a scheme, one will have to first detect HDR frames with such features, and then adjust (e.g., reduce) the base layer codeword range. Reducing the base layer codeword range will decrease the residuals during motion estimation. Smaller residuals reduce the magnitude of DCT coefficients, thus requiring fewer bits to encode after entropy coding.
In an embodiment, one way to decrease the base layer codeword range is by adjusting the perceived HDR codeword range, e.g., by artificially decreasing the minimum HDR value and/or increasing the maximum HDR value for the luma channel. Note that there is no change in the actual HDR image. One simply adjusts the computed minimum and maximum luma HDR values so that the forward luma reshaping curve is altered. These updated (adjusted or virtual) values are represented by {tilde over (v)}L,mini and {tilde over (v)}L,maxi respectively, such that,
{tilde over (v)}L,mini≤vL,mini and {tilde over (v)}L,maxi≥vL,maxi. (6)
For the luma channel, the updated forward reshaping function {tilde over (ƒ)}L will map the virtual minimum and maximum values {tilde over (v)}L,mini and {tilde over (v)}L,maxi to the base layer as:
{tilde over (ƒ)}L({tilde over (v)}L,mini)={tilde over (s)}L,mini=0.
{tilde over (ƒ)}L({tilde over (v)}L,maxi)={tilde over (s)}L,maxi=2B
As {tilde over (ƒ)}L is a monotonically non-decreasing function, the actual minimum and maximum values, i.e. vL,mini and vL,maxi, will map to different base layer codewords:
{tilde over (ƒ)}L(vL,mini)≥0,
{tilde over (ƒ)}L(vL,maxi)≤2B
With this updated luma forward reshaping curve, the mapped base layer luma codeword range will shrink, {tilde over (r)}Li≤rLi, as:
{tilde over (r)}Li={tilde over (ƒ)}L(vL,maxi)−{tilde over (ƒ)}L(vL,mini)≤2B
In summary, decreasing the minimum and/or increasing the maximum HDR luma values will reduce the base layer luma codeword range and allow for more efficient rate control during the subsequent compression step.
For the chroma channels, the range of base layer codewords is dependent on the luma HDR minimum and maximum values. With the updated (virtual) values, the chroma base layer codeword ranges will also change as follows:
As the updated denominator {tilde over (v)}L,maxi−{tilde over (v)}L,mini is larger, the codeword range reduces i.e. {tilde over (r)}Cxi≤rCxi. Note that the numerator of equation (10) is the same as before, as {tilde over (s)}L,maxi−{tilde over (s)}L,mini=sL,maxi−sL,mini. This will change the chroma base layer range [{tilde over (s)}Cx,mini, {tilde over (s)}Cx,maxi] as follows:
By generating virtual minimum and maximum HDR luma values, the range of luma and chroma base layer codewords can be made smaller than before. This change can help to reduce the bit rate. The amount by which these values should be changed is controlled by the strength of a base layer codeword range reduction parameter, to be denoted as M. Details on how to derive M are provided later on.
As discussed, by adjusting the minimum luma HDR value vL,mini and the maximum luma HDR value vL,maxi one may reduce the codeword range of the base layer, thus effectively reducing the bit rate. As depicted in
ΔL,1i=vL,avgi−vL,mini,
ΔL,2i=vL,maxi−vL,avgi, (12)
As an example, Table 1 shows in pseudo code an example algorithm for computing ΔLi. A luma channel frame j in scene i is denoted by Fj,Li with width WL and height HL. A specific pixel in this frame is represented by Fj,Li(m,n), where (m, n) is the location of the pixel. Let T be the total number of frames in the scene. Moreover, let vj,L,mini, vj,L,avgi and vj,L,maxi be the minimum, average and maximum HDR luma values for frame j luma channel.
Computing Scaler M
In an embodiment, the value of base layer codeword range adaptation M is greater than or equal to 1. When M=1, rate-control-aware reshaping is not performed. For M>1, the minimum and maximum HDR luma values vL,mini and vL,maxi are translated to the virtual {tilde over (v)}L,mini and {tilde over (v)}L,maxi values as:
{tilde over (v)}L,mini=max(0,vL,avgi−M×ΔL,1i), (14a)
{tilde over (v)}L,maxi=min(2B
In general, if M>1, as depicted in
As depicted in equation (14), in a typical embodiment, M may be used to adjust both vL,mini and vL,maxi. In another embodiment, it may be desired to adjust only one of the two boundary values (e.g., to better preserve the highlights or the darks). Thus, one my leave vL,mini unchanged and only adjust vL,maxi by using equation (14b), or one may leave vL,maxi unchanged and adjust vL,mini by using equation (14a).
In equation (14), one adjusts vL,mini and vL,maxi by multiplying ΔL,1i and ΔL,2i by M, and these changes implicitly affect the SDR codeword range. Note, that the exact same effect may be accomplished by directly narrowing the original SDR codeword range. For example, let
{tilde over (ƒ)}L(vL,avgi)=sL,avgi. (15)
Then, for an original SDR range [0, 2B
{tilde over (s)}L,mini=sL,avgi−sL,avgi/M,
{tilde over (s)}L,maxi=sL,avgi+(2B
and
{tilde over (r)}Li({tilde over (s)}L,maxi−{tilde over (s)}L,mini)≤(2B
Criteria for Adjusting the HDR Codeword Range
Generating virtual HDR luma values will ensure that the base layer codeword ranges for luma and chroma channels will get reduced. This reduction will result in lower bitrate for encoding such a base layer; however, such an adjustment needs to be done only for select scenes. In an embodiment, without limitation, it is suggested that scenes having small HDR codeword range and high frequency, noise-like, content should be mapped to a smaller SDR codeword range. In such a case, a three-step algorithm is proposed:
As before, discussions may refer to a scene; however, a scene can be any group of contiguous frames or even a single frame. Given the minimum, average, and maximum luminance values in a scene, in an embodiment, ΔLi (see equation (13)), may be used to identify whether the input HDR content has a small codeword range or not. For example, if ΔLi is smaller than a certain threshold (e.g., ThHDR) then the scene can be classified as a scene with small HDR codeword range.
As known by a person skilled in the art, there exist a variety of algorithms to classify regions of a picture or a frame as “noisy.” For example, one may compute block-based statistics, such as their mean, variance, and or standard deviation, and use these statistical data for classification. In an embodiment, without limitation, a metric of noisiness in the picture is derived based on the number of pixels in a frame classified as “edges.” Details are provided next.
In order to detect noisy content, one may start by computing the total number of edge points in each luma and color channel of a frame. Let Ij,Li, Ij,C0i and Ij,C1i denote the normalized luma and chroma channels of frame j in scene i i.e. Fj,Li. Every pixel value in a normalized image is in the range [0, 1). Consider Bv to be the bit-depth of the source HDR.
Ij,Li(m,n)=Fj,Li(m,n)/2B
Ij,Cxi(m,n)=Fj,Cxi(m,n)/2B
Let the height and width of the luma channel image be HL, WL respectively, and let HCx, WCx denote the height and width of chroma channels. In an embodiment, one may apply any known in the art edge-detection techniques (e.g., the Sobel operator and the like) to identify edges in the luma channel. For example, in an embodiment, the Sobel operators are given by
Kernels Ψ1 and Ψ2 are used to evaluate horizontal and vertical gradient images G1,j,Li and G2,j,Li respectively, for the luma channel
G1,j,Li=Ψ1⊗Ij,Li and G2,j,Li=Ψ2⊗Ij,Li,
Gj,Li=((G1,j,Li)2+(G2,j,Li)2)1/2, (19)
After the gradient image is computed, the pixels having magnitude of gradients above a threshold Thj are designated as edge points. Choosing a fixed threshold may not be very reliable, thus, in embodiment, an adaptive threshold may be preferable, computed as follows:
For noisy images with small codeword range, Δj,L,1i or Δj,L,2i are small, so the threshold Thj is lower and more points are detected as edge points. On the contrary, normal images have higher values for Δj,L,1i or Δj,L,2i, which increases the threshold and reduces the number of detected edge points.
Denote the percentage of edge pixels in the luma or chroma channels by Pj,Li, Pj,C0i and Pj,C1i respectively. For each pixel in the gradient image, if the value is greater than or equal to the threshold Thj, it is regarded as an edge pixel. Suppose Ξ is the identity function,
Let Pji be the maximum value among all the three channels of that frame and Pi be the maximum of all the frames in the scene.
Pji=max(Pj,Li,Pj,C0i,Pj,C1i),
Pi=max(Pji),j=0,1,2, . . . T−1. (23)
Table 2 provides an example algorithm to compute the edge-point percentage in a frame using equations (19) to (23). In general, the percentage of edge pixels is a relevant feature for detecting high frequency noise. Noisy images have textures with pixels having drastically different intensities juxtaposed together. Gradients are generally high in those regions and density of edge pixels is high. On the contrary, smooth images have fewer edge pixels and lower percentage of edge pixels. Thus, one may combine the HDR luma intensity codeword range and edge point percentage features to compute the strength of base layer codeword range reduction M.
Example of an M-Adaptation Scheme
As described earlier, one may use hard thresholds (e.g., ThHDR) on the feature values to determine if a certain HDR scene is noisy or has a small codeword range. One potential problem with hard thresholds is temporal inconsistency. For example, there can be a scenario where scene characteristics trigger rate-control-aware reshaping; however, the very next scene is processed with normal reshaping. This scenario will create temporal inconsistencies and potential visual quality problems, especially when each scene has only one frame. To avoid these problems, a novel technique without such hard thresholds is proposed.
In an embodiment, instead of a binary (e.g., yes/no) classification of a scene as noisy with a small codeword range, one may use the feature values to modulate the strength of the base layer range reduction M. If the feature values strongly indicate that rate-control-aware reshaping is needed, then a larger M value is applied. On the contrary, if feature values are weak indicators that rate-control-aware reshaping is needed, then a smaller M is employed. By applying the feature values to compute M, there is no need to explicitly classify each scene as noisy with a small codeword range. Details of the proposed approach are explained next.
Let δ and β denote parameters that control the strength of base layer range reduction M. These parameters are dependent on feature values. Normalized HDR luma range δ is a fraction in the range [0, 1) and, in an embodiment, its value may depend on the range of HDR luma codewords in the scene, i.e., ΔLi, as:
In an embodiment, the rational number β is computed based on the edge-point percentage of that scene, i.e., Pi, as:
For Pi=0, β=1. The value of β varies in [1.0, 100.0] as Pi∈(0, 100.0]. The reason for choosing max(1/Pi, Pi) to calculate β is the following. Feature value Pi will be large for noisy scenes and 1/Pi will be large for mostly flat (no spatial variations) scenes. In both the cases, it is desired to have a higher β and stronger base layer codeword range reduction.
Given these two parameters, in an embodiment, the strength of base layer codeword range reduction M may be computed using an exponential mapping, as in
M=max(βe−αδ,1.0). (26)
The curve βe−αδ is monotonically decreasing. Let C (e.g., C=0.15) denote a constant as a function of the normalized cutoff HDR luma codeword range. For example, let δ≥C denote the range where rate-control-aware reshaping should not be triggered. In other words, M=1 when δ=C and thereafter. Substituting the values δ=C and M=1 in equation (26), one can compute the value of a as
M=1=βe−αC,
In Table 3, as described earlier (see equations (15)-(17)), following “if M>1,” instead of increasing the HDR codeword range, in an alternative embodiment, one could also directly decrease the SDR codeword range.
Modifying the Forward Reshaping Mapping
Given the adjusted minimum and maximum HDR luma values {tilde over (v)}L,mini and {tilde over (v)}L,maxi, the luma and chroma forward reshaping curves are computed using known in the art techniques (e.g., as in the ″262 patent) using virtual {tilde over (v)}L,mini and {tilde over (v)}L,maxi as the minimum and maximum HDR luma values. In an embodiment, values outside the index range [vL,mini, vL,maxi] are extrapolated by copying from the closest valid entry. In other words, all the entries in the index range [{tilde over (v)}L,mini, vL,mini) get the same value as the value at index vL,mini. Similarly, the codewords in the index range (vL,maxi, {tilde over (v)}L,maxi] get the value as the value at index vL,maxi. The unused codewords are assigned using the power curve that spans the same codeword range [{tilde over (v)}L,mini, {tilde over (v)}L,maxi]. As a result, the Forward LUT also maps the [{tilde over (v)}L,mini, {tilde over (v)}L,maxi] HDR luma codeword range to the SDR codeword range [0,2B
The discussion herein assumed out-of-loop reshaping, wherein forward and backward reshaping is performed outside of compression and decompression; however, similar techniques for HDR codeword-range adaptation may also be applicable to in-loop reshaping schemes, such as those presented in PCT Application Ser. No. PCT/US2019/017891, “Image reshaping in video coding using rate distortion optimization,” by P. Yin et al., filed on Feb. 13, 2019, which is incorporated herein by reference.
Example Computer System Implementation
Embodiments of the present invention may be implemented with a computer system, systems configured in electronic circuitry and components, an integrated circuit (IC) device such as a microcontroller, a field programmable gate array (FPGA), or another configurable or programmable logic device (PLD), a discrete time or digital signal processor (DSP), an application specific IC (ASIC), and/or apparatus that includes one or more of such systems, devices or components. The computer and/or IC may perform, control or execute instructions relating to generating rate-control-aware reshaping functions, such as those described herein. The computer and/or IC may compute, any of a variety of parameters or values that relate to rate-control-aware reshaping functions as described herein. The image and video dynamic range extension embodiments may be implemented in hardware, software, firmware and various combinations thereof.
Certain implementations of the invention comprise computer processors which execute software instructions which cause the processors to perform a method of the invention. For example, one or more processors in a display, an encoder, a set top box, a transcoder or the like may implement methods for rate-control-aware reshaping functions as described above by executing software instructions in a program memory accessible to the processors. The invention may also be provided in the form of a program product. The program product may comprise any non-transitory and tangible medium which carries a set of computer-readable signals comprising instructions which, when executed by a data processor, cause the data processor to execute a method of the invention. Program products according to the invention may be in any of a wide variety of non-transitory and tangible forms. The program product may comprise, for example, physical media such as magnetic data storage media including floppy diskettes, hard disk drives, optical data storage media including CD ROMs, DVDs, electronic data storage media including ROMs, flash RAM, or the like. The computer-readable signals on the program product may optionally be compressed or encrypted.
Where a component (e.g. a software module, processor, assembly, device, circuit, etc.) is referred to above, unless otherwise indicated, reference to that component (including a reference to a “means”) should be interpreted as including as equivalents of that component any component which performs the function of the described component (e.g., that is functionally equivalent), including components which are not structurally equivalent to the disclosed structure which performs the function in the illustrated example embodiments of the invention.
Example embodiments that relate to rate-control-aware reshaping functions for HDR images are thus described. In the foregoing specification, embodiments of the present invention have been described with reference to numerous specific details that may vary from implementation to implementation. Thus, the sole and exclusive indicator of what is the invention, and what is intended by the applicants to be the invention, is the set of claims that issue from this application, in the specific form in which such claims issue, including any subsequent correction. Any definitions expressly set forth herein for terms contained in such claims shall govern the meaning of such terms as used in the claims. Hence, no limitation, element, property, feature, advantage or attribute that is not expressly recited in a claim should limit the scope of such claim in any way. The specification and drawings are, accordingly, to be regarded in an illustrative rather than a restrictive sense.
Various aspects of the present invention may be appreciated from the following enumerated example embodiments (EEEs):
Number | Date | Country | Kind |
---|---|---|---|
19211730 | Nov 2019 | EP | regional |
This application claims the benefit of priority from U.S. Provisional patent application 62/940,942, filed on 27 Nov. 2019, and EP patent application 19211730.7, filed on 27 Nov. 2019, each of which is hereby incorporated by reference.
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/US2020/062430 | 11/25/2020 | WO |
Publishing Document | Publishing Date | Country | Kind |
---|---|---|---|
WO2021/108719 | 6/3/2021 | WO | A |
Number | Name | Date | Kind |
---|---|---|---|
8208560 | Chiu | Jun 2012 | B2 |
10032262 | Kheradmand | Jul 2018 | B2 |
10080026 | Su | Sep 2018 | B2 |
10397576 | Kadu | Aug 2019 | B2 |
10397586 | Su | Aug 2019 | B2 |
10609395 | Kerofsky | Mar 2020 | B2 |
10645403 | Song | May 2020 | B2 |
10701359 | Su | Jun 2020 | B2 |
10701375 | Su | Jun 2020 | B2 |
10701404 | Song | Jun 2020 | B2 |
10873764 | Hiron | Dec 2020 | B2 |
11277610 | Minoo | Mar 2022 | B2 |
11395009 | Yin | Jul 2022 | B2 |
20090097561 | Chiu | Apr 2009 | A1 |
20140247869 | Su | Sep 2014 | A1 |
20170034520 | Rosewarne | Feb 2017 | A1 |
20170221189 | Kheradmand | Aug 2017 | A1 |
20190124367 | Lu | Apr 2019 | A1 |
20190281325 | Song | Sep 2019 | A1 |
Number | Date | Country |
---|---|---|
107409221 | Nov 2017 | CN |
107771392 | Mar 2018 | CN |
109155853 | Jan 2019 | CN |
2019506817 | Mar 2019 | JP |
2019160986 | Aug 2019 | WO |
Entry |
---|
Itu-R BT.2020-2 Parameter values for ultra-high definition television systems for production and international programme exchange Oct. 2015. |
ITU-R BT.709-6 “Parameter Values for the HDTV Standards for Production and International Programme Exchange” Jun. 2015. BT Series. |
ITU-R, bt.2100-0-, “Image parameter values for high dynamic range television for use in production and international programme exchange” Jul. 2016. |
Minoo, K. et al.“Description of the Reshaper Parameters Derivation Process in ETM reference Software” JCT-VC Meeting, Feb. 2016, pp. 3-11. |
Wikipedia Sobel Operator. |
SMPTE ST 2084:2014 “High Dynamic Range Electro-Optical Transfer Function of Mastering Reference Displays”. |
Number | Date | Country | |
---|---|---|---|
20230039038 A1 | Feb 2023 | US |
Number | Date | Country | |
---|---|---|---|
62940942 | Nov 2019 | US |