Local lighting compensation

Local illumination compensation techniques enhance video coding efficiency by optimizing LIC processing during encoding and decoding, addressing the challenges of high compression efficiency in advanced video coding standards like VVC/H.266.

JP2026539254APending Publication Date: 2026-11-24ALIBABA (CHINA) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
JP2026516106
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2024-09-24
Filing Date
2024-09-30
Publication Date
2026-11-24

AI Technical Summary

Technical Problem

Existing video coding standards face challenges in achieving high compression efficiency, particularly with advancements like the VVC/H.266 standard, where methods for local illumination compensation (LIC) are needed to enhance coding performance.

Method used

Implementing local illumination compensation (LIC) techniques during the encoding and decoding processes, which involve determining whether to apply LIC processing based on the division of blocks into multiple parts, optimizing the application of LIC to improve coding efficiency.

Benefits of technology

Enhances video coding efficiency by improving compression performance, aligning with the goals of the VVC/H.266 standard by achieving better subjective quality with reduced bandwidth.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2026539254000001_ABST
    Figure 2026539254000001_ABST
Patent Text Reader

Abstract

A method for optical flow-based motion refinement is provided. An exemplary method includes receiving a bitstream and decoding one or more pictures using coded information of the bitstream, wherein the decoding includes determining whether the current block is coded by being divided into multiple parts, and determining whether to apply local illumination compensation (LIC) processing to the multiple parts, based on whether the coded block applies LIC processing, in response to the current block being divided into multiple parts interpredicted according to each reference block.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical Field]

[0001] (Cross-Reference to Related Applications) This disclosure claims the benefit of priority to U.S. Provisional Application No. 63 / 587,169, filed on October 2, 2023, and the benefit of U.S. Patent Application No. 18 / 895,032, filed on September 24, 2024 and titled “LOCAL ILLUMINATION COMPENSATION.” Both applications are incorporated herein by reference in their entireties.

[0002] This disclosure generally relates to video processing, and more specifically to local illumination compensation methods. [Background Art]

[0003] Video is a set of static pictures (or “frames”) capturing visual information. To reduce memory storage and transmission bandwidth, videos can be compressed before being stored or transmitted and reconstructed before being displayed. The compression process is usually referred to as encoding, and the reconstruction process usually referred to as decoding. There are various video coding formats which use standardized video coding technologies, most commonly based on prediction, transform, quantization, entropy coding and in-loop filtering. The video coding standards, such as the High Efficiency Video Coding (HEVC / H.265) standard, the Versatile Video Coding (VVC / H.266) standard, and AVS standards, specifying the specific video coding formats, are developed by standardization organizations. With more advanced video coding technologies being adopted in video standards, the coding efficiency of the new video coding standards gets even higher. [Summary of the Invention]

[0004] Embodiments of the present disclosure provide a local illumination compensation method. In particular, the disclosed embodiments of the present disclosure provide a method for decoding a bitstream to output one or more pictures of a video stream, a method for encoding a video sequence into a bitstream, and non-transitory computer-readable storage medium having a bitstream of a video stored thereon.

[0005] In a first embodiment, according to some exemplary embodiments, a method is provided for decoding a bitstream to output one or more pictures of a video stream, comprising receiving a bitstream and decoding one or more pictures using coded information of the bitstream, wherein the decoding includes determining whether the current block of the current picture is coded by being divided into multiple parts, and determining whether to apply local illumination compensation (LIC) processing to the multiple parts, based on whether the coded block is subject to LIC processing, in response to the current block being divided into multiple parts.

[0006] In a second embodiment, according to some exemplary embodiments, a method is provided for encoding a video sequence into a bitstream, comprising receiving a video sequence, encoding one or more pictures of the video sequence, and generating a bitstream, wherein the encoding includes determining whether the current block of the current picture is encoded by being divided into multiple parts, and determining whether to apply local illumination compensation (LIC) processing to the multiple parts, based on whether the encoded block applies LIC processing in response to the current block being divided into multiple parts which are interpredicted according to each reference block.

[0007] In a third embodiment, according to some exemplary embodiments, a decoding device is provided comprising a receiving module configured to receive a bitstream and a decoding module configured to decode one or more pictures using coded information of the bitstream, wherein the decoding module is configured to determine whether the current block of the current picture is coded by being divided into multiple parts, and in response to the current block being divided into multiple parts, to determine whether to apply local illumination compensation (LIC) processing to the multiple parts based on whether the coded block is subject to LIC processing.

[0008] In a fourth embodiment, according to some exemplary embodiments, an encoding device is provided which includes a receiving module configured to receive a video sequence, an encoding module configured to encode one or more pictures of the video sequence, and a generating module configured to generate a bitstream, wherein the encoding module is configured to determine whether the current block of the current picture is encoded by being divided into multiple parts, and in response to the current block being divided into multiple parts which are interpredicted according to each reference block, to determine whether to apply local illumination compensation (LIC) processing to the multiple parts based on whether the encoded block is to be subjected to LIC processing.

[0009] In a fifth embodiment, according to some exemplary embodiments, an electronic device is provided that includes a memory storing a set of instructions and one or more processors configured to execute a set of instructions and cause one or more processors to perform a first-mode method of decoding a bitstream and outputting one or more pictures of a video stream.

[0010] In a sixth embodiment, according to some exemplary embodiments, an electronic device is provided that includes a memory storing a set of instructions and one or more processors configured to execute the set of instructions to cause one or more processors to perform a second method of encoding a video sequence into a bitstream.

[0011] In a seventh embodiment, according to some exemplary embodiments, a non-temporary computer-readable storage medium is provided which stores a bitstream of video that, when decoded by a processor, causes the processor to perform a first-mode method of decode the bitstream and output one or more pictures of the video stream.

[0012] In an eighth embodiment, according to some exemplary embodiments, a non-temporary computer-readable storage medium is provided which stores a video sequence of video that, when encoded by a processor, causes the processor to perform a method according to a second aspect of encoding the video sequence into a bitstream.

[0013] In a ninth embodiment, according to some exemplary embodiments, a computer program product is provided which includes computer program instructions, enabling a computer to perform a first-mode method of decoding a bitstream and outputting one or more pictures of a video stream.

[0014] In a tenth embodiment, according to some exemplary embodiments, a computer program product is provided which includes computer program instructions, enabling a computer to perform a second method of encoding a video sequence into a bitstream.

[0015] In an eleventh embodiment, according to some exemplary embodiments, a computer program is provided which enables a computer to perform a first-mode method of decoding a bitstream and outputting one or more pictures of a video stream.

[0016] In a twelfth embodiment, according to some exemplary embodiments, a computer program is provided which enables a computer to perform a second-mode method of encoding a video sequence into a bitstream. [Brief explanation of the drawing]

[0017] Embodiments and various aspects of this disclosure are shown in the following detailed description and accompanying drawings. The various features shown are not depicted to scale.

[0018] [Figure 1]A schematic diagram illustrating an exemplary system for preprocessing and encoding image data according to some embodiments of the present disclosure.

[0019] [Figure 2A] A schematic diagram illustrating an exemplary encoding process of a hybrid video coding system consistent with embodiments of the present disclosure.

[0020] [Figure 2B] A schematic diagram illustrating another exemplary encoding process of a hybrid video coding system consistent with embodiments of the present disclosure.

[0021] [Figure 3A] A schematic diagram illustrating an exemplary decoding process of a hybrid video coding system consistent with embodiments of the present disclosure.

[0022] [Figure 3B] A schematic diagram illustrating another exemplary decoding process of a hybrid video coding system consistent with embodiments of the present disclosure.

[0023] [Figure 4] A block diagram of an exemplary apparatus for preprocessing or encoding image data according to some embodiments of the present disclosure.

[0024] [Figure 5] A schematic diagram illustrating an exemplary local illumination compensation (LIC) template according to some embodiments of the present disclosure.

[0025] [Figure 6] A schematic diagram illustrating an example of partitions by geometric partition mode (GPM) grouped at the same angle according to some embodiments of the present disclosure.

[0026] [Figure 7]This is a schematic diagram illustrating single predictive motion vector (MV) selection for geometric partitioning modes according to some embodiments of the present disclosure.

[0027] [Figure 8] This is a schematic diagram illustrating an example of generating blending weights w0 using geometric partitioning modes according to some embodiments of the present disclosure.

[0028] [Figure 9] This schematic diagram shows five exemplary blending area sizes of a GPM in an enhanced compression model (ECM) according to some embodiments of the present disclosure.

[0029] [Figure 10] This is a schematic diagram showing exemplary edges of a GPM partitioning mode template according to some embodiments of the present disclosure.

[0030] [Figure 11A] This is a schematic diagram illustrating GPM using inter- and intra-prediction according to some embodiments of the present disclosure. [Figure 11B] This is a schematic diagram illustrating GPM using inter- and intra-prediction according to some embodiments of the present disclosure. [Figure 11C] This is a schematic diagram illustrating GPM using inter- and intra-prediction according to some embodiments of the present disclosure. [Figure 11D] This is a schematic diagram illustrating GPM using inter- and intra-prediction according to some embodiments of the present disclosure.

[0031] [Figure 12] This is a schematic diagram illustrating an example of angle-weighted prediction (AWP) weight prediction according to some embodiments of the present disclosure.

[0032] [Figure 13] This schematic diagram shows eight exemplary intra-prediction angles supported in AWP mode according to some embodiments of the present disclosure.

[0033] [Figure 14] This is a schematic diagram illustrating seven different weight array configurations in AWP mode according to some embodiments of the present disclosure.

[0034] [Figure 15] This is a schematic diagram illustrating overlap block motion compensation (OBMC) for coding unit (CU) boundaries according to some embodiments of the present disclosure.

[0035] [Figure 16] This is a schematic diagram showing an exemplary spatial portion of an exemplary intrablock copy (IBC) filter according to some embodiments of the present disclosure.

[0036] [Figure 17A] This is a schematic diagram illustrating exemplary methods for decoding a bitstream according to some embodiments of the present disclosure.

[0037] [Figure 17B] This is a schematic diagram illustrating substeps of an exemplary method shown in Figure 17A, according to some embodiments of the present disclosure.

[0038] [Figure 18A] This is a schematic diagram illustrating an exemplary template of a GPM-LIC according to some embodiments of the present disclosure.

[0039] [Figure 18B] This is a schematic diagram illustrating an exemplary template of a GPM-LIC according to some embodiments of the present disclosure.

[0040] [Figure 19] This is a schematic diagram illustrating an exemplary multi-model LIC according to some embodiments of the present disclosure.

[0041] [Figure 20A]This is a schematic diagram illustrating exemplary methods for encoding a video sequence into a bitstream according to some embodiments of the present disclosure.

[0042] [Figure 20B] This is a schematic diagram illustrating substeps of an exemplary method shown in Figure 20A, according to some embodiments of the present disclosure. [Modes for carrying out the invention]

[0043] Illustrative embodiments are described below in detail, examples of which are shown in the accompanying drawings. The following description relies on the accompanying drawings, where, unless otherwise specified, the same number in different drawings represents the same or similar elements. The implementations described below in the description of the illustrative embodiments do not represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with embodiments related to the present disclosure as enumerated in the accompanying claims. Specific embodiments of the present disclosure are described in more detail below. In the event of any conflict between terms and / or definitions incorporated by reference and those provided herein, the terms and definitions provided herein shall prevail.

[0044] The Joint Video Experts Team (JVET), comprised of the ITU-T Video Coding Expert Group (ITU-T VCEG) and the ISO / IEC Moving Picture Expert Group (ISO / IEC MPEG), is currently developing the VVC / H.266 (Variable Versatile Video Coding) standard. The VVC standard aims to double the compression efficiency of its predecessor, the High Efficiency Video Coding (HEVC / H.265) standard. In other words, the goal of VVC is to achieve the same subjective quality as HEVC / H.265 with half the bandwidth.

[0045] To achieve this goal, JVET has been developing a technology that surpasses HEVC since 2015, using the Joint Search Model (JEM) reference software. As coding techniques were incorporated into JEM, JEM achieved significantly higher coding performance than HEVC. In October 2017, VCEG and MPEG issued a Joint Request for Proposal (CfP), formally commencing the development of a next-generation video compression standard that surpasses HEVC. In April 2018, responses to the CfP were evaluated at the JVET conference in San Diego, and the formal development process for the VVC standard commenced in April 2018.

[0046] The VVC standard has been steadily progressing since April 2018, continuously incorporating more coding techniques to provide better compression performance. VVC is based on the same hybrid video coding system used in modern video compression standards such as HEVC, H.264 / AVC, MPEG2, and H.263.

[0047] Figure 1 is a block diagram showing a system 100 for preprocessing and encoding image data according to several disclosed embodiments. Image data may include an image (also called a “picture” or “frame”), a set of images, or a video. An image is a static picture. The set of images may or may not be spatially or temporally related. A video is a set of images arranged in chronological order.

[0048] As shown in Figure 1, the system 100 includes a source device 120 that provides encoded video data to be decoded at a later time by a destination device 140. Consistent with the disclosed embodiments, each of the source device 120 and the destination device 140 may include any of a variety of devices, including desktop computers, notebook (e.g., laptop) computers, servers, tablet computers, set-top boxes, mobile phones, vehicles, cameras, image sensors, robots, televisions, wearable devices (e.g., smartwatches and wearable cameras), display devices, digital media players, video game consoles, video streaming devices, etc. The source device 120 and the destination device 140 may be equipped to be suitable for wireless or wired communication.

[0049] Referring to Figure 1, the source device 120 may include an image / video preprocessor 122, an image / video encoder 124, and an output interface 126. The destination device 140 may include an input interface 142, an image / video decoder 144, and one or more machine vision applications 146. The image / video preprocessor 122 preprocesses image data, i.e., images or videos, to generate an input bitstream for the image / video encoder 124. The image / video encoder 124 encodes the input bitstream and outputs an encoded bitstream 162 via the output interface 126. The encoded bitstream 162 is transmitted via the communication medium 160 and received by the input interface 142. The image / video decoder 144 then decodes the encoded bitstream 162 to generate decoded data that can be used by the machine vision application 146.

[0050] More specifically, the source device 120 may further include various devices (not shown) for providing source image data that is preprocessed by the image / video preprocessor 122. These devices may include image / video capture devices such as cameras, image / video archive or storage devices containing previously captured images / videos, or image / video feed interfaces for receiving images / videos from image / video content providers.

[0051] The image / video encoder 124 and the image / video decoder 144 may each be implemented as one or more microprocessors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), discrete logic, software, hardware, firmware, or any combination thereof, among other suitable encoder or decoder circuits. When encoding or decoding is partially performed in software, the image / video encoder 124 or image / video decoder 144 can perform techniques consistent with this disclosure by storing software instructions in a suitable non-temporary computer-readable medium and executing these instructions in hardware using one or more processors. Each of the image / video encoder 124 or image / video decoder 144 may be included in one or more encoders or decoders, any of which may be integrated as part of a composite encoder / decoder (CODEC) within their respective devices.

