Multi-step display mapping and metadata reconstruction for HDR video
The multi-step dynamic range conversion and display management method addresses playback constraints by generating a base layer and applying reconstruction metadata, enabling efficient HDR image rendering on diverse displays with reduced processing complexity and power consumption.
Patent Information
- Application Number
- JP2024519016
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2022-03-03
- Filing Date
- 2022-09-28
- Publication Date
- 2024-09-12
- Estimated Expiration
- 2042-09-28
Smart Images

Figure 2024533753000001
Abstract
Description
[Technical field]
[0001] [Related Applications] This application claims the benefit of priority to U.S. Provisional Patent Application No. 62 / 249,183, filed September 28, 2021, European Patent Application No. 21210178.6, filed November 24, 2021, and U.S. Provisional Patent Application No. 63 / 316,099, filed March 3, 2022, each of which is incorporated by reference in its entirety.
[0002] [Technical field] The present invention relates generally to images, and more particularly to dynamic range conversion and display mapping of high dynamic range (HDR) images. [Background technology]
[0003] As used herein, the term "dynamic range (DR)" may relate to the ability of the human visual system (HVS) to perceive a range of intensities (e.g., luminance, luma) in an image, e.g., from darkest gray (black) to brightest white (highlight). In this scene, DR relates to "scene-referred" intensity. DR may also relate to the ability of a display device to properly or approximately render an intensity range of a particular width. In this scene, DR relates to "display-referred" intensity. At any point in the description herein, unless it is explicitly specified that a particular scene has a particular importance, it should be presumed that the terms may be used synonymously for either scene, e.g.,
[0004] As used herein, the term "high dynamic range (HDR)" refers to a DR width that spans approximately 14-15 times the magnitude of the human visual system (HVS) or greater. In fact, the DR that humans can simultaneously perceive in a wide range of intensity ranges may be omitted in some manner in relation to HDR. As used herein, the terms "enhanced dynamic range (EDR)" or "visual dynamic range (VDR)" refer individually or synonymously to the DR perceivable in a scene or image by the human visual system (HVS), including eye movements, allowing any light adaptation to change across the scene or image.
[0005] In practice, an image includes one or more color components (e.g., luma Y and chroma Cb and Cr), with each color component represented with n bits of precision per pixel (e.g., n=8). For example, using gamma luminance coding, an image with n≦8 (e.g., a color 24-bit JPEG image) may be considered to be a standard dynamic range image, while an image with n≧10 may be considered to be an extended dynamic range image. EDR and HDR images may be stored and distributed using high-definition (e.g., 16-bit) floating-point formats such as the OpenEXR file format developed by Industrial Light and Magic.
[0006] As used herein, the term "metadata" refers to any auxiliary information transmitted as part of a coded bitstream that assists a decoder to render a decoded image. Such metadata may include, but is not limited to, minimum, average, and maximum luminance within an image, color space or gamut information, reference display parameters, and auxiliary signal parameters, as described herein.
[0007] Most consumer desktop displays currently range from 200 to 300 cd / m 2 or nits of brightness. Most consumer HDTVs are in the 300-500 nits range, with newer models capable of 1000 nits (cd / m 2 ). Such conventional displays exhibit lower dynamic range (LDR) characteristics, also referred to as standard dynamic range (SDR) as opposed to HDR or EDR. As the availability of HDR content increases due to advances in both capture devices (e.g., cameras) and HDR displays (e.g., Dolby Laboratories' PRM-4200 Professional Reference Monitor), HDR content may be color graded and displayed on HDR displays that support a higher dynamic range (e.g., 1000 nits to 5000 nits or higher). In general, but not by way of limitation, the methods of the present disclosure relate to higher dynamic range than SDR.
[0008] As used herein, the term "display management" refers to processing performed at a receiver to render an image for a target display. For example, such processing may include, but is not limited to, tone mapping, color gamut mapping, color management, frame rate conversion, etc.
[0009] High Dynamic Range (HDR) content generation and playback is now widespread, as HDR technology offers more realistic and lifelike images than previous formats. However, HDR playback may be constrained by backward compatibility requirements or limited computing power. As the inventors recognize, improved techniques for display management of images and videos on HDR displays are being developed to improve upon existing display schemes.
[0010] The approaches described in this section are approaches that could be pursued, but not necessarily approaches that have been previously conceived or pursued. Thus, unless otherwise noted, 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, problems identified with one or more approaches should not be assumed to have been recognized in any prior art under this section unless specifically indicated. [Brief description of the drawings]
[0011] Embodiments of the present invention are illustrated by way of example, and not by way of limitation, in the accompanying drawings, in which like reference symbols represent similar elements and in which:
[0012] [Figure 1] 1 illustrates an example process for a video delivery pipeline.
[0013] [Figure 2A] 4 illustrates an exemplary process for multi-stage display mapping according to an embodiment of the present invention.
[0014] [Figure 2B] 4 illustrates an exemplary process for generating a bitstream that supports multi-stage display mapping according to an embodiment of the present invention.
[0015] [Figure 3A] 13 illustrates an example of a tone mapping curve for generating reconstruction metadata in multi-stage display mapping according to an embodiment of the present invention. [Figure 3B] 13 illustrates an example of a tone mapping curve for generating reconstruction metadata in multi-stage display mapping according to an embodiment of the present invention. [Figure 3C] 13 illustrates an example of a tone mapping curve for generating reconstruction metadata in multi-stage display mapping according to an embodiment of the present invention. [Figure 3D]13 illustrates an example of a tone mapping curve for generating reconstruction metadata in multi-stage display mapping according to an embodiment of the present invention.
[0016] [Figure 4] 4 illustrates an exemplary process for metadata reconstruction in accordance with an exemplary embodiment of the present invention.
[0017] [Figure 5A] 13 shows an example of tone mapping without "up-mapping" according to one embodiment. [Figure 5B] 13 shows an example of tone mapping after using "up-mapping" according to one embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0018] Described herein is a method for multi-step dynamic range conversion and display management for HDR images and videos. Throughout the following detailed description, for 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 some of these specific details. In other instances, well-known structures and devices have not been described in exhaustive detail in order to avoid occluding, obscuring, or obscuring the present invention.
[0019] <Summary> Exemplary embodiments described herein relate to a method for multi-step dynamic range conversion and display management of an image on an HDR display. In one embodiment, a processor includes: receiving input metadata (204) for an input image of a first dynamic range; accessing a base layer image (212) of a second dynamic range, said base layer image being generated based on said input image; accessing base layer parameters (208) that define the second dynamic range; accessing display parameters (230) for a target display having a target dynamic range; generating reconstruction metadata based on the input metadata, the base layer parameters, and the display parameters; generating an output mapping curve based on the reconstruction metadata and the display parameters to map the base layer image to the target display; The output mapping curve is used to map the base layer image to the target display in the target dynamic range.
[0020] In a second embodiment, the processor receiving an input image (202) having a first dynamic range; accessing input metadata (204) of the input image; accessing base layer parameters (208) that determine a second dynamic range; generating a base layer image of the second dynamic range based on the input image, the base layer parameters, and the input metadata; accessing display parameters (240) for a target display having a target dynamic range; generating reconstruction metadata based on the input metadata, the base layer parameters, and the display parameters; An output bitstream is generated that includes the base layer image and the reconstruction metadata.
[0021] Multi-step image mapping and display management Video Coding Pipeline 1 illustrates an exemplary process of a conventional video distribution pipeline 100 showing various stages from video capture to displaying video content. A sequence of video frames (102) are captured or generated using an image generation block (105). The video frames (102) may be digitally captured (e.g., by a digital camera) or computer generated (e.g., using computer animation) to provide video data (107). Alternatively, the video frames 102 may be captured on film by a film camera. The film is converted to a digital format to provide the video data 107. In a production stage 110, the video data 107 is edited to provide a video production stream 112.
[0022] The video data of the production stream (112) is then provided to a processor for post-production editing in block 115. The post-production editing in block (115) may include adjusting or changing the color or brightness of certain areas of the image to improve image quality or achieve a particular look according to the video creator's production intent. This is sometimes called "color timing" or "color grading". Other editing (e.g., scene selection and ordering, image cropping, adding computer-generated visual special effects, jitter, etc.) may be performed in block (115) to generate a final version of the production (117) for distribution. During post-production editing (115), the video image is displayed on a reference display (125).
[0023] Following post-production (115), the final production video data (117) may be delivered to a coding block (120) for downstream delivery to decoding and playback devices such as television sets, set-top boxes, movie theaters, etc. In some embodiments, the coding block (120) may include audio and video encoders, such as those defined by ATSC, DVB, DVD, Blu-Ray, and other distribution formats, to generate a coded bitstream (122). At the receiver, the coded bitstream (122) is decoded by a decoding unit (130) to generate a decoded signal (132) that represents the same as the signal (117) or a very close approximation of it. The receiver may be attached to a target display (140), which may have characteristics quite different from the reference display (125). In that case, a display management block (135) may be used to map the dynamic range of the decoded signal (132) to the characteristics of the target display (140) by generating a display mapped signal (137). Non-limiting examples of display management processes are described in references [1] and [2].
[0024] Single-step and multi-step display mapping In traditional display mapping (DM), the mapping algorithm applies a sigmoid-like function (see, for example, references [3] and [4]) to map the input dynamic range to the dynamic range of the target display. Such mapping functions can be expressed as piecewise linear or nonlinear polynomials characterized by anchor points, pivots, and other polynomial parameters that are generated using the characteristics of the input source and the target display. For example, in references [3-4], the mapping function uses anchor points based on the luminance characteristics of the input image and the display (e.g., minimum, mean (average), and maximum luminance). However, other mapping functions can use different statistics, such as luminance variance or luminance standard deviation at the block level or across the entire image. For SDR images, this process may also be aided by additional metadata that is transmitted as part of the transmitted video or calculated by the decoder or display. For example, if a content provider has both SDR and HDR versions of source content, the source can use both versions to generate metadata (such as piecewise linear approximations of forward or reverse reshape functions) to assist the decoder in converting the incoming SDR image into an HDR image.
[0025] In a typical workflow for HDR data transmission such as DolbyVision®, display mapping (135) can be considered as a single step process performed at the end of the processing pipeline before the image is displayed on the target display (140). However, it may be necessary or beneficial to perform this mapping in two (or more) processing steps. For example, a DolbyVision (or other HDR format) transmission profile may use a base layer of HDR10 coded video at 1000 nits to support television sets that do not support DolbyVision but do support the HDR10 format. A typical workflow process would then include the following steps: 1) Map the input image or video from the original HDR master to a base layer (e.g., 1000 nits, ITU-R Rec.2020) using DolbyVision or other format. 2) Compute static or dynamic composer metadata that reconstructs the original HDR master image from the mapped base layers. 3) Encode the mapped base layer, embedding the original HDR metadata (e.g., minimum, mid and maximum luminance values) and send it downstream to the decoding device along with the composer metadata. 4) At playback time, decode the coded bitstream and a) apply the composer metadata to the base layer to reconstruct the original HDR image from the base layer, and b) map the reconstructed image to the target display using the original HDR metadata (same as single-step mapping).
[0026] This workflow has the drawback that two image processing operations are required during playback: a) compositing (or prediction) to reconstruct the HDR input, and b) display mapping to map the HDR input to the destination display. In some devices, it may be desirable to perform only a single mapping operation by bypassing the composer, which requires less power consumption and / or simplifies implementation and processing complexity. In an exemplary embodiment, an alternative multi-stage workflow is described that allows a first mapping to a base layer, followed by a second mapping from the base layer directly to the destination display, by bypassing the composer. This approach can be further extended to include subsequent steps of mapping to additional displays or bitstreams.
[0027] 2A illustrates an exemplary process for multi-stage display mapping. The dotted lines and the Display Mapping (DM) unit 205 illustrate a conventional single-stage mapping. In this example, but not by way of limitation, an input image (202) and its metadata (204) need to be mapped to a target display (225) at 300 nits and P3 color gamut. The characteristics (230) of the target display (e.g., minimum and maximum luminance and color gamut) are provided to the Display Mapping (DM) process (205) along with the input (202) and its metadata (e.g., minimum luminance, mid-luminance, maximum luminance) (204), which maps the input to the dynamic range of the target display (225).
[0028] The solid lines and shaded blocks indicate multi-stage mapping. The input image (202), input metadata (204), and parameters related to the base layer (208) are fed to a display mapping unit (210) to generate a mapped base layer (212) (e.g., from the input dynamic range to 1000 nits in Rec. 2020). This step can be performed in the encoder (not shown). During playback, a new processing block, the metadata reconstruction unit (215), uses the target display parameters (230), the base layer parameters (208), and the input image metadata (204) to adjust the input image metadata to generate reconstructed metadata (217) such that the subsequent mapping (220) of the mapped base layer (212) to the target display (225) is visually identical to the result of a single-stage mapping (205) to the same display.
[0029] For existing (legacy) content, including the base layer and the original HDR metadata, a metadata reconstruction block (215) is applied during playback. In some cases, the base layer target information (208) is not available and can be estimated based on other information (e.g., in DolbyVision, using profile information (Profile 8.4, 8.1, etc.)). It is also possible that the mapped base layer (212) is identical to the original HDR master (e.g., 202), in which case metadata reconstruction can be skipped.
[0030] In some embodiments, metadata reconstruction (215) can be applied on the encoder side. For example, due to limited power or computational resources in mobile devices (e.g., phones, tablets, etc.), it may be desirable to pre-compute the reconstructed metadata to save power in the decoder device. This new metadata can be transmitted in addition to the original HDR metadata, in which case the decoder can simply use the reconstructed metadata and skip the reconstruction block. Alternatively, the reconstructed metadata can replace part of the original HDR metadata.
[0031] 2B shows an example of a process for reconstructing metadata in an encoder to prepare a bitstream suitable for multi-step display mapping. If the encoder is unlikely to know the characteristics of the target display, metadata reconstruction can be applied based on the characteristics of multiple potential displays, e.g., 100 nits, Rec. 709 (240-1), 400 nits, P3 (240-2), 600 nits, P3 (240-3), etc. The base layer (212) is constructed as described above, but now the metadata reconstruction process takes into account multiple target displays in order to obtain an accurate match for a wide variety of displays. The final output (250) combines the base layer (212), the reconstructed metadata (217), and portions of the original metadata (204) that are not affected by the metadata reconstruction process.
[0032] Restructuring Metadata During metadata reconstruction, a portion of the original input metadata (for the input image in the input dynamic range) is combined with information about the characteristics of the base layer (available in the intermediate dynamic range) and the target display (for displaying the image in the target dynamic range) to generate reconstructed metadata for the two-stage (or multi-stage) display mapping. In one embodiment, the metadata reconstruction is performed in four steps:
[0033] Step 1: Single-step mapping As used herein, the term "L1 metadata" refers to the minimum, mean, and maximum luminance values associated with an input frame or image. L1 metadata can be calculated by converting RGB data to luma-chroma format (e.g., YCbCr) and calculating the minimum, mean (average), and maximum values in the Y plane, or can be calculated directly in RGB space. For example, in one embodiment, L1Min refers to the minimum of the PQ-encoded min(RGB) values of the image while taking into account active areas (e.g., by excluding gray or black bars, letterbox bars, etc.). min(RGB) refers to the minimum of the color component values {R, G, B} of a pixel. The values of L1Mid and L1Max can also be calculated in the same manner by replacing the min() function with average() and max() functions. For example, L1Mid refers to the average of the PQ-encoded max(RGB) values of the image, and L1Max refers to the maximum of the PQ-encoded max(RGB) values of the image. In some embodiments, the L1 metadata can be normalized to [0, 1].
[0034] Consider the L1Min, L1Mid and L1Max values of the original HDR metadata, as well as the maximum (peak) and minimum (black) luminance of the target display, denoted as Tmax and Tmin. Then, as described in references [3-4], a mapping curve for intensity tone mapping can be generated that maps the intensity of the input image to the dynamic range of the target display. An example of such a curve (305) is shown in FIG. 3A. This can be considered as an ideal single-stage tone mapping curve that is matched using the reconstruction metadata. This direct tone mapping curve is used to map the L1Min, L1Mid and L1Max values to the corresponding TMin, TMid and TMax values. In FIG. 3A-3D, all input and output values are shown in the PQ domain using SMPTE ST2084. All other calculated metadata values (e.g., BLMin, BLMid, BLMax, TMin, TMid, TMax, TMin', TMid', TMax') are also included in the PQ domain.
[0035] Step 2: Mapping to the base layer Consider as input the L1Min, L1Mid, and L1Max values of the original HDR metadata and the Bmin and Bmax values of the base layer parameters (208) indicating the black level (minimum luminance) and peak luminance of the base layer stream. Again, a first intensity mapping curve can be derived to map the input data to values in the range of Bmin and Bmax. An example of such a curve (310) is shown in Figure 3B. Using this curve, the original L1 values can be mapped to BLMin, BLMid, and BLMax values to be used as the reconstructed L1 metadata for the third step.
[0036] Step 3: Mapping base layers to objectives Take BLMin, BLMid, and BLMax from step 2 as updated L1 metadata and map them to the target display (e.g., Tmin and Tmax) using a second display management curve. Using the second curve, denote the corresponding mapped values of BLMin, BLMid, and BLMax as TMin', TMid', and TMax'. In FIG. 3C, curve (315) shows an example of this mapping. Curve (305) represents a single stage mapping. The goal is to make the two curves match.
[0037] Step 4: Matching single-step and multi-step mappings As used herein, the term "trim" refers to tone curve adjustments performed by a colorist to improve a tone mapping operation. Trims are typically applied to the SDR range (e.g., maximum luminance 100 nit, minimum luminance 0.005 nit). These values are linearly interpolated to the target luminance range depending on the maximum luminance only. These values modify the default tone curve and are present in all trims.
[0038] Information about the trim may be part of the HDR metadata and may be used to adjust the tone mapping curve generated in steps 1-2 (see references [1-4] and equations (4-8) below). For example, in DolbyVision, the trim may be passed as Level 2 (L2) or Level 8 (L8) metadata that includes Slope, Offset, and Power variables (collectively called SOP parameters) that represent gain and gamma values to adjust the pixel values. For example, if Slope, Offset, and Power are [-0.5, 0.5], then for a given Gain and Gamma,
number
[0039] In one embodiment, it may be necessary to use the trim-related reconstruction metadata to match the two mapping curves. To match [TMin', TMid' and TMax'] from step 3 with [TMin, TMid, TMax] from step 1, generate values for Slope, Offset, Power, and TMidContrast, which are used as the new (reconstructed) trim metadata (e.g., L8 and / or L2) in the reconstruction metadata.
[0040] Slope, Offset, and Power Calculations: The purpose of the Power and TMidContrast calculations is to match [TMin', TMid' and TMax'] from step 2 with [TMin, TMid, TMax] from step 1. These are related to each other by the following formula:
number
number
number
number
[0041] Taking into account the generated tone curve y(x) according to the input metadata and the Tmin and Tmax values (e.g., ref. [4]), TMidContrast then updates the slopeMid of the center (see, e.g., point (L1Mid, TMid) (307) in Figure 3A) as follows:
number
number
[0042] In some embodiments, the Slope, Offset, and Power can be applied in a normalized space. This has the advantage of reducing the chance of clipping when applying the Power term. In this case, before applying the Slope, Offset, and Power, a normalization is performed as follows:
number
number
[0043] TmaxPQ and TminPQ denote PQ coded luminance values corresponding to linear luminance values Tmax and Tmin converted to PQ luminance using SMPTE ST2084. According to an embodiment, TmaxPQ and TminPQ are in the range of [0,1], which is expressed as [0~4095] / 4095. In this case, normalization of [TMin, TMid, TMax] and [TMin', TMid', TMax'] is performed before step 1 of calculating slope, offset, and power. Then, in step 3, TMidContrast (see equation (3)) is scaled by (TmaxPQ-TminPQ) as follows:
number
[0044] Figure 4 shows an example process and the steps described above that summarize the metadata reconstruction process (215) according to one embodiment. As shown in Figure 4, the inputs to the process are input metadata (204), base layer characteristics (208), and target display characteristics (230). Step 405 uses the input metadata and the target display characteristics (e.g., Tmin, Tmax) to generate a direct or single-step mapping tone curve (e.g., 305). This direct mapping curve is used to convert the input luminance metadata (e.g., L1Min, L1Mid, L1Max) to directly mapped metadata (e.g., TMin, TMid, TMax). Step 410 uses the input metadata and the base layer characteristics (e.g., Bmin and Bmax) to generate a first intermediate mapping curve (e.g., 310) that is used to generate a first set of reconstructed intensity metadata (e.g., BLMin, BLMid, BLMax) that correspond to intensity values in the input metadata (e.g., L1Min, L1Mid, L1Max). Step 415 generates a second mapping curve that maps the input with BLMin, BLMid, and BLMax values to the target display (e.g., using Tmin and Tmax). The second tone mapping curve (e.g., 315) can be used to map the first set of reconstructed metadata values (e.g., BLMin, BLMid, BLMax) generated in step 410 to mapped reconstructed metadata values (e.g., TMin', TMid', TMax'). Step 420 generates some additional reconstruction metadata (e.g., SOP parameters Slope, Offset, and Power) that are used to adjust the second tone mapping curve. This step requires solving at least three simultaneous equations with three unknowns, Slope, Offset, and Power, using the direct mapped metadata values (TMin, TMid, TMax) and the corresponding mapped reconstruction metadata values (TMin', TMid', and TMax'). Step 425 uses the SOP parameters, the direct mapping curve, and the second mapping curve to generate a slope adjustment parameter (TMidContrast) for further adjusting the second mapping curve. The output reconstruction metadata (212) includes reconstruction luminance metadata (e.g., BLMin, BLMid, BLMax) and reconstruction or new trim path metadata (e.g., TMidContrast, Slope, Power, Offset), which can be used by the decoder to adjust the second mapping curve and generate an output mapping curve for mapping the base layer image to the target display.
[0045] Returning to FIG. 2A, the display mapping process 220 includes: a) generating a tone mapping curve (y(x)) that maps the intensity of the base layer having reconstructed metadata values BLMin, BLMid, and BLMax to Tmin and Tmax values of a target display (225); b) Update this tone mapping curve using the trim path metadata (e.g., TMidContrast, Slope, Power, Offset) as described above (see, e.g., equation (4-8)).
[0046] In one embodiment, a tone curve may be generated using sampling points different than L1Min, L1Mid, and L1Max. For example, since only a small number of luminance range points are sampled, choosing a curve point closer to the middle may improve the overall curve match. In another embodiment, the entire curve may be considered during optimization rather than just three points. Furthermore, if the difference between TMid and TMid' is very small, improvements may be made by allowing a solution with a smaller tolerance of accuracy. For example, allowing a smaller tolerance between points (e.g. 1 / 720) rather than resolving the points exactly may result in less trimming and an overall better curve match.
[0047] As described in step 1, the tone map intensity curve is the display management tone curve. It is recommended that this curve be as close as possible to the curve used in both the base layer generation and the target display. The version or design of the curve may therefore vary depending on the content or the type of playback device. For example, a curve generated according to [4] may not be supported by older legacy devices that only know to construct curves according to [3]. Since not all DM curves are supported by all playback devices, the curve used when calculating the tone map intensity should be selected based on the content type and characteristics of the specific playback device. In cases where the exact playback device is unknown (such as when metadata reconstruction is applied in the encoding), the closest curve is selected, but the resulting image may deviate significantly from Single Step Mapping.
[0048] Metadata adjustments to global dimming metadata As used herein, the term "L4 metadata" or "Level 4 metadata" refers to signal metadata that may be used to adjust global dimming parameters. In one embodiment of DolbyVision processing, without limitation, the L4 metadata includes two parameters, FilteredFrameMean and FilteredFramePower, defined as follows:
[0049] FilteredFrameMean (or mean_max for short) is calculated as the temporally filtered mean power of frame maximum luminance values (e.g., PQ-encoded maximum RGB values of each frame). In one embodiment, this temporal filtering is reset at scene cuts if such information is available. FilteredFramePower (or std_max for short) is calculated as the temporally filtered standard deviation power of frame maximum luminance values (e.g., PQ-encoded maximum RGB values of each frame). Both values can be normalized to 0001. These values represent the mean and standard deviation of maximum luminance of the image sequence over time and are used to adjust global dimming when displayed. It is desirable to identify a mapping reconfiguration for the L4 metadata as well to improve the display output.
[0050] In one embodiment, the mapping of std_max values follows a model characterized by the following:
number
[0051] In one embodiment, when Smax=Dmax (e.g., y=1), the standard deviation value should remain the same, so z=x. By substituting these values into equation (9), d=1-b and a=-c are derived, and equation (9) can be rewritten as follows:
number
[0052] In one embodiment, parameters a and b in equation (10) were derived by applying display mapping to 260 images with a maximum luminance of 4000 nits, ranging from 1000, 245, and 100 nits. This mapping provided 780 (Smax, Dmax, std_max) data points to fit a curve to obtain the output model parameters.
number
[0053] Using single point approximations for a and b, equation (10) can be rewritten as:
number
[0054] Equation (11) expresses a simple relationship regarding how to map L4 metadata, specifically the std_max value. Beyond the mapping described by equations (10) and (11), the properties of equation (11) can be generalized as follows: L4 metadata remapping is linearly proportional, e.g. an image with a higher original std_max value will be remapped to an image with a higher remapped map_std_max value. The ratio of Smax / Dmax reduces the map_std_max value, but at a very slow pace. Thus, an image with a high original std_max value will still be remapped to an image with a relatively high remapped map_std_max value. For example, if Smax / Dmax=1.6, then map_std_max=0.7std_max. If Smax / Dmax=1, no remapping is performed.
[0055] Remapping if Tmax>Smax Let Smax denote the maximum luminance of the reference display. During the direct mapping in step 1, cases where Tmax>Smax are allowed, i.e. the target display can have a higher luminance than the reference display, typically applying a direct one-to-one mapping and no metadata adjustments are made. Such a one-to-one mapping is illustrated in FIG. 5A. In one embodiment, a special "up-mapping" step can be used to improve the appearance of the displayed image by allowing mapping of image data up to the Tmax value. This up-mapping step can also be guided by the input trim (L8) metadata.
[0056] In one embodiment, the up-mapping is performed as part of step 1 above. For example, consider the case of Smax=2000 nits and Tmax=9000 nits. Consider a base layer (Bmax) of 600 nits. Assuming there is no trim to guide the upmapping, FIG. 5B shows an example of upmapping where input (X) PQ values [0.0151, 0.3345, 0.8274] are mapped to output (Y) PQ values [0.0151, 0.3507, 0.9889], with X=Y=1 corresponding to 10000 nits. Input X=0.8274 corresponds to Smax=2000 nits and is mapped to Y=0.9889, which corresponds to 9000 nits. Similarly, X=Smid=0.3345 is mapped to Tmid=0.3507, which represents an increase of about 5% of the original Smid value, and X=0.0151 is mapped to Y=0.0151 using a direct one-to-one mapping. Therefore, in the absence of additional metadata or guide information, when Tmax>Smax, the following anchor points can be used to construct the tone mapping curve: Map Smin (the minimum luminance of the source display) to Tmin. Maps Smid (the estimated average luminance of the source display) to Tmid=Smid+c*Smid, where c is in the range [0, 0.1]. Map Smax to Tmax.
[0057] In another embodiment, if the original metadata includes trims (e.g., L8 metadata) specified for a target display that has a maximum luminance greater than the Smax value, then the up-mapping is guided by these trim metadata. For example, consider an Xref[i] luminance point for which a Yref[i] trim is defined. For example,
number
number
[0058] For example, with a trim target of 3000 nits, consider an incoming video source with the following L8 trim: Slope=0.1, Offset=-0.07, Power=0.03 If Smax=2.000 nits, the above trims can be extrapolated linearly to obtain a trim with a target of 9000 nits. Trim extrapolation is done for all trims in L8. The extrapolated trims can be used as part of the direct mapping step in step 1. For example, for the Slope trim value,
number
number
[0059] <Exemplary computer system implementation> Embodiments of the invention may be implemented by a computer system, a system configured in electronic circuits and components, an integrated circuit (IC) device such as a microcontroller, a field programmable gate array (FPGA) or other configurable or programmable logic device (PLD), a discrete time or digital signal processor (DSP), an application specific IC (ASIC), and / or an apparatus including one or more of such systems, devices, or components. The computer and / or IC may execute, control, or perform instructions related to image transformation as described herein. The computer and / or IC may calculate any of the various parameters or values related to the multi-step display mapping process described herein. Image and video embodiments may be implemented in hardware, software, firmware, and various combinations thereof.
[0060] A particular implementation of the present invention includes a computer processor executing software instructions that cause the processor to perform the method of the present invention. For example, one or more processors in a display, an encoder, a set-top box, a transcoder, etc. may perform the method related to multi-step display mapping described above by executing software instructions in a program memory accessible to the processor. The present invention may be provided in the form of a program product. The program product may include any tangible non-transitory medium that carries a set of computer-readable signals that include instructions that, when executed by a data processor, cause the data processor to perform the method of the present invention. A program product according to the present invention may be in any of a variety of tangible forms. The program product may include physical media such as, for example, magnetic data storage media including floppy disks, hard disk drives, optical data storage media including CD-ROMs, DVDs, electronic data storage media including ROMs, flash RAMs, etc. The computer-readable signals on the program product may be optically compressed or encrypted.
[0061] Although components (e.g., software modules, processors, components, devices, circuits, etc.) have been referred to above, unless otherwise indicated, references to those components (including references to "means") should be interpreted to include equivalents of those components, any components that perform the functions of the described components (e.g., are functionally equivalent), and components that are not structurally equivalent to the disclosed structures that perform the functions in the illustrated exemplary embodiments of the present invention.
[0062] <Equivalents, Extensions, Alternatives and Miscellaneous> Exemplary embodiments related to multi-stage display mapping are described. In the foregoing specification, embodiments of the invention have been described with reference to numerous specific details that may vary from implementation to implementation. Thus, the sole and exclusive indication of what the invention is, and what the applicant intends to be the invention, is set forth in the claims issued in a particular form hereby, including any subsequent amendments. Any definitions expressly set forth herein for terms contained in such claims shall govern the meaning of such terms as used in the claims. Thus, any limitations, elements, features, advantages, or attributes not expressly set forth in the claims should not limit the scope of the claims in any manner. The specification and drawings should therefore be considered in an illustrative, rather than restrictive, sense.
Claims
1. 1. A method for multi-step display mapping, comprising: accessing input metadata for an input image of a first dynamic range; accessing a base layer image of a second dynamic range, the base layer image having been generated based on the input image; accessing base layer parameters that define the second dynamic range; accessing display parameters for a target display having a target dynamic range; generating reconstruction metadata based on the input metadata, the base layer parameters, and the display parameters; generating an output mapping curve based on the reconstruction metadata and the display parameters to map the base layer image to the target display; mapping the base layer image to the target display in the target dynamic range using the output mapping curve; The method includes:
2. 1. A method of multi-step display mapping, comprising: accessing an input image in a first dynamic range; accessing input metadata of the input image; accessing base layer parameters that define a second dynamic range; generating a base layer image of the second dynamic range based on the input image, the base layer parameters, and the input metadata; accessing display parameters for a target display having a target dynamic range; generating reconstruction metadata based on the input metadata, the base layer parameters, and the display parameters; generating an output bitstream comprising the base layer image and the reconstruction metadata; The method includes:
3. receiving, at a decoder, the base layer image and the reconstruction metadata; generating an output mapping curve based on the reconstruction metadata and the display parameters for mapping the base layer image to the target display; mapping the base layer image to the target display in the target dynamic range using the output mapping curve; The method of claim 1 further comprising:
4. The method of claim 1 , wherein the base layer image has a maximum dynamic range of 1000 nits.
5. The method of claim 1 , wherein the display parameters include a minimum luminance value (Tmin) and a maximum luminance value (Tmax) of the target display.
6. The method of claim 1 , wherein the base layer parameters include a minimum luminance value (Bmin) and a maximum luminance value (Bmax) in the base layer image.
7. The method of claim 1 , wherein the reconstructed metadata includes reconstructed L1 metadata, the reconstructed L1 metadata including a reconstructed minimum (BLMin), a reconstructed mean (BLMid), and a reconstructed maximum (BLMax).
8. The method of claim 7 , wherein the reconstruction metadata further includes Slope, Power, and Offset values.
9. The step of generating reconstruction metadata includes: generating a direct mapping curve based on the input metadata and the display parameters that maps the input image to the target dynamic range; applying the direct mapping curve to luminance values in the input metadata to generate mapped luminance metadata; generating a first mapping curve based on the input metadata and the base layer parameters to map the input image to the base layer image; mapping luminance values in the input metadata to a first set of reconstructed metadata using the first mapping curve; generating a second mapping curve based on the first set of reconstruction metadata and the display parameters, the second mapping curve mapping the base layer image to the target dynamic range; mapping the first set of reconstructed metadata to mapped reconstructed metadata using the second mapping curve; generating a second set of reconstruction metadata, including Slope, Power, and Offset values, based on the mapped luminance metadata and the mapped reconstruction metadata to adjust the second mapping curve; The method of claim 1 , comprising:
10. 10. The method of claim 9, further comprising: generating a slope adjustment value for adjusting the second mapping curve based on the direct mapping curve, the second mapping curve, and the Slope, Power, and Offset values.
11. The Slope, Power, and Offset values are as follows: [0010] where N≧3, TM(i) denotes the mapped luminance metadata, and TM′(i) denotes the mapped reconstruction metadata.
12. 12. The method of claim 11, wherein the TM(i) values include minimum (TMin), mean (TMid), and maximum (TMax) luminance values that correspond to values mapped using the direct mapping curve of minimum, mean, and maximum luminance values in the input image.
13. generating the direct mapping curve if Tmax is greater than Smax, where Tmax represents a maximum luminance value of the target display and Smax represents a maximum luminance value of a reference display; If the input metadata does not include trim metadata, mapping a minimum luminance Smin of a reference display to a minimum luminance Tmin of the target display; mapping the average luminance of the reference display, Smid, to Tmid=Smid+c*Smid, where c is between 0 and 0.2, and Tmid represents the average luminance of the target display; mapping Smax to Tmax; Including, In other cases, Given the Xref[x1, x2] luminance point and the corresponding trim metadata Yref[y1, y2] value, [0025] generating an extrapolated trimmed Yout value for luminance point Xin by calculating 10. The method of claim 9, comprising:
14. The input metadata includes global dimming metadata, and given an input global dimming metadata value x, generating a reconstructed dimming metadata value z comprises the following formula: [0030] 2. The method of claim 1, further comprising the step of: calculating: y = y ≠ 0, where a and b are constants and y denotes a ratio of a maximum luminance of the input image to a maximum luminance value of the target display. 【Request 15】 【Number 4】 15. The method of claim 14, wherein, for an input video sequence containing the input image, x denotes a time-varying mean or standard deviation of maximum luminance values in the input video sequence.
16. Apparatus including a processor and configured to carry out the method according to any one of claims 1 to 15.
17. A non-transitory computer readable storage medium storing computer executable instructions for carrying out, by one or more processors, a method according to any one of claims 1 to 15.
Citation Information
Patent Citations
Image encoding device, image decoding device, image processing device, and control method for the same
JP2015035798A
Efficient End-to-End Single-Layer Inverse Display Management Coding
JP2020524446A
Graphics-safe HDR image luminance re-grading
JP2020532805A
Real-time reshaping of single-layer backwards-compatible codec
US20190222866A1
