Systems and methods for grain-aware video coding and transmission

The grain-aware video encoding and transmission system addresses the challenge of excessive bandwidth consumption by reducing and synthesizing film grain, optimizing bandwidth while maintaining the intended visual quality and artistic intent, thus enhancing user experience.

WO2024214077A1PCT designated stage expired Publication Date: 2024-10-17IMAX CORP

Patent Information

Application Number
PCT/IB2024/053628
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-04-14
Filing Date
2024-04-12
Publication Date
2024-10-17

AI Technical Summary

Technical Problem

Standard video encoders treat film grain as regular noise, leading to excessive bandwidth consumption and perceptually annoying artifacts, degrading the quality of experience for end users, especially when dealing with video content that intentionally includes film grain as part of its artistic intent.

Method used

A system and method for grain-aware video encoding and transmission that determines grain model parameters, reduces grain before encoding, uses grain-aware encoding and rate control, streams and decodes the video, and synthesizes grain after decoding to maintain the intended visual quality while reducing bandwidth requirements.

Benefits of technology

This approach optimizes bandwidth usage while preserving the artistic intent of film grain, reducing artifacts and enhancing the perceptual quality of experience for end users by efficiently processing and delivering video content with film grain.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure IB2024053628_17102024_PF_FP_ABST
    Figure IB2024053628_17102024_PF_FP_ABST
Patent Text Reader

Abstract

End-to-end system optimizing grain-aware video encoding and transmission of a video asset is provided. Grain model parameters indicative of aspects of grain that is present in the video asset are determined. Before encoding the video asset, grain reduction of the video asset is performed according to grain reduction parameters indicative of aspects of removal of the grain from the video asset. After the grain reduction, a grain-aware encoding / rate control is used to encode the video asset according to video encoding / rate control parameters. The video asset is streamed and decoded. After the decode, grain synthesis is performed to re-grain the video asset using grain synthesis parameters indicative of properties of the grain to be added to the video asset.
Need to check novelty before this filing date? Find Prior Art

Description

SYSTEMS AND METHODS FOR GRAIN-AWARE VIDEO CODING AND TRANSMISSIONCROSS-REFERENCE TO RELATED APPLICATIONS

[0001] This application claims the benefit of U.S. provisional application Serial No. 63 / 496,082 filed April 14, 2023, the disclosure of which is hereby incorporated in its entirety by reference herein.TECHNICAL FIELD

[0002] Aspects of the disclosure generally relate to grain-aware video coding and transmission, as well as optimization between grain processing and video encoding.BACKGROUND

[0003] Film grain can be specific random noise in the video. Film grain may originate from the analog film acquisition processes, and may also be synthesized purposely and digitally in the content production and post-production pipelines. In both cases, the visual feel of grain may be considered part of the artistic or creative intent of the content producers. Preserving such creative intent in video distribution may be extremely costly for standard video encoders, which treat film grains no differently from other types of noise, and consume an excessively large number of bits to encode the grains.SUMMARY

[0004] In one or more illustrative examples, a method for optimizing grain-aware video encoding and transmission of a video asset includes determining grain model parameters indicative of aspects of grain that is present in the video asset; before encoding the video asset, performing grain reduction of the video asset according to grain reduction parameters indicative of aspects of removal of the grain from the video asset; after the grain reduction,using a grain-aware encoding / rate control to encode the video asset according to video encoding / rate control parameters; streaming and decoding the video asset; and after the decoding, performing grain synthesis to re-grain the video asset using grain synthesis parameters indicative of properties of the grain to be added to the video asset.

[0005] In one or more illustrative examples, an end-to-end system for optimizing grain- aware video encoding and transmission of a video asset includes one or more computing devices, configured to determine grain model parameters indicative of aspects of grain that is present in the video asset; before encoding the video asset, perform grain reduction of the video asset according to grain reduction parameters indicative of aspects of removal of the grain from the video asset; after the grain reduction, use a grain-aware encoding / rate control to encode the video asset according to video encoding / rate control parameters; stream and decode the video asset; and after the decode, perform grain synthesis to re-grain the video asset using grain synthesis parameters indicative of properties of the grain to be added to the video asset.

[0006] The term grain and film grain are used interchangeably and have the same meaning in that both terms are referring to image artifacts that have or are based on the character of film grain. The term grain-aware is used in combination with a number of different operations being carried out in the end-to-end system. Different operations that are labelled as grain aware type operations can refer to the operation being configured to process grain related information or is optimized to process grain related information.BRIEF DESCRIPTION OF THE DRAWINGS

[0007] FIG. 1 A illustrates an example of an end-to-end system for grain-aware video coding and transmission;

[0008] FIG IB illustrates an example of operations within an end-to-end system for grain- aware video coding and transmission;

[0009] FIG. 2 illustrates an example data flow for a process of grain-aware video coding and transmission;

[0010] FIG. 3 illustrates an example data flow for a process of grain and video quality assessment along the grain-aware video coding and transmission;

[0011] FIG. 4 illustrates an example data flow for a process for grain reduction;

[0012] FIG. 5 illustrates an example data flow for a process for grain-aware video encoding and rate control;

[0013] FIG. 6 illustrates an example data flow for a process for grain-aware joint grain reduction and encoding;

[0014] FIG. 7 illustrates an example data flow for a process for grain-aware video streaming and decoding;

[0015] FIG. 8 illustrates an example data flow for a process for grain synthesis (re-grain);

[0016] FIG. 9 illustrates an example data flow for a process for grain-aware rendering and display;

[0017] FIG. 10 illustrates an example data flow for a process for grain-aware video quality assessment, producing grain quality / fidelity measurement, structural fidelity measurement, and overall video quality measurement; and

[0018] FIG. 11 illustrates an example of a computing device for use in the end-to-end system for grain- aware video coding transmission.DETAILED DESCRIPTION

[0019] As required, detailed embodiments of the present invention are disclosed herein; however, it is to be understood that the disclosed embodiments are merely exemplary of the invention that may be embodied in various and alternative forms. The figures are not necessarily to scale; some features may be exaggerated or minimized to show details of particular components. Therefore, specific structural and functional details disclosed herein are not to be interpreted as limiting, but merely as a representative basis for teaching one skilled in the art to variously employ the present invention.

[0020] Aspects of the disclosure generally relate to visual communication applications such as video- on-demand, live video broadcasting, video conferencing, and online video gaming, where video assets containing analog or synthesized film grains are transmitted over communication networks. The existence of film grain noise in the source content demands overly excessive amounts of bandwidth to encode and transmit the video streams; otherwise, perceptually annoying artifacts may appear that significantly degrade the perceptual quality- of-experience (QoE) of end viewers. To solve such issues, the present disclosure relates to systems and methods that perform and optimize one or several steps in the pipeline of grain- aware video transmission, to reduce the bandwidth requirement while maintaining and enhancing the visual QoE of end users.

[0021] Perceptual QoE of digital image content without film grain can relate to the perceptive quality of image object features in the image content, however, image content with film grain has psychovisual perceptual experience that is different than perceptive quality based on just image features. A perceptual experience of an image with grain cannot be described in the same way or with the same parameters or with the same modelling as perceptual experience associated with image features in image content without film grain. Therefore, the perceptual QoE (overall video QoE) of image with film grain is composed of a QoE component that relates to image object features of image content and another component that relates to film grain influence on image content (grain QoE). The quality assessment based on film grain can be different than the quality assessment that is just based on image object features,

[0022] To address issues related to a video asset that is a source video with film grain, the present disclosure relates to systems and methods that perform and optimize one or several steps in the end-to-end system pipeline that is a grain aware video transmission, to reduce bandwidth requirement while delivering image content with synthesized film grain that has a perceptual QoE to the end viewer as intended when an end viewer would see original image content with film grain. Grain aware video transmission refers to a video transmission system configured to optimize processing and delivering a video asset with film grain to an end viewer.

[0023] There has been a tremendous growth in the past decades of video-on-demand, live video broadcasting, video conferencing, and online video gaming services. During the course, numerous studies have shown that consumers have been continuously raising their expectations for better visual QoE, and thus major industry competitors have been striving to maintain and improve viewer QoE in their services and products. Nevertheless, improving viewer QoE often comes with the largely increased bandwidth cost in order to compress the video content to fit the limited network capacity.