[0052] The image / video encoder 124 and image / video decoder 144 may operate according to any video coding standard, such as General-Purpose Video Coding (AVC), High-Efficiency Video Coding (HEVC), Multipurpose Video Coding (VVC), AOMedia Video 1 (AV1), Joint Photographic Experts Group (JPEG), and Moving Picture Experts Group (MPEG). Alternatively, the image / video encoder 124 and image / video decoder 144 may be customized devices that do not conform to existing standards. Although not shown in Figure 1, in some embodiments, the image / video encoder 124 and image / video decoder 144 may be integrated with an audio encoder and decoder, respectively, and may include a suitable MUX-DEMUX unit or other hardware and software for processing the encoding of both audio and video in a common data stream or separate data streams.

[0053] The output interface 126 may include any type of medium or device capable of transmitting the encoded bitstream 162 from the source device 120 to the destination device 140. For example, the output interface 126 may include a transmitter or transceiver configured to transmit the encoded bitstream 162 directly from the source device 120 to the destination device 140 in real time. The encoded bitstream 162 may be modulated according to a communication standard such as a wireless communication protocol and transmitted to the destination device 140.

[0054] The communication medium 160 may include a temporary medium such as a wireless broadcast or a wired network transmission. For example, the communication medium 160 may include a radio frequency (RF) spectrum or one or more physical transmission lines (e.g., a cable). The communication medium 160 may form part of a packet-based network such as a local area network, a wide area network, or a global network such as the Internet. In some embodiments, the communication medium 160 may include a router, a switch, a base station, or any other equipment that may be useful in facilitating communication from the source device 120 to the destination device 140. For example, a network server (not shown) may receive an encoded bitstream 162 from the source device 120, for example via network transmission, and provide the encoded bitstream 162 to the destination device 140.

[0055] Furthermore, the communication medium 160 may be in the form of a storage medium (e.g., a non-temporary storage medium) such as a hard disk, flash drive, compact disc, digital video disc, Blu-ray disc, volatile or non-volatile memory, or any other suitable digital storage medium for storing encoded image data. In some embodiments, a computing device of a media manufacturing facility such as a disc stamping machine may receive encoded image data from the source device 120 and generate a disc containing the encoded video data.

[0056] The input interface 142 may include any type of medium or device capable of receiving information from the communication medium 160. The received information includes an encoded bitstream 162. For example, the input interface 142 may include a receiver or transceiver configured to receive the encoded bitstream 162 in real time.

[0057] The machine vision application 146 includes various hardware and / or software for utilizing the decoded image data generated by the image / video decoder 144. For example, the machine vision application 146 may include a display device for displaying the decoded image data to a user, and may include any of the various display devices such as a cathode ray tube (CRT), liquid crystal display (LCD), plasma display, organic light-emitting diode (OLED) display, or other types of display devices. As another example, the machine vision application 146 may include one or more processors configured to perform various machine vision applications using the decoded image data, such as object recognition and tracking, face recognition, image matching, image / video search, augmented reality, robot vision and navigation, autonomous driving, 3D structure construction, stereo support, and motion tracking.

[0058] Next, illustrative image data encoding and decoding techniques will be described with reference to Figures 2A-2B and 3A-3B.

[0059] Figure 2A shows a schematic diagram of an exemplary encoding process 200A consistent with embodiments of the present disclosure. For example, the encoding process 200A can be performed by an encoder, such as the image / video encoder 124 in Figure 1. As shown in Figure 2A, the encoder can encode a video sequence 202 into a video bitstream 228 according to process 200A. The video sequence 202 may include a set of pictures ("original pictures") arranged in chronological order. Each original picture in the video sequence 202 can be divided by the encoder into a plurality of basic processing units, basic processing subunits, or regions for processing. In some embodiments, the encoder can perform process 200A at the level of a basic processing unit for each original picture in the video sequence 202. For example, the encoder can perform process 200A iteratively, in which case the encoder can encode a basic processing unit in one iteration of process 200A. In some embodiments, the encoder can perform process 200A in parallel for each region of the original picture in the video sequence 202.

[0060] In Figure 2A, the encoder can supply the basic processing unit ("original BPU") of the original picture of the video sequence 202 to the prediction stage 204, generating prediction data 206 and prediction BPU 208. The encoder can subtract the prediction BPU 208 from the original BPU to generate residual BPU 210. The encoder can supply the residual BPU 210 to the conversion stage 212 and the quantization stage 214, generating quantization conversion coefficients 216. The encoder can supply the prediction data 206 and quantization conversion coefficients 216 to the binary coding stage 226, generating video bitstream 228. Components 202, 204, 206, 208, 210, 212, 214, 216, 226, and 228 may be called the "forward path". During process 200A, after the quantization stage 214, the encoder can supply the quantization conversion coefficients 216 to the inverse quantization stage 218 and the inverse conversion stage 220 to generate the reconstructed residual BPU 222. The encoder can add the reconstructed residual BPU 222 to the prediction BPU 208 to generate the prediction criterion 224, which will be used for the next iteration of process 200A in the prediction stage 204. Components 218, 220, 222, and 224 of process 200A may be called the “reconstruction path”. The reconstruction path can be used to ensure that both the encoder and decoder use the same reference data for prediction.

[0061] The encoder can iteratively perform process 200A to encode each original BPU of the original picture (in the forward path) and generate a predictive criterion 224 for encoding the next original BPU of the original picture (in the reconstruction path). After encoding all original BPUs of the original picture, the encoder can proceed to encoding the next picture in the video sequence 202.

[0062] Referring to process 200A, the encoder can receive a video sequence 202 generated by a video capture device (e.g., a camera). As used herein, the term “receive” can mean receiving, inputting, acquiring, retrieving, obtaining, reading, accessing, or any action by any means for inputting data.

[0063] In prediction stage 204, in the current iteration, the encoder receives the original BPU and prediction criterion 224 and can perform prediction operations to generate prediction data 206 and prediction BPU 208. The prediction criterion 224 can be generated from the reconstruction path in the previous iteration of process 200A. The objective of prediction stage 204 is to reduce information redundancy by extracting prediction data 206 that can be used to reconstruct the original BPU as prediction BPU 208 from prediction data 206 and prediction criterion 224.

[0064] Ideally, the predicted BPU 208 could be identical to the original BPU. However, because prediction and reconstruction operations are not ideal, the predicted BPU 208 is generally slightly different from the original BPU. To record such differences, the encoder can generate the predicted BPU 208 and then subtract it from the original BPU to generate the residual BPU 210. For example, the encoder can subtract the pixel values ​​(e.g., grayscale or RGB values) of the predicted BPU 208 from the corresponding pixel values ​​of the original BPU. Each pixel of the residual BPU 210 may have a residual value resulting from such a subtraction between the corresponding pixels of the original BPU and the predicted BPU 208. Compared to the original BPU, the predicted data 206 and residual BPU 210 may have fewer bits, but they can be used to reconstruct the original BPU without significant quality degradation. This compresses the original BPU.

[0065] To further compress the residual BPU 210, in the conversion step 212, the encoder can reduce the spatial redundancy of the residual BPU 210 by decomposing it into a set of two-dimensional "basis patterns," each associated with a "conversion coefficient." The basis patterns may have the same size (e.g., the size of the residual BPU 210). Each basis pattern can represent the fluctuating frequency component (e.g., brightness fluctuation frequency) of the residual BPU 210. None of the basis patterns can be reconstructed from any combination (e.g., a linear combination) of any other basis pattern. In other words, the decomposition allows the fluctuations of the residual BPU 210 to be decomposed into the frequency domain. Such decomposition is analogous to the discrete Fourier transform of a function, where the basis patterns are analogous to the basis functions of the discrete Fourier transform (e.g., trigonometric functions), and the conversion coefficients are analogous to the coefficients associated with the basis functions.

[0066] Different transformation algorithms can use different basis patterns. Various transformation algorithms, such as discrete cosine transforms and discrete sine transforms, can be used in transformation step 212. The transformation in transformation step 212 is reversible; that is, the encoder can reconstruct the residual BPU 210 by performing the inverse operation of the transformation ("inverse transformation"). For example, to reconstruct the pixels of the residual BPU 210, the inverse transformation may involve multiplying the values ​​of the corresponding pixels in the basis pattern by their respective associated coefficients and adding their products to produce a weighted sum. In video coding standards, both the encoder and decoder can use the same transformation algorithm (and therefore the same basis pattern). Therefore, the encoder can record only the transformation coefficients, and the decoder can reconstruct the residual BPU 210 from these transformation coefficients without receiving the basis pattern from the encoder. While the transformation coefficients may have fewer bits compared to the residual BPU 210, they can be used to reconstruct the residual BPU 210 without significant quality degradation. This further compresses the residual BPU 210.

[0067] The encoder can further compress the conversion coefficients in the quantization stage 214. In the conversion process, different basis patterns can represent different fluctuation frequencies (e.g., brightness fluctuation frequencies). Since the human eye is generally better at recognizing low-frequency fluctuations, the encoder can ignore information about high-frequency fluctuations without causing significant quality degradation during decoding. For example, in the quantization stage 214, the encoder can generate quantization conversion coefficients 216 by dividing each conversion coefficient by an integer value (called a "quantization parameter") and rounding the quotient to its nearest integer. After such an operation, some conversion coefficients of high-frequency basis patterns can be converted to zero, and conversion coefficients of low-frequency basis patterns can be converted to smaller integers. The encoder can ignore the zero-value quantization conversion coefficients 216, thereby further compressing the conversion coefficients. The quantization process is also reversible, in which case the quantization conversion coefficients 216 can be reconstructed into conversion coefficients in the inverse operation of quantization (called "inverse quantization").

[0068] Because the encoder ignores the remainder of such division in rounding operations, the quantization stage 214 can be irreversible. Typically, the quantization stage 214 can be one of the sources of the greatest information loss in process 200A. The greater the information loss, the fewer bits the quantization conversion coefficient 216 may require. To obtain different levels of information loss, the encoder can use different values ​​for the quantization parameter or any other parameter of the quantization process.

[0069] In the binary coding stage 226, the encoder can encode the predicted data 206 and the quantization conversion coefficients 216 using binary coding techniques such as entropy coding, variable-length coding, arithmetic coding, Huffman coding, context-adaptive binary arithmetic coding, or any other lossless or lossy compression algorithm. In some embodiments, in addition to the predicted data 206 and the quantization conversion coefficients 216, the encoder can encode other information in the binary coding stage 226, such as the prediction mode used in the prediction stage 204, parameters of the prediction operation, the type of conversion in the conversion stage 212, parameters of the quantization process (e.g., quantization parameters), and encoder control parameters (e.g., bitrate control parameters). The encoder can generate a video bitstream 228 using the output data from the binary coding stage 226. In some embodiments, the video bitstream 228 may be further packetized for network transmission.

[0070] Referring to the reconstruction path of process 200A, in the inverse quantization step 218, the encoder can perform inverse quantization on the quantization conversion coefficients 216 to generate reconstructed conversion coefficients. In the inverse conversion step 220, the encoder can generate reconstructed residual BPU 222 based on the reconstructed conversion coefficients. The encoder can add the reconstructed residual BPU 222 to the prediction BPU 208 to generate a prediction criterion 224 to be used in the next iteration of process 200A.

[0071] Furthermore, the video sequence 202 can be encoded using other variations of process 200A. In some embodiments, the steps of process 200A can be performed in different orders by the encoder. In some embodiments, one or more steps of process 200A can be combined into a single step. In some embodiments, a single step of process 200A can be divided into multiple steps. For example, the conversion step 212 and the quantization step 214 can be combined into a single step. In some embodiments, process 200A may include additional steps. In some embodiments, process 200A can omit one or more steps in Figure 2A.

[0072] Figure 2B shows a schematic diagram of another exemplary encoding process 200B consistent with embodiments of the present disclosure. For example, encoding process 200B can be performed by an encoder such as the image / video encoder 124 in Figure 1. Process 200B may be a modification of process 200A. For example, process 200B can be used by an encoder compliant with a hybrid video coding standard (e.g., the H.26x series). Compared with process 200A, the forward path of process 200B further includes a mode determination stage 230 and divides the prediction stage 204 into a spatial prediction stage 2042 and a temporal prediction stage 2044. The reconstruction path of process 200B further includes a loop filter stage 232 and a buffer 234.

[0073] Generally, prediction techniques can be classified into two types: spatial prediction and temporal prediction. Spatial prediction (e.g., intra-picture prediction or "intra-prediction") can predict the current BPU using pixels from one or more coded neighboring BPUs within the same picture. That is, prediction criteria 224 in spatial prediction may include neighboring BPUs. Spatial prediction can reduce the inherent spatial redundancy of a picture. Temporal prediction (e.g., inter-picture prediction or "inter-prediction") can predict the current BPU using regions from one or more coded pictures. That is, prediction criteria 224 in temporal prediction may include coded pictures. Temporal prediction can reduce the inherent temporal redundancy of a picture.

[0074] Referring to process 200B, in the forward path, the encoder performs predictive operations in the spatial prediction stage 2042 and the temporal prediction stage 2044. For example, in the spatial prediction stage 2042, the encoder can perform intra-prediction. For the original BPU of the encoded picture, the prediction criterion 224 may include one or more adjacent BPUs that are encoded (in the forward path) and reconstructed (in the reconstruction path) within the same picture. The encoder can generate a predicted BPU 208 by extrapolating adjacent BPUs. Extrapolation techniques may include, for example, linear extrapolation or interpolation, polynomial extrapolation or polynomial interpolation, etc. In some embodiments, the encoder can perform pixel-level extrapolation, for example, by extrapolating the corresponding pixel value for each pixel of the predicted BPU 208. The adjacent BPU used for extrapolation can be positioned from various directions relative to the original BPU, such as vertically (e.g., above the original BPU), horizontally (e.g., to the left of the original BPU), diagonally (e.g., lower left, lower right, upper left, or upper right of the original BPU), or in any direction defined by the video coding standard used. In intra-prediction, the prediction data 206 may include, for example, the position (e.g., coordinates) of the adjacent BPU used, the size of the adjacent BPU used, the extrapolation parameters, and the orientation of the adjacent BPU used relative to the original BPU.

