System for coding high dynamic range and wide color gamut sequences

Adaptive pre-processing and post-processing methods for HDR and WCG video encoding and decoding address quantization issues in existing technologies, ensuring accurate and artifact-free reconstruction of HDR and WCG images by dynamically allocating quantization levels based on content importance.

JP2024149797AInactive Publication Date: 2024-10-18ANDREW WIRELESS SYST UK LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
JP2024135622
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2016-07-22
Filing Date
2024-08-15
Publication Date
2024-10-18
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing video encoding and decoding methods, such as MPEG-4 AVC and HEVC, do not directly support High Dynamic Range (HDR) and Wide Color Gamut (WCG) video, leading to quantization distortion and loss of detail in HDR and WCG images due to fixed encoding transfer functions that do not adapt to the content of the video.

Method used

Adaptive pre-processing before encoding and complementary post-processing after decoding, using color space transformations and perceptual transfer functions tailored to the video content, with metadata transmission to ensure accurate reconstruction of HDR and WCG data.

Benefits of technology

Minimizes noise and distortion in HDR and WCG images by dynamically allocating quantization levels based on content importance, preserving image details and reducing perceptible artifacts.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024149797000001_ABST
    Figure 2024149797000001_ABST
Patent Text Reader

Abstract

To provide a digital video decoding system.SOLUTION: A digital video decoding system for decoding a bit stream in a format that does not accommodate a digital video data set including high dynamic range (HDR) video data and wide color gamut (WCG) video data thereby reconstructing an output digital video data set including HDR and / or WCG video data comprises a decoder for decoding a bit stream to recover a digital video data set from the bit stream; an inverse perceptual quantization transfer function process; and an output color conversion process.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present disclosure relates to the field of video encoding and decoding of High Dynamic Range (HDR) and / or Wide Color Gamut (WCG) video sequences, and in particular to a method for adaptively converting linear input values ​​to non-linear values ​​that can be coded and decoded based on content characteristics of the input video sequence. [Background technology]

[0002] HDR and WCG video provide a wider range of luminance and color values ​​than traditional standard dynamic range (SDR) video. For example, traditional video may be limited in luminance and color range, which may result in loss of detail in dark areas or highlights during image capture, encoding, and / or display. In contrast, HDR and / or WCG video captures a wider range of luminance and color information, which results in a more natural and realistic appearance to the human eye.

[0003] However, many common video encoding and decoding schemes, such as MPEG-4 Advanced Video Coding (AVC) and High Efficiency Video Coding (HEVC), are not designed to handle HDR or WCG video directly, so HDR and WCG video information can usually only be encoded using video compression algorithms after it has been converted into another format.

[0004] For example, HDR video formats, such as the EXR file format, describe colors in the red, green, blue (RGB) color space with 16-bit half-precision floating-point numbers with 10 significant bits, 5 exponent bits, and 1 sign bit. These values ​​cover a wide range of potential intensity and color values. SDR video uses 8- or 10-bit values ​​to represent colors in non-HDR and non-WCG video. Many existing video compression algorithms are intended for use with SDR video and are therefore expected to receive 8- or 10-bit values. It is difficult to quantize the 16-bit half-precision floating-point numbers into 10-bit values ​​that can work with compression algorithms without substantially losing image resolution or introducing significant distortion.

[0005] Some encoders use a coding transfer function to convert linear values ​​of the input video to non-linear values ​​prior to uniform quantization. As a non-limiting example, the coding transfer function may include a gamma function that compresses color values ​​at one or both ends of the quantization range so that a wider range can be represented by 8 or 10 bit values ​​provided to the encoder. However, even if an encoder uses a coding transfer function to convert linear input values ​​to non-linear values, the coding transfer function may be fixed so that it does not vary with the content of the input video. For example, an encoder's coding transfer function may represent a range of 0 to 10,000 nits (candelas per square meter or cd / m) for a particular non-linear value ranging from 0 to 255 for 8 bit values ​​or 0 to 1023 for 10 bit values. 2) to statically map all possible input values ​​of the HDR range. However, if the input video contains input values ​​only in a portion of the range, the fixed mapping may result in an insufficient allocation of quantization levels, resulting in quantization artifacts in the reproduced image. For example, an image showing a predominantly blue sky may have many similar blue colors, but these blue colors may occupy a small portion of the total range for which the coding transfer function is specified. Thus, similar blue colors may be quantized to the same value. This quantization may often be perceived by the viewer as contouring or banding, where the quantized blue colors are banded across the sky displayed on the screen, instead of a more natural transition between tones.

[0006] Also, psychophysical studies of the human visual system have shown that a viewer's sensitivity to contrast levels at a particular location can depend more on the average luminance of the surrounding locations than on the actual level at that location itself. However, many coding transfer functions do not take this into account, and instead use fixed transformation functions or tables that do not take into account the characteristics of the surrounding pixels. [Brief description of the drawings]