[0024] This becomes an even more challenging problem when the source content contains film grain, which is commonly seen in pristine visual content such as movies created by prestigious film producers. Such film grains may originate from the analog film acquisition processes, and may also be synthesized purposely and digitally in the content production and post-production pipelines. In both cases, the visual feel of grain is considered part of the artistic or creative intent of the image content producers.

[0025] Preserving such creative intent in video distribution is extremely costly for standard video encoders, which treat film grains no differently from other types of noise, and consume an excessively large number of bits to encode the grains. As a result, when the total bandwidth is limited, much fewer bits are available to encode other important visual information in the videos, leading to perceptually annoying artifacts such as blurring, macroblocking, floating, and mosquito noise, which significantly degrade the perceptual QoE of end viewers.

[0026] The present disclosure relates to the solution of applying grain reduction to the video before encoding, and then synthesizing and adding back the grain after decoding to create the same perceptual visual feeling as one gets when viewing the original image with film grain.

[0027] There have been methods designed for perceptual video quality assessment and perceptually motivated video coding. These methods are typically developed under the assumption that there exists an original pristine quality video that is free of noise or grain. Moreover, they are often trained and tested using source video content that is noise / grain free or with negligible amount of noise / grain. As a result, these approaches often see significant performance drop when applied to video content with film grain. There has also been significant effort in texture modeling, texture synthesis, and texture- aware image qualityassessment. These works are relevant if grain is considered a specific type of texture. There are also prior methods for film grain noise removal and grain synthesis, and their applications before and after video encoding. However, existing grain modeling, reduction and synthesis methods are designed independently without considering the properties of the encoders and the bitrates and other important parameters used by the encoders. To address these deficiencies, the disclosure relates to systematic, interactive, and / or joint optimization between grain processing and video encoding.

[0028] FIG. 1A illustrates an example of an end-to-end system 100 that is a delivery chain involving grain-aware video coding for transmission by a content delivery network. In the illustrated example, a video delivery chain receives a video asset 102, the video asset can have film grain.

[0029] A video asset 102 may include, as some examples, live video feeds from current events, pre- recorded shows or movies, and advertisements or other clips to be inserted into other video feeds. The video asset 102 may include just video in some examples, but in many cases the video asset 102 further includes additional content such as audio, subtitles, and metadata information descriptive of the content and / or format of the video. The end-to-end system 100 can be configured to include and be capable of functioning with one or more sources of video assets 102. In general, when a video distributor receives source video, the distributor passes the video asset 102 through encoders, transcoders, packagers, origins, network connections, and consumer devices to ultimately present the video content to an end user.

[0030] A pre-delivery processor 104 can be a software module or a unit that is a device or an assembly that receives a video asset 102. The pre-delivery processor may be configured to determine aspects of the video asset 102 as well as prepare the video asset 102 for the grain- aware video coding. The video aspects may include, for example, to detect grain in the video asset 102, assess or model the grain in the video asset 102, reduce the grain in the video asset 102, and provide grain parameters with respect to the film grain in the video asset 102. Film grain can refer to randomly distributed noise across frames of the video asset 102 where this noise may be characterized by various parameters, such as grain size, grain density, and / or grain contrast. Grain aware video coding refers to a process of configuring the video assetwith film grain more efficiently for encoding of the video asset or delivery of the coded video asset to a content delivery network. The pre-delivery processor can output an encoded video asset 114 for transmission by a content delivery network 106 or the pre-delivery processor can output coded video asset to be encoded externally for transmission by a content delivery network.

[0031] The content delivery network 106 may be configured to transmit the coded or encoded video asset 102 towards the viewer device 110. Configuring the content delivery network may include, for example, receiving the coded or encoded video asset 114 from the pre-delivery processor 104, utilizing one or more encoders or transcoders to compress and / or re-encode the video content for transmission into a format that conforms with one or more standard video compression specifications. The content delivery network 106 may also use one or more packagers and / or origins to create segmented video files to be delivered to clients that then stitch the segments together to form a contiguous video stream. The content delivery network can also be configured to perform the above operations in awareness of the grain in what the pre-delivery process outputs to the content delivery network.

[0032] The content delivery network 106 provides a delivered encoded video asset 116 to a post-delivery processor 108. The post-delivery processor 108 can be a software module or a unit that is a device or an assembly. The post-delivery processor 108 may be configured to perform aspects of the characterization and restoration of grain in the delivered encoded video asset. The characterization aspects may include, for example, to identify locations and parameters of the grain, parameters used in film grain removal, parameters used in compressing the video asset 102 with the grain removed, parameters associated with the transport of the encoded video asset 114 in compressed form, parameters used in the decoding to decompress the delivered encoded video asset 116, parameters created within synthesizing grain and / or re-graining to produce an output for the viewer device 110. The viewer device 110 may be a television, mobile phone, or other device onto which the output from the postdelivery processor may be played back. For example, the post-delivery processor can output a decoded and synthesized grain video asset 118. The Post-delivery processor can be integrated with the viewer device 110 or a stand alone unit such as a set-top box that provides a video asset that is a decoded and synthesized grain video asset 118 to the user viewingdevice. The viewer device can be a remote viewer device located far (miles or thousands of miles) from the pre-delivery processor location.

[0033] The network monitor 112 may be configured to monitor the video asset 102 in various forms as it progresses through the end-to-end at various stages or points along the end-to-end system 100. In one example, the network monitor 112 may identify QoE scores for the video asset 102 at various points along the end-to-end system 100. The components of the end-to- end system 100 may also be configured to perform additional aspects related to the characterization and restoration of grain in the grain-aware video coding and transmission, as discussed in detail herein. The network monitor 112 in FIG. 1 A represents a functional block in hardware that can communicate, exchange or query needed and available information within the pre-delivery processor, the post-delivery processor and / or the content delivery network. The network monitor can provide further processing that can be used by the predelivery processor and the post-delivery processor. Processing associated with the network monitor can also be done in the pre-delivery processor device and the post-delivery processor device. It should be noted that the end-to-end system 100 may be geographically diverse and that the calculations may occur co-located or in a distributed manner.

[0034] FIG. IB illustrates one end-to-end system configuration where the pre-delivery processor 104 is configured to perform several operations on the received video asset 102. For example, operations can be grain detection, grain assessment, grain modelling, grain reduction grain aware encoding and rate control as indicated within the block that represents the pre-delivery processor. The pre-delivery processor unit can also be configured to have and carry out grain aware joint optimization operations.

[0035] The post-delivery processor 108 unit is configured to perform several operations on the delivered encoded video asset 116. For example, operations can be decoding, grain synthesis and grain-aware rendering as indicated within the block that represents the postdelivery processor. The post-delivery processor unit can also be configured to have and carry out quality assessment operations.

[0036] One embodiment illustrated in FIG. IB shows that a grain parameter can be generated within the pre-delivery processor unit where the grain parameter is provided with the encodedvideo asset 114 to the content delivery network. For example, the grain parameter produced within the pre-delivery processor unit can be produced by a grain assessment operation and / or a grain modelling operation. The grain parameter can be provided with the encoded video asset embedded as metadata information descriptive of the content and / or format of the video. The encoded video asset 114 outputted by the pre-delivery processor unit is configured to contain the encoded video asset with the metadata that has the grain parameter. The encoded video asset with the metadata can be delivered to the post-delivery processor unit via the content delivery network.

[0037] Another embodiment illustrated in FIG. IB is a grain quality measure 120 can be provided by the post-delivery processor unit to the pre-delivery processor unit as feedback. The grain quality measure 120 can be delivered via a network monitor 112, or through a network monitor that is within the content delivery network 106 or by other means. The postdelivery processor 108 unit can be configured to carry out quality assessment to produce a grain quality measure. For example, the post-delivery processor can decode the delivered encoded video asset to produce a decoded video asset. A grain synthesis operation creates film grain using the film grain parameter embedded in the encoded video asset metadata, the synthesized film grain being added to the decoded video asset to produce a decoded and synthesized grain video asset. A quality assessment can be carried out on the synthesized grain and / or the decoded and synthesized grain video asset to produce a grain quality measure. Other quality assessments can be carried out to produce other quality measures such as structure fidelity measure and an overall quality measure. Another quality measure can be a video quality measure based on a video quality assessment of a decoded delivered encoded video asset outputted from the decoding operation. The video quality measure can be a video quality parameter used by the pre-delivery processor unit.