[0075] As another example, in the temporal prediction stage 2044, the encoder can perform interpretation. For the original BPU of the current picture, the prediction criterion 224 may include one or more pictures ("reference pictures") that have been encoded (in the forward path) and reconstructed (in the reconstruction path). In some embodiments, the reference pictures can be encoded and reconstructed for each BPU. For example, the encoder can generate a reconstructed BPU by adding a reconstructed residual BPU 222 to the predicted BPU 208. Once all the reconstructed BPUs for the same picture have been generated, the encoder can generate a reconstructed picture as a reference picture. The encoder can perform a "motion estimation" operation to search for a matching region within a range of the reference picture ("search window"). The position of the search window in the reference picture can be determined based on the position of the original BPU in the current picture. For example, the search window can be centered at a position in the reference picture that has the same coordinates as the original BPU in the current picture and can extend by a predetermined distance. When the encoder identifies a region similar to the original BPU in the search window (for example, by using a Pell recursive algorithm, a block matching algorithm, etc.), the encoder can determine such a region as a matching region. The matching region may have different dimensions from the original BPU (for example, it may be smaller, equal to, larger than, or have a different shape than the original BPU). Because the reference picture and the current picture are separated in time on the timeline, the matching region can be considered to "move" to the position of the original BPU over time. The encoder can record the direction and distance of such movement as a "motion vector". If multiple reference pictures are used, the encoder can search for a matching region for each reference picture and determine its associated motion vector. In some embodiments, the encoder can assign weights to the pixel values ​​of the matching region for each matching reference picture.

[0076] Motion estimation can be used to identify various types of motion, such as translation, rotation, and zooming. In interpretation, the prediction data 206 may include, for example, matching regions (e.g., coordinates), motion vectors associated with the matching regions, the number of reference pictures, and weights associated with the reference pictures.

[0077] To generate a predicted BPU 208, the encoder can perform a “motion compensation” operation. Motion compensation can be used to reconstruct the predicted BPU 208 based on prediction data 206 (e.g., motion vectors) and prediction criteria 224. For example, the encoder can move the matching region of a reference picture according to the motion vectors, thereby allowing the encoder to predict the original BPU of the current picture. If multiple reference pictures are used, the encoder can move the matching region of the reference picture according to the motion vector and average pixel value of each matching region. In some embodiments, if weights are assigned to the pixel values ​​of the matching region of each matching reference picture, the encoder can add the weighted sum of the pixel values ​​of the moved matching regions.

[0078] In some embodiments, the interpretation may be unidirectional or bidirectional. Unidirectional interpretation can use one or more reference pictures in the same time direction for the current picture. Unidirectional interpretation uses a reference picture that precedes the current picture. Bidirectional interpretation can use one or more reference pictures in both time directions for the current picture.

[0079] Continuing to refer to the forward path of process 200B, after the spatial prediction 2042 and the temporal prediction stage 2044, in the mode determination stage 230, the encoder can select a prediction mode (e.g., either intra-prediction or inter-prediction) for the current iteration of process 200B. For example, the encoder can perform a rate distortion optimization technique, in which the encoder can select a prediction mode based on the bit rate of the candidate prediction mode and the distortion of the reconstructed reference picture in the candidate prediction mode to minimize the value of the cost function. Depending on the selected prediction mode, the encoder can generate the corresponding prediction BPU 208 and prediction data 206.

[0080] In the reconstruction path of process 200B, if intra-prediction mode is selected in the forward path, after generating prediction criterion 224 (e.g., the encoded and reconstructed current BPU in the current picture), the encoder can directly supply prediction criterion 224 to the spatial prediction stage 2042 for later use (e.g., to extrapolate the next BPU of the current picture). If inter-prediction mode is selected in the forward path, after generating prediction criterion 224 (e.g., the current picture encoded and reconstructed by all BPUs), the encoder can supply prediction criterion 224 to the loop filter stage 232, where the encoder can reduce or remove distortions (e.g., blocking artifacts) introduced by inter-prediction by applying a loop filter to prediction criterion 224. In the loop filter stage 232, the encoder can apply various loop filter techniques, such as deblocking, sample-adaptive offset, and adaptive loop filtering. Loop-filtered reference pictures can be stored in buffer 234 (or “Decoded Picture Buffer”) for later use (for example, as inter-prediction reference pictures for future pictures in video sequence 202). The encoder may store one or more reference pictures in buffer 234 for use in the temporal prediction stage 2044. In some embodiments, the encoder may encode the loop filter parameters (e.g., loop filter strength) along with the quantization transformation coefficients 216, prediction data 206, and other information in the binary coding stage 226.

[0081] In some embodiments, the input video sequence 202 is processed in blocks according to the encoding process 200B. In VVC, the coded tree unit (CTU) is the largest block unit and may be the same size as 128 × 128 chroma samples (plus corresponding chroma samples depending on the chroma format). The CTU can be further divided into coding units (CU) in a quadtree, binary tree, or ternary tree. At the leaf nodes of the partitioned structure, coding information such as the coding mode (intra-mode or inter-mode), motion information when intercoded (reference index, motion vector difference, etc.), and quantization conversion coefficients 216 are sent. When intra-prediction (also called spatial prediction) is used, spatially adjacent samples are used to predict the current block. When inter-prediction (also called temporal prediction or motion-compensated prediction) is used, samples from a coded picture called a reference picture are used to predict the current block. Inter-prediction may use single or bi-prediction. In single prediction, only one motion vector pointing to one reference picture is used to generate the prediction signal for the current block; in dual prediction, two motion vectors, each pointing to its own reference picture, are used to generate the prediction signal for the current block. The motion vectors and reference indexes are sent to the decoder to identify where the prediction signal(s) for the current block came from. After intra or interpretation, the mode determination stage 230 selects the best prediction mode for the current block, for example, based on a rate-distortion optimization method. Based on this best prediction mode, the prediction BPU 208 is generated and subtracted from the input video block.

[0082] Continuing to refer to Figure 2B, the predicted residual BPU 210 is sent to the transformation stage 212 and the quantization stage 214 to generate the quantization transformation coefficients 216. The quantization transformation coefficients 216 are then dequantized in the dequantization stage 218 and inversely transformed in the inverse transformation stage 220 to obtain the reconstructed residual BPU 222. The predicted BPU 208 and the reconstructed residual BPU 222 are added together before loop filtering to form a prediction criterion 224 used to provide a reference sample for the intra-prediction. Loop filtering such as deblocking, sample adaptive offset (SAO), and adaptive loop filtering (ALF) may be applied to the prediction criterion 224 in the loop filtering stage 232, thereby forming a reconstructed block that is stored in buffer 234 and used to provide a reference sample for the intra-prediction. The coded information generated in the mode determination stage 230, such as the coding mode (intra-prediction or inter-prediction), intra-prediction mode, motion information, and quantization residual coefficients, is sent to the binary coding stage 226 to further reduce the bitrate before being packed into the output video bitstream 228.

[0083] Figure 3A shows a schematic diagram of an exemplary decoding process 300A consistent with embodiments of the present disclosure. For example, the decoding process 300A can be performed by a decoder such as the image / video decoder 144 in Figure 1. Process 300A may be a decompression process corresponding to the compression process 200A in Figure 2A. In some embodiments, process 300A may be similar to the reconstruction path of process 200A. The decoder (e.g., the image / video decoder 144 in Figure 1) can decode the video bitstream 228 into a video stream 304 according to process 300A. The video stream 304 may be very similar to the video sequence 202. However, due to information loss in the compression and decompression processes (e.g., the quantization stage 214 in Figures 2A and 2B), the video stream 304 is usually not identical to the video sequence 202. Similar to processes 200A and 200B in Figures 2A and 2B, the decoder can execute process 300A at the level of the basic processing unit (BPU) for each picture encoded in the video bitstream 228. For example, the decoder can execute process 300A iteratively, in which case the decoder can decode the basic processing unit in one iteration of process 300A. In some embodiments, the decoder can execute process 300A in parallel for each region of each picture encoded in the video bitstream 228.

[0084] In Figure 3A, the decoder can supply a portion of the video bitstream 228 associated with the basic processing unit of the encoded picture ("encoded BPU") to the binary decoding stage 302. In the binary decoding stage 302, the decoder can decode a portion of it into prediction data 206 and quantization conversion coefficients 216. The decoder can supply the quantization conversion coefficients 216 to the inverse quantization stage 218 and the inverse conversion stage 220 to generate the reconstructed residual BPU 222. The decoder can supply the prediction data 206 to the prediction stage 204 to generate the prediction BPU 208. The decoder can add the reconstructed residual BPU 222 to the prediction BPU 208 to generate the prediction criterion 224. In some embodiments, the prediction criterion 224 can be stored in a buffer (e.g., a decoded picture buffer in computer memory). The decoder can supply the prediction criterion 224 to the prediction stage 204 to perform the prediction operation in the next iteration of process 300A.

[0085] The decoder can iteratively perform process 300A to decode each encoding BPU of the encoded picture and generate a prediction criterion 224 for encoding the next encoding BPU of the encoded picture. After decoding all encoding BPUs of the encoded picture, the decoder can output the picture to the video stream 304 for display and proceed to decode the next encoded picture in the video bitstream 228.

[0086] In the binary decoding stage 302, the decoder can perform the inverse operation of the binary coding technique used by the encoder (e.g., entropy coding, variable-length coding, arithmetic coding, Huffman coding, context-adaptive binary arithmetic coding, or any other lossless compression algorithm). In some embodiments, in addition to the predicted data 206 and quantization conversion coefficients 216, the decoder can decode other information in the binary decoding stage 302, such as the prediction mode, parameters of the prediction operation, conversion type, parameters of the quantization process (e.g., quantization parameters), and encoder control parameters (e.g., bitrate control parameters). In some embodiments, if the video bitstream 228 is transmitted in packets over the network, the decoder can depacketize the video bitstream 228 before supplying it to the binary decoding stage 302.

[0087] Figure 3B shows a schematic diagram of another exemplary decoding process 300B consistent with embodiments of the present disclosure. For example, decoding process 300B can be performed by a decoder such as the image / video decoder 144 in Figure 1. Process 300B may be a modification of process 300A. For example, process 300B can be used by a decoder compliant with a hybrid video coding standard (e.g., the H.26x series). Compared to process 300A, process 300B further divides the prediction stage 204 into a spatial prediction stage 2042 and a temporal prediction stage 2044, and further includes a loop filter stage 232 and a buffer 234.

[0088] In process 300B, the prediction data 206 decoded by the decoder from binary decoding stage 302 for the encoding base processing unit ("current BPU") of the encoded picture being decoded ("current picture") may include various types of data depending on the prediction mode used by the encoder to encode the current BPU. For example, if intra-prediction is used by the encoder to encode the current BPU, the prediction data 206 may include a prediction mode indicator (e.g., a flag value) indicating intra-prediction, and parameters of the intra-prediction operation. Parameters of the intra-prediction operation may include, for example, the location (e.g., coordinates) of one or more adjacent BPUs for reference, the size of the adjacent BPUs, extrapolation parameters, and the orientation of the adjacent BPU relative to the original BPU. Also, for example, if inter-prediction is used by the encoder to encode the current BPU, the prediction data 206 may include a prediction mode indicator (e.g., a flag value) indicating inter-prediction, and parameters of the inter-prediction operation. Parameters for interpretation operation may include, for example, the number of reference pictures associated with the current BPU, the weights associated with each reference picture, the location (e.g., coordinates) of one or more matching regions in each reference picture, and one or more motion vectors associated with each matching region.

[0089] Based on the prediction mode indicator, the decoder can decide whether to perform a spatial prediction (e.g., intra-prediction) in the spatial prediction stage 2042 or a temporal prediction (e.g., inter-prediction) in the temporal prediction stage 2044. Details of how to perform such spatial or temporal predictions are described in Figure 2B and will not be repeated below. After performing such spatial or temporal predictions, the decoder can generate a prediction BPU 208. The decoder can generate a prediction criterion 224 by adding the prediction BPU 208 and the reconstructed residual BPU 222, as shown in Figure 3A.

[0090] In process 300B, the decoder may supply the prediction criterion 224 to the spatial prediction stage 2042 or the temporal prediction stage 2044 in order to perform prediction operations in the next iteration of process 300B. For example, when the current BPU is decoded by intra-prediction in the spatial prediction stage 2042, after generating the prediction criterion 224 (e.g., the decoded current BPU), the decoder may supply the prediction criterion 224 directly to the spatial prediction stage 2042 for later use (e.g., to extrapolate the next BPU of the current picture). When the current BPU is decoded by inter-prediction in the temporal prediction stage 2044, after generating the prediction criterion 224 (e.g., the reference picture with all BPUs decoded), the encoder may reduce or remove distortion (e.g., blocking artifacts) by supplying the prediction criterion 224 to the loop filter stage 232. The decoder may apply a loop filter to the prediction criterion 224 as illustrated in Figure 2B. The loop-filtered reference picture can be stored in buffer 234 (e.g., a decoded picture buffer in computer memory) for later use (e.g., for use as an inter-prediction reference picture for future encoded pictures of the video bitstream 228). The decoder may store one or more reference pictures in buffer 234 for use in the temporal prediction stage 2044. In some embodiments, the prediction data 206 may further include loop filter parameters (e.g., loop filter strength) if the prediction mode indicator of the prediction data 206 indicates that inter-prediction was used to encode the current BPU.

[0091] Referring back to Figure 1, each of the image / video preprocessor 122, image / video encoder 124, and image / video decoder 144 can be implemented as any suitable hardware, software, or combination thereof. Figure 4 is a block diagram of an exemplary apparatus 400 for processing image data, consistent with embodiments of the present disclosure. For example, apparatus 400 may be a preprocessor, encoder, or decoder. As shown in Figure 4, apparatus 400 may include a processor 402. When the processor 402 executes instructions described herein, apparatus 400 can become a dedicated machine for preprocessing, encoding, and / or decoding image data. The processor 402 may be any type of circuit capable of manipulating or processing information. For example, the processor 402 may include any combination of any number of central processing units (or "CPUs"), graphics processing units (or "GPUs"), neural processing units ("NPUs"), microcontroller units ("MCUs"), optical processors, programmable logic controllers, microcontrollers, microprocessors, digital signal processors, intellectual property (IP) cores, programmable logic arrays (PLAs), programmable array logic (PALs), generic array logic (GALs), composite programmable logic devices (CPLDs), field-programmable gate arrays (FPGAs), systems-on-a-chip (SoCs), or application-specific integrated circuits (ASICs). In some embodiments, the processor 402 may be a set of processors grouped as a single logical component. For example, as shown in Figure 4, the processor 402 may include multiple processors, including processor 402a, processor 402b, and processor 402n.

[0092] The device 400 may also include a memory 404 configured to store data (e.g., a set of instructions, computer code, intermediate data, etc.). For example, as shown in Figure 4, the stored data may include program instructions (e.g., program instructions for carrying out steps in processes 200A, 200B, 300A, or 300B) and processing data (e.g., video sequence 202, video bitstream 228, or video stream 304). The processor 402 can access the program instructions and processing data (e.g., via the bus 410) and perform operations or manipulations on the processing data by executing the program instructions. The memory 404 may include a high-speed random-access storage device or a non-volatile storage device. In some embodiments, the memory 404 may include any number and any combination of random-access memory (RAM), read-only memory (ROM), optical disks, magnetic disks, hard drives, solid-state drives, flash drives, security digital (SD) cards, memory sticks, or compact flash (CF) cards. Memory 404 may be a group of memories grouped as a single logical component (not shown in Figure 4).