[0007] [Figure 1] FIG. 1 illustrates an embodiment of a video encoding system including an encoder and a decoder. [Figure 2A] FIG. 1 illustrates a first example process for encoding an input HDR and / or WCG video sequence into an encoded bitstream that is compatible with a non-HDR, non-WCG video encoder using up to two color volume transform processes and two transfer functions, and decoding the encoded bitstream into a decoded video by a complementary video decoder using an inverse color volume transform process and transfer functions. [Figure 2B]FIG. 1 illustrates a first example process for encoding an input HDR and / or WCG video sequence into an encoded bitstream that is compatible with a non-HDR, non-WCG video encoder using up to two color volume transform processes and two transfer functions, and decoding the encoded bitstream into a decoded video by a complementary video decoder using an inverse color volume transform process and transfer functions. [Figure 3A] FIG. 2 illustrates a second example process for encoding and decoding an input HDR and / or WCG video sequence using a non-HDR, non-WCG video encoder and decoder, where the encoding transfer function used by the encoder is combined with a perceptual normalization operation and the inverse encoding transfer function used by the decoder is combined with an inverse perceptual normalization process. [Figure 3B] FIG. 2 illustrates a second example process for encoding and decoding an input HDR and / or WCG video sequence using a non-HDR, non-WCG video encoder and decoder, where the encoding transfer function used by the encoder is combined with a perceptual normalization operation and the inverse encoding transfer function used by the decoder is combined with an inverse perceptual normalization process. [Figure 4A] FIG. 13 illustrates a third example process for encoding and decoding an input HDR and / or WCG video sequence into a coded bitstream, in which the encoder and decoder use reference frames derived from the reconstructed HDR and / or WCG sequence. [Figure 4B] FIG. 13 illustrates a third example process for encoding and decoding an input HDR and / or WCG video sequence into a coded bitstream, in which the encoder and decoder use reference frames derived from the reconstructed HDR and / or WCG sequence. [Figure 5A] FIG. 4 illustrates a fourth example of an encoding and decoding process that uses SDR video data in an encoder and simultaneously generates SDR and HDR image data in a decoder by using a tone map generated from a linear SDR graduated RGB image. [Figure 5B] FIG. 4 illustrates a fourth example of an encoding and decoding process that uses SDR video data in an encoder and simultaneously generates SDR and HDR image data in a decoder by using a tone map generated from a linear SDR graduated RGB image. [Figure 6A] A diagram showing a fifth example of an encoding and decoding process that employs a parametric tone mapping process after the encoding transfer function and before quantization in the encoding stage, and a complementary inverse parametric tone mapping process after inverse quantization and before the inverse encoding transfer function in the decoding stage. [Figure 6B] A diagram showing a fifth example of an encoding and decoding process that employs a parametric tone mapping process after the encoding transfer function and before quantization in the encoding stage, and a complementary inverse parametric tone mapping process after inverse quantization and before the inverse encoding transfer function in the decoding stage. [Figure 7A] FIG. 6C illustrates a variation of the encoding and decoding process shown in FIGS. 6A and 6B in which the tone mapping and inverse tone mapping processes are performed using three-dimensional (3D) lookup tables. [Figure 7B] FIG. 6C illustrates a variation of the encoding and decoding process shown in FIGS. 6A and 6B in which the tone mapping and inverse tone mapping processes are performed using three-dimensional (3D) lookup tables. [Figure 8A] FIG. 6C illustrates a variation of the encoding and decoding process shown in FIGS. 6A and 6B, in which the tone mapping and inverse tone mapping processes are performed using three one-dimensional (1D) lookup tables. [Figure 8B] FIG. 6C illustrates a variation of the encoding and decoding process shown in FIGS. 6A and 6B, in which the tone mapping and inverse tone mapping processes are performed using three one-dimensional (1D) lookup tables. [Figure 9]1 illustrates an example plot of a gamma compression transfer function. [Figure 10] FIG. 2 illustrates an example plot of a gamma expansion transfer function. [Figure 11] 1 illustrates an example plot of a perceptual quantization transfer function. [Figure 12] FIG. 2 illustrates an example plot of a Weber law transfer function expressed as a relative quantization of input and output data. [Figure 13] FIG. 2 shows an example plot of a Stevens' law transfer function expressed as a relative quantization of input and output data. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0008] This disclosure describes methods of encoding digital video data that apply adaptive pre-processing to data representing high dynamic range (HDR) and / or wide color gamut (WCG) image data prior to encoding and complementary post-processing to the decoded data to enable at least partial reproduction of the HDR and / or WCG data. These exemplary methods apply one or more color space transformations and perceptual transfer functions to the data prior to quantization. These exemplary methods also apply an inverse perceptual transfer function and an inverse color space transformation to recover the HDR and / or WCG data after decoding. The transfer functions are adaptive such that different transfer functions are applicable for different video data sets including different groups of frames, individual frames, or subcomponents of frames such as processing windows. Information about the data sets and the applied transfer functions are passed from the encoder to the decoder as metadata.

[0009] Further details of the invention are explained using the accompanying drawings. In the exemplary systems and methods described below, HDR and / or WCG video is effectively compressed by adapting a coding transfer function or otherwise transforming and / or redistributing the HDR and / or WCG video data such that after being quantized and encoded by a non-HDR, non-WCG coder, such as a HEVC (High Efficiency Video Coding), H.264 / MPEG-4 AVC (Advanced Video Coding), or MPEG-2 coder, at least a portion of the HDR and / or WCG data may be restored at a receiver upon reconstruction. The transfer function may be based on the actual video content at the image group, image, or sub-image window level of the input video. These video processes may be realized by generating a curve or tone map of non-linear values ​​that represent the color and / or intensity information actually present in the input video data instead of the entire range of potential values. Thus, when the non-linear values ​​are uniformly quantized, the noise and / or distortion introduced by uniform quantization may be minimized so as to be less noticeable to a human viewer. Additionally, metadata information regarding the operations performed to prepare the input video data for encoding is transmitted to the decoder so that the decoder can perform corresponding inverse operations when decoding the video data.

[0010] 1 illustrates an embodiment of a video encoding system including an encoding system 100 and a decoding system 150. Encoding system 100 may include a processor (including a digital signal processor (DSP) or a specialized video processor), memory, circuitry, and / or other hardware and software elements configured to encode, transcode, and / or compress input video into encoded bitstream 109. Encoding system 100 can be configured to generate encoded bitstream 109 according to a video encoding format and / or compression scheme, such as HEVC (High Efficiency Video Coding), H.264 / MPEG-4 AVC (Advanced Video Coding), or MPEG-2. As a non-limiting example, in some embodiments, encoder 100 may be a Main10 HEVC encoder.

[0011] The exemplary encoding system 100 receives HDR and / or WCG video data from a video source 102. The system 100 includes a pre-processor 104 that adaptively processes the HDR and / or WCG data so that it can be encoded by an encoder 106 (e.g., a Main10 HEVC encoder) based on reference images in a reference image cache 118. The encoded data may be transmitted as a bitstream 109 to a receiver 110 of a decoding system 150 using a transmitter 108. The transmitter and receiver may use any transmission method, such as a wired, wireless, or optical connection. In one embodiment, the transmitter may format the encoded video data as Internet Protocol (IP) packets and transmit the IP packets to the receiver 110 over a network. The network may be a digital cable television connection using a digital transmission mechanism such as Quadrature Amplitude Modulation (QAM). The network may be a wired cable network, an optical fiber network, or a wireless network. The network may be a private network or a global information network (e.g., the Internet). In addition to transmitting the encoded video data, the transmitter 100 transmits metadata 122 describing the processing performed by the pre-processor 104. Although the metadata 122 is shown as a separate signal, it may be included in the bitstream 109, for example, as supplemental enhancement information (SEI) or video usability information (VUI) in the bitstream or Groups of Pictures (GOP), image, slice, or macroblock headers. The SEI or VUI may identify a rectangular processing window defined by x and y coordinates of the input image data and specific metadata that specified the processing performed by the encoder on the identified processing window.

[0012] The decoding system 150 may comprise a processor, memory, circuitry, and / or other hardware and software elements configured to receive the bitstream 109 at the receiver 110 and decode, transcode, and / or decompress the encoded bitstream 109 into decoded HDR and / or WCG video for presentation on the display 116. The decoding system 150 may be configured to decode the encoded bitstream 109 according to a video encoding format and / or compression scheme, such as HEVC, H.264 / MPEG-4 AVC, or MPEG-2. As a non-limiting example, in some embodiments, the decoder 112 may be a Main10 HEVC decoder. After decoding, the video data is processed by a post-processor 114 that, in response to metadata received from the encoder, reverses the processing performed by the pre-processor 104 to regenerate the HDR and / or WCG video data. The decoded HDR and / or WCG video data may be output to a display device for playback, such as on a television, monitor, or other display 116.

[0013] In some embodiments, the encoding system 100 and / or the decoding system 150 can be dedicated hardware devices. In other embodiments, the encoding system 100 and / or the decoding system 150 can be or use software programs running on other hardware, such as a server, computer, or video processing device. As a non-limiting example, the encoding system 100 can be a video encoder operated by a video service provider, while the decoding system 150 can be part of a set-top box, such as a cable box connected to a consumer television display.