[0038] Grain quality measure and other quality measures produced within the post-delivery processor unit can be feedback to the pre-delivery processor unit as grain quality parameters and as other quality parameters respectively to optimize processes within the pre-delivery processor unit. For example, the grain quality measure / parameter can be used in the predelivery processor unit to optimize grain aware encoding by the grain-aware encoding and rate control operation, and / or optimize grain reduction by the grain reduction operation suchthat the grain QoE is optimized within a bit rate profile of the encoder while being suitable for the type of display at the post-delivery processor unit or the remote viewing device display.

[0039] Another embodiment is to use both the grain quality parameter (based on grain) and the video quality parameter (based on image object features) in a grain-aware joint optimization 602 operation to optimally adjust the grain reduction operation and the grain- aware encoding operation in the pre-delivery processor unit. More details of the quality assessment and measures disclosed above will be described later.

[0040] The decoded and synthesized grain video asset can be rendered for a display by grain aware rendering operation if the display and the post-delivery are one and the same unit. If the display is a viewer device separate from the from the post-delivery processor unit, the post-delivery processor unit can output the decoded and synthesized grain video asset to the remote viewing device to be rendered by the remote viewing device or the remote viewing device may expose display rendering parameters to the post-delivery processor unit to perform the grain aware rendering.

[0041] An existing pre-delivery processor unit and an existing post-delivery processor unit in an end-to-end system can be upgraded to become capable of executing enhanced grain- aware processes disclosed. The upgrade can be a software upgrade to the pre-delivery processor unit and the post-delivery processor unit or the upgrade can be a hardware upgrade. For example, an existing pre-delivery processor unit is replaced by an upgraded pre-delivery processor unit and an existing post-delivery processor unit is replaced by an upgraded postdelivery processor unit.

[0042] Described within are flow charts detailing the flow of video image content through various operations and the interactions of the various operations specified within the predelivery processor unit and the post-delivery processor unit of the intended end-to-end systems for delivering video asset with film grain to a viewing device to get an optimized grain QoE and rate distortion tradeoff.

[0043] FIG. 2 illustrates an example data flow 200 for a process of grain-aware video coding and transmission. In an example, the overall data flow 200 may be performed using thecomponents of the end-to-end system 100. As shown, a media source provides the video asset 102 that passes through multiple stages of operation along the end-to-end system 100 before the media stream reaches the viewer device 110. The video asset 102 may refer to various types of video content as noted above, while the viewer device 110 may refer to one or more of consumer devices. The operations performed along the data flow 200 may include grain detection 202, grain assessment / modeling 204, grain reduction 206, grain-aware encoding / rate control 208, grain-aware streaming / decoding 210, grain synthesis 212 (sometimes referred to as re-grain), and grain-aware rendering / display 214. Each of these is discussed in turn.

[0044] The grain detection 202 may include one or more processes to identify and characterize the amount of grain in the video asset 102. In an example, these processes may be performed by the pre-delivery processor 104. The grain detection 202 may perform various statistical analyses on the video asset 102, such as computing mean, variance, and distribution of image features to identify the presence of film grain. In another example, a frequency domain analysis may be performed to transform the video asset 102 into the frequency domain to analyze the power spectrum to identify the presence of film grain. In such an analysis, the film grain may present as a high-frequency pattern that appears as a peak in the power spectrum at high frequencies. In some examples, the grain detection 202 may be performed by using an edge detector to identify flat or smooth regions in the video asset 102 having relatively consistent coloration. For instance, a mask of the flat regions to analyze may be determined by the grain detection 202 as a grain detection result 302.

[0045] The grain assessment / modeling 204 may include one or more processes to determine the extent of the grain indicated by the grain detection 202. In an example, these processes may be performed by the pre-delivery processor 104. The grain assessment / modeling 204 may identify the characteristics of the film grain in the video asset 102, which may be for the entire frame or only for the masked flat regions of interest. The grain assessment / modeling 204 may be configured to provide an output indicative of the parameters of the grain that are in the video asset 102. (These parameters are shown more specifically as the grain model parameters 304 in FIG. 3.)

[0046] In one example, the video asset 102 may be denoised, and the regions of the denoised version of the video asset 102 may be compared with the original video asset 102 to determine the parameters of the noise. For instance, these grain model parameters 304 may include one or more of grain size, grain density, and / or grain contrast. In another example, the film grain may be modeled using root- mean-square (RMS) granularity, which is a numerical quantification of density non-uniformity, equal to the RMS fluctuations in optical density. In some examples, an autoregressive model may be used to characterize the film grain. In some examples, the film grain strength may vary with signal intensity, and the grain model parameters 304 may further model these differences in level, e.g., as parameters of a linear function of luma.

[0047] The grain reduction 206 may be configured to reduce the grain that is present in the video asset 102. The grain reduction 206 may be performed in various ways by the predelivery processor 104. In an example, noise reduction filters may analyze the pixels in the video asset 102 to identify an average color or brightness and / or identify those pixels that are outliers. The filter may then apply a smoothing algorithm that averages the pixel values in the area, effectively reducing the noise or grain. In another example, a machine learning model may be trained on a large dataset of grainy and non-grainy images, to learn to identify and remove film grain.

[0048] The grain-aware encoding / rate control 208 may perform encoding on the video asset 102 after the grain reduction 206. In an example, the grain-aware encoding / rate control 208 may utilize an encoder of the pre-delivery processor 104 to convert the video asset 102 into a format for transmission along the end-to-end system 100. This video encoding may take into account the parameters about the types and properties of the grain. The encoding may also include a rate and / or quality control operation to ensure that the encoding achieves a given target bitrate and / or quality level. Examples of the video encoding / rate control parameters 402 (as more specifically shown in FIG. 4) may include the video bite rate, spatial resolution, frame rate or temporal resolution, encoding mode selections at video, frame, and local block levels, and the quantization step parameters at video, frame, and local block levels.

[0049] The grain-aware streaming / decoding 210 may perform transfer of the encoded video asset 114 along the end-to-end system 100 as well as decoding of the video asset post transfer. Accordingly, the encoded video asset 114 may be streamed to the receiver side and decoded. In an example, the streaming aspect may be performed using components of the content delivery network 106, while the decoding aspect may be performed by the post-delivery processor 108.

[0050] The grain synthesis 212 may include one or more processes performed by the postdelivery processor 108 to decode the delivered encoded video asset 116 and add grain to produce a decoded and synthesized grain video asset 118. This added grain may be consistent with the grain as assessed by the grain assessment / modeling 204 and / or as reduced by the grain reduction 206. For example, the grain synthesis 212 may be configured to add noise characterized by various parameters, such as grain size, grain density, and / or grain contrast. In an example, these parameters may be the same as or consistent with the grain model parameters 304 (shown in FIG. 3) determined by the grain assessment / modeling 204 and / or be added in areas defined by the grain detection results 302 (shown in FIG. 3) as determined by the grain detection 202.

[0051] The grain-aware rendering / display 214 may include providing the decoded and synthesized grain video asset 118 to the viewer device 110. By reincorporating the grain after compression, transmission, and decompression, the visual quality of the decoded and synthesized grain video asset 118 may be maintained at the viewer device 110, while also allowing the video asset 102 to be more efficiently encoded without the presence of the film grain.

[0052] FIG. 3 illustrates an example data flow 300 for a process of grain and video quality assessment along the grain-aware video coding and transmission. Similar to the data flow 200, the operations performed along the data flow 300 may include grain detection 202, grain assessment / modeling 204, grain reduction 206, grain-aware encoding / rate control 208, grain-aware streaming / decoding 210, grain synthesis 212, and grain-aware rendering / display 214.

[0053] Moreover, in the data flow 300, the grain-aware video encoding and transmission may be monitored or assessed at multiple stages or check points. These include the grain detection 202 or classification results produced by the grain detection 202 process, grain model parameters 304 generated by the grain assessment / modeling 204, video quality assessment and rate-distortion performance analysis results created from video quality assessment / rate-distortion analysis 306 which compares the video streams before video encoding and decoding, and one or more grain quality assessments 310 such as a grain quality / fidelity assessment, structural similarity assessment and overall video quality assessment results produced by analyze the video after grain synthesis 212.