[0093] Bus 410 may be a communication device that transfers data between components in device 400, such as an internal bus (e.g., CPU memory bus) or an external bus (e.g., a universal serial bus port, a peripheral component interconnection express port).

[0094] To facilitate explanation without creating ambiguity, the processor 402 and other data processing circuits are collectively referred to as the "data processing circuits" in this disclosure. The data processing circuits may be implemented entirely in hardware, or as a combination of software, hardware, or firmware. The data processing circuits may also be a single, independent module, or may be fully or partially integrated into any other component of the device 400.

[0095] The device 400 may further include a network interface 406 for providing wired or wireless communication to a network (e.g., the Internet, an intranet, a local area network, a mobile communication network, etc.). In some embodiments, the network interface 406 may include any number and any combination of a network interface controller (NIC), radio frequency (RF) module, transponder, transceiver, modem, router, gateway, wired network adapter, wireless network adapter, Bluetooth adapter, infrared adapter, near-field communication ("NFC") adapter, cellular network chip, etc.

[0096] In some embodiments, the device 400 may further include a peripheral interface 408 for providing connection to one or more peripheral devices. As shown in Figure 4, peripheral devices may include, but are not limited to, cursor control devices (e.g., mouse, touchpad or touchscreen), keyboards, displays (e.g., cathode ray tube displays, liquid crystal displays or light-emitting diode displays), video input devices (e.g., cameras or input interfaces coupled to video archives), etc.

[0097] Furthermore, the video codec (for example, the codec that executes processes 200A, 200B, 300A, or 300B) can be implemented as any combination of any software or hardware modules in the device 400. For example, some or all stages of processes 200A, 200B, 300A, or 300B can be implemented as one or more software modules of the device 400, such as program instructions that can be loaded into memory 404. As another example, some or all stages of processes 200A, 200B, 300A, or 300B can be implemented as one or more hardware modules of the device 400, such as dedicated data processing circuits (for example, FPGA, ASIC, NPU, etc.).

[0098] In July 2020, the first version of the VVC standard was established and published as an international standard. Subsequently, JVET began considering new coding tools to further improve the coding performance of the VVC standard (e.g., version 04 / 2020). In January 2021, the Enhanced Compression Model (ECM) (e.g., ECM-21.0) was proposed and has been used as a new software foundation for developing tools that go beyond the VVC standard. Hereafter, unless otherwise specified, VVC / ECM may mean the respective versions described herein. For ease of understanding, the methods described herein may also be applicable to subsequent versions of VVC / ECM (if any).

[0099] Local illumination compensation (LIC) is an interpretation technique for modeling local illumination variations between the current block and its reference block as a function of local illumination variations between the current block template and the reference block template. The parameters of this function can be expressed by scale α and offset β, which form a linear equation for compensating for illumination changes. As shown in Figure 5, the parameters α and β can be derived based on the current template and the reference template. Samples in the current template of the current picture may be available reconstructed samples in the adjacent rows above and adjacent columns to the left of the current block (also referred to in this disclosure as coding units (CUs)). Samples in the reference template of the reference picture can be generated using motion compensation with motion vectors of the current block. In some implementations, the LIC parameters can be derived using a subset of samples in the current template and the reference template. The derived parameters are then applied to adjust the predicted values ​​of the samples in the current block as follows:

number

[0100] Since the LIC parameters α and β can be derived on both the encoder and decoder sides based on the current and reference templates, no signaling overhead is required for α and β, except that the LIC flag is signaled at the CU level in Advanced Motion Vector Prediction (AMVP) mode to indicate the use of LIC. For CUs coded in merge mode, the LIC flag can be inherited from the coded block according to the merge candidate index.

[0101] In some of the disclosed embodiments, the LIC can be extended to a biprediction block. Specifically, two different linear models are derived to compensate for illumination changes between the current block and its two reference blocks. The final biprediction of the current block is then calculated as a combination of two LIC-adjusted singleprediction blocks, as shown in the following equation:

number

number

number

[0102] To reuse the existing linear model derivation for LIC, a stepwise approach is applied, which alternately derives the L0 linear model and the L1 linear model. Specifically, given the two MVs of the current block, JPEG2026539254000014.jpg32 and JPEG2026539254000015.jpg32 is the template for the current block. Let's assume we have two prediction templates for JPEG2026539254000016.jpg22. In this approach, first, JPEG2026539254000017.jpg32 and The L0 linear model that minimizes the difference with JPEG2026539254000018.jpg22 ( JPEG2026539254000019.jpg23 and JPEG2026539254000020.jpg33) is derived, and then, An L1 linear model that minimizes the difference between JPEG2026539254000021.jpg32 and the updated template. JPEG2026539254000022.jpg22 and The image JPEG2026539254000023.jpg32 can be calculated. Finally, the L0 linear model refinement is performed again in the same manner.

[0103] In the case of composite intra-interpretation (CIIP) coded blocks, the LIC flag can be inherited from the coded block according to the merge candidate index when calculating the interpretation. In some implementations, the LIC flag can be inherited only for low-latency pictures if the difference between the POC index of the L0 reference picture and the POC index of the current picture is 1.

[0104] Conventional LIC methods are not applicable to geometric partitioning mode (GPM) coded blocks.

[0105] VVC supports geometric partitioning modes (GPMs) for interpretation. These geometric partitioning modes are signaled using CU-level flags as a type of merge mode. A total of 64 GPM partitioning modes are supported for each available CU size.

[0106] When the GPM mode is used, the CU is divided into two parts by a geometrically positioned straight line (Figure 6) according to the GPM partitioning mode. The position of the partition line is mathematically derived from the angle and offset parameters of a particular partition. Table 1 shows the relationship between the GPM partitioning mode (merge_gpm_partition_idx) and the GPM partition angle (angleIdx). Each part of the geometric partition in the CU is interpreted using its own motion. In VVC, only single predictions are allowed for each partition, i.e., each part has one motion vector and one reference index. As with conventional biprediction, single-prediction motion constraints are applied so that only two motion-compensated predictions are required per CU.

[0107] When the GPM mode is used for the current CU, a geometric partition index (corresponding to angles and offsets) indicating the partition mode and two merge indices (one for each part) are further signaled. The number of maximum GPM candidate sizes is explicitly signaled in the SPS and specifies the syntactic binarization of the GPM merge index. After predicting each part of the geometric partition, a blending process using adaptive weights is used to adjust the predicted sample values ​​along the edges of the geometric partition. This is the prediction signal for the entire CU, and the transformation and quantization processes are applied to the entire CU as in the case of other prediction modes. Finally, the motion field of the CU predicted using the GPM mode is stored. Table 1: Relationship between GPM partitioning mode (merge_gpm_partition_idx) and GPM partition angle (angleIdx) [Table 1]

[0108] Next, we will explain how to build the GPM candidate list.

[0109] In some embodiments, the construction of a single prediction candidate list is used. The single prediction candidate list used in VVC is derived directly from the merge candidate list constructed for the normal merge mode. Let n be the index of the single prediction motion in the geometric single prediction candidate list. The LX motion vector of the nth extended merge candidate (where X is equal to the oddness of n) is used as the nth single prediction motion vector for the geometric partitioning mode. In Figure 7, these motion vectors are marked with "x". If there is no corresponding LX motion vector for the nth extended merge candidate, the L(1-X) motion vector of the same candidate is used instead as the single prediction motion vector for the geometric partitioning mode.

[0110] ECM proposes a new list of single-prediction candidates constructed in the following order: Interleaved L0 MV candidates and L1 MV candidates are directly derived from the normal merge candidate list, with L0 MV candidates having higher priority than L1 MV candidates. A pruning method using an adaptive threshold based on the current CU size is applied to remove redundant MV candidates. From the standard merge candidate list, interleaved L1 MV candidates and L0 MV candidates are further directly derived, with L1 MV candidates having higher priority than L0 MV candidates. Pruning techniques using adaptive thresholds are similarly applied to remove redundant MV candidates. Zero MV candidates are padded until the GPM candidate list is filled.

[0111] In some embodiments, a bipredictive GPM is used. In ECM, the current GPM design has been extended to allow the use of bipredictive MVs, meaning that each part of a GPM-coded block can be predicted by single or bipredictive motion. For smaller blocks such as 8x8, 16x8, and 8x16 blocks, only single prediction is permitted, and the single prediction candidate list described above is used. For other larger blocks, a new merge list (which may include bipredictive motion) is used. Generating the new merge list is similar to that of a normal merge list, except that the motion vector difference threshold controlling whether candidates can be added to the list is larger.

[0112] In some embodiments, blending along geometric division edges is used.

[0113] Next, we will describe the blending method in VVC. In VVC, each part of the geometric partition is predicted using its own motion information, and then blending is applied to the two predicted signals to derive samples around the edges of the geometric partition. The blending weights for each position in the CU are derived based on the distance between the individual position and the edges of the partition.

[0114] position The distance from JPEG2026539254000025.jpg35 to the partition edge is derived as follows:

number

number

number

number

[0115] The weights of each part of the geometric partition are derived as follows:

number

number

number

[0116] partIdx depends on the angle index i. An example of JPEG2026539254000036.jpg23 is shown in Figure 8.

[0117] Next, the blending method in ECM will be described. In ECM, as shown in Figure 9, the blending process is improved by adding four additional blending area sizes (1 / 4, 1 / 2, 2 times, and 4 times the blending area size in VVC). A CU-level flag indicating the selected blending area size is signaled. Furthermore, extended weighting precision is utilized, in which case the maximum weight is changed from 8 (in the case of VVC) to 32 to correspond to the extended blending area sizes.

[0118] Next, we will discuss GPM with motion vector refinement (GPM-MMVD). In ECM, GPM is extended by applying motion vector refinement on top of the GPM's single-prediction MV. First, a flag is signaled for the GPM-coded CU to indicate whether the GPM MMVD mode is used. If this mode is used, each part of the geometric partition within the CU can further decide whether or not to signal MVD. If MVD is signaled for a geometric part, after a GPM merge candidate is selected, further refinement of the motion for that part is performed using the signaled MVD information.

[0119] MVD is signaled as a distance-direction pair. There are nine candidate distances (1 / 4 pixel, 1 / 2 pixel, 1 pixel, 2 pixels, 3 pixels, 4 pixels, 6 pixels, 8 pixels, 16 pixels) and eight candidate directions (four horizontal / vertical directions and four diagonal directions) involved in GPM using MMVD (GPM-MMVD).

[0120] Next, we will describe GPM using template matching (GPM-TM). In ECM, the template matching method is applied to GPM. When GPM mode is enabled for a given CU, a CU-level flag is signaled to indicate whether template matching is applied to both geometric parts. Refinement of motion information for each geometric part is performed using TM. When TM is selected, a template is constructed using left, above, or left and above adjacent samples, depending on the partition angle, as shown in Table 2. This motion refinement is then performed by minimizing the difference between the template of the current block and the template in the reference picture, using the same search pattern in merge mode with the half-pixel interpolation filter disabled. Table 2: Templates for the first and second geometric parts, where A indicates using the upper adjacent sample, L indicates using the left adjacent sample, and L+A indicates using both the left adjacent sample and the upper adjacent sample. [Table 2]

[0121] GPM-MMVD and GPM-TM are exclusively enabled for one GPM CU. This is done by first signaling the GPM-MMVD syntax. If both GPM-MMVD control flags are equal to false (i.e., GPM-MMVD is disabled for two GPM partitions), the GPM-TM flag is signaled to indicate whether template matching applies to the two GPM partitions. Otherwise (if at least one GPM-MMVD flag is equal to true), the value of the GPM-TM flag is inferred to be false.

[0122] Next, we will discuss the sorting of GPM partition modes. In ECM, 64 GPM partition modes can be sorted by template matching. Given the movement information of the currently GPM-coded block, the TM cost value for each GPM partition mode between its current template and a reference template is calculated. Then, all GPM partition modes are sorted in ascending order based on the TM cost values. Instead of sending the GPM partition mode, an index using Golomb-Rice coding is signaled to indicate the exact position of the GPM partition mode in the sorting list.

[0123] The method for reordering the GPM partitioning mode is a two-step process performed after generating the reference templates for each of the two GPM partitions within the CU, and is as follows: • Extend the edges of the GPM partition into reference templates of two GPM partitions, generate 64 reference templates, and calculate the TM cost for each of these 64 reference templates. Based on the TM cost value of the GPM partitioning modes, sort the GPM partitioning modes in ascending order and mark the 32 best partitioning modes as available partitioning modes.

[0124] As shown in Figure 10, the template edges are extended from the current CU edges, but GPM blending is not used in the template region that spans these edges.

[0125] After sorting in ascending order using TM cost, an index is signaled to indicate the GPM partitioning mode.

[0126] Next, the GPM intra-intermode will be described. In a GPM using inter and intra prediction, the final predicted samples are generated by weighting inter-predicted and intra-predicted samples for each GPM partition. Inter-predicted samples are derived from inter prediction, while intra-predicted samples are derived from an intra-prediction mode (IPM) candidate list and an index signaled from the encoder. The size of the IPM candidate list is predefined to 3. As shown in Figures 11A to 11C, the available IPM candidates are the parallel mode, perpendicular mode, and planar mode relative to the GPM block boundary, respectively. Furthermore, as shown in Figure 11D, the GPM using intra and intra prediction is limited to reduce the signaling overhead of the IPM and avoid increasing the size of the intra prediction circuit on the hardware decoder. In addition, direct motion vectors and IPM storage are introduced into the GPM blending area to further improve coding performance.

[0127] In some implementations, IPM derivation is based on DIMD and adjacent mode, in which case Parallel mode is registered first. Therefore, if no identical IPM candidate exists in the list, up to two IPM candidates can be registered using the decoder-side intra-mode derivation (DIMD) method and / or derived from adjacent blocks. For adjacent mode derivation, there are up to five available adjacent block positions.

[0128] GPM-intra can be combined with GPM (GPM-MMVD) using motion vector difference merging. TIMD is used as an IPM candidate for GPM-intra to further improve coding performance. Parallel mode may be registered first, followed by TIMD, DIMD, and adjacent block IPM candidates.

[0129] Next, we will describe the memory of the motion field for the geometric partitioning mode. MV1 from the first part of the geometric partition, MV2 from the second part of the geometric partition, and MV obtained by combining MV1 and MV2 are stored in the motion field of the CU coded in the geometric partitioning mode.

[0130] The type of motion vector stored for each individual position within the motion field is determined as follows:

number

[0131] If sType is equal to 0 or 1, MV1 or MV2 is stored in the corresponding movement field; otherwise, if sType is equal to 2, an MV combining MV1 and MV2 is stored. This MV is generated using the following process.

[0132] If MV1 and MV2 are from different reference picture lists (one from L0 and the other from L1), simply combine MV1 and MV2 to form a bipredictive motion vector.