[0014] The input video data provided by the video source 102 may include a sequence of images, also referred to as frames, or image essences, or a video dataset. In some embodiments, colors in an image may be digitally described using one or more values ​​according to a color space or color model. As a non-limiting example, colors in an image may be represented using the RGB color model, where a color is described by a combination of values ​​for a red channel, a green channel, and a blue channel.

[0015] The input video data can be a high dynamic range (HDR) video dataset having one or more frame sequences with luminance and / or color values ​​described in HDR and / or wide color gamut (WCG). As a non-limiting example, a high dynamic range video can exhibit luminance values ​​on a scale with a wider range of possible values ​​than a non-HDR video, and a video with a wide color gamut can represent colors, at least in some channels, on a color model with a wider range of possible values ​​than a non-WCG video. Thus, an HDR input video can have a wider range of luminance and / or color values ​​than a standard or non-HDR video.

[0016] In some embodiments, the HDR input video data can represent colors in RGB values ​​in a high bit depth format versus a non-HDR format that represents color values ​​at a lesser bit depth, such as 8 or 10 bits per color channel. As one non-limiting example, the HDR input video data can be an EXR file format with RGB color values ​​represented in the linear light RGB domain using 16-bit floating point numbers (with 10 significant bits, 5 exponent bits, and 1 sign bit) per color channel.

[0017] 2A, the encoding system 200 may apply a first (intermediate) color transformation operation (color volume transformation) 202, a first transfer function 204, a second (final) color transformation operation 206, a second (encoding) transfer function 208, and an optional perceptual normalization operation 210 to the linear HDR RGB data before quantizing the processed data to 10-bit values, downsampling the color information, and encoding the resulting data using an existing encoder 216, such as a Main10HEVC encoder. Blocks 202, 204, 206, 208, and 210 perform compression and perceptual mapping operations that transform the linear HDR RGB values ​​from the video source 202 to values ​​on a non-linear curve based on one or more characteristics of the video content.

[0018] As non-limiting examples, the perceptual mapping operation may be tailored to the contents of all or part of the video dataset based on minimum luminance, average luminance, peak luminance, maximum contrast ratio, cumulative distribution function, and / or any other factor in the video dataset or part thereof. In some embodiments, such characteristics may be found by histograms or statistical analysis of color or luminance components of the video at various processing stages. In one example, prior to application of the perceptual transfer function or perceptual tone mapping operation, the digital image data may be segmented into processing windows. Analysis of one or more components (e.g., Y'CbCr) of each processing window may determine, for example, minimum sample value, maximum sample value, average sample value, value, and maximum contrast (e.g., difference between minimum and maximum sample value). These values ​​may be calculated for a single component or a combination of two or more components. These values ​​are then applied to the coding transfer function and perceptual normalizer or to the tone mapping process to determine the perceptual mapping to apply to the processing window.

[0019] Exemplary perceptual mapping redistributes linear color information onto a non-linear curve tailored to the content of the input video data in a global or local range to enable the encoder 216 to more efficiently encode the HDR video data for decoding and reconstructing as HDR video data in the decoding system 220 shown in FIG. 2B. As described below, converting linear color values ​​to other color spaces and applying a non-linear curve based on the content of the input video can provide HDR and / or WCG details in the reconstructed image while reducing the risk of introducing distortion and / or noise in a uniform quantization operation. In some embodiments, more bits and / or quantization levels can be allocated to intensities and hues present in some of the video frames and / or to ranges of intensities and hues most noticeable by a human viewer, while fewer bits and / or quantization levels can be allocated to intensities and hues not present in the color channels and / or to intensities and hues less noticeable by a viewer.

[0020] As a non-limiting example, if the input video data represents a scene occurring at night, the image may contain primarily dark colors that are substantially clustered together in the RGB domain. In such a scene, the brighter colors in the RGB domain may be absent or sparse. In this situation, the combined perceptual mapping may be adapted to redistribute the color and luminance values ​​onto one or more nonlinear curves that include the range of color and luminance values ​​that are actually present in the scene, while omitting or de-emphasizing values ​​that are not present in the scene. Thus, the dark color and luminance values ​​that were previously clustered together may be substantially uniformly spread onto the nonlinear value curve (assigned more uniform quantization steps), while the less common brighter values ​​may be jointly compressed (assigned fewer quantization steps) or omitted if not present in the scene. If the dark values ​​can be spread onto the curve, fine differences between each may be distinguished, even if the values ​​on the nonlinear curve are uniformly quantized into discrete values ​​or codewords.

[0021] As mentioned above, the perceptual mapping operation may be adaptive to allow variation in applying different non-linear transfer functions depending on the content of the input video for a series of images, a single image, or a sub-image window. Sub-image processing allows different processing of different sub-areas of the same image, such as processing windows, slices, macroblocks in AVC, or coding tree units (CTUs) in HEVC, based on their respective content. In other embodiments or situations, the perceptual mapping operation may be varied at an image level for different images. In yet other embodiments or situations, the perceptual mapping operation may be varied at a super-image level for different series of images, such as different Groups of Pictures (GOPs) or image essences. The perceptual mapping operation may be applied in any desired color space, such as RGB, Y'CbCr, X'Y'Z', or I'PT color spaces. The content of the video data representing a particular series of images, a single image, or a sub-image element may be determined by generating a histogram of pixel values ​​represented by the video data. For example, an image having both relatively dark and relatively bright areas may be segmented, for example using a quadtree algorithm, such that the data for the dark areas is one set of processing windows and the data for the bright areas is another set of windows. The perceptual mapping applied to the windows in the dark areas may be different from that applied in the bright areas, such that detail in both areas is preserved and displayed in the reconstructed HDR image.

[0022] In one implementation, the perceptual normalization block 210 and / or the coding transfer function block 208 may generate perceptually mapped Y'CbCr values ​​by applying a perceptual mapping transfer function to the Y'CbCr values ​​provided by the color transformation block 206. In some embodiments, the perceptual mapping operation may use a 3D lookup table that maps the Y'CbCr values ​​to associated perceptually mapped Y'CbCr values. In other embodiments, the perceptual mapping operation may use one or more equations to transform each color component. As a non-limiting example, the perceptual mapping operation may transform values ​​using equations such as Y'_PM=f(Y',Cb,Cr), Cb_PM=g(Y',Cb,Cr), Cr_PM=h(Y',Cb,Cr), etc. In this example, each of these functions may take three Y'CbCr values ​​as input and output a perceptually mapped Y'CbCr value.

[0023] As shown in FIG. 2A, the encoder 200 may receive HDR and / or WCG data as linear RGB values. The encoder 200 may perform a first color transformation operation 202, which converts the linear RGB values ​​to an intermediate linear color space, such as LMS, XYZ, or YCbCr. This conversion reduces redundancy in the RGB data, resulting in a format that is more conducive to compression. However, depending on the format of the input data, it is contemplated that the block 202 may not perform any color transformation or may perform different color transformation operations on different parts of a video sequence, including different parts of a single frame. The color transformation operation 202 may also generate metadata indicative of the transformation operation performed and the part of the sequence, frame, or image on which it was performed. Instead of simply identifying the transformation, the metadata may include matrix coefficients representing the inverse of the color transformation operation applied by the block 202. Instead of including the inverse coefficients, it is contemplated that the metadata may include the coefficients used in the color volume transformation operation 202, with the inverse coefficients being generated at the decoder 220. The color transformation operation 202 can generate data in a color space that is easy to process by a first transfer function 204 .