[0054] The grain detection 202 may expose grain detection results 302 produced by the grain detection 202 process. As noted above, the grain detection results 302 may include parameters such as a mask of the regions in which grain may be identified.

[0055] The grain assessment / modeling 204 may expose grain model parameters 304 generated by the grain assessment / modeling 204. As noted above, the grain model parameters 304 may include parameters such as grain size, grain density, and / or grain contrast, and variation of the grain model parameters 304 with respect to differences in signal level.

[0056] Additionally, a video quality assessment / rate-distortion analysis 306 may be performed to produce video quality measure / rate-distortion (RD) performance parameters 308. The video quality assessment and the rate distortion may include comparing the video streams before the video encoding with the same video stream after the decoding. In an example, the video quality measure / RD performance parameters 308 may be indicative of a difference in perceptual quality between the video asset 102 before encoding as compared to after transmission and decoding.

[0057] In an example, the network monitor 112 may perform aspects of the assessment and analysis. Examples of the video quality assessment method may be a full-reference or reduced-reference method, such as peak-signal-to-noise ratio (PSNR), structural similarity index (SSIM), video quality model (VQM), SSIMPLUS, and / or video multimethod assessment fusion (VMAF) measure, that uses the video after the grain reduction 206 but before encoding as the reference. Examples of video encoding and rate control parametersmay include the video bite rate, spatial resolution, frame rate or temporal resolution, encoding mode selections at video, frame, and local block levels, and the quantization step parameters at video, frame, and local block levels. Examples of video quality guided rate-distortion analysis, rate-control and optimization include S SIM-based rate-distortion optimization (RDO) and analysis.

[0058] The network monitor 112 may also perform one or more grain quality assessments 310 on the decoded and synthesized grain video asset 118 after the grain synthesis 212. These grain quality assessments 310 may result in grain quality / fidelity assessment parameters 312. These grain quality assessments 310 may include a grain quality / fidelity assessment, a structural fidelity assessment, and / or an overall quality assessment. It should be noted that grain quality / video fidelity can be a measure / parameter that allows the ability to discriminate between the grain quality parameters of the video asset 102 before processing by the predelivery processor unit and the grain quality parameters of the decoded and synthesized grain video asset produced by the post-delivery processor unit, while video quality relates to the preference of viewing a video asset 102 before processing by the pre-delivery processor unit on a display over the preference of viewing the decoded and synthesized grain video asset 118 produced by the post-delivery processor unit on the display.

[0059] FIG. 4 illustrates an example data flow 400 for a process of grain reduction 206 along the grain-aware video coding and transmission. Similar to the data flow 300, the operations performed along the data flow 300 may include grain detection 202, grain assessment / modeling 204, grain reduction 206, grain-aware encoding / rate control 208, grain-aware streaming / decoding 210, grain synthesis 212, grain-aware rendering / display 214, video quality assessment / rate-distortion analysis 306, and grain quality assessments 310. In this example, the grain reduction 206 is informed by the monitoring of the video asset 102 as it is processed along the end-to-end system 100.

[0060] As noted above, the grain assessment / modeling 204 may produce grain model parameters 304, the video quality assessment / rate-distortion analysis 306 may produce video quality measure / RD performance parameters 308, and the grain quality assessment 310 may produce grain quality / fidelity assessment parameters 312.

[0061] Additionally, in the data flow 400, the grain-aware encoding / rate control 208 may expose its video encoding / rate control parameters 402. In an example, the video encoding / rate control parameters 402 may be provided to the grain-aware streaming / decoding 210. As noted above, the video encoding / rate control parameters 402 may include parameters such as the video bite rate, spatial resolution, frame rate or temporal resolution, encoding mode selections at video, frame, and local block levels, and the quantization step parameters at video, frame, and local block levels.

[0062] The grain reduction 206 may be performed by utilizing one or more of the following inputs: the grain assessment results and grain model parameters 304, the video encoding / rate control parameters 402, the video quality measure / RD performance parameters 308, and the grain quality / fidelity assessment parameters 312. For example, the grain model parameters 304 may be utilized to allow the grain reduction 206 to consider aspects such as grain size, grain density, and / or grain contrast. In another example, the video encoding / rate control parameters 402 may be utilized to allow the grain reduction 206 to consider aspects such as video bite rate, spatial resolution, frame rate or temporal resolution, encoding mode selections at video, frame, and local block levels. In yet another example, the grain quality / fidelity assessment parameters 312 may be utilized to allow the grain reduction 206 to consider aspects such as grain quality / fidelity, structural fidelity, and / or an overall quality of the video asset 102. The video encoding / rate control parameters 402 and grain quality / fidelity assessment parameters 312 can be used to allow the grain reduction 206 to control the level / type of grain to be reduced to achieve the highest QoE to the end viewer, while consuming the minimum bandwidth. Those parameters can be jointly optimized given the final viewer’s QoE and overall bandwidth required as the overall target function.

[0063] In another example, the grain reduction 206 results and parameters may be used as feedback to the grain assessment / modeling 204 to further improve the grain assessment / modeling 204 process. For instance, the tuning of the noise reduction filters or machine learning model for a first frame of the video asset 102 may be provided as an input to the grain assessment / modeling 204 for a second frame of the video asset 102 (e.g., the next frame). This may allow the grain assessment / modeling 204 to consider features across frames and / or more quickly converge on the correct grain model parameters 304.

[0064] FIG. 5 illustrates an example data flow 500 for a process of grain-aware encoding / rate control 208. Similar to the data flows 200-400, the operations performed along the data flow 500 may include grain detection 202, grain assessment / modeling 204, grain reduction 206, grain-aware encoding / rate control 208, grain-aware streaming / decoding 210, grain synthesis 212, grain-aware rendering / display 214, video quality assessment / rate-distortion analysis 306, and grain quality assessments 310. In this example, the grain-aware encoding / rate control 208 is informed by the monitoring of the video asset 102 processed along the end- to-end system 100.

[0065] As shown, the grain reduction 206 may expose grain reduction parameters 502. These grain reduction parameters 502 may include, as some examples, parameters of the noise reduction filters such as area size and sensitivity, average color or brightness from which to identify outlier pixels, smoothing filter parameters such as area size and smoothing amount, machine learning model configurations for removing film grain, etc. In an example, the grain reduction parameters 502 may be provided to the grain-aware encoding / rate control 208.

[0066] Also, the grain synthesis 212 may expose its grain synthesis parameters 504. The grain synthesis parameters 504 may include parameters such as grain size, grain density, and / or grain contrast, and variation with respect to differences in signal level. In an example, the grain synthesis parameters 504 may be the same as or otherwise consistent with the grain model parameters 304 identified before the grain reduction 206. This may allow for regraining with grain consistent with what was removed from the video asset 102. In another example, the grain synthesis parameters 504 may include parameters for the re-grain that are the same as or consistent with user preferences of the viewer device 110 and / or configuration of the content delivery networks 106 to provide a consistent look across the decoded and synthesized grain video assets 118. In an example, the grain synthesis parameters 504 may be provided to the grain-aware encoding / rate control 208.

[0067] Further, the grain-aware rendering / display 214 may expose its rendering / display parameters 506. The rendering / display parameters 506 may include information descriptive of the delivery of the decoded and synthesized grain video asset 118 to the end user. For instance, the rendering / display parameters 506 may include screen size of the viewer device110, screen resolution of the viewer device 110, distance of the viewer from the viewer device 110, etc. In an example, the rendering / display parameters 506 may be provided to the grain- aware encoding / rate control 208. These rendering / display parameters 506 may allow the grain-aware encoding / rate control 208 to characterize the video asset 102 in terms of characteristics of the decoded and synthesized grain video asset 118 that would be perceptible to the end user. For instance, if the viewer device 110 is small, then the encoding may account for that screen size with respect to maintaining a minimum perceptual quality of the video asset 102.