[0133] If MV1 and MV2 are from the same list, only the single predicted motion MV2 is stored.

[0134] Next, we will discuss Angular Weighted Prediction (AWP). Similar to GPM in VVC, the Audio Video Coding Standard 3 (AVS3) employs a tool called Angular Weighted Prediction (AWP). The AVS3 video standard was developed by the AVS Working Group, established in China in 2002. The predecessors of the AVS3 standard, AVS1 and AVS2, were published as Chinese national standards in 2006 and 2016, respectively. In AVS3, Angular Weighted Prediction mode is supported for skip and direct modes. AWP mode is signaled using a CU-level flag as a type of skip or direct mode. In AWP mode, a motion vector candidate list containing five different single-prediction motion vectors is first constructed by deriving motion vectors from spatially adjacent blocks and temporal motion vector predictors. Then, two single-prediction motion vectors are selected from the motion vector candidate list to predict the current block. Unlike the bi-prediction intermode, where all samples have equal weights, each sample coded in AWP mode can have different weights. The weight of each sample is predicted from a weight array with values ​​from 0 to 8. As shown in Figure 12, the weight prediction is similar to the process in intra-prediction mode. The CU size that can be used is JPEG2026539254000040.jpg314. For each JPEG2026539254000041.jpg216 image, a total of 56 different types of weights are supported by AWP mode, including 8 intra-prediction angles (shown in Figure 13) and 7 different weight array settings (shown in Figure 14). Note that AWP mode signals directly to the decoder without prediction. AWP mode indices are binarized using truncated binary, meaning indices 0-7 are coded using 5 bits, and indices 8-55 are coded using 6 bits.

[0135] Assume that the two selected single predictive motion vectors are MV0 and MV1. By performing motion compensation using MV0 and MV1 respectively, two predictive blocks P0 and P1 are obtained. The final predictive block P is calculated as follows:

number

[0136] After prediction, a single predicted motion vector is stored in a 4x4 granularity. For each 4x4 unit, one of the two single predicted motion vectors is stored.

[0137] In some of the disclosed embodiments, Overlap Block Motion Compensation (OBMC) is an intercoding tool used in the ECM. When OBMC is applied to a CU, it is performed on the upper and left boundaries of the CU. Furthermore, if the CU is coded in a sub-CU mode (such as affine mode or DMVR mode), OBMC is further performed on the boundaries of each sub-CU of the CU, excluding the boundaries of the CU itself. To handle boundaries uniformly, OBMC is performed at the 4x4 sub-block level for all enabled boundaries. OBMC is applied to both the luma and chroma components.

[0138] As shown in Figure 15, OBMC can be performed at the 4x4 subblock level for the upper and left boundaries of the CU. When OBMC is applied to the current subblock, the current motion vector In addition to JPEG2026539254000043.jpg34, the motion vector from the upper adjacent subblock when the current subblock is on the upper boundary, and when the current subblock is on the left boundary The motion vector from the left adjacent subblock present in JPEG2026539254000044.jpg35 is available, as well as the current motion vector. If it is not identical to JPEG2026539254000045.jpg34, it can be used to derive the predicted block of the current subblock. Current motion vector Predicted signal based on JPEG2026539254000046.jpg34 The file is named JPEG2026539254000047.jpg36, and the adjacent motion vector is... Predicted signal based on JPEG2026539254000048.jpg35 By saving the image as JPEG2026539254000049.jpg36 and blending these two images, we obtain the final predicted signal for the current subblock. The file JPEG2026539254000050.jpg35 is generated. JPEG2026539254000051.jpg35 If it is equal to JPEG2026539254000052.jpg34, OBMC will not run on the current subblock.

[0139] For sub-CU boundaries, OBMC can be performed at the 4x4 subblock level, excluding the CU boundary. For each subblock, in addition to the current motion vector, the motion vectors of the four connected neighboring subblocks are available and, if they are not identical to the current motion vector, are used to derive the predicted block for the current subblock. By combining these multiple predicted blocks based on multiple motion vectors, the final predicted signal for the current subblock is generated.

[0140] In AMVP mode, a flag can be signaled to indicate whether or not to run OBMC on a CU. In skip-merge mode, OBMC is always run without any signaling.

[0141] In some of the disclosed embodiments, the following two modifications can be made to better handle the interaction between the LIC and the OBMC. 1) It has been proposed to enable OBMC in interblocks where LIC is applied. Furthermore, to improve the trade-off between complexity and performance, OBMC is applied only to perform refinement of predictive samples on the upper and left boundaries of a single LIC CU, while OBMC is always disabled at internal subblock boundaries. 2) In addition to MV, it has been proposed to consider the LIC parameters of one adjacent block (if coded by LIC) to generate predictive samples corresponding to the current CU's OBMC. This ensures that the LIC parameters are preserved at the CU level.

[0142] Intra-block copying (IBC) is a tool employed in VVC. As can be understood, IBC can significantly improve the coding efficiency of screen content material. Since IBC mode is implemented as a block-level coding mode, block matching (BM) can be performed in the encoder to find the optimal block vector (or motion vector) for each CU. Here, the block vector can be used to indicate the displacement from the current block to a reference block already reconstructed within the current picture. The chroma block vector of an IBC-coded CU is integer-precision. The chroma block vector is also rounded to integer precision. When combined with AMVR, IBC mode can switch between 1-pixel motion vector precision and 4-pixel motion vector precision. IBC-coded CUs are treated as a third prediction mode other than intra-prediction mode or inter-prediction mode. IBC mode is applicable to CUs where both width and height are 64 lumens or less.

[0143] On the encoder side, hash-based motion estimation is performed on IBCs. The encoder performs RD checks on blocks whose width or height is 16 luma samples or less. In non-merge mode, a block vector search can first be performed using a hash-based search. If the hash search does not return any valid candidates, a block matching-based local search is performed.

[0144] In hash-based lookups, hash key matching (32-bit CRC) between the current block and the reference block is extended to all permitted block sizes. Hash key calculations for all positions within the current picture are based on 4x4 subblocks. For larger current blocks, if all hash keys in all 4x4 subblocks match the hash keys at the corresponding reference positions, the hash key is determined to match the hash key of the reference block. If multiple reference block hash keys are found to match the hash key of the current block, the block vector cost for each matching reference is calculated, and the one with the minimum cost is selected. In block matching searches, the search scope is set to cover both the previous CTU and the current CTU.

[0145] At the CU level, IBC mode can be signaled by a flag, and can also be signaled as IBC AMVP mode or IBC skip / merge mode, as follows: IBC Skip / Merge Mode: The merge candidate index is used to indicate which block vector from the list of adjacent candidate IBC-encoded blocks to use for the prediction of the current block. The merge list consists of spatial candidates, HMVP candidates, and candidate pairs. IBC AMVP mode: Block vector differences are coded in a similar way to motion vector differences. The block vector prediction method (when coded with IBC) uses two predictors: a candidate from the left neighbor and a candidate from the upper neighbor. If neither neighbor is available, the default block vector is used as the predictor. A flag is signaled to indicate the block vector predictor index.

[0146] In current ECM designs, intrablock copy with local illumination compensation (IBC-LIC) is a coding tool that compensates for local illumination variations in a picture between an IBC-coded CU and its reference block using a linear model. The parameters of the linear model are derived in a similar manner to LIC for interprediction, except that the reference template is generated using block vectors in the IBC.

[0147] IBC-LIC can be applied to IBC AMVP mode and IBC Merge mode. In IBC AMVP mode, the IBC-LIC flag is signaled to indicate the use of IBC-LIC. In IBC Merge mode, the IBC-LIC flag is inherited from the coded block according to the merge candidate index.

[0148] In some disclosed embodiments, three modes can be added to the IBC-LIC to further improve coding performance. The first two modes relate to template shape selection. It has been proposed that the IBC-LIC be able to derive parameters for a single model using only the upper template, only the left template, or both the upper and left templates. A multi-model IBC-LIC has also been proposed, which allows the IBC-LIC to have two linear models in one CU. Both the upper and left templates are then used to derive the multi-model IBC-LIC parameters.

[0149] In IBC AMVP mode, if the IBC flag is true, the IBC-LIC index is signaled to indicate which IBC-LIC method to use, as shown in Table 3. Table 3: IBC-LIC Signaling [Table 3]

[0150] Next, we will explain the IBC filter. In ECM, the 7-tap filter consists of 5 taps plus a sign-shape spatial component, a bias term, and a nonlinear term. As shown in Figure 16, the input to the 5 spatial tap components of the filter consists of the sample in the current block to be predicted and its adjacent samples above / north (N), below / south (S), left / west (W), and right / east (E), as well as the corresponding center (C) sample in the reference block, as shown below.

[0151] The nonlinear term P is expressed as a power of 2 of the central sample C and scaled to the range of sample values ​​in the content. P=(C*C+midVal)>>bitDepth (14)

[0152] The bias term B represents the scalar offset between the input and output and is set to an intermediate luma value (512 for 10-bit content).

[0153] The filter output is calculated as follows: predLumaVal=c0C+c1N+c2S+c3E+c4W+c5P+c6B(15)

[0154] The filter coefficient ci is calculated by minimizing the MSE between the reference template and the current template.

[0155] IBC filters introduce an additional directive flag that is signaled based on the IBC-LIC flag. Specifically, if the IBC-LIC flag is true, this flag is signaled and used to indicate whether the IBC filter is applied to the current block. In IBC merge mode, this filtering mode is inherited when the merge mode list is built, so there is no additional signaling.

[0156] In ECM, Composite Intrablock Copy and Intraprediction (IBC-CIIP) is a coding tool for CU that uses IBC and intraprediction to obtain two prediction signals, and the final prediction is generated by weighting and adding the two prediction signals as follows:

number

[0157] The intra-prediction mode (IPM) candidate list is used to generate the intra-prediction signal, and its size is predefined to 2. An IPM index is signaled to indicate which IPM to use.

[0158] In ECM, Intrablock Copy with Geometric Partitioning Mode (IBC-GPM) is a coding tool that geometrically divides a CU into two subpartitions. The predicted signals for the two subpartitions are generated using IBC and intraprediction. IBC-GPM can be applied to the normal IBC merge mode or IBC TM merge mode. The intraprediction mode (IPM) candidate list is constructed for intraprediction in a similar manner to GPM with inter and intraprediction, and its size is predefined to 3. There are a total of 48 geometric partitioning modes, which are classified into the following two geometric partitioning mode sets. Table 4: Geometric division modes of the first geometric division mode set in IBC-GPM [Table 4] Table 5: Geometric division modes of the second geometric division mode set in IBC-GPM [Table 5]

[0159] If IBC-GPM is used, the IBC-GPM geometric partition mode set flag is signaled to indicate whether to select the first or second geometric partition mode set, and then the geometric partition mode index is signaled. The IBC-GPM intra flag is signaled to indicate whether intra prediction is used for the first subpartition. If intra prediction is used for the subpartition, the intra prediction mode index is signaled. If IBC is used for the subpartition, the merge index is signaled.

[0160] Dual-predictive IBC GPM generates prediction samples for both GPM partitions using different IBCs. In dual-predictive IBC GPM, the core IBC GPM design (e.g., 48 GPM modes, IBC merge candidate list) is maintained similarly to the single-predictive IBC GPM design in ECM. Here, single-predictive IBC GPM generates prediction samples for each GPM partition using IBC modes and intra-modes, respectively.

[0161] Next, we will discuss dual-prediction IBC. Inspired by AMVP merge, IBC BVP merge derives two required BVs from the IBC block vector prediction (BVP) and the IBC merge. Unlike AMVP merge mode, two different indices, the IBC BVP and the IBC merge candidate, are signaled from the encoder to the decoder.

[0162] Dual-predictive IBC merging derives two BVs from an existing list of IBC merge candidates using two different indices. These two indices are signaled from the encoder to the decoder. Dual-predictive IBC merging applies to IBC MBVD and regular IBC merging. In the current ECM, IBC-LIC and IBC filters are not applied to IBC-CIIP, IBC-GPM, and dual-predictive IBC.

[0163] However, there are several problems with the conventional LIC method. As you can see, the conventional LIC method described above can locally compensate for illumination changes between different pictures, but it does not apply to GPM. Therefore, GPM cannot benefit from LIC. Secondly, the conventional LIC method may reduce prediction accuracy by deriving only one linear model for all samples in the current block. Thirdly, for dual-prediction blocks, if the LIC flag is true, the conventional LIC method must be applied to both single-prediction blocks, which lacks flexibility. Fourthly, IBC-LIC and IBC filters do not apply to IBC-CIIP, IBC-GPM, and dual-prediction IBC.

[0164] According to the disclosed embodiments, the LIC method can be applied to a GPM-encoded unit in order to solve one or more of the above-mentioned problems related to the LIC method.

[0165] Some embodiments of the present disclosure provide methods for decoding a bitstream. Figure 17A is a schematic diagram showing an exemplary method 1700 for decoding a bitstream according to some embodiments of the present disclosure. As shown in Figure 17A, the method 1700 may include steps 1702 and 1704 that can be performed by one or more processors associated with a decoder (e.g., the image / video decoder 144 in Figure 1, a decoder conforming to decoding process 300A shown in Figure 3A, a decoder conforming to decoding process 300B shown in Figure 3B, or the device 400 in Figure 4).

[0166] In step 1702, the decoder may receive the bitstream.

[0167] In step 1704, the decoder may decode one or more pictures using the bitstream encoding information. Specifically, the decoder may determine whether or not to apply local illumination compensation (LIC) processing to the current block of the current picture among the one or more pictures.

[0168] Figure 17B is a flowchart showing substeps of method 1700 shown in Figure 17A, according to some embodiments of the present disclosure. As shown in Figure 17B, step 1704 may include substeps 1710 and 1712 that can be performed by the decoder.

[0169] In substep 1710, the decoder may determine whether the current block of the current picture is encoded by dividing it into multiple parts. In some embodiments, the current block can be divided into two GPM divisions in geometric division mode (GPM). In some embodiments, the current picture can be coded in angle-weighted prediction (AWP) mode. Although some embodiments of this disclosure are described in relation to GPM, it will be understood that such methods are also applicable to AWP.

[0170] In substep 1712, in response to the determination in substep 1710 that the current block is divided into multiple parts which are interpreted according to each reference block, the decoder may determine whether to apply local illumination compensation (LIC) processing to the multiple parts, based on whether the coded block in the current picture is subject to LIC processing.

[0171] In some embodiments, when a coding unit is coded in GPM mode, the LIC flag can be inherited from the coded block of each GPM partition. Specifically, in substep 1712, the decoder may determine whether to apply the LIC operation to the target GPM partition of the two GPM partitions based on whether the causally adjacent block of the current block applies the LIC operation. In some embodiments, the causally adjacent block may be a block corresponding to the merge index of the target GPM partition.