[0024] The transfer function 204 may be a gamma function that compresses bright and / or dark pixel values ​​into a smaller range of values. Alternatively, it may be a perceptual transfer function, such as a Perceptual Quantization (PQ) transfer function. Alternatively, it may be an identity function that does not perform any transformation on the color transformed video data. The function may be applicable only to the luminance channel or channels, such that different functions are applied to different parts of a video sequence and / or different frames or portions of frames in the sequence. For example, a gamma or PQ transfer function applied to the luminance channel in a relatively dark area of ​​an image may cause an associated operation to be applied to the color channel data in that image area. Block 204 also generates metadata describing the transformation that was applied or its inverse, and the portion of the image data to which it was applied. This metadata may include parameters describing the transfer function or the inverse of the transfer function. From these values, data values ​​of the complete or inverse transfer function may be interpolated, for example by linear interpolation, quadratic or cubic spline curve fitting operations, to reconstruct the inverse transfer function or the endpoints of a linear segment that models the transfer function or inverse transfer function.

[0025] The color transformation data from block 204 is then subjected to a final color transformation operation in block 206. This color transformation operation may, for example, convert the video data to a color space such as I'PT or Y'CbCr that is more suitable for perceptual compression (especially for WCG image data). Block 206 may convert a sequence of images, a single image, or portions of images to one or more color spaces that are easier to process for perceptual normalization and quantization. As with block 202, the color transformation performed by block 206 may be an identity function, with no transformation performed. Alternatively, different color transformation operations may be performed on different portions of the video data. Additionally, block 206 may generate metadata describing the color transformation performed and the portion of the video data to which it was applied (out-of-frame, frame, or sub-frame). This metadata may simply identify the portion of data and the transformation applied. Alternatively, the metadata may include the coefficients of a 3x3 transformation matrix instead of identifying the transformation. As mentioned above, the metadata may describe the color transformation performed by block 206 or its inverse.

[0026] After block 206, a second transfer function 208 is applied to the twice color transformed video data. The function 208 may be a coding transfer function that prepares the video data for quantization and encoding by emphasizing video information that is perceived as important by the human visual system and de-emphasizing video information that is not perceived as important. The transfer function 208 may also be a function that adapts the data to human perception, such as a Stevens power law or Weber law transfer function with a gamma component that can be selected based on the image content, target maximum and minimum sample values, maximum luminance or luminance contrast, and / or quantization step size in the portion of the video data being processed. The transfer function 208 may also adjust the image to take into account the contrast sensitivity of the luminance pixels and remap the corresponding color samples based on the transformation applied to the luminance samples. The function may be applied to a sequence of frames, a single frame, or a portion of a frame, such as a processing window. As with the other blocks in the pre-processing stage, the coding transfer function block 208 may generate metadata describing the applied transfer function or its inverse, the frame or portion of the frame to which it was applied. The metadata may describe the transfer function parametrically or as a series of values, and the parameters of the transfer function to be applied may be determined by analysis of the video data presented to the transfer function.

[0027] The video data may be divided into a number of processing windows, for example by applying a quadtree decomposition to the image data such that a particular set of tone mapping parameters may be specified and applied to each leaf node of the quadtree. In this example, each leaf node of the quadtree decomposition may have a different tone mapping scheme. Alternatively, the processing window may be specified as a region where application of tone mapping will achieve a desired subjective objective, such as that determined by a colorist. The shape of the region may be rectangular, circular, etc., and parameters such as shape, position, size, etc. may be specified. In identifying the processing window, it may be desirable to determine maximum, average, and minimum values ​​for each video component of the video data in the processing window and provide these values ​​to the transfer function block 208. For example, the system may perform a histogram on the processing window that divides the pixels of the image into bins, and determine the minimum, average, and maximum values ​​by selecting a set of adjacent bins that span a portion (e.g., 80-95%) of the pixels in the processing window. The minimum data value may be the minimum value defined by the bin containing the minimum data value, the maximum data value may be the maximum value defined by the bin containing the maximum data value, and the average value may be the average of all values ​​in all selected bins. Block 208 then involves adapting the coding transfer function and / or the perceptual normalizer 210 to increase the number of quantization steps assigned between the minimum and maximum values ​​while decreasing the number of quantization steps assigned to values ​​below the minimum or above the maximum. This adaptation is described in metadata that also includes data identifying a processing window. This metadata is transmitted in the bitstream to the decoder so that the inverse perceptual normalization and the inverse coding transfer function can be applied to data decoded from the bitstream. The metadata may also include parameters describing the adapted transfer function or the data values ​​at which the transfer function can be reconstructed by interpolation.

[0028] Although the identification of the processing windows has been described as being performed by the encoding transfer function block 208, it is contemplated that it may be performed by other elements of the decoder, for example by the video source 102 (shown in FIG. 1) or the intermediate color transformation block 202. In addition to dividing individual frames into processing windows, the same algorithm may also group frames in the digital video data set according to common characteristics and / or identify characteristics of individual frames. It may be advantageous to identify portions of the digital video data set that have common characteristics early in the encoding process so that both the color transformation process and the compression transfer function process can be tailored to the same portions.

[0029] After the encoding transfer function 208, the data may be perceptually normalized in block 210. In this step, the gain (scaling) and offset of the video data are adjusted to make the perceptual compression of the video data more uniform across frames and / or frames. Perceptual normalization may also produce data in a quantized color space by compensating color samples for processing performed on corresponding luma samples. The gain and offset values, or vice versa, and identification of the portions of the image data to which they have been applied are provided as metadata. Perceptual normalization may not be used if the transfer functions 204 and 208 produce uniform perceptually transformed data or if a uniform perceptual transformation of the video data is not important.

[0030] In this example using the Main10 HEVC encoder, the normalized perceptually compressed data provided by the transfer function 208 and / or optional perceptual normalization process 210 is quantized to 10-bit values ​​in the quantizer 212. If the output samples of the transfer function 208 and / or the perceptual normalizer 210 are floating point numbers, the quantizer 212 may convert the pixel samples from floating point to 10-bit fixed point numbers. If the output samples are N-bit fixed point numbers (N>10), the quantizer may select the 10 Most Significant Bits (MSBs) of the N-bit samples or may round these values ​​based on the 11th bit. Due to the pre-processing performed by blocks 202, 204, 206, 208, and 210, image data that is more perceptually significant receives a greater number of quantization levels than data that is less perceptually significant. It is contemplated that quantizer 212 may employ scalar or vector quantization of the color components.