[0068] The grain-aware encoding / rate control 208 may be performed to the video asset 102 by utilizing one or more of the following inputs: the grain assessment results and grain model parameters 304 from the grain assessment / modeling 204, the grain reduction parameters 502 from the grain reduction 206, the grain synthesis parameters 504 from the grain synthesis 212, the video rendering / display parameters 506 from the grain-aware rendering / display 214, the video quality measure / RD performance parameters 308 from the video quality assessment / RD analysis 306, and the grain quality / fidelity assessment parameters 312 from the grain quality assessment 310.

[0069] The overall grain-aware encoding performance is measured by the cost function, which considered the end viewer’s QoE and overall bandwidth. For example, the cost function may be defined as a weighted sum of the video quality assessment / rate-distortion analysis 306 score, the grain quality / fidelity assessment parameters 312 score, and the video bit rate parameter. The grain-aware encoding / rate control 208 can be adjusted to find the minimum point of the cost function, which in turn has been affected by these parameters. Thus, it becomes a joint optimization problem to fine-tune the grain-aware encoding / rate control 208 given those parameters to minimize the cost function. In an example, when the strength parameter of the grain reduction 206 is strong that leads to large reduction of grain before encoding, and / or when the grain quality / fidelity assessment parameters 312 indicate good quality of the grain synthesis 212, lower target bitrates and larger quantization step parameters may be employed by grain-aware encoding / rate control 208, resulting in more compression and lower bit rate of the video.

[0070] The overall grain-aware encoding performance is measured by the cost function, which considered the end viewer’s QoE and overall bandwidth. For example, the cost function may be defined as a weighted sum of 1) the negative of the video quality assessment score, the negative of the grain quality / fidelity assessment score, and the video bit rate parameter. The grain-aware encoding / rate control 208 can be adjusted to find the minimum point of the cost function, which in turn has been affected by these parameters. Thus, it becomes a joint optimization problem to fine-tune the grain-aware encoding / rate control 208 given those parameters to minimize the cost function. In an example, when the strength parameter of grain reduction 206 is strong that leads to large reduction of grain before encoding, and / or when the grain quality / fidelity assessment parameters indicate good grain synthesis 212 quality, lower target bitrates and larger quantization step parameters may be employed by grain-aware encoding and rate control, resulting in more compression and lower bit rate of the video.

[0071] In one example, the encoding process may produce a plurality of video outputs at different spatial and temporal resolutions and at different bit rates. In such cases, an encoding ladder for the video asset 102 may be created through the encoding process, and the grain-aware encoding / rate control 208 may be performed on each individual level of the encoding ladder or jointly for all levels.

[0072] In another embodiment, some of the video encoding steps, such as the quantization step sizes and the target bitrate, may be optimized by jointly considering the relative changes between the grain reduction parameters 502, the video quality measure / RD performance parameters 308, and the grain quality / fidelity assessment parameters 312. This may allow an optimization to be performed to maximize the end viewer’s QoE while minimizing the required bandwidth.

[0073] FIG. 6 illustrates an example data flow 600 for a process of grain-aware joint grain reduction 206 and encoding. Similar to the data flows 200-500, the operations performed along the data flow 600 may include grain detection 202, grain assessment / modeling 204, grain reduction 206, grain- aware encoding / rate control 208, grain-aware streaming / decoding 210, grain synthesis 212, grain- aware rendering / display 214, video quality assessment / rate-distortion analysis 306, and grain quality assessments 310.

[0074] In this data flow 600, a grain-aware joint optimization 602 may be performed between the grain reduction 206 and grain-aware encoding / rate control 208. This may be added to achieve an optimal balance between the grain reduction 206 and the rate-distortion performance. For the grain-aware joint optimization 602, it is desirable to retain the original grain or reconstruct the original grain as much as possible, while reducing the bandwidth required for encoding video. In this dilemma, the two extreme cases are 1 ) all the grain was removed, reducing required bandwidth by a large amount, but also drastically reducing the end viewer’s QoE, 2) all the grain is retained and the end viewer’s QoE is very good, but the required bandwidth is also very large. Therefore, there is a compromise that needs to be achieved in-between, and these parameters may all play a role in the determination of the compromise. The balance may be achieved by utilizing one or more of the following inputs: the grain assessment results and grain model parameters 304, the grain reduction parameters 502, the video encoding / rate control parameters 402, the video quality measure / rate-distortion performance parameters 308, and the grain quality / fidelity assessment parameters 312.

[0075] In one example, an optimization objective function is defined as a weighted sum of video quality assessment / RD analysis 306 parameters, grain quality assessment 310 parameters, the structural fidelity assessment parameter, and the overall video quality assessment parameter. An optimization method is to search all combinations of grain reduction parameters 502, video encoding parameters of the video encoding / rate control parameters 402 (e.g., including quantization steps, and encoding mode selections), and rate control parameters of the video encoding / rate control parameters 402 (including target bit rates for a video segment, a video frame and encoding blocks in each video frame), and find the selection that produces the highest value of the optimization objective function.

[0076] In one embodiment, the grain-aware joint optimization 602 may be performed using an interactive process between the grain reduction 206 and the video encoding of the grain- aware encoding / rate control 208 and may be performed iteratively through several iterations. For example, the video encoding / rate control parameters 402 and the video quality assessment results from the previous iteration may be used to adjust the grain reduction parameters 502 in the current iteration, and in turn the grain reduction parameters 502 may be used to determine the video encoding and rate control parameters in the current iteration.

[0077] In another embodiment, the grain quality / fidelity assessment parameters 312 may be utilized to adjust the control parameters in both the grain reduction 206 and grain-aware encoding / rate control 208 simultaneously.

[0078] In another embodiment the grain assessment / modeling 204 operation of the video asset 102 can also include determining grain quality measures of the video asset received by the pre-delivery processor unit. These grain quality measures can be the same type of quality measures determined in the post-delivery processor unit. Quality measures determined in the grain assessment / modeling 204 can be provided as grain quality parameters along with the grain model parameters 304 to the grain-aware joint optimization 602 operation. The grain- aware joint optimization can use grain quality measures / parameters before processing by the pre-delivery processor unit and after processing by the post-delivery processor unit to optimize video encoding and rate control parameters. For example, a grain quality / fidelity assessment parameter 312 in FIG. 6 can be used with a fidelity quality parameter determined for the video asset 102 from the grain assessment / modeling 204 operation to optimize the video encoding and rate control parameters.

[0079] FIG. 7 illustrates an example data flow 700 for a process of grain-aware video streaming and decoding. Similar to the data flows 200-600, the operations performed along the data flow 700 may include grain detection 202, grain assessment / modeling 204, grain reduction 206, grain-aware encoding / rate control 208, grain-aware streaming / decoding 210, grain synthesis 212, grain-aware rendering / display 214, video quality assessment / ratedistortion analysis 306, and grain quality assessments 310. In this example, the grain-aware streaming / decoding 210 is informed by the monitoring of the video asset 102 processed along the end-to-end system 100. These additional inputs may allow the grain-aware streaming / decoding 210 to be aware of grain-related aspects of the encoded video asset 114 being streamed.

[0080] For instance, the grain-aware streaming / decoding 210 may be performed by utilizing one or more of the following inputs: the grain assessment results and grain model parameters 304, the grain reduction parameters 502, the video encoding / rate control parameters 402, the grain synthesis parameters 504, the video rendering / display parameters 506, the video quality measure / RD performance parameters 308, and the grain quality / fidelity assessment parameters 312. Here,the streaming scenario is similar to the encoding scenario, except that the optimal solution needs to be selected from a more limited options (multiple level of encoding derivatives or the level in the encoding ladder). The philosophy is almost the same - finding the best encoding level that maximizes the end viewer’s QoE while minimizing the overall bandwidth usage.

[0081] In one embodiment, only one level of the video asset 102 in the encoding ladder may be streamed to and decoded at the decoder, and the level may be determined jointly by the grain model parameters 304, the video quality measure / RD performance parameters 308, and the grain quality / fidelity assessment parameters 312.

[0082] FIG. 8 illustrates an example data flow 800 for a process of grain synthesis 212 or regrain. Similar to the data flows 200-700, the operations performed along the data flow 800 may include grain detection 202, grain assessment / modeling 204, grain reduction 206, grain-aware encoding / rate control 208, grain-aware streaming / decoding 210, grain synthesis 212, grain- aware rendering / display 214, video quality assessment / rate-distortion analysis 306, and grain quality assessments 310. In this data flow 800, the grain synthesis 212 may be enhanced to receive additional inputs from other components. These additional inputs may allow the grain synthesis 212 to be aware of grain-related aspects of the encoded video asset 114 being streamed.