[0172] In some embodiments, the first GPM partition can inherit a first LIC flag from a first coded block (e.g., a causal adjacency block) in the current picture corresponding to a first merge index. Similarly, the second GPM partition can inherit a second LIC flag from a second coded block (e.g., a causal adjacency block) in the current picture corresponding to a second merge index. Then, for each partition, if the inherited LIC flag is true, the LIC process is applied.

[0173] Referring further to Figure 17B, in some embodiments, step 1704 further includes a substep 1714 which can also be performed by the decoder. In substep 1714, in response to a decision to apply LIC processing to the target GPM partition, the decoder may determine the LIC parameters of the target GPM partition.

[0174] In some embodiments, the LIC parameters of the target GPM split are determined based on the current template of the current block and the reference template of the reference block. For example, as shown in Figure 18A, the LIC process may include deriving LIC parameters based on the current template and the reference template (e.g., the first or second reference template shown in Figure 18A) and adjusting the predicted values ​​of the current portion after MC (e.g., the first or second portion shown in Figure 18A) based on the LIC parameters. When deriving the LIC parameters, the template can be constructed from both the available adjacent samples on the left and the available adjacent samples above. Finally, the predicted values ​​of the two portions adjusted by the LIC are blended to generate the final predicted values ​​of the current coding unit.

[0175] In some embodiments, if the GPM partition is a single prediction portion and the inherited LIC flag is true, the LIC method for the single prediction block described above can be used. In some embodiments, if the GPM partition is a biprediction portion and the inherited LIC flag is true, the LIC method for the biprediction block described above can be used.

[0176] In some embodiments, step 1704 further includes a substep 1716 which can also be performed by the decoder. In substep 1716, LIC processing is applied to the target GPM segment, and in response to the determination that the target GPM segment is bipredictable, the decoder may skip decoder-side motion vector refinement (DMVR) or bidirectional optical flow (BDOF) to the target GPM segment. For example, if the GPM segment is a bipredictable segment and the inherited LIC flag is true, DMVR (including multipath DMVR, adaptive DMVR, and affine DMVR) and BDOF are not applied. The decoder may skip these processes.

[0177] In some embodiments, if the GPM splitting portion is a biprediction portion and the DMVR or BDOF condition is met, the LIC flag for this portion can be set to false (e.g., zero), which means that LIC is not applied.

[0178] In some embodiments, if the GPM partitioning portion is a biprediction portion, the LIC flag for this portion can be set to false (e.g., zero). In other words, the LIC method is not applied to the biprediction GPM partitioning portion.

[0179] In some embodiments, the LIC method can be applied only to GPM-encoded blocks of low-latency pictures.

[0180] In some embodiments, when deriving LIC parameters, each GPM partition can construct a template based on the GPM partition angle. As shown in Table 1, there are a total of 64 partition modes, which include 20 angles and 4 distances. For example, as shown in Figure 18B, only the upper template is used to derive the LIC parameters for the first part, and only the left-side template is used to derive the LIC parameters for the second part.

[0181] In some embodiments, when deriving the LIC parameters for the GPM partition, a template is first selected from the left adjacent sample, the upper adjacent sample, or the upper-left adjacent sample, depending on the partition angle. The basic principle of template selection is that if the partition has only an upper adjacent sample, that upper adjacent sample is selected as the template; if the partition has only a left adjacent sample, that left adjacent sample is selected as the template; and otherwise, the upper-left adjacent sample is selected as the template. Specifically, when the partition angles are 0, 2, 3, 13, 14, 16, 18, 19, 29, and 30, the upper adjacent sample is selected as the template for the first portion predicted using the first motion, and the upper-left adjacent sample is selected as the template for the second portion predicted using the second motion. When the partition angles are 4 and 20, the upper adjacent sample is selected as the template for the first portion, and the left adjacent sample is selected as the template for the second portion. If the partition angles are 5, 8, 11, 21, 24, and 27, the top-left adjacent sample is selected as the template for the first part, and the left-side adjacent sample is selected as the template for the second part. If the partition angles are 12 and 28, the top-left adjacent sample is selected as the template for both the first and second parts.

[0182] In some embodiments, the reordering of GPM TMs and GPM partitioning modes may involve inherited LIC flags in the GPM partitioning section. When reordering GPM TMs or GPM partitioning modes, if the inherited LIC flag is true after the reference template's MC, the LIC process is applied to the reference template, and then the TM cost between the current template and the reference template is calculated. The LIC parameters are derived based on the current template and the reference template, and the reference template after MC is adjusted according to the derived LIC parameters.

[0183] In some embodiments, the LIC parameters for the entire CU can be saved. For example, for a GPM-coded CU, if the LIC is applied to only one GPM partition, the LIC parameters for that partition are saved for the entire CU. If the LIC is applied to both GPM partitions, based on the GPM partitioning mode, only one set of two sets of LIC parameters for the two partitions is selected and saved for the entire CU. For example, the LIC parameters for the larger area in the CU are selected. The saved LIC parameters can be used for OBMC of adjacent CUs.

[0184] In some embodiments, for GPM-coded CUs, if an LIC is applied, the LIC parameters are stored at the subblock level. For example, the subblock size can be 4x4 or 1x1. When an LIC is applied to both GPM divisions, for a given location within the CU, it is determined which set of the two LIC parameter sets to store based on which division the location belongs to. The stored LIC parameters can be used for OBMC of adjacent CUs.

[0185] In some embodiments, LIC is applied to GPM intra-intermode coding blocks. For the current block, the LIC flag can be inherited from the coding block in the current picture based on the merge index. If the LIC flag is true, LIC is applied to the inter-prediction block in GPM intra-intermode. The inter-prediction block, tuned by LIC, is then blended with the intra-prediction block to generate the final prediction value.

[0186] As mentioned above, the method of applying LIC to GPM can also be applied to the AVS3 standard AWP mode.

[0187] According to some of the disclosed embodiments, a multi-model LIC method can be used to solve one or more of the above-mentioned problems related to LIC methods.

[0188] In some embodiments, when applying the LIC method to a coding unit, two LIC models (two sets of LIC parameters) can be derived and applied. A threshold is determined. For example, this threshold can be the mean of the samples in the reference template after MC. Alternatively, this threshold can be the mean of the predicted samples in the current block after MC. The samples in the reference template are classified into two classes based on the sample values ​​after MC and the threshold. For a sample in the reference template, if the value after MC is less than (or equal to) the threshold, the sample is classified into the first class; otherwise, it is classified into the second class. In some embodiments, two LIC models can be derived based on the samples in the two classes. For the current block, the samples are also classified based on the predicted values ​​after MC and the threshold under the same rules. For a sample in the current block, if the predicted value after MC is less than (or equal to) the threshold, the sample is classified into the first class, and the first LIC model is applied to adjust the predicted value. Otherwise, the sample is classified into the second class, and the second LIC model is applied to adjust the predicted value. For example, in Figure 19, the blue samples in the template are used to derive a first LIC model applied to the blue samples in the current block, and the predicted values ​​are adjusted. Then, the green samples in the template are used to derive a second LIC model applied to the green samples in the current block.

[0189] In some embodiments, the multi-model method can be used in a bi-predictive LIC. In one example, the two single-predictive blocks within a bi-predictive block have the same number of LIC models. For example, both single-predictive blocks are coordinated by a multi-model LIC. This can be determined by the flags shown in Table 6. In another example, the two single-predictive blocks within a bi-predictive block may have different numbers of LIC models. For example, one single-predictive block is coordinated by a single-model LIC, while the other single-predictive block is coordinated by a multi-model LIC. This can be determined by the index shown in Table 7. In some embodiments, the multi-model method cannot be used in a bi-predictive LIC. Table 6: Number of LIC models for two prediction blocks in a bipredictive LIC in one example [Table 6] Table 7: Number of LIC models for two prediction blocks in a dual-predictive LIC in another example [Table 7]

[0190] In some embodiments, the multi-model method can be applied to coding units whose size (width × height) is greater than a threshold. For example, the threshold can be 32, 64, 128, 256, or 512.

[0191] In some embodiments, for blocks coded in AMVP mode, if the LIC flag is true, a second flag is signaled to indicate whether to apply a single-model LIC or a multi-model LIC. For blocks coded in merge mode, if the inherited LIC flag is true, the second flag can also be inherited from the coded block to determine whether to apply a single-model LIC or a multi-model LIC. In some embodiments, for blocks coded in merge mode, if the inherited LIC flag is true, the second flag cannot be inherited from the coded block, meaning that only single-model LICs can be applied to blocks coded in merge mode.

[0192] In some embodiments, if the LIC flag is true, the decision of whether to use a single-model LIC or a multi-model LIC is determined based on the template. For example, both single-model and multi-model LICs may be applied to the template, and the method with the lower TM cost (the cost of the current template and the reference template after applying the two LIC methods) is applied to the current block.

[0193] According to the disclosed embodiments, the LIC can be improved as follows to solve one or more of the above-mentioned problems related to the LIC method.

[0194] In the current ECM, for AMVP dual-prediction CUs, the LIC flag is signaled to indicate whether LIC applies to both single-prediction blocks. For merged dual-prediction CUs, the LIC flag is inherited from the coded block to determine whether LIC applies to both single-prediction blocks.

[0195] In some embodiments, for a dual-prediction CU, the LIC can be applied to only one of the two single-prediction blocks. For an AMVP dual-prediction CU, if the LIC flag is true, the index is further signaled to indicate whether the LIC is applied to both single-prediction blocks or to only one of the two single-prediction blocks, as shown in Table 8. For a merged dual-prediction CU, if the inherited LIC flag is true, the index is also inherited from the coding block to determine whether the LIC is applied to both single-prediction blocks or to only one of the two single-prediction blocks. Table 8: Number of LIC models for two prediction blocks in a bipredictive LIC in another example [Table 8]

[0196] According to the disclosed embodiments, the IBC-LIC and IBC filter can be improved as follows to solve one or more of the above-mentioned problems related to the LIC method.

[0197] Specifically, this disclosure proposes applying IBC-LIC and / or IBC filters to IBC-CIIP, IBC-GPM, and dual-predictive IBC.

[0198] In some embodiments, IBC-LIC is applied to IBC-CIIP mode. If the IBC portion of IBC-CIIP is coded in AMVP mode, a flag is signaled to indicate whether IBC-LIC is applied to the IBC prediction block. If the IBC portion of IBC-CIIP is coded in merge mode, the IBC-LIC flag can be inherited from the coded block in the current picture based on the merge index. If the IBC-LIC flag is true, the final prediction is generated by weighting and adding the IBC prediction block and intra-prediction block adjusted by IBC-LIC. In some embodiments, IBC-LIC is applied to IBC-CIIP mode only if the IBC portion is coded in merge mode.

[0199] In some embodiments, IBC-LIC is applied to IBC-GPM mode. In single IBC-GPM mode (IBC prediction + intra prediction), the IBC-LIC flag can be inherited from the coded block in the current picture based on the merge index. If the IBC-LIC flag is true, IBC-LIC is applied to the IBC prediction. The final prediction is then generated by blending the IBC prediction block, adjusted by IBC-LIC, with the intra prediction block. In dual IBC-GPM mode, two LIC flags are inherited from the coded block in the current picture based on two merge indices for the two parts. For each part, if the LIC flag is true, LIC is applied to the prediction for that part. The final prediction is then generated by blending the predictions of the two parts.

[0200] In some embodiments, IBC-LIC is applied to the dual-prediction IBC merge mode. Two LIC flags are inherited from the coded blocks in the current picture, each based on two merge indices. For each single prediction, if the LIC flag is true, LIC is applied to the prediction. The final prediction is then generated by weighting and adding the two single predictions.

[0201] In some embodiments, if the inherited IBC-LIC flag is true, a single-model IBC-LIC method using both the top and left templates is applied to the current block. In some embodiments, if the inherited IBC-LIC flag is true, an IBC-LIC index indicating which of the four IBC-LIC methods shown in Table 3 to use is also inherited. Then, the IBC-LIC method corresponding to the inherited IBC-LIC index is applied to the current block.

[0202] In some embodiments, the IBC filter flag can be inherited in IBC-CIIP, IBC-GPM, and dual-prediction IBC merge modes, as described above.

[0203] Furthermore, the embodiments described in this disclosure can be freely combined.

[0204] In some embodiments, methods for encoding a video sequence into a bitstream are also provided. Figure 20A is a schematic diagram showing an exemplary method 2000 for encoding a video sequence into a bitstream according to some embodiments of the present disclosure. As shown in Figure 20A, the method 2000 may include steps 2002-2006 that can be performed by one or more processors associated with an encoder (e.g., the image / video encoder 124 in Figure 1, the encoder conforming to encoding process 200A shown in Figure 2A, the encoder conforming to encoding process 200B shown in Figure 2B, or the device 400 in Figure 4).

[0205] In step 2002, the encoder can receive the video sequence.

[0206] In step 2004, the encoder may encode one or more pictures of the video sequence. Specifically, the encoder may determine whether or not to apply local illumination compensation (LIC) processing to the current block of the current picture among the one or more pictures.

[0207] In step 2006, the encoder may generate a bitstream associated with the encoded picture. The bitstream may contain the encoding result generated in step 2004.

[0208] Figure 20B is a schematic diagram illustrating substeps of Method 2000 shown in Figure 20A, according to some embodiments of the present disclosure. In some embodiments, the encoding of one or more pictures of the video sequence in step 2004 may include the following substeps 2010 and 2012, which can be performed by the encoder, as shown in Figure 20B.

[0209] In substep 2010, the encoder may determine whether the current block of the current picture is coded by being divided into multiple parts. In some embodiments, the current picture can be coded in angle-weighted prediction (AWP) mode. Although some embodiments of this disclosure are described in relation to GPM, it will be understood that such methods can also be applied to AWP.

[0210] In substep 2012, in response to the determination in substep 2010 that the current block is divided into multiple parts which are interpreted according to each reference block, the encoder may determine whether to apply local illumination compensation (LIC) processing to the multiple parts, based on whether the coded block in the current picture is subject to LIC processing.

[0211] To make it clear, other aspects of Method 2000 can be inherited from parts of the above decoding method where applicable. Such descriptions of methods are not included herein for the sake of brevity.

[0212] In some embodiments, the decoding device, A receiving module configured to receive a bitstream, A decoding module configured to decode one or more pictures using the encoded information of a bitstream, The decoding module is, Determine whether the current block of the current picture is encoded by being divided into multiple parts. In response to the current block being divided into multiple parts, the system is configured to determine whether to apply local illumination compensation (LIC) processing to the multiple parts, based on whether the coded block applies LIC processing or not.

[0213] In some embodiments, the current block is divided in geometric division mode (GPM) by dividing the current block into two GPM divisions.

[0214] In some embodiments, the decoding module is The system is configured to determine whether or not to apply LIC processing to the target GPM partition among the two GPM partitions, based on whether or not the causally adjacent blocks of the current block apply LIC processing.