[0031] Next, in block 214, the 4:4:4 pixels are converted to 4:2:0 pixels by downsampling the color information. The loss of resolution of the color samples is less noticeable to the human visual system, which perceives color at a lower spatial resolution than luminance. Metadata specifying the operation performed to downsample the color information is added to the metadata from the downsampling block 214 of the encoder. This metadata may, for example, describe the kernel of the two-dimensional spatial filter used to generate the downsampled data or the inverse filter that generates the spatial upsampled data from the downsampled data. This metadata may also specify any phase shift offset in the subsampling operation. The encoder 216 then encodes the preprocessed, quantized, and downsampled data to generate an output bitstream. In one embodiment, the metadata is encoded by the bitstream as auxiliary enhancement information (SEI) or video usability information (VUI) data. Although block 214 is shown converting 4:4:4 pixels to 4:2:0 pixels, it is contemplated that other conversions may be performed, such as converting 4:4:4 pixels to 4:2:2 or 4:1:1 pixel formats. If any of these alternative downsampling formats are produced by block 214, a corresponding upsampling will be performed by a corresponding block in the decoding system.

[0032] The decoding system 220 shown in FIG. 2B receives the bitstream at a decoder 222. The exemplary Main10 HEVC decoder 222 extracts the metadata and reverses the encoding operations performed by the encoder 216 to generate 10-bit video data in 4:2:0 pixel format. The metadata generated by the chrominance downsampler 214 is applied to an upsampler 224 that reconstructs 4:4:4 pixel format samples from the 4:2:0 samples, for example by applying a spatial interpolation filter to the 4:2:0 samples. These samples are provided to an inverse quantizer 226 that converts the 4:4:4 pixel samples to floating point numbers or may add zero-valued lower bits to high-precision fixed-point samples. The operations performed by the inverse quantizer 226 tend to reverse the quantization operations performed by the quantizer 212.

[0033] Block 228 attenuates and offsets samples in the identified video data set based on the metadata received from the perceptual normalization block 210, reversing the gain and offset adjustments performed by the perceptual normalization filter 210. Similarly, block 230 applies a transfer function that is the inverse of the encoding transfer function 208. This may be an inverse Stevens' law or inverse Weber's law transfer function generated from parameters in the metadata, or a transfer function regenerated from values ​​in the metadata representing either samples of the applied filter characteristic or a line segment of the linearization characteristic.

[0034] Similarly, blocks 232, 234, and 236 of the decoder 220 invert the final color transformation operation performed by block 206 of the encoder 200, the first transfer function performed by block 204, and the intermediate color transformation operation performed by block 202, respectively. These operations are performed only on the data sets representing the regions of the frame or frames associated with the color transformation operations and transfer functions in the metadata. The output data provided by the inverse color transformation block 236 is a reconstructed linear HDR RGB signal. Perceptually important data, such as details and characteristics of dark areas of the image and color values ​​of both light and dark parts of the image, may be preserved in the reconstructed data, while less perceptually important data may be lost. Although the systems shown in Figures 2A and 2B, as well as the systems shown in the other figures below, are shown as receiving and reconstructing linear HDR RGB data, it is contemplated that other HDR and / or WCG data may also be received and reconstructed.

[0035] Figures 3A and 3B show a variation of the encoding and decoding system shown in Figures 2A and 2B. Many of the blocks shown in Figures 3A and 3B are the same as those in Figures 2A and 2B and have the same numbers. For simplicity, the operation of these blocks will not be described separately in this specification. The difference between Figures 2A and 2B on the one hand and Figures 3A and 3B on the other hand includes the perceptual reshaping block 304 and the corresponding inverse perceptual reshaping block 327 shown in Figure 3B. Block 304 combines the coding transfer function 306 with a perceptual normalization operation 308, and similarly, block 327 combines the inverse perceptual normalization operation 326 with the inverse coding transfer function block 328.

[0036] Another difference between the systems 200 and 220 shown in Figures 2A and 2B, with respect to the respective systems 300 and 320 shown in Figures 3A and 3B, is the position of the color downsampling process 302 and the color upsampling process 330 in the processing stream. In Figure 3A, the downsampling process 302 operates on the data provided by the final color conversion process 206. Similarly, in Figure 3B, the upsampling output values ​​provided by the upsampling process 330 are applied to the inverse color conversion process 232, which is the inverse of the process 206. By rearranging the downsampling and upsampling processes, the perceptual reshaping process is performed on pixels having downsampled color values. This modification may result in less processing, since fewer color samples are processed by the blocks 306, 308, 310 shown in Figure 3A and the blocks 324, 326, and 328 shown in Figure 3B, than by the corresponding blocks 208, 210, and 212 shown in Figure 2A and the blocks 226, 228, and 230 shown in Figure 2B. This is because, as described above, further processing reduction can be achieved by including the offset and gain adjustments performed by the perceptual normalization process 308 using the coding transfer function 306, and by including the inverse offset and gain adjustments performed by the inverse perceptual normalization process 326 using the inverse coding transfer function 328.

[0037] The coding systems 400 and 420 shown in Figures 4A and 4B represent another variation of the systems 200 and 220 shown in Figures 2A and 2B. The same numbered elements in Figures 4A and 4B and Figures 2A and 2B operate in the same way, but for simplicity, will not be described separately herein. The process shown in Figures 4A and 4B differs from that of Figures 2A and 2B in terms of the content of the reference images used by the encoder 402 and the decoder 422. As described above with reference to Figure 1, the Main10 HEVC decoder performs predictive coding and decoding, where pixel values ​​of the current frame are subtracted from corresponding pixel values ​​generated from one or more of the reference frames. These difference values ​​usually contain much less information than the complete pixel values, and therefore are more efficiently frequency transformed and quantized in the encoder. As shown in Figure 1, the reference frames in the reference image cache 118 are generated by the encoder 106, which decodes the generated encoded data. This is done so that the difference values ​​can compensate for losses or distortions introduced by the coding prediction process.

[0038] If a standard Main10 HEVC decoder is used in the process shown in Figures 2A and 2B, the reference image may not accurately represent the decoded version of the encoded image since it does not include the post-processing steps by the decoder shown in Figure 2B. The systems 400 and 420 shown in Figures 4A and 4B address this by enhancing the encoder 402 and the decoder 422. The encoder 402 is enhanced to generate the reference image by post-processing the intra-decoded image similar to processes 224, 226, 228, 230, 232, 234, and 236 to regenerate a reconstructed linear HDR RGB image, and then processing the reconstructed image similar to processes 202, 204, 206, 208, 210, 212, and 214 for the current image. The result is a set of reference frames that the Main10 HEVC encoder can use to perform predictive coding more accurately. Since the pre-processing and post-processing processes are complementary, some post-processing processes may be removed only if the corresponding pre-processing processes are also removed. For example, the enhancement encoder may not perform a color conversion from LMS or XYZ to linear HDR RGB, and may not perform the complementary pre-processing operations to convert linear HDR RGB data to the LMS or XYZ color space.