[0083] As shown, the grain-aware streaming / decoding 210 may expose streaming / decoding parameters 802. These streaming / decoding parameters 802 may include, as some examples, codec used in the streaming, encoder settings used to produce the encoding, bitrate used in the streaming, resolution of the video asset 102, etc. In an example, the streaming / decoding parameters 802 may be provided to the grain synthesis 212.

[0084] The grain synthesis 212 (or re-grain) may be performed by utilizing one or more of the following inputs: the grain assessment results and grain model parameters 304, the grain reduction parameters 502, the video encoding / rate control parameters 402, the video rendering / display parameters 506, the video quality measure / RD performance parameter 308, the grain quality / fidelity assessment parameters 312, and the streaming / decoding parameters 802. The final look of the grain is controlled by the grain synthesis parameters 504. Depending on those grain synthesis parameters 504, similar to those from videoencoding, quality measure, and rendering, the grain synthesis parameters 504 need to be adjusted to make sure the appropriate level of grain is generated.

[0085] In one embodiment, the grain synthesis parameters 504 (e.g., grain strength) may be determined by jointly utilizing the grain model parameters 304 and the video encoding / rate control parameters 402 and adjusted by jointly utilizing the video quality assessment and ratedistortion performance parameters and the grain quality / fidelity assessment parameters 312. For example, when video encoding quantization is strong and the bitrate is low, the grain synthesis 212 strength may be increased so as to produce visual masking effect on the overcompressed or over-smoothed regions in a video frame. In another example, when the grain quality / fidelity assessment parameters 312 indicate a low quality decoded and synthesized grain video asset 118, the grain synthesis 212 strength may be reduced to avoid producing more low-quality grain.

[0086] FIG. 9 illustrates an example data flow 900 for a process of grain-aware rendering / display 214. Similar to the data flows 200-800, the operations performed along the data flow 900 may include grain detection 202, grain assessment / modeling 204, grain reduction 206, grain-aware encoding / rate control 208, grain-aware streaming / decoding 210, grain synthesis 212, grain-aware rendering / display 214, video quality assessment / rate-distortion analysis 306, and grain quality assessments 310. In this data flow 900, the grain-aware rendering / display 214 may be enhanced to receive additional inputs from other components. These additional inputs may allow the grain-aware rendering / display 214 to be aware of grain- related aspects of the encoded video asset 114 being streamed.

[0087] The grain-aware rendering / display 214 may be performed by utilizing one or more of the following inputs: the grain assessment results and grain model parameters 304, the grain reduction parameters 502, the video encoding / rate control parameters 402, the grain synthesis parameters 504, the video quality assessment / RD analysis 306, the grain quality / fidelity assessment parameters 312, and the streaming / decoding parameters 802.

[0088] Depending on the specific configuration and deployment, the grain model parameters 304 and grain synthesis parameters 504 may or may not be available at the viewer device 110. In case they are available, the rendering / display parameters 506 may be determined usingthe grain model and grain synthesis parameters 504 to synthesize grain that has a close visual look to the original video. The re- grain may occur post-decoding and on the video rendering device. Depending on the rendering / display parameters 506 (e.g., screen type, resolution, size, and brightness), the re- graining algorithm of the grain synthesis 212 may adjust the generated grain characteristics (e.g., size, density, contrast) to maximize the end viewer’s QoE.

[0089] FIG. 10 illustrates an example data flow 1000 for a process of grain-aware video quality assessment, producing grain quality / fidelity measurement, structural fidelity measurement, and overall video quality measurement. Similar to the data flows 200-900, the operations performed along the data flow 1000 may include grain detection 202, grain assessment / modeling 204, grain reduction 206, grain-aware encoding / rate control 208, grain-aware streaming / decoding 210, grain synthesis 212, grain-aware rendering / display 214, video quality assessment / rate-distortion analysis 306, and grain quality assessments 310.

[0090] In this data flow 1000, the grain quality assessment 310 may be performed by several steps, each producing different and useful assessment of the video after the grain synthesis 212 (re-grained video). These operations may include (A) grain fidelity or quality assessment that utilizes the grain model parameters 304 as a reference to evaluate the fidelity or quality of the synthesized grain, (B) structural fidelity assessment that evaluates the structural details in the video content after re-graining and utilizes the parameters of video quality assessment and rate-distortion analysis between the videos before and after encoding, and (C) overall video quality assessment that utilizes both grain fidelity and structural fidelity assessment, and the interaction between them. These assessments may accordingly provide the quality information about the final rendered video from three perspectives (grain fidelity, structural fidelity, and overall video quality). Each of them is looking at different quality aspect and provides corresponding video QoE information as described. The overall quality may be relatively important, because it is closest to the end viewers and reflects their QoE. The grain fidelity and structural fidelity are two critical components, aside from the others, to the overall quality because they're most sensitive to the human visual system (HVS).

[0091] FIG. 11 illustrates an example 1100 of a computing device 1102 for use in the end-to-end system 100 for grain-aware video coding transmission. Referring to FIG. 11, and with reference to FIGS. 1A-10, the devices and modules discussed herein may be examples of such computing devices 1102. As shown, the computing device 1102 includes a processor 1104 that is operatively connected to a storage 1106, a network device 1108, an output device 1110, and an input device 1112. It should be noted that this is merely an example, and computing devices 1102 with more, fewer, or different components may be used.

[0092] The processor 1104 may include one or more integrated circuits that implement the functionality of a central processing unit (CPU) and / or graphics processing unit (GPU). In some examples, the processors 1104 are a system on a chip (SoC) that integrates the functionality of the CPU and GPU. The SoC may optionally include other components such as, for example, the storage 1106 and the network device 1108 into a single integrated device. In other examples, the CPU and GPU are connected to each other via a peripheral connection device such as peripheral component interconnect (PCI) express or another suitable peripheral data connection. In one example, the CPU is a commercially available central processing device that implements an instruction set such as one of the x86, ARM, Power, or microprocessor without interlocked pipeline stage (MIPS) instruction set families.

[0093] Regardless of the specifics, during operation the processor 1104 executes stored program instructions that are retrieved from the storage 1106. The stored program instructions, accordingly, include software that controls the operation of the processors 1104 to perform the operations described herein. The storage 1106 may include both non-volatile memory and volatile memory devices. The non-volatile memory includes solid-state memories, such as not and (NAND) flash memory, magnetic and optical storage media, or any other suitable data storage device that retains data when the system is deactivated or loses electrical power. The volatile memory includes static and dynamic random-access memory (RAM) that stores program instructions and data during operation of the end-to-end system 100.

[0094] The GPU may include hardware and software for display of at least two-dimensional (2D) and optionally 3D graphics to the output device 1110. The output device 1110 may include a graphical or visual display device, such as an electronic display screen, projector,printer, or any other suitable device that reproduces a graphical display. As another example, the output device 1110 may include an audio device, such as a loudspeaker or headphone. As yet a further example, the output device 1110 may include a tactile device, such as a mechanically raisable device that may, in an example, be configured to display braille or another physical output that may be touched to provide information to a user.

[0095] The input device 1112 may include any of various devices that enable the computing device 1102 to receive control input from users. Examples of suitable input devices that receive human interface inputs may include keyboards, mice, trackballs, touchscreens, voice input devices, graphics tablets, and the like.

[0096] The network devices 1108 may each include any of various devices that enable the devices to send and / or receive data from external devices over networks. Examples of suitable network devices 1108 include an Ethernet interface, a Wi-Fi transceiver, a cellular transceiver, or a BLUETOOTH or Bluetooth Low Energy (BLE) transceiver, ultra-wideband (UWB) transceiver, or other network adapter or peripheral interconnection device that receives data from another computer or external data storage device, which can be useful for receiving large sets of data in an efficient manner.