[0215] In some embodiments, the causal adjacency block is the block corresponding to the merge index of the target GPM partition.

[0216] In some embodiments, the decoding module is The system is configured to determine the LIC parameters of the target GPM partitioning section in response to a decision to apply LIC processing to the target GPM partitioning section.

[0217] In some embodiments, the LIC parameters of the target GPM partition are determined based on the current template of the current block and the reference template of the referenced block.

[0218] In some embodiments, the current template includes left neighboring samples and above neighboring samples of the current block, and the reference template includes left neighboring samples and above neighboring samples of the reference block.

[0219] In some embodiments, the current template is left neighboring samples of the current block, and the reference template is left neighboring samples of the reference block. the current template is above neighboring samples of the current block, and the reference template is above neighboring samples of the reference block, or the current template includes left neighboring samples and above neighboring samples of the current block, and the reference template includes left neighboring samples and above neighboring samples of the reference block.

[0220] In some embodiments, the decoding apparatus further includes: a storage module configured to store, for a sub-block including a target GPM partition, LIC parameters of the target GPM partition.

[0221] In some embodiments, the target GPM partition is single-predicted or bi-predicted.

[0222] In some embodiments, the decoding apparatus further includes: a skip module configured to apply LIC processing to the target GPM partition, and skip decoder-side motion vector refinement (DMVR) or bi-directional optical flow (BDOF) for the target GPM partition in response to determining that the target GPM partition is bi-predicted.

[0223] In some embodiments, the decoding module is configured to: The system is configured to determine whether to apply LIC processing to the target GPM division portion in response to a determination that the target GPM division portion is bipredicted and that decoder-side motion vector refinement (DMVR) or bidirectional optical flow (BDOF) should be applied to the target GPM division portion.

[0224] In some embodiments, the decoding module is The system is configured to determine that a target GPM partitioning unit is predictable, and in response to this determination, to decide not to apply LIC processing to the target GPM partitioning unit.

[0225] In some embodiments, the decoding device, The system further includes an inheritance module configured to inherit LIC flags from causally adjacent blocks for GPM template matching (TM) or GPM partition mode reordering for a target GPM partition, in response to a decision to apply LIC processing to the target GPM partition.

[0226] In some embodiments, the decoding module is In response to the decision to apply LIC processing to the target GPM partition of the two GPM partitions, Determine the LIC parameters for the target GPM splitting section. For the current block, store the LIC parameters of the target GPM partition, or In response to the decision to apply LIC processing to both of the two GPM partitions, Determine the LIC parameter for one of the two GPM splitting sections. The current block is configured to store the LIC parameter of one of the two GPM partitions.

[0227] In some embodiments, the current block is a GPM intra-intermode coding block.

[0228] In some embodiments, the current picture is coded in angle-weighted prediction (AWP) mode.

[0229] In some embodiments, the encoding device, A receiving module configured to receive a video sequence, An encoding module configured to encode one or more pictures in a video sequence, Includes a generation module configured to generate a bitstream, The encoding module is, Determine whether the current block of the current picture is encoded by being divided into multiple parts. In response to the fact that the current block is divided into multiple parts which are interpredicted according to each reference block, the system is configured to determine whether to apply local illumination compensation (LIC) processing to the multiple parts, based on whether the coded block applies LIC processing or not.

[0230] In some embodiments, the current block is divided in geometric partitioning mode (GPM) by dividing it into two GPM partitions.

[0231] In some embodiments, a non-temporary computer-readable storage medium in which the bitstream is stored is also provided. The bitstream can be encoded and decoded according to the disclosed local illumination compensation method.

[0232] In some embodiments, non-temporary computer-readable storage media containing instructions are also provided, which may be executed by a device (such as the disclosed encoder and decoder) to perform the methods described above. Common forms of non-temporary media include, for example, floppy disks, flexible disks, hard disks, solid-state drives, magnetic tapes, or any other magnetic data storage media, CD-ROMs, any other optical data storage media, physical media having a pattern of holes, RAM, PROMs, and EPROMs, flash EPROMs or any other flash memory, NVRAMs, caches, registers, any other memory chips or cartridges, and networked versions thereof. A device may include one or more processors (CPUs), input / output interfaces, network interfaces, and / or memory.

[0233] In some embodiments, a non-temporary computer-readable storage medium is provided in which a video bitstream is stored. Once the bitstream is decoded by a processor, the processor is instructed to perform a method for decode the bitstream and output one or more pictures of the video stream, according to embodiments of the method for decode the bitstream and output one or more pictures of the video stream.

[0234] In some embodiments, a non-temporary computer-readable storage medium is provided in which a video bitstream is stored. Once the bitstream is encoded by a processor, the processor is instructed to perform a method of encoding a video sequence into a bitstream according to the above embodiments of the method of encoding a video sequence into a bitstream.

[0235] In some embodiments, a computer program product comprising computer program instructions is provided, which enable a computer to perform a method of decoding a bitstream to output one or more images of a video stream according to the above-described embodiment of the method of decoding a bitstream to output one or more images of a video stream.

[0236] In some embodiments, a computer program product comprising computer program instructions is provided, which enable a computer to perform a method of encoding a video sequence into a bitstream according to the above-described embodiment of the method of encoding a video sequence into a bitstream.

[0237] In some embodiments, a computer program is provided, which enables a computer to perform a method of decoding a bitstream to output one or more pictures of a video stream according to the above-described embodiment of the method of decoding a bitstream to output one or more pictures of a video stream.

[0238] In some embodiments, a computer program is provided, which enables a computer to perform a method of encoding a video sequence into a bitstream according to the above-described embodiment of the method of encoding a video sequence into a bitstream.

[0239] Embodiments can be further described using the following clauses. 1. A method of decoding a bitstream to output one or more pictures of a video stream, comprising receiving a bitstream, and decoding one or more pictures using coding information of the bitstream, wherein the decoding includes This involves determining whether the current block of the current picture is coded by being divided into multiple parts, and A method comprising determining whether to apply local illumination compensation (LIC) processing to the multiple parts, based on whether the coded block applies LIC processing, in response to the current block being divided into multiple parts. 2. The method of Clause 1, wherein the current block is divided in geometric division mode (GPM) by dividing the current block into two GPM divisions. 3. Determining whether or not to apply the LIC processing to the multiple parts is: The method according to Clause 2, comprising determining whether to apply the LIC processing to a target GPM partition among the two GPM partitions based on whether the causally adjacent blocks of the current block apply the LIC processing. 4. The method according to clause 3, wherein the causally adjacent block is a block corresponding to the merge index of the target GPM partition. 5. The method according to the clause 3, further comprising determining the LIC parameters of the target GPM partition in response to a decision to apply the LIC processing to the target GPM partition. 6. The method according to Clause 5, wherein the LIC parameters of the target GPM partition are determined based on the current template of the current block and the reference template of the reference block. 7. The method according to Clause 6, wherein the current template includes adjacent samples to the left and above the current block, and the reference template includes adjacent samples to the left and above the reference block. 8. The current template is the adjacent sample to the left of the current block, and the reference template is the adjacent sample to the left of the reference block. The current template is an adjacent sample above the current block, and the reference template is an adjacent sample above the reference block, or The method according to Clause 6, wherein the current template includes the left-side adjacent sample and the upper adjacent sample of the current block, and the reference template includes the left-side adjacent sample and the upper adjacent sample of the reference block. 9. The method according to the claim 5, further comprising storing the LIC parameters of the target GPM partition for a subblock including the target GPM partition. 10. The method according to any one of the clauses 3 to 9, wherein the target GPM segment is single-predicted or dual-predicted. 11. The method according to any one of the claims 3 to 10, further comprising applying the LIC processing to the target GPM segment and skipping decoder-side motion vector refinement (DMVR) or bidirectional optical flow (BDOF) to the target GPM segment in response to a determination that the target GPM segment is bi-predictable. 12. Determining whether or not to apply the LIC processing to the multiple parts is: The method according to any one of the clauses 3 to 11, comprising determining not to apply the LIC processing to the target GPM division in response to the determination that the target GPM division is bipredicted and that decoder-side motion vector refinement (DMVR) or bidirectional optical flow (BDOF) is to be applied to the target GPM division. 13. Determining whether or not to apply the LIC processing to the multiple parts is: The method according to any one of the clauses 3 to 12, comprising determining not to apply the LIC processing to the target GPM partition in response to the determination that the target GPM partition is bipredictable. 14. The method according to any one of the clauses 3 to 13, further comprising inheriting an LIC flag from the causal adjacency block for GPM template matching (TM) or GPM partition mode reordering for the target GPM partition, in response to a decision to apply the LIC processing to the target GPM partition. 15. In response to the decision to apply the LIC processing to the target GPM division portion of the two GPM division portions, Determine the LIC parameters of the target GPM division section, For the current block, store the LIC parameters of the target GPM division unit, or In response to the decision to apply the LIC processing to both of the two GPM division sections, Determine the LIC parameter of one of the two GPM division sections. The method according to any one of the clauses 2 to 14, further comprising storing the LIC parameter of one of the two GPM divisions for the current block. 16. The present block is a GPM intra-intermode coded block, as described in any one of clauses 2 to 15. 17. The current picture is coded in angle-weighted prediction (AWP) mode, as described in any one of clauses 1 to 16. 18. A method for encoding a video sequence into a bitstream, Receiving a video sequence, Encoding one or more pictures of the aforementioned video sequence, This includes generating a bitstream, The above encoding is, To determine whether the current block of the current picture is encoded by being divided into multiple parts, A method comprising determining whether to apply local illumination compensation (LIC) processing to the plurality of parts, based on whether the coded block applies LIC processing, in response that the current block is divided into a plurality of parts which are interpredicted according to each reference block. 19. The method according to clause 18, wherein the current block is divided in geometric division mode (GPM) by dividing the current block into two GPM divisions. 20. Determining whether or not to apply the LIC processing to the multiple parts is The method according to Clause 19, comprising determining whether to apply the LIC processing to a target GPM partition among the two GPM partitions based on whether the causally adjacent blocks of the current block apply the LIC processing. 21. The method according to clause 20, wherein the causally adjacent block is a block corresponding to the merge index of the target GPM partition. 22. The method according to clause 20, further comprising determining the LIC parameters of the target GPM partition in response to a decision to apply the LIC processing to the target GPM partition. 23. The method according to clause 22, wherein the LIC parameters of the target GPM partition are determined based on the current template of the current block and the reference template of the reference block. 24. The method according to Clause 23, wherein the current template includes adjacent samples to the left and above the current block, and the reference template includes adjacent samples to the left and above the reference block. 25. The current template is the adjacent sample to the left of the current block, and the reference template is the adjacent sample to the left of the reference block. The current template is an adjacent sample above the current block, and the reference template is an adjacent sample above the reference block, or The method according to Clause 23, wherein the current template includes the left adjacent sample and the upper adjacent sample of the current block, and the reference template includes the left adjacent sample and the upper adjacent sample of the reference block. 26. The method according to clause 22, further comprising storing the LIC parameters of the target GPM partition for a subblock including the target GPM partition. 27. The method according to any one of the clauses 20 to 26, wherein the target GPM segment is single-predicted or dual-predicted. 28. The method according to any one of the claims 20 to 27, further comprising applying the LIC processing to the target GPM segment and skipping decoder-side motion vector refinement (DMVR) or bidirectional optical flow (BDOF) to the target GPM segment in response to a determination that the target GPM segment is bi-predictable. 29. Determining whether or not to apply the LIC processing to the multiple parts is: The method according to any one of the clauses 20 to 28, comprising determining not to apply the LIC processing to the target GPM division in response to a determination that the target GPM division is bipredicted and that decoder-side motion vector refinement (DMVR) or bidirectional optical flow (BDOF) is to be applied to the target GPM division. 30. Determining whether or not to apply the LIC processing to the multiple parts is The method according to any one of the clauses 20 to 29, comprising determining not to apply the LIC processing to the target GPM partition in response to the determination that the target GPM partition is bipredictable. 31. The method according to any one of the clauses 20 to 30, further comprising inheriting an LIC flag from the causal adjacency block for GPM template matching (TM) or GPM partition mode reordering for the target GPM partition, in response to a decision to apply the LIC processing to the target GPM partition. 32. In response to the decision to apply the LIC processing to the target GPM division portion of the two GPM division portions, Determine the LIC parameters of the target GPM division section, For the current block, store the LIC parameters of the target GPM division unit, or In response to the decision to apply the LIC processing to both of the two GPM division sections, Determine the LIC parameter of one of the two GPM division sections. The method according to any one of the clauses 19 to 31, further comprising storing the LIC parameter of one of the two GPM divisions for the current block. 33. The present block is a GPM intra-intermode coded block, as described in any one of Clauses 19 to 32. 34. The present picture is coded in angle-weighted prediction (AWP) mode, as described in any one of clauses 18 to 33. 35. A receiving module configured to receive a bitstream, A decoding module configured to decode one or more pictures using the encoded information of the bitstream, The decoding module is Determine whether the current block of the current picture is encoded by being divided into multiple parts. A decoding device configured to determine whether to apply local illumination compensation (LIC) processing to the multiple parts, based on whether the coded block is subject to LIC processing, in response to the current block being divided into multiple parts. 36. The decoding device according to Clause 35, wherein the current block is divided in geometric division mode (GPM) by dividing the current block into two GPM divisions. 37. The decoding module is, The decoding device according to Clause 36, configured to determine whether to apply the LIC processing to a target GPM partition among the two GPM partitions based on whether the causally adjacent blocks of the current block are subject to the LIC processing. 38. The decryption device according to Clause 36, wherein the causally adjacent block is a block corresponding to the merge index of the target GPM partition. 39. The decoding module is, The decoding device according to Clause 37, configured to determine the LIC parameters of the target GPM division portion in response to a determination to apply the LIC processing to the target GPM division portion. 40. The decoding device according to Clause 39, wherein the LIC parameters of the target GPM partition are determined based on the current template of the current block and the reference template of the reference block. 41. The decoding apparatus according to Clause 40, wherein the current template includes adjacent samples to the left and above the current block, and the reference template includes adjacent samples to the left and above the reference block. 42. The current template is the adjacent sample to the left of the current block, and the reference template is the adjacent sample to the left of the reference block. The current template is an adjacent sample above the current block, and the reference template is an adjacent sample above the reference block, or The decoding apparatus according to Clause 40, wherein the current template includes the left-side adjacent sample and the upper adjacent sample of the current block, and the reference template includes the left-side adjacent sample and the upper adjacent sample of the reference block. 43. A decoding device according to clause 39, further comprising a storage module configured to store the LIC parameters of the target GPM partition for a subblock including the target GPM partition. 44. The decoding device according to any one of the clauses 37 to 43, wherein the target GPM division is single-predictive or dual-predictive. 45. A decoder according to any one of the clauses 37 to 44, further comprising a skip module configured to apply the LIC processing to the target GPM division and to skip decoder-side motion vector refinement (DMVR) or bidirectional optical flow (BDOF) to the target GPM division in response to a determination that the target GPM division is bipredictable. 46. ​​The decoding module is, A decoding device according to any one of clauses 37 to 45, configured to determine not to apply the LIC processing to the target GPM division in response to a determination that the target GPM division is bipredicted and that decoder-side motion vector refinement (DMVR) or bidirectional optical flow (BDOF) is to be applied to the target GPM division. 47. The decoding module is, A decoding device according to any one of clauses 37 to 46, configured to determine not to apply the LIC processing to the target GPM division unit in response to a determination that the target GPM division unit is bipredictable. 48. The decoding device according to any one of the clauses 37 to 47, further comprising an inheritance module configured to inherit an LIC flag from the causal adjacent block for GPM template matching (TM) or GPM partition mode reordering for the target GPM partition, in response to a decision to apply the LIC processing to the target GPM partition. 49. The decoding module is, In response to the decision to apply the LIC processing to the target GPM division portion of the two GPM division portions, Determine the LIC parameters of the target GPM division section, For the current block, store the LIC parameters of the target GPM division unit, or In response to the decision to apply the LIC processing to both of the two GPM division sections, Determine the LIC parameter of one of the two GPM division sections. A decoding device according to any one of the clauses 36 to 48, configured to store the LIC parameter of one of the two GPM divisions for the current block. 50. The current block is a GPM intra-intermode coded block, as described in any one of clauses 36 to 49. 51. The current picture is coded in angle-weighted prediction (AWP) mode, as described in any one of clauses 35 to 50. 52. A receiving module configured to receive a video sequence, An encoding module configured to encode one or more pictures of the aforementioned video sequence, Includes a generation module configured to generate a bitstream, The aforementioned encoding module is Determine whether the current block of the current picture is encoded by being divided into multiple parts. An encoding device configured to determine whether to apply local illumination compensation (LIC) processing to a given block, based on whether or not the encoded block is subject to LIC processing, in response to the fact that the current block is divided into a plurality of parts which are interpredicted according to each reference block. 53. The encoding apparatus according to Clause 52, wherein the current block is divided in geometric division mode (GPM) by dividing the current block into two GPM divisions. 54. An electronic device comprising a memory storing a set of instructions, and one or more processors configured to cause one or more processors to perform the method described in any one of the clauses 1 to 17, which executes the set of instructions to decode the bitstream and output one or more pictures of the video stream. 55. An electronic device comprising a memory storing a set of instructions, and one or more processors configured to cause one or more processors to perform the method described in any one of the clauses 18 to 34, which executes the set of instructions to encode the video sequence into a bitstream. 56. A non-temporary computer-readable storage medium in which a video bitstream is stored, This involves determining whether the current block is coded by being divided into multiple parts, and A computer-readable storage medium for processing according to a method that includes determining whether to apply local illumination compensation (LIC) processing to the plurality of parts based on whether the coded block applies LIC processing, in response that the current block is divided into a plurality of parts which are interpredicted according to each reference block. 57. A non-temporary computer-readable storage medium as described in Clause 56, wherein the current block is divided in geometric division mode (GPM) by dividing the current block into two GPM divisions. 58. Determining whether or not to apply the LIC processing to the multiple parts is: A non-temporary computer-readable storage medium according to Clause 57, which includes determining whether to apply the LIC process to a target GPM partition of the two GPM partitions based on whether the causally adjacent blocks of the current block apply the LIC process to. 59. The non-temporary computer-readable storage medium described in Clause 58, wherein the causal adjacent block is a block corresponding to the merge index of the target GPM partition. 60. The above method is A non-temporary computer-readable storage medium according to Clause 58, further comprising determining the LIC parameters of the target GPM partition in response to a decision to apply the LIC processing to the target GPM partition. 61. The LIC parameters of the target GPM partition are determined based on the current template of the current block and the reference template of the reference block, in the non-temporary computer-readable storage medium as described in Clause 60. 62. A non-temporary computer-readable storage medium as described in Clause 61, wherein the current template includes adjacent samples to the left and above the current block, and the reference template includes adjacent samples to the left and above the reference block. 63. The current template is the adjacent sample to the left of the current block, and the reference template is the adjacent sample to the left of the reference block. The current template is an adjacent sample above the current block, and the reference template is an adjacent sample above the reference block, or A non-temporary computer-readable storage medium as described in Clause 61, wherein the current template includes the left-side adjacent sample and the upper adjacent sample of the current block, and the reference template includes the left-side adjacent sample and the upper adjacent sample of the reference block. 64. The above method is A non-temporary computer-readable storage medium according to Clause 60, further comprising storing the LIC parameters of the target GPM partition for a subblock including the target GPM partition. 65. The target GPM division is a non-transient computer-readable storage medium as described in any one of clauses 58 to 64, which is single-predictive or dual-predictive. 66. The above method is A non-temporary computer-readable storage medium according to any one of clauses 58 to 65, further comprising applying the LIC processing to the target GPM segment and skipping decoder-side motion vector refinement (DMVR) or bidirectional optical flow (BDOF) to the target GPM segment in response to a determination that the target GPM segment is bipredictable. 67. Determining whether or not to apply the LIC processing to the multiple parts is A non-temporary computer-readable storage medium according to any one of Clauses 58 to 66, comprising determining not to apply the LIC processing to the target GPM division in response to a determination that the target GPM division is bipredicted and that decoder-side motion vector refinement (DMVR) or bidirectional optical flow (BDOF) is to be applied to the target GPM division. 68. Determining whether or not to apply the LIC processing to the multiple parts is: A non-temporary computer-readable storage medium according to any one of the clauses 58 to 67, including determining not to apply the LIC processing to the target GPM partition in response to a determination that the target GPM partition is bipredictable. 69. The above method is A non-temporary computer-readable storage medium according to any one of Clauses 58 to 68, further comprising inheriting an LIC flag from the causal adjacent block for GPM template matching (TM) or GPM partition mode reordering for the target GPM partition, in response to a decision to apply the LIC processing to the target GPM partition. 70. The above method is In response to the decision to apply the LIC processing to the target GPM division portion of the two GPM division portions, Determine the LIC parameters of the target GPM division section, For the current block, store the LIC parameters of the target GPM division unit, or In response to the decision to apply the LIC processing to both of the two GPM division sections, Determine the LIC parameter of one of the two GPM division sections. A non-temporary computer-readable storage medium according to any one of the clauses 57 to 69, further comprising storing the LIC parameter of one of the two GPM divisions for the current block. 71. A non-temporary computer-readable storage medium as described in any one of the clauses 57 to 70, wherein the current block is a GPM intra-intermode coded block. 72. A non-temporary computer-readable storage medium as described in any one of clauses 56 to 71, wherein the current picture is coded in angle-weighted prediction (AWP) mode. 73. A non-temporary computer-readable storage medium storing a video sequence of video, which, when encoded by a processor, causes the processor to perform the method described in any one of clauses 18 to 34 for encoding the video sequence into a bitstream. 74. A computer program product comprising computer program instructions, wherein the computer program instructions enable a computer to perform the method described in any one of the clauses 1 to 17, which involves decoding the bitstream and outputting one or more pictures of the video stream. 75. A computer program product comprising computer program instructions, wherein the computer program instructions enable a computer to perform the method described in any one of the clauses 18 to 34 for encoding the video sequence into a bitstream. 76. A computer program that enables a computer to perform the method described in any one of the clauses 1 to 17, which decodes the bitstream and outputs one or more pictures of the video stream. 77. A computer program that enables a computer to perform the method described in any one of the clauses 18 to 34 for encoding the video sequence into the bitstream.