[0039] The enhanced decoder 422 does not perform post-processing or pre-processing since the decoder blocks 224, 226, 228, 230, 232, 234, and 236 have already performed the post-processing steps. Thus, in the system 420 shown in FIG. 4B, the reconstructed linear HDR RGB data generated by the inverse color converter 236 is applied to the decoder 422 which processes the current image in a similar manner to the pre-processing blocks 202, 204, 206, 208, 210, 212, and 214 to generate a reference image. As mentioned above, some of these pre-processing operations may be eliminated if the image data for the reconstructed image is obtained from a different point in the decoding system 420. For example, if the data for the reference image is obtained from the output of the inverse transfer function 234, the pre-processing operations of converting the data from the linear HDR RGB color space to the XYZ or LMS color space are not required.

[0040] The focus of the above-described exemplary implementations is on encoding and decoding signals that enable the reproduction of HDR and / or WCG signals using encoders and decoders designed to handle video signals with lower dynamic ranges and / or narrower color gamuts, e.g., standard dynamic range (SDR) video data. However, the data generated by decoder 222 of FIG. 2B may include data that has been perceptually processed to increase or decrease quantization resolution, and therefore may not be suitable for display on a monitor compatible with the decoder.

[0041] The exemplary systems shown in Figures 5A, 5B, 6A, 6B, 7A, 7B, 8A, and 8B include processes that can generate lower dynamic range and / or narrower color gamut image data (e.g., SDR data) in conjunction with reconstructed HDR and / or WCG image data. These systems use tone mapping to generate the SDR image. Tone mapping reduces the dynamic range or contrast ratio of an image or part of an image while maintaining local contrast. It also reduces the color gamut by mapping colors that cannot be represented in the SDR image into the color space of the SDR image. Tone mapping may also be performed to subjectively match the aesthetics of the SDR image to the HDR image.

[0042] FIG. 5A illustrates an encoder 500 that processes HDR images to generate SDR-compatible images. Blocks in FIG. 5A that have the same numbers as blocks in system 400 illustrated in FIG. 4A operate in the same manner and will not be described in detail herein. However, encoder 216 in FIG. 2A may use a tone map by modifying the embodiment of encoder 200 illustrated in FIG. 2A instead of encoder 402 in FIG. 5A. In one embodiment, image data generated by color conversion process 206, which converts video data to Y′CbCr color space, is applied to tone map 502. In this embodiment, it is assumed that the transfer function of block 204 is applied to the entire image of the input image sequence to generate nonlinear Y′ data. In other words, each image subcomponent is processed equally. The image data used to generate the tone map is obtained prior to the perceptual modification performed by coding transfer function block 208 and perceptual normalization block 210, which adjust the image data in a way that makes it more difficult to process using a tone map. The tone map 502 identifies high contrast elements in the video data and generates tone map values ​​that reduce the contrast of these elements to generate an appropriate SDR image. This SDR tone mapping data is sent to the decoder 520 as part of the metadata. In another embodiment, linear SDR graded RGB image data is available from the video source 102 (shown in FIG. 1). In this example, both linear HDR RGB image data and linear SDR graded RGB image data are applied to the tone map process 502. The tone map process may generate a tone map by analyzing the difference between corresponding image data in the two data sets. The SDR tone mapping data is then converted to the Y'CbCr color space. Alternatively, the tone map process 502 may convert the linear HDR RGB data and the linear SDR graded RGB data to the Y'CbCr color space prior to the comparison of the image data sets.The generated tone map may be a set of transfer functions, respectively corresponding to the Y', Cb, and Cr channels, that adjust the values ​​of the Y'CbCr data generated by color conversion block 206 to match corresponding values ​​from the converted linear SDR-grade RGB data.

[0043] FIG. 5B illustrates the reconstruction of an SDR image in a decoder 520. As in FIG. 5A, blocks with the same numbers as in the system 420 of FIG. 4B operate in the same manner and will not be described in detail herein. However, the decoder 222 of FIG. 2B may use an inverse tone map instead of the decoder 422 of FIG. 5B by modifying the implementation of FIG. 2B. The tone map of the decoder 520 is applied to the data generated by the inverse coding transfer function 230 to generate the reconstructed SDR data. Also, as shown, the tone map may employ the reconstructed linear HDR RGB signal to determine the modification of the Y′CbCr signal provided by the inverse transfer function 230. For ease of processing, it may be desirable for block 524 to convert the reconstructed linear HDR RGB data to the Y′CbCr color space before application to the tone mapping function.

[0044] Figures 6A and 6B show another embodiment in which a combined encoding system 600 and a decoding system 620 can generate a backward compatible SDR signal. As with the previous embodiment, blocks with the same numbers as those in the system 200 shown in Figure 2A operate in the same way and will not be described in detail herein. The system shown in Figures 6A and 6B performs all the steps of the system shown in Figures 2A and 2B, except that the optional perceptual normalization block 210 is replaced by a parametric tone mapping block 602 that applies tone mapping to map pixel data in the Y'CbCr color space to be compatible with SDR image data. When the output data provided by the parametric tone mapping block 602 is quantized by the quantizer 212 and downsampled by the downsampling block 214, the result is an SDR signal that can be displayed on an SDR monitor.

[0045] The parametric tone mapping block 602 may perform static tone mapping, for example from HDR Y'CbCr to SDR Y'CbCr. Alternatively, the tone mapping block 602 may apply a static tone map specific to the display device, taking into account the characteristics of the display device (or type of display device, e.g., OLED, LED, or plasma) on which the SDR data is displayed. Alternatively, the tone map may be dynamically generated using the linear HDR RGB data and SDR graded RGB image data provided by the video source 102 (shown in FIG. 1) and the characteristics of the display device. As mentioned above, it may be desirable to convert the HDR and SDR RGB data to Y'CbCr data by applying a compression transfer function similar to that performed by block 204 and a color conversion operation similar to that performed by block 206 before generating the tone mapping function.

[0046] For each component of the Y'CbCr data, there may be a separate tone mapping function, similar to the parametric conversion functions f(), g(), and h() described above with reference to FIG. 2A. These functions may be defined by first identifying how a particular corresponding pixel value is mapped from HDR to SDR color space, defining points of the function, and then fitting a curve to these points, or defining a set of line segments between adjacent points that approximate the function. These points may be selected, for example, to span the luminance and chrominance values ​​of the HDR and SDR color spaces. The coefficients that define the equations and / or line segments are the parameters that define the tone map and are sent to the decoder 620 as part of the metadata.

[0047] The decoder 222 of the system 620 decodes the bitstream to generate reconstructed SDR data, which is then upsampled in block 224 and inverse quantized in block 226 to generate data that is applied to an inverse parametric tone mapping block 622, which maps the Y'CrCb data in the SDR color space to corresponding data in the Y'CrCb data in the HDR color space by performing the inverse of the parametric tone mapping block 602. The other blocks of the decoding system 620 operate in the same way as the corresponding blocks in Figure 2B and, for simplicity, will not be described separately herein.