[0097] The processes, methods, or algorithms disclosed herein can be deliverable to / implemented by a processing device, controller, or computer, which can include any existing programmable electronic control unit or dedicated electronic control unit. Similarly, the processes, methods, or algorithms can be stored as data and instructions executable by a controller or computer in many forms including, but not limited to, information permanently stored on non-writable storage media such as read-only memory (ROM) devices and information alterably stored on writable storage media such as floppy disks, magnetic tapes, compact discs (CDs), RAM devices, and other magnetic and optical media. The processes, methods, or algorithms can also be implemented in a software executable object. Alternatively, the processes, methods, or algorithms can be embodied in whole or in part using suitable hardware components, such as application specific integrated circuit (ASIC), field- programmable gate array (FPGA), state machines, controllers or other hardware components or devices, or a combination of hardware, software and firmware components.

[0098] While exemplary embodiments are described above, it is not intended that these embodiments describe all possible forms encompassed by the claims. The words used in the specification are words of description rather than limitation, and it is understood that various changes can be made without departing from the spirit and scope of the disclosure. As previously described, the features of various embodiments can be combined to form further embodiments of the invention that may not be explicitly described or illustrated. While various embodiments could have been described as providing advantages or being preferred over other embodiments or prior art implementations with respect to one or more desired characteristics, those of ordinary skill in the art recognize that one or more features or characteristics can be compromised to achieve desired overall system attributes, which depend on the specific application and implementation. These attributes can include, but are not limited to strength, durability, life cycle, marketability, appearance, packaging, size, serviceability, weight, manufacturability, ease of assembly, etc. As such, to the extent any embodiments are described as less desirable than other embodiments or prior art implementations with respect to one or more characteristics, these embodiments are not outside the scope of the disclosure and can be desirable for particular applications.

[0099] While exemplary embodiments are described above, it is not intended that these embodiments describe all possible forms of the invention. Rather, the words used in the specification are words of description rather than limitation, and it is understood that various changes may be made without departing from the spirit and scope of the invention. Additionally, the features of various implementing embodiments may be combined to form further embodiments of the invention.

Claims

WHAT IS CLAIMED IS:

1. A method for optimizing grain-aware video encoding and transmission of a video asset comprising: determining grain model parameters indicative of aspects of grain that is present in the video asset; before encoding the video asset, performing grain reduction of the video asset according to grain reduction parameters indicative of aspects of removal of the grain from the video asset; after the grain reduction, using a grain-aware encoding / rate control to encode the video asset according to video encoding / rate control parameters; streaming and decoding the video asset; and after the decoding, performing grain synthesis to re-grain the video asset using grain synthesis parameters indicative of properties of the grain to be added to the video asset.

2. The method of claim 1, further comprising one or more of: performing a video quality assessment / rate-distortion (RD) analysis to compare the video asset before the encoding and after the decoding, the video quality assessment / RD analysis producing video quality measure / RD performance parameters; performing one or more grain quality assessments on the video asset after the grain synthesis to produce grain quality / fidelity assessment parameters; and / or utilizing the video quality measure / RD performance parameters and / or the grain quality / fidelity assessment parameters to inform one or more of the grain reduction, the grain- aware encoding / rate control, the streaming and decoding, the grain synthesis, and / or rendering of the video asset to an end user by a grain-aware rendering / display.

3. The method of claim 2, further comprising: rendering the video asset to the end user by the grain-aware rendering / display, the grain-aware rendering / display being informed by one or more of: the grain model parameters, the grain reduction parameters, the video encoding / rate control parameters, the grain synthesisparameters, the video quality assessment / RD analysis, and the grain quality / fidelity assessment parameters.

4. The method of claim 2, further comprising: determining rendering / display parameters indicative of the rendering of the video asset to the end user; and utilizing the rendering / display parameters for determining the grain quality / fidelity assessment parameters.

5. The method of claim 2, wherein one or more of: the grain model parameters indicate one or more of grain size, grain density, and / or grain contrast, and the grain reduction includes utilizing the grain model parameters to configure the grain reduction; the video encoding / rate control parameters indicate one or more of video bite rate, spatial resolution, frame rate or temporal resolution, encoding mode selections at video, frame, and local block levels, and quantization step parameters at video, frame, and local block level, and the grain reduction includes utilizing the video encoding / rate control parameters in configuring the grain reduction; and / or the grain quality / fidelity assessment parameters include one or more of a grain quality / fidelity assessment, a structural fidelity assessment, and / or an overall quality assessment, and the grain reduction includes utilizing the grain quality / fidelity assessment parameters in configuring the grain reduction.

6. The method of claim 1, wherein the grain-aware encoding / rate control includes performing encoding on the video asset after the grain reduction, using the video encoding / rate control parameters and the grain reduction parameters.

7. The method of claim 1, further comprising:performing a grain-aware joint optimization between the grain reduction and the grain-aware encoding / rate control to balance between grain reduction performance of the grain reduction and rate-distortion performance of the grain-aware encoding / rate control.

8. The method of claim 7, further comprising one or more of: using the video encoding / rate control parameters and the video quality measure / RD performance parameters from a previous frame of the video asset to adjust the grain reduction parameters in a current frame of the video asset; and / or using the grain quality / fidelity assessment parameters to simultaneously adjust control parameters in both the grain reduction and the grain-aware encoding / rate control.

9. The method of claim 1, further comprising streaming, by the grain-aware streaming / decoding, a level of the video asset in an encoding ladder based on the grain model parameters, the video quality measure / RD performance parameters, and the grain quality / fidelity assessment parameters.

10. The method of claim 1, wherein the grain synthesis includes: determining the grain synthesis parameters by jointly utilizing the grain model parameters and the video encoding / rate control parameters and adjusted by jointly utilizing the video quality assessment / RD performance parameters and the grain quality / fidelity assessment parameters, such that responsive to video encoding quantization of the video asset being strong and bitrate of the video asset being low, increasing the grain strength in the grain synthesis parameters to produce visual masking effect on over-compressed or over-smoothed regions in the video asset, and / or responsive to the grain quality / fidelity assessment parameters indicating a low quality video asset, decreasing the grain strength in the grain synthesis parameters to avoid producing additional low-quality grain.

11. The method of claim 1, wherein the grain-aware rendering / displayincludes: providing the rendering / display parameters to the grain synthesis, the rendering / display parameters including a size, a resolution, and / or a viewer distance from a viewer device, to allow the grain synthesis to adjust the grain synthesis parameters in terms of perceptual characteristics of the video asset.

12. The method of claim 1, wherein the grain-aware video quality assessment / rate-distortion performance analysis includes one or more of: producing a grain quality / fidelity measurement of the video asset; producing a structural fidelity measurement of the video asset; and / or producing an overall video quality measurement of the video asset.

13. An end-to-end system for optimizing grain-aware video encoding and transmission of a video asset, comprising: one or more computing devices, configured to: determine grain model parameters indicative of aspects of grain that is present in the video asset; before encoding the video asset, perform grain reduction of the video asset according to grain reduction parameters indicative of aspects of removal of the grain from the video asset; after the grain reduction, use a grain-aware encoding / rate control to encode the video asset according to video encoding / rate control parameters; stream and decode the video asset; and after the decode, perform grain synthesis to re-grain the video asset using grain synthesis parameters indicative of properties of the grain to be added to the video asset.

14. The end-to-end system of claim 13, wherein the one or more computing devices are further configured to: perform a video quality assessment / rate-distortion (RD) analysis to compare the video asset before the encode and after the decode, the video quality assessment / RD analysis producing video quality measure / RD performance parameters;perform one or more grain quality assessments on the video asset after the grain synthesis to produce grain quality / fidelity assessment parameters; and / or utilize the video quality measure / RD performance parameters and / or the grain quality / fidelity assessment parameters to inform one or more of the grain reduction, the grain- aware encoding / rate control, the stream and decode, the grain synthesis, and / or rendering of the video asset to an end user by a grain-aware rendering / display.

15. The end-to-end system of claim 14, wherein the one or more computing devices are further configured to: render the video asset to the end user by the grain-aware rendering / display, the grain-aware rendering / display being informed by one or more of: the grain model parameters, the grain reduction parameters, the video encoding / rate control parameters, the grain synthesis parameters, the video quality assessment / RD analysis, and the grain quality / fidelity assessment parameters.

16. The end-to-end system of claim 14, wherein the one or more computing devices are further configured to: determine rendering / display parameters indicative of the rendering of the video asset to the end user; and utilize the rendering / display parameters for determining the grain quality / fidelity assessment parameters.

