DNN-based cross-component prediction
A DNN-based cross-component prediction model addresses the limitations of conventional video coding standards by predicting chroma components using luma information and side data, achieving superior compression performance through nonlinear correlation exploitation.
Patent Information
- Application Number
- JP2023518071
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2022-05-20
- Filing Date
- 2022-05-31
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2042-05-31
AI Technical Summary
Conventional video coding standards struggle with efficient compression due to their block-based hybrid prediction/transform framework, which limits the exploitation of highly nonlinear and nonlocal spatiotemporal correlations, particularly in cross-component prediction modes like intra prediction for chroma components.
Employing a DNN-based cross-component prediction (CCP) model that utilizes information from the luma component, quantization parameter (QP) value, and block depth to predict the chroma component, leveraging deep neural networks to process arbitrary shapes and side information for improved compression performance.
Enhances compression performance by effectively predicting chroma components, offering a flexible and general framework that optimizes coding efficiency through the use of DNNs and side information, outperforming traditional linear prediction methods.
Smart Images

Figure 0007571289000001 
Figure 0007571289000002 
Figure 0007571289000003
Abstract
Description
[Technical field]
[0001] [CROSS REFERENCE TO RELATED APPLICATIONS] This application claims priority from U.S. Provisional Application No. 63 / 210,741, filed June 15, 2021, and U.S. Application No. 17 / 749,730, filed May 20, 2022, the disclosures of which are incorporated by reference in their entireties into this application.
[0002] Embodiments of the present disclosure are directed to methods and systems for DNN-based cross component prediction. [Background technology]
[0003] Traditional video coding standards such as H.264 / Advanced Video Coding (H.264 / AVC), High-Efficiency Video Coding (HEVC), and Versatile Video Coding (VVC) are designed on a similar (recursive) block-based hybrid prediction / transform framework, where individual coding tools such as intra / inter prediction, integer transform, and context-adaptive entropy coding are intensively handcrafted to optimize the overall efficiency. Essentially, spatiotemporal pixel neighborhoods are exploited in the construction of a prediction signal to obtain corresponding residuals for subsequent transform, quantization, and entropy coding. Meanwhile, the nature of deep neural networks (DNNs) is to extract different levels of spatiotemporal stimuli by analyzing spatiotemporal information from the receptive fields of neighboring pixels. The ability to explore highly nonlinear and nonlocal spatiotemporal correlations offers a promising opportunity to significantly improve compression quality.
[0004] One objective of video coding and decoding can be the reduction of redundancy in the input video signal through compression. Compression can help reduce the aforementioned bandwidth or storage space requirements, in some cases by more than two orders of magnitude. Both lossless and lossy compression, as well as combinations thereof, can be used. Lossless compression refers to techniques that can reconstruct an exact copy of the original signal from the compressed original signal. When using lossy compression, the reconstructed signal may not be identical to the original signal, but the distortion between the original and reconstructed signals is small enough so that the reconstructed signal is useful for the intended application. For video, lossy compression is widely adopted. The amount of distortion that is tolerated depends on the application. For example, users of a particular consumer streaming application may tolerate higher distortion than users of a television contribution application. The achievable compression ratio can reflect: the more acceptable / tolerable distortion, the higher the compression ratio can be. Summary of the Invention
[0005] By utilizing information from various components and other side information, conventional encoders can predict other components to achieve better compression performance. However, cross-component linear prediction mode in intra prediction cannot perform well compared to DNN-based methods. The nature of DNN is to extract different high-level stimuli, and the ability to explore highly nonlinear and nonlocal correlations provides promising opportunities for high compression quality. The embodiments of the present disclosure use DNN-based models to process side information, reference components, and arbitrary shapes of luma components to predict reconstructed chroma components to achieve better compression performance.
[0006] The embodiments of the present disclosure provide a cross-component prediction (CCP) model as a new mode of intra prediction by using a deep neural network (DNN). This model uses information provided by the encoder, such as luma components, quantization parameter (QP) values, and block depth, to predict chroma components to achieve better compression performance. Previous NN-based intra prediction approaches only aim to predict the luma component or generate predictions for all three channels, ignoring the correlation between chroma components and other additional information.
[0007] According to an embodiment, a method is provided that is executed by at least one processor, the method including: obtaining a reconstructed luma block of an image or video; inputting the reconstructed luma block to a DNN; obtaining a reference component and side information associated with the reconstructed luma block; inputting the reference component and side information to the DNN; and predicting, by the DNN, a reconstructed chroma block of the image or video based on the reconstructed luma block, the reference component, and the side information.
[0008] According to an embodiment, a system is provided. The system includes: at least one memory configured to store computer program code; and at least one processor configured to access and operate according to instructions of the computer program code. The computer program code includes: input code configured to cause a deep neural network (DNN) implemented by the at least one processor to input to the at least one processor a reconstructed luma block of an image or video, a reference component, and side information related to the reconstructed luma block; and prediction code configured to cause the at least one processor to predict, by the DNN, a reconstructed chroma block of the image or video based on the input reconstructed luma block, the reference component, and the side information.
[0009] According to an embodiment, a non-transitory computer-readable medium is provided that stores computer code, which, when executed by at least one processor, is configured to: cause the at least one processor to implement a DNN; cause a reconstructed luma block of an image or video, a reference component, and side information associated with the reconstructed luma block to be input to the DNN; and cause the DNN to predict a reconstructed chroma block of the image or video based on the input reconstructed luma block, reference component, and side information. [Brief description of the drawings]
[0010] Further features, nature and various advantages of the disclosed subject matter will become more apparent from the following detailed description and the accompanying drawings.
[0011] [Figure 1] FIG. 1 is a schematic diagram of a simplified block diagram of a communication system according to one embodiment.
[0012] [Diagram 2]FIG. 1 is a schematic diagram of a simplified block diagram of a communication system according to one embodiment.
[0013] [Diagram 3] FIG. 2 is a schematic diagram of a simplified block diagram of a decoder according to one embodiment.
[0014] [Figure 4] FIG. 2 is a schematic diagram of a simplified block diagram of an encoder according to one embodiment.
[0015] [Diagram 5] FIG. 2 is a schematic diagram of a simplified block diagram of a process of input generation according to one embodiment.
[0016] [Figure 6] FIG. 2 is a schematic diagram of a simplified block diagram of a process of cross-component prediction according to one embodiment.
[0017] [Figure 7] FIG. 2 is a block diagram of computer code according to one embodiment.
[0018] [Figure 8] FIG. 1 illustrates a computer system suitable for implementing embodiments of the present disclosure. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0019] 1 shows a simplified block diagram of a communication system 100 according to one embodiment of the present disclosure. The communication system 100 may include at least two terminals 110, 120 interconnected via a network 150. For unidirectional transmission of data, the first terminal 110 may code video data at a local location for transmission to the other terminal 120 via the network 150. The second terminal 120 may receive the coded video data of the other terminal from the network 150, decode the coded data, and display the recovered video data. Unidirectional data transmission may be common in media service applications, etc.
[0020] 1 illustrates a pair of second terminals 130, 140 provided to support bidirectional transmission of coded video, such as may occur during a video conference. For the bidirectional transmission of data, each terminal 130, 140 may code video data captured at a local location for transmission to the other terminal over network 150. Each terminal 130, 140 may also receive coded video data transmitted by the other terminal, decode the coded data, and display the recovered video data on a local display device.
[0021] In FIG. 1, terminals 110-140 are shown as servers, personal computers, and smartphones, and / or any other type of terminal. For example, terminals 110-140 may be laptop computers, tablet computers, media players, and / or dedicated video conferencing equipment. Network 150 represents any number of networks that convey coded video data between terminals 110-140, including, for example, wired and / or wireless communication networks. Communications network 150 may exchange data over circuit-switched and / or packet-switched channels. Representative networks include telecommunications networks, local area networks, wide area networks, and / or the Internet. For purposes of this discussion, the architecture and topology of network 150 may not be important to the operation of the present disclosure, unless described below.
[0022] 2 shows an arrangement of video encoders and decoders in a streaming environment as an example of application of the disclosed subject matter. The disclosed subject matter can be similarly applicable to other video-enabled applications including, for example, video conferencing, digital television, storage of compressed video on digital media including CDs, DVDs, memory sticks, etc.
[0023] As shown in FIG. 2, the streaming system 200 may include a capture subsystem 213 that may include a video source 201 and an encoder 203. The video source 201 may be, for example, a digital camera and may be configured to create an uncompressed video sample stream 202. The uncompressed video sample stream 202 may provide a high amount of data when compared to an encoded video bitstream and may be processed by an encoder 203 coupled to the video source 201. The encoder 203 may include hardware, software, or a combination thereof to enable or implement aspects of the disclosed subject matter, as described in more detail below. The encoded video bitstream 204 may include a lower amount of data when compared to the sample stream and may be stored on the streaming server 205 for future use. One or more streaming clients 206 may access the streaming server 205 to obtain a video bitstream 209, which may be a copy of the encoded video bitstream 204.
[0024] In an embodiment, the streaming server 205 may also function as a Media-Aware Network Element (MANE). For example, the streaming server 205 may be configured to prune the encoded video bitstream 204 to tailor the potentially different bitstreams to one or more of the streaming clients 206. In an embodiment, a MANE may be provided separately from the streaming server 205 in the streaming system 200.
[0025] The streaming client 206 may include a video decoder 210 and a display 212. The video decoder 210 may, for example, decode a video bitstream 209, which is an incoming copy of the encoded video bitstream 204, and create a transmitted video sample stream 211 that may be rendered on a display 212 or another rendering device (not shown). In some streaming systems, the video bitstreams 204, 209 may be encoded according to a particular video coding / compression standard. Examples of such standards include, but are not limited to, ITU-T Recommendation H.265. A video coding standard informally known as Versatile Video Coding (VVC) is under development. The disclosed embodiments may be used in the context of VVC.
[0026] FIG. 3 illustrates an exemplary functional block diagram of a video decoder 210 attached to a display 212 according to an embodiment of the present disclosure.
[0027] The video decoder 210 may include a channel 312, a receiver 310, a buffer memory 315, an entropy decoder / parser 320, a scaler / inverse transform unit 351, an intra-picture prediction unit 352, a motion compensated prediction unit 353, an aggregator 355, a loop filter unit 356, a reference picture memory 357, and a current picture memory. In at least one embodiment, the video decoder 210 may include an integrated circuit, a series of integrated circuits, and / or other electronic circuitry. The video decoder 210 may also be embodied partially or wholly in software running on one or more CPUs with associated memory.
[0028] In this and other embodiments, the receiver 310 may receive one or more coded video sequences to be decoded by the decoder 210, one coded video sequence at a time, with the decoding of each coded video sequence being independent of the other coded video sequences. The coded video sequences may be received from a channel 312, which may be a hardware / software link to a storage device that stores the encoded video data. The receiver 310 may receive the encoded video data along with other data (e.g., coded audio data and / or ancillary data streams), which may be forwarded to respective usage entities (not shown). The receiver 310 may separate the coded video sequences from the other data. To address network jitter, a buffer memory 315 may be coupled between the receiver 310 and the entropy decoder / parser 320 (hereinafter the "parser"). If the receiver 310 is receiving data from a store / forward device with sufficient bandwidth and controllability, or is receiving data from an isosynchronous network, the buffer memory 315 may not be used or may be small. For use in a best effort packet network such as the Internet, a buffer memory 315 may be required and can be relatively large and adaptively sized.
[0029] The video decoder 210 may include a parser 320 for reconstructing symbols 321 from the entropy coded video sequence. These categories of symbols include, for example, information used to manage the operation of the decoder 210, and possibly information for controlling a rendering device such as a display 212, which may be coupled to the decoder as shown in FIG. 2. The control information for the rendering device(s) may be in the form of, for example, a Supplementary Enhancement Information (SEI) message or a Video Usability Information (VUI) parameter set fragment (not shown). The parser 320 may parse / entropy decode the received coded video sequence. The coding of the coded video sequence may follow a video coding technique or standard and may follow principles well known to those skilled in the art, including variable length coding, Huffman coding, arithmetic coding with or without context sensitivity, etc. The parser 320 may extract, from the coded video sequence, at least one set of subgroup parameters for a subgroup of pixels in the video decoder based on at least one parameter corresponding to the group. Subgroups may include Group of Pictures (GOP), pictures, tiles, slices, macroblocks, Coding Units (CU), blocks, Transform Units (TU), Prediction Units (PU), etc. Parser 320 may also extract from the coded video sequence information such as transform coefficients, quantizer parameter values, motion vectors, etc.
[0030] Parser 320 may perform an entropy decoding / parsing operation on the video sequence received from buffer memory 315 to create symbols 321.
[0031] The reconstruction of symbols 321 may involve a number of different units, depending on the type of coded video picture or part thereof (inter and intra pictures, inter and intra blocks, etc.), and other factors. Which units are involved and how they are involved may be controlled by subgroup control information parsed from the coded video sequence by parser 320. The flow of such subgroup control information between parser 320 and the following units is not depicted for clarity.
[0032] Beyond the functional blocks already mentioned, the decoder 210 can be conceptually subdivided into several functional units, as described below. In a practical implementation operating under commercial constraints, many of these units will interact closely with each other and may be, at least in part, integrated with each other. However, for purposes of describing the disclosed subject matter, a conceptual subdivision into the following functional units is appropriate:
[0033] One unit may be a scalar / inverse transform unit 351. The scalar / inverse transform unit 351 may receive quantized transform coefficients as symbol(s) 321 from the parser 320 along with control information including which transform to use, block size, quantization coefficients, quantization scaling matrices, etc. The scalar / inverse transform unit 351 may output a block containing sample values that may be input to an aggregator 355.
[0034] In some cases, the output samples of the scalar / inverse transform unit 351 may relate to intra-coded blocks; i.e., blocks that do not use prediction information from a previously reconstructed picture, but can use prediction information from a previously reconstructed part of the current picture. Such prediction information may be provided by the intra-picture prediction unit 352. In some cases, the intra-picture prediction unit 352 generates a block of the same size and shape as the block being reconstructed using surrounding already reconstructed information retrieved from the current (partially reconstructed) picture from the current picture memory 358. The aggregator 355 may add the prediction information generated by the intra-picture prediction unit 352 sample by sample to the output sample information provided by the scalar / inverse transform unit 351.
[0035] In other cases, the output samples of the scalar / inverse transform unit 351 may be inter coded and potentially related to a motion compensated block. In such cases, the motion compensated prediction unit 353 may access the reference picture memory 357 to fetch samples used for prediction. After motion compensating the fetched samples according to the symbols 321 associated with the block, these samples may be added by the aggregator 355 to the output of the scalar / inverse transform unit 351 (in this case referred to as residual samples or residual signals) to generate output sample information. The addresses in the reference picture memory 357 from which the motion compensated prediction unit 353 fetches the prediction samples may be controlled by a motion vector. The motion vector may be available to the motion compensated prediction unit 353 in the form of a symbol 321, which may have, for example, X, Y, and reference picture components. Motion compensation may also include interpolation of sample values fetched from the reference picture memory 357 when sub-sample accurate motion vectors are used, motion vector prediction mechanisms, etc.
[0036] The output samples of aggregator 355 may be subject to various loop filtering techniques in loop filter unit 356. The video compression techniques may include in-loop filter techniques controlled by parameters contained in the coded video bitstream and made available to loop filter unit 356 as symbols 321 from parser 320, but may also be responsive to meta-information obtained during decoding of a coded picture or previous (in decoding order) part of a coded video sequence, and may also be responsive to previously reconstructed and loop filtered sample values.
[0037] The output of the loop filter unit 356 is a sample stream that can be output to a rendering device such as the display 212, and can also be stored in a reference picture memory 357 for use in future inter-picture prediction.
[0038] A particular coded picture, once fully reconstructed, can be used as a reference picture for future predictions. Once a coded picture is fully reconstructed and the coded picture is identified as a reference picture (e.g., by parser 320), the current reference picture can become part of reference picture memory 357, and a new current picture memory can be reallocated before starting reconstruction of the next coded picture.
[0039] The video decoder 210 may perform decoding operations according to a given video compression technique, which may be documented in a standard such as ITU-T Rec. H.265. The coded video sequence may conform to a syntax specified by the video compression technique or standard used, in the sense that it conforms to the syntax of the video compression technique or standard specified in the video compression technique's document or standard, and in particular in its profile document. Also, to conform to some video compression techniques or standards, the complexity of the coded video sequence may be within a range defined by a level of the video compression technique or standard. In some cases, the level limits a maximum picture size, a maximum frame rate, a maximum reconstruction sample rate (e.g., measured in megasamples / second, etc.), a maximum reference picture size, etc. The limits set by the level may be further limited in some cases by a hypothetical reference decoder (HRD) specification and metadata for HRD buffer management signaled in the coded video sequence.
[0040] In one embodiment, the receiver 310 may receive additional (redundant) data along with the encoded video. The additional data may be included as part of the coded video sequence(s). The additional data may be used by the video decoder 210 to properly decode the data and / or to more accurately reconstruct the original video data. The additional data may be in the form of, for example, temporal, spatial, or SNR enhancement layers, redundant slices, redundant pictures, forward error correction codes, etc.
[0041] FIG. 4 illustrates an example functional block diagram of a video encoder 203 associated with a video source 201 according to one embodiment of the present disclosure.
[0042] The video encoder 203 may include, for example, an encoder which is a source coder 430, a coding engine 432, a (local) decoder 433, a reference picture memory 434, a predictor 435, a transmitter 440, an entropy coder 445, a controller 450, and a channel 460.
[0043] The encoder 203 may receive video samples from a video source 201 (not part of the encoder), which may capture the video image(s) to be coded by the encoder 203.
[0044] The video source 201 may provide a source video sequence to be coded by the encoder 203 in the form of a digital video sample stream that may have any suitable bit depth (e.g.: 8-bit, 10-bit, 12-bit, ...), any color space (e.g.: BT.601 Y CrCB, RGB, ...) and any suitable sampling structure (e.g.: Y CrCb 4:2:0, Y CrCb 4:4:4). In a media serving system, the video source 201 may be a storage device that stores previously prepared video. In a video conferencing system, the video source 201 may be a camera that captures local image information as a video sequence. The video data may be provided as a number of separate pictures that give motion when viewed in sequence. The pictures themselves may be organized as a spatial array of pixels, each pixel may contain one or more samples depending on the sampling structure, color space, etc. in use. Those skilled in the art can easily understand the relationship between pixels and samples. In the following, the description will focus on samples.
[0045] According to an embodiment, the encoder 203 may code and compress pictures of a source video sequence into a coded video sequence 443 in real time or under other time constraints required by the application. Enforcing an appropriate coding rate is one of the functions of the controller 450. The controller 450 may also control other functional units as described below and may be functionally coupled to these units. Couplings are not depicted for clarity. Parameters set by the controller 450 may include rate control related parameters (picture skip, quantization, lambda value of rate distortion optimization technique, ...), picture size, group of pictures (GOP) layout, maximum motion vector search range, etc. Those skilled in the art can easily identify other functions of the controller 450 as they may be relevant to a video encoder 203 optimized for a particular system design.
[0046] Some video encoders operate in what one skilled in the art can easily recognize as a "coding loop". As an oversimplified description, the coding loop can consist of an encoding part of a source coder 430 (responsible for creating symbols based on the input picture to be coded and the reference picture(s)) and a (local) decoder 433 embedded in the encoder 203 that reconstructs the symbols to create sample data that the (remote) decoder also creates if the compression between the symbols and the coded video bitstream is lossless for a particular video compression technique. That reconstructed sample stream can be input to a reference picture memory 434. The contents of the reference picture memory are also bit exact between the local and remote encoders, since the decoding of the symbol stream leads to a bit-exact result that is independent of the location of the decoder (local or remote). In other words, the predictive part of the encoder "sees" exactly the same sample values as the reference picture samples that the decoder would "see" if it used prediction during decoding. This basic principle of reference picture synchrony (and the resulting drift if synchrony cannot be maintained, for example due to channel errors) is known to those skilled in the art.
[0047] The operation of the "local" decoder 433 may be the same as the "remote" decoder 210, already described in detail in conjunction with Figure 3. However, because symbols are available and the encoding / decoding of symbols into a coded video sequence by the entropy coder 445 and parser 320 may be lossless, the entropy decoding portion of the decoder 210, including the channel 312, receiver 310, buffer memory 315, and parser 320, may not be fully implemented in the local decoder 433.
[0048] A possible observation at this point is that any decoder technique, except for analysis / entropy decoding, present in the decoder may need to be present in a substantially identical functional form in the corresponding encoder. For this reason, the disclosed subject matter focuses on the operation of the decoder. A description of the encoder technique may be omitted, since it may be the inverse of the decoder technique described generically. Only in certain areas is a more detailed description necessary, which is provided below.
[0049] As part of its operations, the source coder 430 may perform motion-compensated predictive coding, which predictively codes an input frame with reference to one or more previously coded frames from the video sequence designated as “reference frames.” In this manner, the coding engine 432 codes differences between pixel blocks of the input frame and pixel blocks of reference frame(s) that may be selected as predictive reference(s) to the input frame.
[0050] The local decoder 433 may decode the coded video data of a frame that may be designated as a reference frame based on the symbols created by the source coder 430. The operation of the coding engine 432 may advantageously be a lossy process. If the coded video data may be decoded in a video decoder (not shown in FIG. 4), the reconstructed video sequence may usually be a replica of the source video sequence with some errors. The local decoder 433 may replicate the decoding process that may be performed on the reference frame by the video decoder, such that the reconstructed reference frame is stored in the reference picture memory 434. In this way, the encoder 203 may locally store a copy of the reconstructed reference frame with common content as a reconstructed reference frame to be obtained by a far-end video decoder (without transmission errors).
[0051] The predictor 435 may perform a prediction search for the coding engine 432. That is, for a new frame to be coded, the predictor 435 may search the reference picture memory 434 for sample data (as candidate reference pixel blocks) or specific metadata such as reference picture motion vectors, block shapes, etc. that may serve as suitable prediction references for the new picture. The predictor 435 may operate on a sample block-by-pixel block basis to find a suitable prediction reference. In some cases, as determined by the search results obtained by the predictor 435, the input picture may have prediction references drawn from multiple reference pictures stored in the reference picture memory 434.
[0052] The controller 450 may manage the coding operations of the source coder 430, including, for example, setting parameters and subgroup parameters used in encoding the video data.
[0053] The output of all the aforementioned functional units may undergo entropy coding in entropy coder 445. The entropy coder converts the symbols produced by the various functional units into a coded video sequence by losslessly compressing the symbols according to techniques known to those skilled in the art, such as, for example, Huffman coding, variable length coding, arithmetic coding, etc.
[0054] The transmitter 440 may buffer the coded video sequence(s) created by the entropy coder 445 to prepare for transmission over a communication channel 460, which may be a hardware / software link to a storage device that stores the encoded video data. The transmitter 440 may merge the coded video data from the source coder 430 with other data to be transmitted, such as coded audio data and / or auxiliary data streams (sources not shown).
[0055] The controller 450 may manage the operation of the encoder 203. During coding, the controller 450 may assign a particular coded picture type to each coded picture, which may affect the coding technique that may be applied to the respective picture. For example, pictures may often be assigned as an intra picture (I picture), a predicted picture (P picture), or a bi-directionally predicted picture (B picture).
[0056] An intra picture (I-picture) may be one that can be coded and decoded without using other frames in a sequence as a source of prediction. Some video codecs allow various kinds of intra pictures, including, for example, Independent Decoder Refresh (IDR) pictures. Those skilled in the art will recognize these variations of I-pictures and their respective uses and characteristics.
[0057] A predictive picture (P picture) may be coded and decoded using intra- or inter-prediction, which uses at most one motion vector and reference index to predict the sample values of each block.
[0058] Bidirectionally predicted pictures (B-pictures) may be coded and decoded using intra- or inter-prediction that uses up to two motion vectors and reference indices to predict the sample values of each block. Similarly, multi-predicted pictures may use more than two reference pictures and associated metadata for the reconstruction of a single block.
[0059] A source picture is typically spatially subdivided into multiple sample blocks (e.g., blocks of 4x4, 8x8, 4x8, or 16x16 samples, respectively) and may be coded block by block. Blocks may be predictively coded with reference to other (already coded) blocks as determined by the coding assignment applied to the respective picture of the block. For example, blocks of an I-picture may be non-predictively coded or predictively coded with reference to already coded blocks of the same picture (spatial or intra prediction). Pixel blocks of a P-picture may be non-predictively coded via spatial prediction or via temporal prediction with reference to one previously coded reference picture. Blocks of a B-picture may be non-predictively coded via spatial prediction or via temporal prediction with reference to one or two previously coded reference pictures.
[0060] The video encoder 203 may perform coding operations according to a given video coding technique or standard, such as ITU-T Recommendation H.265. In that operation, the video encoder 203 may perform various compression operations, including predictive coding operations that exploit temporal and spatial redundancy in the input video sequence. Thus, the coded video data may conform to a syntax specified by the video coding technique or standard being used.
[0061] In one embodiment, the transmitter 440 may transmit additional data along with the encoded video. The source coder 430 may include such data as part of the coded video sequence. The additional data may include temporal / spatial / SNR enhancement layers, other forms of redundant data such as redundant pictures and slices, supplemental enhancement information (SEI) messages, visual usability information (VUI) parameter set fragments, etc.
[0062] Embodiments of the present disclosure provide DNN-based cross-component prediction, which are described below with reference to Figures 5-6.
[0063] A video compression framework according to an embodiment of the present disclosure is described below. Assume that an input video includes a number of image frames equal to the total number of frames in the video. The frames are partitioned into spatial blocks, and each block can be recursively divided into smaller blocks. A block includes both a luma component 510y and a chroma component 520 including chroma channels 520u and 520t. During the intra prediction process, the luma component 510y can be predicted first, and then the two chroma channels 520u and 520t can be predicted later. The prediction of both chroma channels 520u and 520t can be performed jointly or separately.
[0064] In one embodiment of the present disclosure, the reconstructed chroma component 520 is generated by a DNN-based model in both the encoder and the decoder, or only in the decoder. The two chroma channels 520u and 520t may be generated together in a single network, or separately in different networks. For each chroma channel, the chroma channel may be generated using a different network based on the block size. One or more processes including signal processing, spatial or temporal filtering, scaling, weighted averaging, up / down sampling, pooling, memory-based recursive processing, linear system processing, nonlinear system processing, neural network processing, deep learning-based processing, AI processing, pre-trained network processing, machine learning-based processing, or combinations thereof may be used as modules of the embodiment of the present disclosure in the DNN-based cross-component prediction. To process the reconstructed chroma component 520, one reconstructed chroma channel (e.g., one of the chroma channels 520u and 520t) may be used to generate the other reconstructed chroma channel (e.g., the other of the chroma channels 520u and 520t).
[0065] According to an embodiment of the present disclosure, a DNN-based cross-component prediction model may be provided that enhances compression performance of the reconstructed chroma channels 520u and 520t of a block based on the reconstructed luma component 510y of the block, the reference component, and other side information provided by the encoder. According to an embodiment, 4:2:0 may be used to subsample the chroma channels 520u and 520t. Thus, the chroma channels 520u and 520t may have a lower resolution than the luma component 510y.
[0066] The process 500 is described below with reference to Figure 5. The process 500 includes a workflow for generating input samples 580 for training and / or prediction in a general hybrid video coding system according to an embodiment of the present disclosure.
[0067] The reconstructed luma component 510y may be a luma block that is a 2N×2M block, where 2N is the width of the luma block and 2M is the height of the luma block. According to an embodiment, a first luma reference 512y that is a 2N×2K block and a second luma reference 514y that is a 2K×2M block may also be provided, where 2K represents the number of rows or columns of the luma reference. In order to make the luma size the same as the predicted output size, a downsampling process 591 is applied to the luma component 510y, the first luma reference 512y, and the second luma reference 514y. The downsampling process 530 may be a conventional method such as bicubic and bilinear, or may be a NN-based downsampling method. After downsampling, the luma component 510y may become a downsampled luma component 530y having a block size of N×M, the first luma reference 512y may become a downsampled first luma reference 532y having a block size of N×K, and the second luma reference 514y may become a downsampled second luma reference 534y having a block size of K×M. The downsampled first luma reference 532y and the downsampled second luma reference 534y are respectively converted (at step 592) into a first transformed luma reference 552y and a second transformed luma reference 554y that match the size of the downsampled luma component 530y (also called a luma block), and the first transformed luma reference 552y, the second transformed luma reference 554y, and the downsampled luma component 530y may be concatenated together (at step 592). For example, the conversion may be performed by duplicating the values of the downsampled first luma reference 532y and the downsampled second luma reference 534y several times until their sizes are the same as the output block size (e.g., the size of the downsampled luma component 530y).
[0068] To predict the chroma component 520, neighboring references of the chroma component 520 (e.g., the first chroma reference 522 and the second chroma reference 524) can also be added as optional references to generate a better chroma component. With reference to FIG. 5, the chroma component 520 may be a block having a size N×M, which is a reconstructed chroma block that may be generated / predicted in an embodiment of the present disclosure. The chroma component 520 has two chroma channels 520u and 520t, and both channels 520u and 520t may be combined. The first chroma reference 522 and the second chroma reference 524 may be obtained (at step 593), which may have block sizes of N×K and K×M, respectively. According to an embodiment, the first chroma reference 522 and the second chroma reference 524 may be obtained twice to correspond to the two chroma channels 520u and 520t, respectively. The first chroma reference 522 and the second chroma reference 524 may be converted (at step 594) into a first transformed chroma reference 542 and a second transformed chroma reference 544, respectively, that match a size of N×M. All image-based information (e.g., the downsampled luma component 530y, the first transformed luma reference 552y, the second transformed luma reference 554y, the first transformed chroma reference 542, and the second transformed chroma reference 544) may be concatenated together (at step 595) to obtain input samples 580 for training the DNN and / or predicting using the DNN. Besides the luma and chroma components, side information may be added to the input for training and / or predicting the neural network.For example, the QP value and block partition depth information can be used to generate a feature map having size N×M, which can be concatenated (in step 595) together with the image-based feature map (e.g., the downsampled luma component 530y, the first transformed luma reference 552y, the second transformed luma reference 554y, the first transformed chroma reference 542, and the second transformed chroma reference 544) to generate input samples 580 for training and / or prediction.
[0069] The workflow of a process 600 in a typical hybrid video coding system is described below with reference to FIG.
[0070] A reconstructed luma block 610 (also referred to as a luma component), side information 612, adjacent luma references 614 to the luma block 610, and a set of adjacent chroma references 616 to the reconstructed chroma block may be used as inputs of a DNN 620 such that the model of the present disclosure can perform both training and prediction. The output 630 of the DNN 620 may be a predicted chroma component, and the two chroma channels may be predicted using different DNN models or the same DNN model.
[0071] According to an embodiment, the input to the DNN 620 may be the input samples 580 described with reference to Figure 5. For example, the reconstructed luma block 610 may be the downsampled luma component 530y, the neighboring luma reference 614 may be one or more of the first transformed luma reference 552y and the second transformed luma reference 554y, and the neighboring chroma reference 616 may be one or more of the first transformed chroma reference 542 and the second transformed chroma reference 544 (for one or both of the chroma channels 520u and 520t). According to an embodiment, the side information may include, for example, a QP value and block partition depth information.
[0072] The combination, concatenation, or order of how the reconstructed luma block 610, the side information 612, the adjacent luma reference 614, and the adjacent chroma reference 616 are used as inputs may be varied in various ways. According to an embodiment, the side information 612, the adjacent luma reference 614, and / or the adjacent chroma reference 616 may be optional inputs to the DNN 620 based on decision(s) by the coding system of an embodiment of the present disclosure.
[0073] According to an embodiment, the coding system of the present disclosure may calculate a reconstruction quality (step 640), for example, by comparing the output 630 (e.g., predicted chroma components) of the DNN 620 to the original chroma block 660 and comparing one or more chroma blocks from other prediction modes (step 650) to the original chroma block 660. Based on determining which one among the outputs 630 (e.g., predicted chroma components) and the one or more chroma blocks from the other prediction modes (step 650) has the highest reconstruction quality (e.g., closest to the original chroma block 660), such block (or mode) may be selected to be the chroma block 670 reconstructed by the coding system.
[0074] According to an embodiment, at least one processor and a memory may be provided with computer program instructions stored therein. The computer program instructions, when executed by the at least one processor, may implement a system that performs any number of functions described in this disclosure. For example, with reference to FIG. 7, the at least one processor may implement a system 700. The system 700 may include a DNN(s) and at least one model thereof. The computer program instructions may include, for example, DNN code 710, input generation code 720, input code 730, prediction code 740, reconstruction quality code 750, image acquisition code 760.
[0075] The DNN code 710 may be configured to cause at least one processor to implement the DNN(s) (and models thereof) in accordance with embodiments of the present disclosure.
[0076] The input generation code 720 may be configured to cause the at least one processor to generate inputs for the DNN(s) according to an embodiment of the present disclosure (e.g., see the description of FIG. 5). For example, the input generation code 720 may cause the processing described with reference to FIG.
[0077] The input code 730 may be configured to cause at least one processor to input inputs to the DNN(s) according to an embodiment of the present disclosure (see, e.g., the description of inputs to the DNN 620 shown in FIG. 6). For example, with reference to FIG. 6, the inputs may include the reconstructed luma block 610, the side information 612, the luma reference 614, and / or the chroma reference 616.
[0078] The prediction code 740 may be configured to cause at least one processor to predict the reconstructed chroma block by the DNN(s) according to an embodiment of the present disclosure (see, e.g., the description of output 630 shown in FIG. 6).
[0079] The reconstruction quality code 750 may be configured to cause at least one processor to calculate the reconstruction quality of a reconstructed chroma block predicted by the DNN and another reconstructed chroma block(s) predicted using a different prediction mode(s) in accordance with an embodiment of the present disclosure (see, e.g., the description of steps 640 and 650 shown in FIG. 6 ).
[0080] The image acquisition code 760 may be configured to cause the at least one processor to acquire an image using a reconstructed chroma block predicted by a DNN or another reconstructed chroma block(s) predicted using a different prediction mode(s) according to an embodiment of the present disclosure (see, for example, the description of step 640 and reconstructed chroma block 670 shown in FIG. 6). For example, the image acquisition code 760 may be configured to cause the at least one processor to select one among the reconstructed chroma block and another reconstructed chroma block based on the one with the highest calculated reconstruction quality and use such reconstructed chroma block to acquire an image. According to an embodiment, the image acquisition code 760 may be configured to cause the at least one processor to acquire an image using a reconstructed chroma block predicted by a DNN without a reconstruction quality being calculated and / or used to select between the reconstructed chroma blocks. According to an embodiment, the reconstructed luma block may also be used to acquire an image.
[0081] Compared with previous cross-component prediction methods in intra prediction mode, the embodiments of the present disclosure provide various advantages. For example, the embodiments of the present disclosure provide a flexible and general framework that accommodates various shapes of reconstruction blocks. Also, the embodiments of the present disclosure include an aspect of utilizing a transformation mechanism with various input information, thereby optimizing the learning ability of the DNN model to improve coding efficiency. Furthermore, side information can be used together with the DNN to improve prediction results.
[0082] The techniques of the embodiments of the present disclosure described above can be implemented as computer software using computer-readable instructions and physically stored in one or more computer-readable media. For example, FIG. 8 shows a computer system 900 suitable for implementing embodiments of the disclosed subject matter.
[0083] The computer software can be coded using any suitable machine code or computer language that can be subject to assembly, compilation, linking, or similar mechanisms to produce code containing instructions that can be executed by a computer central processing unit (CPU), graphics processing unit (GPU), or the like, either directly, or through interpretation, microcode execution, or the like.
[0084] The instructions may be executed on various types of computers or components thereof including, for example, personal computers, tablet computers, servers, smart phones, gaming devices, Internet of Things devices, and the like.
[0085] 9 for computer system 900 are exemplary in nature and are not intended to suggest any limitation as to the scope of use or functionality of the computer software implementing the embodiments of the present disclosure, nor should the arrangement of components be interpreted as having any dependency or requirement related to any one or combination of components illustrated in the exemplary embodiment of computer system 900.
[0086] The computer system 900 may include certain human interface input devices. Such human interface input devices may respond to input by one or more human users through, for example, tactile input (keystrokes, swipes, data glove movements, etc.), audio input (voice, clapping, etc.), visual input (gestures, etc.), and olfactory input (not shown). Human interface devices may also be used to capture certain media that are not necessarily directly related to conscious human input, such as audio (speech, music, ambient sounds, etc.), images (scanned images, photographic images obtained from still cameras, etc.), and video (2D video, 3D video including stereoscopic images, etc.).
[0087] The input human interface devices may include one or more (but only one of each) of a keyboard 901, a mouse 902, a trackpad 903, a touch screen 910, a data glove, a joystick 905, a microphone 906, a scanner 907, and a camera 908.
[0088] The computer system 900 may also include certain human interface output devices. Such human interface output devices may stimulate one or more of the human user's senses, for example, through haptic output, sound, light, and smell / taste. Such human interface output devices may include haptic output devices (e.g., haptic feedback via a touch screen 910, data gloves, or joystick 905, but may also be haptic feedback devices that do not function as input devices). For example, such devices may be audio output devices (speakers 909, headphones (not shown), etc.), visual output devices (such as screens 910, including CRT screens, LCD screens, plasma screens, OLED screens, etc., each of which may or may not have touch screen input capabilities and each of which may or may not have haptic feedback capabilities - some of which may be capable of outputting three or more dimensional output via means such as two-dimensional visual output or stereoscopic output; virtual reality glasses (not shown), holographic displays and smoke tanks (not shown)), and printers (not shown).
[0089] The computer system 900 may also include human accessible storage devices and associated media such as optical media including CD / DVD ROM / RW 920 with CD / DVD or similar media 921, thumb drives 922, removable hard drives or solid state drives 923, legacy magnetic media such as tapes and floppy disks (not shown), specialized ROM / ASIC / PLD based devices such as security dongles (not shown).
[0090] Those skilled in the art should also understand that the term "computer-readable medium" as used in connection with the presently disclosed subject matter does not encompass transmission media, carrier waves, or other transitory signals.
[0091] The computer system 900 may also include interfaces to one or more communication networks. The networks may be, for example, wireless, wired, optical. The networks may further be local, wide area, metropolitan, vehicular and industrial, real-time, delay tolerant, etc. Examples of networks include local area networks such as Ethernet, wireless LAN, cellular networks including GSM, 3G, 4G, 5G, LTE, etc., TV wired or wireless wide area digital networks including cable TV, satellite TV, and terrestrial broadcast TV, vehicular and industrial including CAN bus, etc. Certain networks generally require an external network interface adapter that is attached to a particular general-purpose data port or peripheral bus 949 (e.g., a USB port of the computer system 900, etc.). Others are generally built into the core of the computer system 900 by attaching to the system bus as described below (e.g., an Ethernet interface to a PC computer system or a cellular network interface to a smartphone computer system). Using any of these networks, the computer system 900 may communicate with other entities. Such communications may be unidirectional, receive only (e.g., broadcast television), unidirectional transmit only (e.g., a CAN bus to a particular CAN bus device), or bidirectional, for example, to other computer systems using local or wide area digital networks. Such communications may include communications to cloud computing environments 955. Particular protocols and protocol stacks may be used with each of these networks and network interfaces, as described above.
[0092] The aforementioned human interface devices, human accessible storage devices, and network interface 954 may be attached to the core 940 of the computer system 900 .
[0093] A core 940) may include one or more central processing units (CPUs) 941, graphics processing units (GPUs) 942, specialized programmable processing units in the form of field programmable gate areas (FPGAs) 943, hardware accelerators 944 for specific tasks, etc. These devices may be connected via a system bus 948, along with read only memory (ROM) 945, random access memory 946, internal mass storage 947 such as an internal non-user accessible hard drive, SSD, etc. In some computer systems, the system bus 948 may be accessible in the form of one or more physical plugs to allow expansion with additional CPUs, GPUs, etc. Peripheral devices may be attached directly to the core's system bus 948 or via a peripheral bus 949. Peripheral bus architectures include PCI, USB, etc. A graphics adapter 950 may be included in the core 940.
[0094] The CPU 941, GPU 942, FPGA 943, and accelerator 944 may combine to execute certain instructions that may constitute the computer code described above. The computer code may be stored in ROM 945 or RAM 946. Transient data may also be stored in RAM 946, while permanent data may be stored, for example, in internal mass storage 947. Fast storage and retrieval in any of the memory devices may be enabled through the use of cache memory, which may be closely associated with one or more of the CPU 941, GPU 942, mass storage 947, ROM 945, RAM 946, etc.
[0095] The computer-readable medium can have computer code thereon for performing various computer-implemented operations. The medium and computer code can be those specially designed and constructed for the purposes of the present disclosure, or they can be of the kind well known and available to those skilled in the computer software arts.
[0096] As an example, and not by way of limitation, computer system 900 having an architecture, and specifically core 940, may provide functionality as a result of processor(s) (including CPU, GPU, FPGA, accelerator, etc.) executing software embodied in one or more tangible computer-readable media. Such computer-readable media may be media associated with user-accessible mass storage as described above, as well as specific storage of core 940 that is non-transitory in nature, such as core-internal mass storage 947 or ROM 945. Software implementing various embodiments of the present disclosure may be stored in such devices and executed by core 940. Computer-readable media may include one or more memory devices or chips, depending on particular needs. Software may cause core 940, and specifically the processors therein (including CPU, GPU, FPGA, etc.) to execute certain processes or certain portions of certain processes described herein, including defining data structures stored in RAM 946 and modifying such data structures according to processes defined by the software. Additionally or alternatively, a computer system may provide functionality as a result of logic hardwired or otherwise embodied in circuitry (e.g., accelerator 944), which may operate in place of or in conjunction with software to perform particular processes or portions of particular processes described herein. Reference to software includes logic, and vice versa, where appropriate. Reference to computer-readable medium may include circuitry (such as an integrated circuit (IC)) that stores software for execution, circuitry that embodies logic for execution, or both, as appropriate. The present disclosure encompasses any suitable combination of hardware and software.
[0097] While this disclosure has described several non-limiting exemplary embodiments, there are modifications, permutations, and various substitute equivalents that are within the scope of this disclosure. It is thus recognized that those skilled in the art will be able to devise numerous systems and methods that, although not explicitly shown or described herein, embody the principles of the disclosure and are therefore within its spirit and scope.
Claims
1. A method executed by at least one processor, comprising: Obtaining a reconstructed luma block of an image or video; inputting the reconstructed luma block into a deep neural network (DNN); obtaining side information and reference components associated with the reconstructed luma block; inputting the reference component and the side information into the DNN; predicting, by the DNN, a reconstructed chroma block of the image or video based on the reconstructed luma block, the reference component, and the side information; generating a feature map based on the side information; and concatenating the generated feature map with other image-based feature maps for DNN training.
2. the reference component comprises at least one of a neighboring luma reference of the reconstructed luma block and a neighboring chroma reference of a predicted reconstructed chroma block; The predicting further includes predicting, by the DNN, the reconstructed chroma block based on the at least one among the reconstructed luma block, the input neighboring luma reference, and the input neighboring chroma reference. The method of claim 1.
3. the reference components include neighboring luma references of the reconstructed luma block and neighboring chroma references of the predicted reconstructed chroma block; and predicting, by the DNN, the reconstructed chroma block based on the reconstructed luma block, the neighboring luma reference, and the input neighboring chroma reference. The method of claim 1.
4. The side information includes at least one of a quantization parameter (QP) value and block partition depth information. The method of claim 1.
5. Calculating a reconstruction quality of the reconstructed chroma block predicted by the DNN and a reconstruction quality of another reconstructed chroma block predicted using a different prediction mode; and obtaining an image or video using one of the reconstructed chroma blocks predicted by the DNN and the other reconstructed chroma blocks predicted using the different prediction modes based on the highest one of the calculated reconstruction qualities; The method of claim 1.
6. generating an input for the DNN; The predicting includes predicting, by the DNN, the reconstructed chroma blocks of the image or video based on the input; The generating step comprises: reconstructing a luma block and obtaining neighboring luma references of the luma block; downsampling the luma block to obtain a reconstructed luma block as one of the inputs; downsampling the neighboring luma references of the luma block; converting the downsampled neighboring luma reference to the same size as the downsampled luma block; the input of the DNN includes the downsampled luma block and the transformed neighboring luma reference; The method of claim 1.
7. the luma block is a 2Nx2M block, and the neighboring luma reference includes a 2Nx2K first luma reference block and a 2Kx2M second luma reference block for reference, where N, K, and M are integers, 2N is the width, 2M is the height, and 2K is the number of rows or columns of the luma reference; The method according to claim 6.
8. the reconstructed luma block obtained by downsampling the luma block has a size of N×M; After downsampling the neighboring luma references, the first luma reference block has a size of N×K and the second luma reference block has a size of K×M. The method of claim 7.
9. The generating further includes transforming a neighboring chroma reference of the predicted reconstructed chroma block to have the same size as the downsampled luma block; the inputs of the DNN include the downsampled luma block, the transformed adjacent luma reference, and the transformed adjacent chroma reference. The method according to claim 6.
10. at least one memory configured to store computer program code; and at least one processor configured to access said computer program code and to operate according to instructions of said computer program code, said computer program code causing said at least one processor to perform the method of any one of claims 1 to 9. system.
11. A computer program which, when executed by at least one processor, causes the at least one processor to carry out a method according to any one of claims 1 to 9.
Citation Information
Patent Citations
Method, apparatus, and computer program for low-bit precision neural network (NN)-based cross-component prediction
JP2023542029A
Sample adaptive offset systems and methods
US20170230656A1
Luma-based chroma intra-prediction for video coding
US20200304833A1
Deep intra predictor generating side information
WO2021069688A1