[0048] Figures 7A and 7B show an encoding system 700 and a decoding system 720 that are the same as the systems 600 and 620 shown in Figures 6A and 6B, except that the parametric tone mapping blocks 602 and 622 of Figures 6A and 6B are replaced by 3D look-up tables (LUTs) 702 and 722 of Figures 7A and 7B. The 3D LUT used in the system 700 shown in Figure 7A may implement the functions Y'_PM = f(Y',Cb,Cr), Cb_PM = g(Y',Cb,Cr), Cr_PM = h(Y',Cb,Cr), as described above with reference to Figure 2. Thus, each output value Y'_PM, Cb_PM, and Cr_PM is a function of all three values ​​Y', Cb, and Cr of the input pixel. Similarly, Figures 8A and 8B show encoding and decoding systems 800 and 820 that are the same as the systems 600 and 620 shown in Figures 6A and 6B, except that the parametric tone mapping blocks 602 and 622 in Figures 6A and 6B are replaced by 3x1D look-up tables (LUTs) 802 and 822 in Figures 8A and 8B. Also, in Figure 8A, the color downsampling 214 occurs immediately after the color transform 206, whereas in Figure 8B, the color upsampling occurs just before the inverse color transform 232. Thus, in these systems, tone mapping and inverse tone mapping are applied to video data in 4:2:0 format. In the three 1D tone maps shown in Figures 8A and 8B, each transformed output value is a function only of its untransformed input value: Y'_PM=f(Y'), Cb_PM=g(Cb), Cr_PM=h(Cr).

[0049] As discussed above with reference to Figure 2A, the transfer function applied by block 204 compresses the video data to make it more suitable for encoding. This transfer function may be a gamma compression function, such as the graph shown in Figure 9, which converts XYZ or LMS input data into X'Y'Z' or L'M'S' data ranging up to 1000 nits and outputs data ranging up to 100 nits. Block 234 reverses this compression and may have a transfer function, such as the graph shown in Figure 10. Such compression transfer functions include the perceptual quantization (PQ) transfer function.

[0050] As a non-limiting example, in some embodiments, the PQ transfer function is a function operating on luminance values ​​L and can be defined as follows:

[0051]

number

[0052] As shown in Figure 11, m 2 By adjusting the value of m, the PQ curve can be adjusted for different luminance values. 2 If is set to less than 78.84375 as shown above (for example, m 2 is set to 62), the PQ value can be increased over part or the entire curve. 2 If is set above 78.84375 (for example, m 2 is set to 160), the PQ value can be reduced over part or the entire curve.

[0053] In some embodiments, block 208 may send metadata describing the transfer function and the image or region of the image to which it has been applied to an associated decoding system, and the decoder may then determine an associated inverse perceptual mapping operation 230 to use in the decoding process. Alternatively, the encoder or transfer function block 208 within the encoder may determine this inverse perceptual mapping operation and send metadata describing the inverse transfer function to the decoder.

[0054] This information may be parameters describing a transfer function or an inverse transfer function, or it may be a table of values ​​describing the transformation, such as a tone map. As mentioned above, the transfer function 208 can take many forms depending on the processing desired for the image sequence, image, or portion of an image. Various non-limiting examples of transfer functions 208 and associated parameters that can be sent to a decoder to derive an inverse coding transfer function 230 are provided below. In these examples, the coding transfer function used in block 208 can be represented as ψ(I)=ν, using the luminance or intensity value I of a color component as input to output a transformed value represented as ν. Similarly, the inverse coding transfer function 230 of the decoder can be represented as ψ -1 quantization level ΔV(ν)=I, which can be transformed back to value I by taking the value ν. The uniform quantization operation 212 of the encoder can be denoted as Q(ν) since it can operate on the transformed ν values ​​produced by the encoding transfer function 208 as modified by the perceptual normalization block 210 or one of the tone maps 602, 702, or 802. The step size between quantization levels used in the uniform quantization operation 212 is expressed as ΔV(ν)=I, which can be transformed back to value I by taking the value ν. step It can be expressed as:

[0055] The effective quantization step size Q(I) of the cascaded adaptive encoding transfer function 208 may be proportional to the slope of the inverse transfer function 230 as follows:

[0056]

number

[0057] The effective quantization step size Q(I) is a function of the related metric, the relative quantization step size Λ step may be included in

[0058]

number

[0059] Similarly, perceptually insignificant or "just noticeable" contrast states are considered acceptable, and Λ 0 In the case prescribed by (I), the following differential equation applies:

[0060]

number

[0061] As a first non-limiting example, the encoding transfer function 208 and the inverse encoding transfer function 230 are expressed as follows, based on a first variant of Weber's law:

[0062]

number

[0063]

number

[0064]

number

[0065]

number

[0066]

number

[0067]

number

[0068]

number

[0069] As a third non-limiting example, the encoding transfer function 208 and the inverse encoding transfer function 230 are expressed as follows, based on a first variant of Stevens' power law:

[0070]

number

[0071]

number

[0072]

number

[0073]

number

[0074] In the exemplary system described above, color transformation operations can include matrix multiplication and offset operations, transfer function operations can be specified as piecewise function operations over a wide range of values, and quantization can be scalar or vector on color components. Exemplary tone mapping includes split gain operations and perceptual correction to achieve desired artistic effects. Perceptual normalization can also include tone mapping operations as well as utilize local intensity and texture masking.

[0075] As shown in Figures 3A and 8A, in the encoding system, color subsampling can be performed immediately after the color space conversion block 206, but the subsequent operations are performed in the 4:2:0 color space. The corresponding decoder operations in Figures 3B and 8B show the corresponding recommended decoding system. Similar color subsampling and color space conversion operations can be performed for other exemplary systems.

[0076] The above example achieves three features. First, referring to the system shown in FIG. 2A, the transfer function block 208 and optional perceptual normalization block 210 perform a perceptual transformation of the image data useful for transmitting HDR and / or WCG data with a bit depth coder and decoder that is otherwise not compatible with HDR and / or WCG data, such as Main10HEVC. The transfer functions implemented by the block 208 may include perceptual quantization functions with adaptive transfer function parameters, Stevens' power law, or Weber's law transfer functions. These transfer functions operate in IPT or YCbCr space, followed by offset and scaling adjustments. The transfer function 208 may also be applied locally, for example at the sub-picture level, by utilizing predefined rules, such as local intensity and texture masking or position-based LUT. The sub-picture partitioning for local parameter adaptation of the transfer function 208 or other transfer functions implemented in the above examples may be explicitly conveyed, for example by sending metadata using the SEI or VUI, or may be implicitly computed from information, such as sample values, available at the decoder.

[0077] Second, any image adaptive changes to accommodate the encoding of HDR and / or WCG data can be incorporated into the reference image of the encoding loop to improve temporal prediction and encoding efficiency.

[0078] Third, if an uncompressed SDR version of the HDR and / or WCG video data is available to the encoder, the application of a full reference tone mapping algorithm can minimize distortion between the uncompressed SDR version and the graduated SDR version. The derived tone mapping parameters can be transmitted as metadata to enable a decoder to synthesize backward-compatible SDR output data. If an uncompressed SDR version is not available to the encoder, artistic modifications can be incorporated into the tone mapping such that the metadata information from the analysis can be used by the decoder to synthesize backward-compatible SDR video data.