17. The end-to-end system of claim 13, wherein one or more of: the grain model parameters indicate one or more of grain size, grain density, and / or grain contrast, and the grain reduction includes to utilize the grain model parameters to configure the grain reduction; the video encoding / rate control parameters indicate one or more of video bite rate, spatial resolution, frame rate or temporal resolution, encoding mode selections at video, frame, and local block levels, and quantization step parameters at video, frame, and local block level, and the grain reduction includes to utilize the video encoding / rate control parameters in configuringthe grain reduction; and / or the grain quality / fidelity assessment parameters include one or more of a grain quality / fidelity assessment, a structural fidelity assessment, and / or an overall quality assessment, and the grain reduction includes to utilize the grain quality / fidelity assessment parameters in configuring the grain reduction.

18. The end-to-end system of claim 13, wherein the grain-aware encoding / rate control includes to perform the encode on the video asset after the grain reduction, using the video encoding / rate control parameters and the grain reduction parameters.

19. The end-to-end system of claim 13, wherein the one or more computing devices are further configured to: perform a grain-aware joint optimization between the grain reduction and the grain- aware encoding / rate control to balance between grain reduction performance of the grain reduction and rate-distortion performance of the grain-aware encoding / rate control.

20. The end-to-end system of claim 19, wherein the one or more computing devices are further configured to: use the video encoding / rate control parameters and the video quality measure / RD performance parameters from a previous frame of the video asset to adjust the grain reduction parameters in a current frame of the video asset; and / or use the grain quality / fidelity assessment parameters to simultaneously adjust control parameters in both the grain reduction and the grain-aware encoding / rate control.

21. The end-to-end system of claim 13, wherein the one or more computing devices are further configured to stream, by the grain-aware streaming / decoding, a level of the video asset in an encoding ladder based on the grain model parameters, the video quality measure / RD performance parameters, and the grain quality / fidelity assessment parameters.

22. The end-to-end system of claim 13, wherein the grain synthesis includes to:determine the grain synthesis parameters by jointly utilizing the grain model parameters and the video encoding / rate control parameters and adjusted by jointly utilizing the video quality assessment / RD performance parameters and the grain quality / fidelity assessment parameters, such that responsive to video encoding quantization of the video asset being strong and bitrate of the video asset being low, increase the grain strength in the grain synthesis parameters to produce visual masking effect on over-compressed or over-smoothed regions in the video asset; and / or responsive to the grain quality / fidelity assessment parameters indicating a low quality video asset, decrease the grain strength in the grain synthesis parameters to avoid producing additional low-quality grain.

23. The end-to-end system of claim 13, wherein the grain-aware rendering / display includes to provide the rendering / display parameters to the grain synthesis, the rendering / display parameters including a size, a resolution, and / or a viewer distance from a viewer device, to allow the grain synthesis to adjust the grain synthesis parameters in terms of perceptual characteristics of the video asset.

24. The end-to-end system of claim 13, wherein the grain-aware video quality assessment / rate-distortion performance analysis includes one or more of to: produce a grain quality / fidelity measurement of the video asset; produce a structural fidelity measurement of the video asset; and / or produce an overall video quality measurement of the video asset.

25. A method of processing a source video asset with film grain for delivery through a content delivery network to optimize grain QoE of an image to be displayed within an encoder bit rate for a display that is a viewing device comprising: receiving a video asset, wherein the video asset is the source video asset; creating an encoded video asset by a pre-delivery processor, the pre-delivery processor reducing film grain in the video asset, determining at least one film grain parameter, encoding the video asset with reduced film grain and embedding the at least one film grainparameter as metadata to produce the encoded video asset; delivering the encoded video asset by the content delivery network to a remote viewing device; decoding the delivered encoded video asset by a post-delivery processor to produce a decoded video asset, using the at least one embedded film grain parameter to synthesize film grain, the synthesized film grain is added to the decoded video asset to produce a decoded and synthesized grain video asset; performing a grain quality assessment on the decoded and synthesized grain video asset to determine a grain quality measure by the post-delivery processor based on the at least one film grain parameter and a parameter of the remote viewing device; and feeding back the grain quality measure to the pre-delivery processor as a grain quality parameter, the pre-delivery processor using the grain quality parameter for reducing film grain in the video asset and optimizing the encoding of the video asset with reduced film grain to within a bit rate profile of the encoder for the remote viewing device to optimize the grain QoE of the decoded and synthesized grain video asset that is the image displayed on the remote viewing device.

26. The method of claim 25, wherein the pre-delivery processor includes performing on the video asset; grain assessment, grain modeling, grain reduction and encoding rate control.

27. The method of claim 25, further comprising producing grain model parameters for reducing film grain in the video asset.

28. The method of claim 25, wherein the post-delivery processor further includes performing video quality assessment of the decoded video asset to produce video quality parameters, and rate distortion analysis of the decoded video asset to produce rate distortion performance parameters, wherein the video quality parameters and the rate distortion performance parameters are provided to the pre-delivery processor further optimizing the encoding of the video asset with film grain.

29. The method of claim 28, wherein both the video quality parameters and the grain quality parameters are used in a joint optimization operation to adjust the grain reduction operation and the grain-aware encoding operation.

30. An end-to-end system that receives a video asset with film grain, processes the video asset for delivery to a remote viewing device to optimize a grain QoE of an image displayed for an encoder bit rate for the viewing device, the system comprising: a pre-delivery processor unit that reduces film grain in the video asset and determines at least one film grain parameter, encodes with an encoder the video asset with reduced film grain and embeds the at least one film grain parameter as metadata to produce an encoded video asset; a content network that receives the encoded video asset for delivery; and a post-delivery processor unit that receives, from a content delivery network, the encoded video asset and decodes the encoded video asset to produce a decoded video asset, using the embedded at least one film grain parameter to synthesize film grain, add the synthesized film grain to the decoded video asset to produce a decoded and synthesized grain video asset, perform a grain quality assessment of the decoded and synthesized grain video asset to determine a grain quality measure, wherein the post-delivery processor unit is configured to feedback the grain quality measure as a grain quality parameter to the pre-delivery processor unit, the pre-delivery processor unit is configured to use the grain quality parameter to reduce film grain in the video asset and optimize the encoding of the video asset to within a bit rate profile of the encoder for the remote viewing device to optimize the grain QoE of the decoded and synthesized grain video asset that is the image displayed on the remote viewing device.

31. A pre-delivery processor unit processes a video asset with film grain for optimized encoding, the pre-delivery processor unit configured to perform one or more operations including to: receive the video asset and a grain quality parameter; reduce film grain in the video asset and determine at least one film grain parameter; encode the video asset with reduced film grain and embedding the at least one filmgrain parameter as metadata to produce an encoded video asset; and output the encoded video asset to a content delivery network, wherein the encoded video asset is optimized using the grain quality parameter that is a grain quality measure outputted from a post-delivery processor, the grain quality measure determined by a grain quality assessment of a decoded and synthesized grain video asset produced by the post-delivery processor based on the encoded video asset received from the content delivery network.

32. The pre-delivery processor unit of claim 31, further configured to optimize encoder rate control and the grain quality measure.

33. A post-delivery processor unit that receives output from a content delivery network that is a delivered encoded video asset that has metadata with at least one film grain parameter, the post-delivery processor unit configured to perform one or more operations including to: decode the encoded video asset to produce a decoded video asset, synthesize grain using the decoded video asset and the embedded at least one film grain parameter and adding the synthesized grain to the decoded video asset to produce a decoded and synthesized grain video asset; perform a grain quality assessment on the synthesized grain and determine a grain quality measure; and output the grain quality measure as a grain quality parameter, wherein the grain quality parameter is received by a pre-delivery processor to produce an encoded video asset that optimizes a grain QoE of the decoded and synthesized grain video asset to be displayed.

Citation Information

Patent Citations

  • Method and apparatus for representing image granularity by one or more parameters

    US20070104380A1

  • Methods, systems, and apparatuses for adaptive processing of video content with film grain

    US20220337883A1

  • Film grain process

    US20230016432A1

  • A method or an apparatus for estimating film grain parameters

    WO2023275222A1

Cited By

  • Systems and methods for video processing

    US20250024032A1

  • Film grain repetitive pattern scoring

    WO2025202987A1