[0240] In this specification, relational terms such as "first" and "second" are used solely to distinguish one entity or action from another, and do not imply or require any actual relationship or order between these entities or actions. Furthermore, the words "comprising," "having," "containing," and "including," as well as other similar forms, are intended to be equivalent and open-ended in that the one or more items following any of these words are not intended to be exhaustive lists of such items, nor are they intended to be limited to only the listed items.

[0241] When used herein, unless otherwise specified, the term "or" encompasses all possible combinations, except in cases where it is not feasible. For example, if it is stated that a database may contain A or B, then unless otherwise specified or it is not feasible, that database may contain A, or B, or A and B. As a second example, if it is stated that a database may contain A, B, or C, then unless otherwise specified or it is not feasible, that database may contain A, or B, or C, or A and B, or A and C, or B and C, or A and B and C.

[0242] It will be understood that the embodiments described above can be implemented by hardware, software (program code), or a combination of hardware and software. When implemented by software, it can be stored on the computer-readable medium described above. When the software is executed by a processor, it can perform the disclosed methods. The computing units and other functional units described in this disclosure can be implemented by hardware, software, or a combination of hardware and software. It will also be understood by those skilled in the art that several of the above modules / units can be combined into a single module / unit, and each of the above modules / units can be further divided into several submodules / subunits.

[0243] In the aforementioned specification, embodiments have been described with reference to numerous specific details that may differ depending on the implementation. Certain adaptations and modifications can be made to the embodiments described above. Other embodiments may become apparent to those skilled in the art, given the Specified Specification and the Practice of the Disclosure disclosed herein. This Specification and the Examples are to be considered merely illustrative, and the true scope and spirit of the Disclosure are intended to be shown by the appended Claims. The order of steps shown in the drawings is also to be illustrative and not intended to limit the steps to any particular order. Therefore, those skilled in the art will understand that these steps can be performed in different orders while carrying out the same method.

[0244] Exemplary embodiments are disclosed in the drawings and specification. However, many variations and modifications can be made to these embodiments. Therefore, although certain terms are used, they are used merely in a general and descriptive sense and not for limitation.

Claims

1. A method for decoding a bitstream and outputting one or more pictures of a video stream, Receiving a bitstream and This includes decoding one or more pictures using the encoded information of the bitstream, The aforementioned decoding is This involves determining whether the current block of the current picture is coded by being divided into multiple parts, and A method comprising determining whether to apply local illumination compensation (LIC) processing to the plurality of parts, based on whether the coded block is subject to LIC processing, in response to the current block being divided into plurality of parts.

2. The method according to claim 1, wherein the current block is divided in geometric division mode (GPM) by dividing the current block into two GPM divisions.

3. Determining whether or not to apply the LIC processing to the aforementioned multiple parts is, The method according to claim 2, further comprising determining whether or not to apply the LIC processing to a target GPM division among the two GPM divisions, based on whether or not the causally adjacent blocks of the current block are subject to the LIC processing.

4. The method according to claim 3, wherein the causally adjacent block is a block corresponding to the merge index of the target GPM partition.

5. The method according to claim 3, further comprising determining the LIC parameters of the target GPM division portion in response to the determination to apply the LIC processing to the target GPM division portion.

6. The method according to claim 5, wherein the LIC parameter of the target GPM partition is determined based on the current template of the current block and the reference template of the reference block.

7. The method according to claim 6, wherein the current template includes adjacent samples to the left and above the current block, and the reference template includes adjacent samples to the left and above the reference block.

8. The current template is the adjacent sample to the left of the current block, and the reference template is the adjacent sample to the left of the reference block. The current template is an adjacent sample above the current block, and the reference template is an adjacent sample above the reference block, or The method according to claim 6, wherein the current template includes the left adjacent sample and the upper adjacent sample of the current block, and the reference template includes the left adjacent sample and the upper adjacent sample of the reference block.

9. The method according to claim 5, further comprising storing the LIC parameters of the target GPM division portion for a subblock including the target GPM division portion.

10. The method according to any one of claims 3 to 9, wherein the target GPM division is single-predicted or double-predicted.

11. The method according to any one of claims 3 to 10, further comprising applying the LIC processing to the target GPM segment and skipping decoder-side motion vector refinement (DMVR) or bidirectional optical flow (BDOF) to the target GPM segment in response to a determination that the target GPM segment is bipredictable.

12. Determining whether or not to apply the LIC processing to the aforementioned multiple parts is, The method according to any one of claims 3 to 11, comprising determining not to apply the LIC processing to the target GPM division portion in response to the determination that the target GPM division portion is bipredicted and that decoder-side motion vector refinement (DMVR) or bidirectional optical flow (BDOF) is to be applied to the target GPM division portion.

13. Determining whether or not to apply the LIC processing to the aforementioned multiple parts is, The method according to any one of claims 3 to 12, comprising determining not to apply the LIC processing to the target GPM division portion in response to the determination that the target GPM division portion is predictable.

14. The method according to any one of claims 3 to 13, further comprising inheriting an LIC flag from the causally adjacent block for GPM template matching (TM) or GPM partition mode reordering for the target GPM partition, in response to a determination to apply the LIC processing to the target GPM partition.

15. In response to the decision to apply the LIC processing to the target GPM division portion of the two GPM division portions, Determine the LIC parameters of the target GPM division section. For the current block, store the LIC parameters of the target GPM division section, or In response to the decision to apply the LIC processing to both of the two GPM division sections, Determine the LIC parameter of one of the two GPM division sections. The method according to any one of claims 2 to 14, further comprising storing the LIC parameter of one of the two GPM divisions for the current block.

16. The method according to any one of claims 2 to 15, wherein the current block is a GPM intra-intermode coded block.

17. The method according to any one of claims 1 to 16, wherein the current picture is coded in angle-weighted prediction (AWP) mode.

18. A method for encoding a video sequence into a bitstream, Receiving a video sequence, Encoding one or more pictures of the aforementioned video sequence, This includes generating a bitstream, The above encoding is, To determine whether the current block of the current picture is encoded by being divided into multiple parts, A method comprising determining whether to apply local illumination compensation (LIC) processing to a plurality of parts based on whether a coded block applies LIC processing, in response to the current block being divided into a plurality of parts which are interpredicted according to each reference block.

19. The method according to claim 18, wherein the current block is divided in geometric division mode (GPM) by dividing the current block into two GPM divisions.

20. A non-temporary computer-readable storage medium in which a video bitstream is stored, This involves determining whether the current block is coded by being divided into multiple parts, and A computer-readable storage medium for processing according to a method that includes determining whether to apply local illumination compensation (LIC) processing to the plurality of parts based on whether the coded block applies LIC processing, in response that the current block is divided into a plurality of parts which are interpredicted according to each reference block.

21. A computer program product comprising a computer program instruction, wherein the computer program instruction enables a computer to perform the method according to any one of claims 1 to 17, which decodes the bitstream and outputs one or more pictures of the video stream.

22. A computer program product comprising computer program instructions, wherein the computer program instructions enable a computer to perform the method according to claim 18 or 19 for encoding the video sequence into a bitstream.

23. A computer program that enables a computer to perform the method according to any one of claims 1 to 17, which decodes the bitstream and outputs one or more pictures of the video stream.

24. A computer program that enables a computer to perform the method according to claim 18 or 19 for encoding the video sequence into a bitstream.