[0079] Although the invention has been described in detail above, this is merely intended to teach one of ordinary skill in the art how to make and use the invention, and many other modifications will fall within the scope of the invention as defined in the following claims.

Claims

1. 1. A method for encoding digital video, comprising the steps of: receiving a digital image data set comprising at least one of high dynamic range (HDR) image data and wide color gamut (WCG) image data; - identifying characteristics of a portion of said digital video dataset; determining a perceptual quantization transfer function in accordance with said identified characteristics; applying the perceptual quantization transfer function to the portion of the digital video dataset to generate a perceptually modified portion of the digital video dataset; applying perceptual normalization comprising at least one of a gain factor and an offset to the perceptually modified digital video dataset to generate a perceptually normalized portion of the digital video dataset; encoding the perceptually normalized portion of the digital video dataset to generate a bitstream; transmitting said bitstream and metadata indicative of said perceptual quantization transfer function to a decoder; Including, 13. A method according to claim 12, wherein the digital video dataset processed by the perceptual quantization transfer function is modified prior to encoding of the digital video dataset by applying a tone map to the digital video dataset processed by the perceptual quantization transfer function.

2. The method of claim 1 , wherein the transmitting step comprises transmitting the metadata in the bitstream as supplemental enhancement information (SEI) data.

3. 2. The method of claim 1 , wherein the digital video dataset comprises a series of image frames, and the characteristic identifying step comprises identifying the characteristic of the portion of the digital video dataset selected from the group consisting of a plurality of video frames, a single video frame, and a portion of a single video frame.

4. The encoding step includes: predictively encoding the perceptually normalized portion of the digital video dataset based on one or more reference frames; regenerating the perceptually normalized portion of the digital video dataset; and applying inverse perceptual normalization to the perceptually normalized portion of the digital video dataset to regenerate the digital video dataset comprising at least one of HDR and WCG image data; applying the perceptual quantization transfer function to the portion of the digital video dataset to recreate the perceptually modified portion of the digital video dataset as part of another reference frame used in predictive coding of another digital video dataset; The method of claim 1 , comprising:

5. transforming the portion of the digital video dataset from an input color space to an intermediate color space to generate intermediate color transformed image data and generating metadata identifying the input color space, the intermediate color space, and the portion of the digital video dataset; applying a compression transfer function to the intermediate color transformed image data to generate compressed image data and generating metadata characterizing the compression transfer function and identifying the portion of the digital image data set; transforming the compressed image data from the intermediate color space to a final color space to generate final color transformed image data and generating metadata identifying the intermediate color space, the final color space, and the portion of the digital image data set; generating combined metadata by combining the metadata identifying the input color space and the intermediate color space, the metadata characterizing the compression transfer function, and the metadata identifying the final color space with the metadata indicative of the modification of the perceptual quantization transfer function; Further comprising: the portion of the digital image data set to which the perceptual quantization transfer function is applied comprises the final color transformed image data; The method of claim 1 , wherein the transmitting step transmits the bitstream and the combined metadata to the decoder.

6. 6. The method of claim 5, further comprising the step of performing a color downsampling operation on said final color transformed image data prior to applying said perceptual quantization transfer function to said final color transformed image data.

7. The method of claim 5 , further comprising the step of performing color downsampling on the processed portion of the digital video data set prior to encoding the processed portion of the digital video data set.

8. processing the portion of the digital image data set to generate a tone map that converts the digital image data set into image data consistent with standard dynamic range (SDR) image data; combining the data representing the tone map with the metadata to generate combined metadata; Further comprising: The method of claim 1 , wherein the transmitting step transmits the bitstream and the combined metadata to the decoder.

9. 1. A digital video encoding system for encoding a digital video data set including at least one of high dynamic range (HDR) video data and wide color gamut (WCG) video data, comprising: identifying a characteristic of a portion of the digital video dataset; determining a perceptual quantization transfer function in accordance with said identified characteristics; applying the perceptual quantization transfer function to the portion of the digital video dataset to generate a perceptually modified portion of the digital video dataset; applying perceptual normalization comprising at least one of a gain factor and an offset to the perceptually modified portion of the digital video dataset to generate a perceptually normalized portion of the digital video dataset; an encoder for encoding the perceptually normalized portion of the digital video dataset to generate a bitstream; a transmitter for transmitting the bitstream and metadata indicative of a modification of the perceptual quantization transfer function to a decoder; Including, 13. A digital video encoding system comprising: a digital video data set that has been processed by the perceptual quantization transfer function, the digital video data set that has been processed by the perceptual quantization transfer function being modified prior to encoding the digital video data set by applying a tone map to the digital video data set that has been processed by the perceptual quantization transfer function.

10. 10. The digital video encoding system of claim 9, wherein the encoder is a Main10 High Efficiency Video Coding (HEVC) encoder, and the digital video encoding system formats the metadata in the bitstream as supplemental enhancement information (SEI).

11. 10. The digital video encoding system of claim 9, comprising a perceptual quantization transfer function process configured to identify a characteristic of the portion of the digital video dataset as one of a group consisting of a plurality of video frames, a single video frame, and a portion of a single video frame.

12. The encoder comprises: predictively encoding the perceptually normalized portion of the digital video dataset using one or more reference frames; regenerating the perceptually normalized portion of the digital video dataset; applying inverse perceptual normalization to the perceptually normalized portion of the digital video dataset to regenerate the digital video dataset comprising at least one of HDR and WCG image data; applying the perceptual quantization transfer function to the portion of the digital video dataset to recreate the perceptually modified portion of the digital video dataset as part of another reference frame that is used by the encoder for predictive coding of another digital video dataset.

10. The digital video encoding system of claim 9, configured to:

13. an intermediate color transformation process configured to transform the portion of the digital video dataset from an input color space to an intermediate color space to generate intermediate color transformed image data and to generate metadata identifying the input color space, the intermediate color space, and the portion of the digital video dataset; a compression transfer function process configured to apply a compression transfer function to the intermediate color transformed image data to generate compressed image data and to generate metadata characterizing the compression transfer function and identifying the portion of the digital image data set; a final color transformation process configured to transform the compressed image data from the intermediate color space to a final color space to generate final color transformed image data and to generate metadata identifying the intermediate color space, the final color space, and the portion of the digital image data set; Further comprising: the encoder is configured to generate combined metadata by combining the metadata identifying the input color space and the intermediate color space, the metadata characterizing the compression transfer function, and the metadata identifying the final color space with the metadata indicative of the modification of the perceptual quantization transfer function; the portion of the digital image data set to which the perceptual quantization transfer function is applied comprises the final color transformed image data; The digital video encoding system of claim 9 , wherein the transmitting comprises transmitting the bitstream and the combined metadata to the decoder.

Citation Information

Patent Citations

  • Broadcasting signal transmitting / receiving method and apparatus for providing hdr broadcasting service

    JP2016541140A

  • Broadcast signal transmission method and apparatus for providing HDR broadcast service

    WO2015072754A1