VIDEO ENCODING AND DECODING METHODS, AND DECODING EQUIPMENT
Patent Information
- Authority / Receiving Office
- VN · VN
- Patent Type
- Applications
- Current Assignee / Owner
- UNIVERSITY INDUSTRY COOPERATION GROUP OF KYUNG HEE UNIVERSITY
- Filing Date
- 2024-09-26
- Publication Date
- 2026-07-01
AI Technical Summary
Conventional Local Illumination Compensation (LIC) technology in video encoding is limited in its application method, leading to suboptimal encoding efficiency.
An improved LIC implementation method that extracts information related to local illumination compensation from video bits, determines a linear model based on this information, and uses it to create a predictive sample for the current block, thereby enhancing encoding efficiency.
The improved LIC method enhances prediction performance and minimizes information capacity waste in the bitstream, leading to improved coding efficiency, decryption efficiency, video quality, and reduced computational and hardware requirements.
Smart Images

Figure VN1202603199_0
Abstract
Description
Video encoding / decoding method and device based on improved local illumination compensation template determination
[0001] The present invention relates to video compression technology, and more particularly, to improvement of local illuminance compensation (LIC) technology included in prediction coding technology that contributes to improvement of compression performance in video encoders and decoders.
[0002] The present invention may be in the same technical field as at least one of the digital video compression technology standards known by the names of standards such as MPEG-2, MPEG-4 Video, H.263, H.264 / AVC, H.265 / HEVC, H.266 / VVC, VC-1, AV1, QuickTime, VP-9, VP-10, and Motion JPEG, or may be in the technical field for improving the inherent efficiency of the standards, or may be in the technical field for improving or replacing the standards.
[0003] Digital video encoding and decoding are widely used in various digital video applications. For example, digital television broadcasting, video transmission through communication networks, video calls / video conversations / video chats, recording and providing video content using optical media including video compact discs (VCDs) / digital versatile discs (DVDs) / Blu-Rays, all processes for producing, editing, collecting, and distributing video content, and devices such as video recording devices and camcorders for shooting and recording video for various reasons including personal, commercial, industrial, and security purposes, all depend on video encoding and decoding technologies.
[0004] Accordingly, implementations that may be referred to as digital video encoders and decoders may form part of a wide range of devices related to the generation, recording, and provision of digital video, including digital televisions, digital broadcasting systems, wireless broadcasting systems, computers in the form of notebooks / desktops / tablets, e-book readers, digital cameras, digital recording devices, digital multimedia playback devices, video game devices / terminals / consoles, mobile phones (including smartphones) with multimedia playback capabilities, equipment for video conferencing, and other devices.
[0005] The above digital video encoders and decoders can be implemented by a digital video compression standard that is widely used and understood by those skilled in the art. The digital video compression standard may include at least one of compression standards known by a standard name such as MPEG-2, MPEG-4 Video, H.263, H.264 / AVC, H.265 / HEVC, H.266 / VVC, VC-1, AV1, QuickTime, VP-9, VP-10, and Motion JPEG.
[0006] Video encoders and decoders can be implemented to more efficiently encode or decode digital video information while complying with the above standards, or by improving or modifying the above standards. Attempts to modify the above standards can also lead to the development of new standards. A well-known example is the so-called enhanced compression model (ECM), an attempt to improve and replace the existing H.266 / VVC standard, currently being developed by the Joint Video Experts Team (JVET), a joint international standardization group of ISO, IEC, and ITU-T.
[0007] Among the various detailed technologies applied to conventional video encoders and decoders, there is a technology collectively called local illuminance compensation (LIC). LIC technology refers to a technology that calculates a prediction residual by correcting illuminance (i.e., compensation) for the value of a prediction target block selected for predictive encoding in inter-frame predictive encoding (so-called inter encoding) and / or intra-frame predictive encoding (so-called intra encoding), and in a decoding process corresponding to each of the above encoding methods, and in particular, it can mean that the compensation is performed locally, for example, on a block-by-block basis.
[0008] Conventional LIC technology has limited applicability, and various improvements are expected to improve encoding efficiency. The present invention aims to address these technical challenges and provide improved encoding efficiency.
[0009] The present invention proposes an improved LIC implementation method to solve the above-described technical problems.
[0010] A method for decoding an encoded video bitstream according to an embodiment of the present invention for solving the above-described technical problem includes the steps of extracting information related to local illumination compensation (LIC) for a current block from the bitstream, obtaining LIC information from the extracted information, determining at least one linear model based on the LIC information, generating a prediction sample for the current block by a LIC method using the linear model, and restoring the current block using the prediction sample, wherein the linear model may be characterized in that it is defined by at least one linear function or quadratic function.
[0011] The above LIC information may include model parameters including a reference sample value (Ref), a scale factor (Scale), a shift factor (Shift), and an offset factor (Offset), and the linear model may be characterized in that it is defined by an arithmetic expression that derives a predicted sample value (Pred) based on the model parameters.
[0012] The above reference sample value may be characterized in that it is determined by a weighted sum of at least one prediction value derived through intra-screen and / or inter-screen prediction.
[0013] The above prediction value may be characterized in that it is derived by at least one of motion estimation and template matching.
[0014] At least one weight for deriving the above weighted sum may be characterized in that it is selected by an index from a predetermined table.
[0015] At least one weight for deriving the above weighted sum may be characterized in that it is determined to give a greater weight to a value having a smaller information cost calculated by a method including SAD (Sum of Absolute Differences), SATD (Sum of Absolute Transformed Differences), or MR-SAD (Mean-removal SAD) among each of the above predicted values.
[0016] The above LIC information may be characterized in that it comprises a parameter set including a coefficient of at least one model parameter, preferably the scale coefficient, shift coefficient, and offset coefficient, each of the coefficients, and each of the coefficients is selected from a list of at least one predetermined parameter set.
[0017] The list of the above parameter sets may be characterized in that they are selected by index from a predetermined table.
[0018] The list of the above parameter sets may be characterized in that it is constructed from a candidate list including parameter sets of LICs used in surrounding blocks of the current block.
[0019] The list of parameter sets may be characterized in that it is composed based on the result of reordering the candidate list based on template matching. The reordering may be performed based on the encoding information required cost calculated based on the template matching result, and in one embodiment, the reordering may be performed in order of lowest cost. In one embodiment, the information required cost may be calculated by SAD, SATD, or MR-SAD, and the reordering may also be performed based on these costs.
[0020] The list of parameter sets may be characterized by including at least one parameter set predicted in the same form as that adopted by the encoder, based on information obtained from a previously decoded bit string.
[0021] The step of obtaining the above LIC information may include a step of extracting information of an available surrounding block and obtaining the LIC information from the extracted information when a boundary condition exists that a block on the top or left of the current block cannot be used.
[0022] The above boundary conditions may be characterized by being specified by a high-level bitstream syntax.
[0023] The above linear model may be characterized by being defined by a combination of at least one linear function and at least one quadratic function.
[0024] The above linear model may be characterized by including at least one linear function expressed in the form of α*p[x]+β when the predicted value is p[x].
[0025] The above linear model may be characterized by including at least one quadratic function expressed in the form of α*(p[x]2)+β*p[x]+γ when the predicted value is p[x].
[0026] According to an embodiment of the present invention for solving the above-described technical problem, a method for encoding a video signal into a bit stream includes the steps of: extracting information related to local illumination compensation (LIC) for a current block based on a previously encoded video signal, obtaining LIC information from the extracted information, determining at least one linear model based on the LIC information, generating a prediction sample for the current block using the linear model, encoding the current block using the prediction sample, and recording the encoding result in the bit stream, wherein the linear model may be characterized in that it is defined by at least one linear function or a quadratic function.
[0027] The above LIC information may include model parameters including a reference sample value (Ref), a scale factor (Scale), a shift factor (Shift), and an offset factor (Offset), and the linear model may be characterized in that it is defined by an arithmetic expression that derives a predicted sample value (Pred) based on the model parameters.
[0028] The step of obtaining the above LIC information may include a step of extracting information of an available surrounding block and obtaining the LIC information from the extracted information when a boundary condition exists that a block on the top or left of the current block cannot be used.
[0029] According to an embodiment of the present invention for solving the above-described technical problem, a decoder device configured to decode a video bitstream encoded by a computing device includes a processor and a memory storing instructions executable by the processor, wherein the instructions are configured to include instructions for extracting information related to local illumination compensation (LIC) for a current block from the bitstream, obtaining LIC information from the extracted information, determining at least one linear model based on the LIC information, generating a prediction sample for the current block by a LIC method using the linear model, and restoring the current block using the prediction sample, wherein the linear model may be characterized in that it is defined by at least one linear function or a quadratic function.
[0030] According to the present invention, there is a beneficial effect of improving prediction performance by LIC technology and simultaneously minimizing overhead in the information capacity of a bitstream to be encoded.
[0031] According to the present invention, at least one effect of improving encoding efficiency, improving decoding efficiency, improving video quality, reducing computational load, reducing software size, reducing hardware size, and improving other performances related to encoding and decoding can be derived in video encoding and decoding.
[0032] Figure 1 is a conceptual diagram of a video communication system according to one embodiment of the present invention;
[0033] FIG. 2 is a conceptual diagram of the arrangement of an encoder and decoder in a real-time video streaming environment according to one embodiment of the present invention.
[0034] Figure 3 is a functional unit conceptual diagram of a video decoder according to one embodiment of the present invention;
[0035] Figure 5 is a conceptual diagram of a frame type according to one embodiment of the present invention;
[0036] Figure 6 is a conceptual diagram showing the structure of a video encoder according to the H.266 / VVC standard, and
[0037] Figure 7 is a conceptual diagram showing the general structure of a LIC application method according to one embodiment of the present invention.
[0038] The present invention is susceptible to various modifications and embodiments. Specific embodiments are illustrated and described in detail in the drawings. However, this is not intended to limit the present invention to specific embodiments, but rather to encompass all modifications, equivalents, and alternatives falling within the spirit and technical scope of the present invention.
[0039] While terms such as "first" and "second" may be used to describe various components, these components should not be limited by these terms. These terms are used solely to distinguish one component from another. For example, without departing from the scope of the present invention, the first component could be referred to as the "second component," and similarly, the second component could also be referred to as the "first component." The term "and / or" includes any combination of multiple related items described herein or any of multiple related items described herein, and is non-exclusive unless otherwise indicated. The listing of items in this application is merely an exemplary description to facilitate the spirit and possible implementation methods of the present invention, and therefore is not intended to limit the scope of embodiments of the present invention.
[0040] As used herein, "A or B" can mean "only A," "only B," or "both A and B." In other words, as used herein, "A or B" can be interpreted as "A and / or B." For example, as used herein, "A, B or C" can mean "only A," "only B," "only C," or "any combination of A, B and C."
[0041] As used herein, a slash ( / ) or a comma can mean "and / or." For example, "A / B" can mean "A and / or B." Accordingly, "A / B" can mean "only A," "only B," or "both A and B." For example, "A, B, C" can mean "A, B, or C."
[0042] In this specification, "at least one of A and B" may mean "only A", "only B" or "both A and B". Additionally, in this specification, the expressions "at least one of A or B" or "at least one of A and / or B" may be interpreted identically to "at least one of A and B".
[0043] Additionally, in this specification, “at least one of A, B and C” can mean “only A,” “only B,” “only C,” or “any combination of A, B and C.” Additionally, “at least one of A, B or C” or “at least one of A, B and / or C” can mean “at least one of A, B and C.”
[0044] When a component is referred to as being "connected" or "connected" to another component, it should be understood that it may be directly connected or connected to that other component, but that there may be other components intervening. Conversely, when a component is referred to as being "directly connected" or "connected" to another component, it should be understood that there are no other components intervening.
[0045] The terminology used in this application is only used to describe specific embodiments and is not intended to limit the present invention. The singular expression includes the plural expression unless the context clearly indicates otherwise. In this application, it should be understood that the terms "comprise" or "have" indicate the presence of a feature, number, step, operation, component, part, or combination thereof described in the specification, but do not exclude in advance the possibility of the presence or addition of one or more other features, numbers, steps, operations, components, parts, or combinations thereof.
[0046] Unless otherwise defined, all terms used herein, including technical or scientific terms, have the same meaning as commonly understood by those of ordinary skill in the art to which this invention pertains. Terms defined in commonly used dictionaries should be interpreted as having a meaning consistent with their meaning within the context of the relevant technology, and shall not be interpreted in an idealized or overly formal sense unless explicitly defined herein.
[0047] In describing the invention in this application, embodiments may be described or illustrated in terms of unit blocks that perform the described function or functions. The blocks may be expressed in this application as one or more devices, units, modules, parts, etc. The blocks may be implemented in hardware by one or more logic gates, integrated circuits, processors, controllers, memories, electronic components, or information processing hardware implementation methods, but not limited thereto. Alternatively, the blocks may be implemented in software by application software, operating system software, firmware, or information processing software implementation methods, but not limited thereto. A single block may be implemented by being separated into multiple blocks that perform the same function, or conversely, a single block may be implemented to perform the functions of multiple blocks simultaneously. The blocks may also be implemented by being physically separated or combined according to any criteria. The blocks may also be implemented to operate in an environment where their physical locations are not specified and are separated from each other by a communication network, the Internet, a cloud service, or a communication method, but not limited thereto. All of the above implementation methods are within the realm of various embodiments that can be taken by a person skilled in the field of information and communication technology to implement the same technical idea, and therefore, any detailed implementation method should be interpreted as being included within the technical idea scope of the invention of the present application.
[0048] Hereinafter, preferred embodiments of the present invention will be described in more detail with reference to the attached drawings. To facilitate a comprehensive understanding of the present invention, the same reference numerals will be used for identical components in the drawings, and redundant descriptions of identical components will be omitted. Furthermore, the multiple embodiments are not mutually exclusive, and it is assumed that some embodiments may be combined with one or more other embodiments to form new embodiments.
[0049]
[0050] digital video codec
[0051] Figure 1 is a conceptual diagram of a video communication system according to one embodiment of the present invention. The video communication system (100) may be configured to include at least two terminals (110, 120) connected to each other via a network (105).
[0052] In one embodiment of the present invention, the above-described FIG. 1 may refer to a block diagram for configuring a unidirectional video communication network. A first terminal (110) among the terminals may encode video data in order to transmit (111) the video data via a network (105). A second terminal (120) among the terminals may be configured to receive (121) the encoded video data via a network and decode and display the same.
[0053] In another embodiment of the present invention, the above-described FIG. 1 may refer to a block diagram for configuring a two-way video communication network. For the two-way video communication, each terminal (110, 120) may be configured to encode video data acquired by itself for video transmission (112, 122) to each other terminal via the network. Each terminal may also be configured to receive (113, 123) video data transmitted by another terminal via the network, decode the same, and display the decoded video data.
[0054] The terminals (110, 120) shown in Fig. 1 may be exemplified as devices such as server computers, personal computers, portable computers, and smartphones, depending on the embodiment, but are not limited thereto, and may be any computing device generally used. For example, according to an embodiment of the present invention, each terminal (110, 120) may mean a desktop computer, a laptop computer, a tablet PC, a mobile phone, a smart phone, a personal digital assistant (PDA), a workstation, an electronic calculator, a server computer, a cloud computer, a virtual computer, a quantum computer, or any other electronic, electrical, or quantum computing device implemented in a movable or non-movable form, and in particular, it may be interpreted as any device that is designed to operate as a terminal device according to an embodiment of the present invention among such devices, is capable of operating as a terminal device according to an embodiment of the present invention, or is capable of installing and / or executing a computer program that enables the terminal device to operate as an embodiment of the present invention or perform a method corresponding to such an operation.
[0055] Each of the above terminals (110, 120) may be implemented by a plurality of functional units that are interconnected in various forms, such as a bus, a circuit, or a relationship between a routine and a subroutine, and configured to exchange information within each of the above terminals (110, 120). In addition, through the interconnection, the terminals may be configured to include a processor (130) having a calculation function and a memory (140) connected to the processor for the purpose of executing or supporting the operation of a functional unit that primarily requires calculation among the above functional units.
[0056] The processor (130) described in this specification may mean one or more general-purpose computers or special-purpose computers, such as a processor, a controller, an arithmetic logic unit (ALU), a digital signal processor, a microcomputer, a field programmable array (FPA), a programmable logic unit (PLU), a microprocessor, or any other device capable of executing instructions and responding.
[0057] Even if the processor (130) is expressed singularly for the sake of ease of understanding, a person of ordinary skill in the art will recognize that the processor (130) may include multiple processing elements and / or multiple types of processing elements. For example, a device according to one embodiment of the present invention may include multiple processors or one processor and one controller as the processor (130). In addition, the processor (130) may be implemented using various processing configurations, such as a parallel processor or a multi-core processor.
[0058] The processor (130) may be configured to execute an operating system (OS) and one or more software programs running on the OS. In addition, the processor may access, store, manipulate, process, and generate data in response to the execution of the software. The software program may include a computer program, code, instructions, or a combination of one or more of these, and may configure a processing device to operate as desired or independently or collectively command a processing device. The software may be permanently or temporarily embodied in any type of machine, component, physical device, virtual equipment, computer storage medium or device, or transmitted signal wave to be interpreted by the processor (130) or to provide instructions or data to the processor. The software may be distributed among multiple computer systems connected to the network (105), such as the terminals (110, 120), and stored or executed in a distributed manner.
[0059] The software may also be implemented in the form of program commands that can be executed through various computer means and recorded or stored in the memory (140). The memory (140) may be a computer-readable recording medium, and program commands, data files, data structures, etc. may be recorded singly or in combination in the computer-readable recording medium. The program commands stored in the memory (140) may be based on a command system specifically designed and configured for the embodiment of the present invention, or may follow a command system known and available to those skilled in the art of computer software, for example, a command system exemplified by the assembly language, C, C++, Java, Python, etc. It should be understood that the command system and the program commands therefrom include not only machine language codes such as those generated by a compiler, but also high-level language codes that can be executed by the device and / or the processor (130) according to an embodiment of the present invention using an interpreter, etc.
[0060] The computer-readable recording medium constituting the device according to one embodiment of the present invention, including the memory (140) described in this specification, may include a temporary or volatile recording medium that is maintained only while the processor is operating, such as a processor cache, a RAM, a flash memory, or a relatively non-volatile or long-term recording medium, such as a magnetic media such as a hard disk, a floppy disk, and a magnetic tape, an optical media such as a CD-ROM, a DVD, a magneto-optical media such as a floptical disk, or a solid state memory, or may include a read-only recording medium, such as a ROM arranged on hardware, and furthermore, the hardware itself configured to perform an operation equivalent to a series of program commands by a hard-wired structure by circuit wiring, and each step for performing the operation for implementing the embodiment of the present invention can be viewed as being recorded by the connection and arrangement of the hardware components, and therefore, the connection and arrangement method It is obvious to those skilled in the art that this can be seen as equivalent to the above memory (140).
[0061] The embodiments described above with respect to the processor (130) and the memory (140) are not mutually exclusive, and may be selected or combined and implemented as needed. For example, one hardware device may be configured to operate as a module composed of one or more of the software to perform the operations of an embodiment of the present invention, and vice versa. As another example, in the present specification, all or part of the operations assigned to a certain functional unit may be implemented by one or more of the software stored in a device according to an embodiment of the present invention (preferably, in any one of the recording media belonging to the category of the memory) and configured to be executed by the processor, and in this case, such a functional unit may be referred to as a functional unit "included" in the processor.
[0062] The present invention is applicable to all environments for creating a one-way or two-way video communication network, and it should be understood that the network (105) can be created by any means for transporting encoded video data between the terminals (110, 120).
[0063] In one embodiment of the present invention, the network (105) may refer to a wired or wireless communication network. In this case, depending on the embodiment, the network may be configured to communicate information using any communication standard, and the communication standard may include packet-based communication. The packet communication may be understood to mean including packets known as TCP or UDP, for example. The wired communication method of the network (105) may be a method of connecting to an external communication network by means of a telephone line of the RJ-11 standard, an Ethernet cable belonging to various categories of the RJ-45 standard, other coaxial cables, metal cables, optical cables, and various other wired media. The wireless communication method of the above network (105) may include, depending on the embodiment, a short-range wireless communication method including Bluetooth, Wi-Fi, Zigbee, and NFC (near field communication), or may include a long-range wireless communication method that may be referred to as a name of a wireless communication technology collectively called a generation name of a communication standard such as Wibro, WiMax, Global Systems for Mobile Communications (GSM), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long-Term Evolution (LTE), New Radio (NR), and other 2G, 3G, 4G, 5G, and 6G, and a name of an international standard wireless communication standard such as IMT-2000, IMT-Adcanced, IMT-2020, and IMT-2030. Of course, even if any conventional or newly developed wired or wireless communication means, method, standard, and protocol are applied to the implementation of the network (105), there is no problem in achieving the purpose of the present invention as long as it is a means configured to perform transmission and reception in an information and communication device such as the terminal (110, 120).It is also obvious that one network (105) can be configured in a mixed manner by one or more wired and / or wireless standards.
[0064] However, in another embodiment of the present invention, the network (105) may be understood to include a process of transmitting information using a computer-readable recording medium. In this case, the configuration of the network is not limited to a communication medium, and should be understood to include a process of temporarily storing and physically transporting information in a computer-readable memory and / or recording medium. The computer-readable recording medium used for transmitting information may be understood to mean a relatively non-volatile or long-term recording medium such as a magnetic media such as a hard disk, a floppy disk, and a magnetic tape, an optical media such as a CD-ROM or DVD, a magneto-optical media such as a floptical disk, or a solid state memory, which is mainly used as a means of transporting data between computing devices.
[0065] Any other means of information communication or transport, regardless of the method employed, can be considered within the scope of the present invention as long as it has a structure that supports the transmission and decoding of video data in an encoded state. Therefore, in addition to the examples listed above, any means of information communication or transport, whether known in the past or newly available, can fall within the scope of application of the present invention.
[0066] FIG. 2 is a conceptual diagram illustrating the arrangement of an encoder and decoder in a real-time video streaming environment according to one embodiment of the present invention. The streaming system (200) illustrated in FIG. 2 can be applied to video data communication networks, including, for example, digital broadcasting, video telephony, and video conferencing. However, it should be noted that technical structures identical or similar to the streaming system can be equally applied even when information is transmitted via a recording medium, as described above.
[0067] According to one embodiment of the present invention, the streaming system may include a video source (210) that generates a video stream. The video source may include a digital video acquisition means (212), which may be, for example, a digital camera or other device, for acquiring uncompressed raw video. The raw video stream (215) may have a large capacity and may therefore be compressed by a video encoder (217) coupled or connected to the video source.
[0068] The above encoder (217) may be configured as a means including hardware, software, or a combination of the two, configured to implement an image encoding method and / or an implementation method thereof according to one embodiment of the present invention.
[0069] Through the encoder (217), an encoded bitstream (219) having a reduced capacity compared to the original video stream can be output. The bitstream (219) can be provided in real time via a relay device, which may be referred to as a streaming server (220), and / or can be stored in a recording medium (225) of the streaming server (220) for subsequent use.
[0070] The streaming system (200) may include at least one streaming client (230, 240) that connects to the streaming server (220) to receive the encoded bit string (229) in real time or obtain it later. The streaming client may include a video decoder (232) that obtains the encoded bit string (229) (which may also be regarded as a copy of the bit string (219) received by the streaming server), decodes the bit string (229), and outputs the resulting video data as video data in a form that can be displayed by a display (235) or other visual, auditory, or other sensory display means.
[0071] As described above, the functions for encoding and decoding video data are collectively called a coder-and-decoder, or video codec.
[0072] FIG. 3 is a conceptual diagram of a functional unit of a video decoder according to an embodiment of the present invention. As shown in FIG. 3, a receiving unit (310) can receive at least one encoded video data to be decoded by a decoder (305). In an embodiment of the present invention, the encoded video data may be independent for each reception, and the decoding procedure of each independent video data may be independent from the decoding procedure of other video data. The encoded video data may be received by the receiving unit (310) through a hardware or software connection (315) to a device storing the same, and as described above, the storing device may be a type of streaming server located at the other end of a communication network, or may mean a physical recording medium, but is not limited thereto.
[0073] The above-described receiving unit (310) can receive the encoded video data together with other data accompanying it, such as encoded audio data or other auxiliary data, and each of the data can be separated from the video data and provided to an appropriate processing function unit (312) other than the video decoder.
[0074] When the video data is provided through a communication network, a buffer memory (320) may be coupled between the receiving unit (310) and the decoder (305) to minimize delay and disconnection according to the network environment. The buffer memory (320) may refer to a computer-readable recording medium that temporarily stores the received video data and stably supplies it to a parser (330) corresponding to the input terminal of the decoder (305). However, if the bandwidth of the communication network is sufficient, if video data is read from a recording medium in a local location that is not physically separated, or if the possibility of communication delay is not predicted in other environments, the buffer memory may be unnecessary.
[0075] The video decoder (305) may include the parser (330) as its input terminal to interpret the encoded video data. The parser may perform a function of separating (parsing) a plurality of pieces of information stored in the form of a bit string in the encoded video data according to a predetermined rule, and, if necessary, performing an entropy decoding (335) of entropy-coded video data, thereby performing a function of reconstructing symbols (338), which are paragraphs of video encoding information. The symbols (338) may include all information for controlling the operation of the decoder (305), and / or may further include information for controlling a device that is attached to and operable with the decoder (305), such as a display device. Control information for controlling the above display device may include information in a format called supplementary enhancement information (SEI) or video usability information (VUI).
[0076] As described above, the parser (330) may be configured to perform entropy decoding (335) of the encoded video data. The entropy encoding method of the encoded video data may vary depending on the encoding standard, and decoding may be performed accordingly. Representative examples of the entropy encoding standard may include variable length coding, Huffman coding, and arithmetic coding, and each of the encoding methods may be a context-adaptive or context-sensitive method depending on the standard, and may also be based on principles widely known to those skilled in the art.
[0077] The parser (330) may be configured to extract at least one partial image from the encoded video data. The definition of the partial image may vary depending on the encoding standard, and depending on the standard, one or more of the examples listed below may correspond simultaneously and overlappingly. The partial image may be defined in units such as, for example, a group of pictures (GOPs), pictures / frames, tiles, slices, macroblocks, blocks, subblocks, transform units (TUs), and prediction units (PUs).
[0078] The parser (330) may be configured to extract encoding information, such as transform coefficients, quantization parameters (QPs), and / or motion vectors, from the encoded video data. The parser (330) may be configured to perform entropy decoding (335) and parsing operations on the video data received from the buffer memory, and to selectively decode symbols (338) representing the encoding information. In addition, the parser (330) may be configured to selectively supply a specific symbol (338) to a specific decoding function unit within the decoder (305), such as an inverse quantization and inverse transform unit (340), an intra prediction unit (350), an inter prediction unit (355), or a loop filter unit (360). Control of such information supply can be determined by the information sequence contained in the encoded video, and may vary depending on the encoding standard, and is not limited within the scope of the embodiments of the present invention, and is not described in detail in this conceptual diagram.
[0079] The decoder (305) may be comprised of a number of conceptual functional units that receive and process the encoded information provided by the parser (330). It should be readily apparent that these conceptual functional units may be combined or further subdivided, depending on implementation needs. For example, they may be further separated for ease of implementation, or integrated into one for operational efficiency. In any case, each functional unit may be configured to perform close interaction with each other. However, despite the possibility of such integration or separation, the following description will be given as a combination of conceptual functional units to illustrate the video data decoding procedure applied as an embodiment of the present invention.
[0080] The decoder may include an inverse quantization and inverse transformation unit (340). The inverse quantization and inverse transformation unit (340) may be configured to receive encoding information including a method to be used for numerical transformation (transform), a block size, quantization coefficients for recovering quantized information, and distinction information of a quantization matrix that simplifies and represents the quantized coefficients from the parser (330), and may be configured to output block values (341) that can be input to an aggregator (370) as a result of processing the encoding information.
[0081] In one embodiment of the present invention, the output values of the inverse quantization and inverse transformation unit (340) may include intra-prediction encoded block values. The intra-predicted block values may refer to values that can be decoded without using prediction information from a previously decoded partial image, for example, a previous frame, but using prediction information within a partial image currently being decoded, for example, a current frame.
[0082] Prediction information within the current partial image may be provided by the intra prediction unit (350). According to an embodiment of the present invention, the intra prediction unit (350) generates a block value of the same form as the block being decoded as prediction information by using image information of a spatially adjacent area derived from a partial image currently being decoded and of which decoding has been partially completed. The partial image information may be provided (381) from a current image buffer, a so-called line buffer (380). The merging unit (370), according to an embodiment, may be configured to merge the prediction information (351) generated by the intra prediction unit (350) with the block values (341) provided by the inverse quantization and inverse transformation unit (340).
[0083] In another embodiment, the output values of the inverse quantization and inverse transformation unit (340) may include block values subjected to motion compensation as inter-prediction encoded block values, and in some cases, block values subjected to motion compensation. In this case, the inter-prediction unit (355) may extract and use sample information (386) used for motion-based prediction from a reference picture buffer (385). The information (356) derived by performing motion compensation on the sample information based on the symbols (338) included in the block values as the output values may be configured to be merged with the block values (341) provided by the inverse quantization and inverse transformation unit (340) by the merger unit (370). In this case, the block values (341) may be referred to as so-called differential or residual values.
[0084] The position information within the memory used by the inter prediction unit (355) to extract the sample information from the reference image may be determined by a motion vector provided to the inter prediction unit (355) which is composed of a combination of symbols (338) for representing, for example, X, Y, and other specific points of the reference image. The inter prediction unit (355) may also include a function for interpolating and using the sample values when a so-called 'subsampling' capable motion vector is provided, and may further include a function for predicting and reinforcing the value of the motion vector.
[0085] The output values (371) of the above merging unit (370) may be provided to the loop filter unit (360) and processed by various loop filtering methods. The loop filter unit (360) may be configured to receive not only the block unit output (371) of the merging unit (370) but also the symbol (338) provided from the parser (330) to control its operation. The output of the loop filter unit (360) may be output to an external display means such as the display device through an output connection (390), but may be stored (361) in a line buffer (380) for use in prediction for interpreting a subsequent intra or inter coded block value, and may also be stored in a reference image buffer (385) through this.
[0086] Certain partial images, such as frames, after their decoding is completed, can be utilized as reference images for performing predictive decoding in a subsequent decoding process. One partial image, such as a frame, can be gradually accumulated in a line buffer (380) and decoded, and when one frame is decoded, the contents of the line buffer (380) are transferred (383) to the reference image buffer (385), and a new line buffer (380) can be allocated for decoding the new frame.
[0087] The above video decoder (305) may be configured to perform a decoding operation according to a predetermined video compression technique that may be documented by various international standards or commercial standards. The standards may include, for example, international standard recommendations such as H.264, H.265, and H.266 defined by the International Telecommunication Union Standardization Sub-Division (ITU-T). Those skilled in the art will understand that each of the above recommendations is equivalent to an international standard jointly defined by the International Organization for Standardization (ISO) and the International Electrotechnical Commission (IEC). The encoded video data may comply with a specific bitstream syntax defined by the relevant standards, as defined and required by the video compression standard documents and standard documents, and specifically by the profiles and levels specified within such documents. In addition, the complexity of the encoded video data may be limited to a certain level to comply with the profiles and levels. For example, a profile or level may be configured to limit a maximum picture size, a maximum decoding speed, and a maximum reference picture size. These limitations may, in some embodiments, also be further constrained via metadata signals for a hypothetical reference decoder (HRD) and HRD buffer management included in the encoded video data.
[0088] According to one embodiment of the present invention, the receiver (310) may receive additional redundant data along with the encoded video. The additional data may be considered as part of the encoded video data. The additional data may include information that may be used by the decoder (305) to properly decode the data or to more accurately reconstruct an image that approximates the original image. The additional data may be provided in the form of, for example, layers for temporal, spatial, or signal-to-noise ratio (SNR) enhancement, redundant slices, redundant images, and forward error correction codes.
[0089] FIG. 4 is a functional unit conceptual diagram of a video encoder according to one embodiment of the present invention. The encoder (405) may be configured to receive original video information (402) from a video source (401) and perform encoding.
[0090] The original video information (402) may have any suitable bit depth, for example, 8 bits, 10 bits, 12 bits, etc. In addition, the original video information (402) may have any suitable color space, for example, R / G / B, Y / U / V, Y / Cb / Cr, etc. In addition, the original video source may have any suitable sampling structure corresponding to the color space, for example, Y / Cb / Cr 4:2:0, Y / Cb / Cr 4:4:4, etc. The original video source having such a predetermined format may be provided to the encoder in the form of a digital video stream.
[0091] In a one-way video communication network, the original video information (402) can be obtained from a recording medium storing a previously prepared video source. In a two-way video communication network, the original video information (402) can be obtained from an image acquisition device, such as a camera, that generates at least one video transmission stream included in the two-way video communication.
[0092] The video data including the above original video information (402) may be configured as a plurality of partial images configured to simulate motion by being played back in chronological order. The partial images may be expressed as concepts such as pictures or frames, for example. The partial images may include one or more samples depending on the type of sampling structure, color space, etc. being used. Those skilled in the art will understand that the terms "samples" and "pixels" in digital images are closely related. The operation of the encoder will be described below with reference to such samples.
[0093] According to one embodiment of the present invention, the encoder (405) may be configured to encode and compress (partial) images constituting the original video information (402) in real time (or according to other temporal requirements required according to the implementation method) into the form of encoded video information.
[0094] In the encoder (405), the control unit (450) may be a functional unit configured to control an appropriate encoding speed. The control unit (450) may be configured to control other functional units and be functionally coupled to the following functional units as described below. The parameters set by the control unit (450) may include parameters related to bitrate control, such as skip of the image, quantizer, variable values for applying a picture quality optimization technique, and may also include values such as the size of the image, the structure of a group of pictures (GOP), and the maximum search range of a motion vector. A person skilled in the art will be able to understand various other functions that the control unit (450) may have, and such other functions may be added or removed according to the design of a video encoder optimized for an individual system design.
[0095] According to an embodiment of the present invention, the encoder (405) may be configured to operate in a structure such as a "coding loop" well known to those skilled in the art. To simplify the description by way of example, the coding loop may be configured with an internal encoder (so-called "source coder") (410) responsible for receiving an image to be encoded and generating symbols based on at least one reference image that has been encoded in the past, and a local decoder (420) configured to be connected to the internal encoder. The local decoder (420) may be configured to perform an operation to reproduce sample data to be generated by a decoder (490) located at an actual remote location that will receive encoded video information from the encoder (405) by receiving an output of the internal encoder (410).
[0096] Video data composed of sample data reconstructed by the internal decoder (420) may be configured to be input to the reference picture buffer of the encoder (405). As described above, the internal decoder (420) is implemented to reproduce the result output by the encoder (405) and to be decoded by a remote decoder, so the video data recorded in the reference picture buffer may also be identical in bit units to the information of the reference picture buffer of the remote decoder. That is, the prediction function unit that may be included in the encoder (405) may read the same values as the sample values of the previous frame that the decoder will later refer to in the decoding process from the reference picture buffer of the encoder (405).
[0097] As described above, the principle of achieving matching of the reference image buffer between the encoder (405) and the decoder (490) by means of the internal decoder (420) on the encoder (405) side is well known to those skilled in the art, and a method of responding to an environment in which such an environment is not guaranteed (e.g., information loss due to communication failure, etc.) can also follow what is known to those skilled in the art.
[0098] An embodiment of the operation method of the internal decoder (420) has been described in detail above with reference to FIG. 3. The decoder of FIG. 3 may be regarded as the aforementioned "remote" decoder (490). The internal decoder (420) may be implemented excluding lossless encoding and decoding sections such as the parser (330) or entropy decoding (335). This is because the internal encoder (405) is implemented to simply reproduce the operation of a decoder located at a remote location, and thus may directly decode symbols without requiring a process of compressing and then decompressing symbols. Accordingly, the functional units preceding the parser and entropy decoder as shown in FIG. 3 may not be provided or may be implemented at least partially.
[0099] As described above, according to a preferred embodiment of the present invention, any decoder function (excluding a parser and an entropy decoder) present in the decoder can naturally exist as a substantially identical function in the corresponding encoder (405).
[0100] The operation of the encoding function unit that may be included in the above encoder (405) can be considered as the inverse of the decoder function unit. Therefore, the embodiment can be explained by performing the operation of the decoder function unit in reverse. For example, a quantization and transform function unit corresponding to the inverse quantization and inverse transform unit may be provided, and an inter prediction encoding unit corresponding to the inter prediction unit may be provided. In addition, some additional explanations will be added.
[0101] The internal encoder (410) may be configured to perform encoding on input image information, for example, an input frame, by a predictive encoding method executed by a predictive encoding unit (440) that operates by referencing at least one temporally previous encoded partial image, for example, frames, from a reference image buffer (430) from at least one reference image information, for example, video data designated as a reference frame. In this case, the encoder (405) may be configured to encode a differential between blocks of samples constituting the input image and blocks of samples constituting the reference image.
[0102] The internal decoder (420) can decode video data that can be designated as the reference picture from symbols generated by the internal encoder (410). As described above, since the video data is subject to the same decoding operation as that performed by a remote decoder, the video data used as the reference picture may be provided to the encoder (405) in a form that has undergone lossy compression and has suffered some damage, and this operation may be intended to ensure operational consistency with the decoder.
[0103] The prediction encoding unit (440) may be configured to perform a prediction search operation within the encoder (405). The prediction search operation may refer to an operation corresponding to the inter prediction or intra prediction described in the description of the decoder. For image information that is input and scheduled to be newly encoded, the prediction unit may access the reference image buffer (430) to retrieve information such as a motion vector, a block shape, and metadata that may include the same, which are information indicating points of a reference image that can function as prediction reference information suitable for the new image information, and a sample block to be actually referenced. The prediction encoding unit (440) may operate on the basis of a so-called "sample block by pixel block" to obtain appropriate prediction reference information. According to one embodiment of the present invention, at least one prediction reference information may be designated for the input image, which designates at least one reference image information stored in the reference image buffer (430), as determined based on the search results obtained by the prediction encoding unit (440).
[0104] In one embodiment of the present invention, the control unit (450) may be configured to manage the overall encoding operation of the internal encoder (410), including setting parameters used to encode video data.
[0105] All outputs of the above-described functional units may be subjected to entropy encoding (460) in order to be finally output. The entropy encoding (460) may include various entropy coding techniques, such as variable length coding, Huffman coding, and arithmetic coding, for the symbols generated by the various functional units as described above, and each encoding method may be a context-adaptive or context-sensitive method according to the standard, or may be based on principles widely known to those skilled in the art. Such entropy encoding (460) can typically achieve lossless compression, and thus can be configured to convert at least one symbol generated by the functional units into encoded video data.
[0106] The above control unit (450) may, when controlling the operation of the encoder (405), apply the type of encoding of a specific partial image during the encoding period to each partial image, such as a picture or frame. Depending on the type, the method by which the partial image is encoded may be affected. Depending on the embodiment, the type may include what is categorized as the following "frame type."
[0107] Fig. 5 is a conceptual diagram of a frame type according to one embodiment of the present invention. The following description will be made with reference to Fig. 5.
[0108] An intra (“I”) picture (510) may refer to a picture that can be encoded and decoded using only its own information without referring to other picture information in the video data through predictive encoding. The “I” picture may be designated by names such as a key frame, an independent / instantaneous decoder referh (IDR) frame, and a clean random-access (CRA) frame, depending on the video encoding standard, and the “I” pictures designated by the various names as described above may have various modifications and application methods as permitted by each standard and may be partially different from each other. In addition to those listed above, various application methods for implementing the “I” picture may be by various methods that are already known to those skilled in the art or may be newly provided.
[0109] A prediction ("P") picture (520) may refer to a picture that can be encoded and decoded through intra or inter prediction based on at least one prediction information and / or a motion vector that designates at least one reference picture to predict sample values of a block constituting the picture. The "P" picture may be configured to refer to only one reference frame, or may be configured to refer to one or more reference frames, according to a video encoding standard. When referring to more than one reference frame, sample information and / or associated metadata derived from multiple reference pictures may be used to reconstruct a single block. However, in common cases, a picture designated as a "P" picture may be understood as a picture that performs reference only to a temporally preceding picture.
[0110] A bidirectional prediction ("B") picture (530) may refer to a picture that can be encoded and decoded through intra or inter prediction based on at least one prediction information and / or motion vector that designates at least two reference pictures to predict sample values of blocks constituting the picture. In a common case, a picture designated as the "B" picture is distinct from a picture designated as the "P" picture, and may be understood as a picture that performs a reference without being limited to a temporally preceding picture.
[0111] Video data may be spatially divided into a plurality of sample blocks during the encoding and decoding process, and encoding may be performed in units of the blocks. The block units may include, but are not limited to, sizes such as 4x4, 8x8, 4x8, or 16x16 in units of horizontal / vertical pixels, as is widely known. The block may be encoded using a predictive encoding method with reference to any other (already encoded) blocks, as permitted and / or restricted by the type specified for each partial picture including the block. For example, the blocks of the "I" picture (510) may be encoded without using a predictive encoding method, or with reference to blocks already encoded within the same partial picture. That is, only the so-called intra prediction method may be used. In contrast, the "P" picture (520) may further reference a reference picture encoded in at least one previous time unit, and thus, inter prediction may also be used for encoding along with intra prediction. In the case of a "B" picture (530), reference can be made not only to a previously encoded picture in the encoding order but also to a later reference picture in terms of time unit. However, it is widely known that there may be blocks within a "P" picture or a "B" picture that are encoded without relying on predictive encoding.
[0112] The above video encoder (405) may be configured to perform encoding operations according to a predetermined video compression technique that may be documented by various international standards or commercial standards. Examples of the above standards may include all of those described in the above decoder.
[0113] According to one embodiment of the present invention, the transmitter (470) may buffer the encoded video data generated by the entropy encoding in order to provide / transmit the video data (ultimately to a remote decoder (490)) to a device storing the encoded video data via a hardware or software connection (495). According to an embodiment, when providing / transmitting the encoded video data from the video encoder (405), the transmitter (470) may receive and merge other data accompanying the encoded video data, for example, encoded audio data or other auxiliary data, from a separate source (480).
[0114] According to one embodiment of the present invention, the transmitter (470) may be configured to transmit additional data along with the encoded video. The additional data may be considered part of the encoded video data. The additional data may include information that can be used by a decoder to properly decode the data or to more accurately reconstruct an image that approximates the original image. Examples of the additional data may include all of the examples previously presented with respect to the receiver (310) of the decoder.
[0115] The present invention can be implemented by a digital video compression standard that is widely used and understood by those skilled in the art as described above. The digital video compression standard may include at least one of compression standards known by the standard name such as MPEG-2, MPEG-4 Video, H.263, H.264 / AVC, H.265 / HEVC, H.266 / VVC, VC-1, AV1, QuickTime, VP-9, VP-10, and Motion JPEG.
[0116] Fig. 6 is a conceptual diagram illustrating the structure of a video encoder according to the H.266 / VVC standard. What is depicted in Fig. 6 corresponds to the rough structure of a video encoder widely known by standard codes such as ITU-T H.266 and ISO / IEC 23090-3, and also by the name MPEG-I Part 3 or the general name versatile video coding (VVC).
[0117] According to FIG. 6, a video encoder (605) may be configured to receive uncompressed and unencoded original video data (601) as input and output an encoded bit stream (602). The video data (601) may be supplied directly to a luma mapping unit (610a) when intra-encoded, or may be supplied to a luma mapping unit (610b) via an inter-prediction unit (620) including motion vector extraction. In the intra-encoded case, the mapped luma signal may be supplied to an output merger (606) by selecting (608) at least one of an intra-prediction encoded signal via an intra-prediction unit (625) or an inter-prediction encoded signal output from the luma mapping unit (610b) via the inter-prediction unit (620). The result of the above output merger can be applied to a chroma scaling unit (615). (The operation of the luminance signal mapping unit (610) and the operation of the chroma scaling unit (615) are collectively referred to as a luma mapping / chroma scalaing (LMCS) process.) The reduced chroma signal can be provided to a transform unit (630), and the transform unit (630) can perform an adaptive color transform, particularly on the chroma signal. The coefficients derived as a result of the transform are applied to a quantization unit (640) and quantized. As a result, lossy compression is achieved, and the result of the lossy compression can be output as a bit string (602) through a multi-hypothesis CABAC (650), which is a lossless compression method.
[0118] Meanwhile, the result of the lossy compression may actually enter the decoding process by going through the processes of inverse quantization (645), inverse transform (635), and luminance signal expansion (617) to generate a coding loop. The result of the luminance signal expansion may be supplied to the internal merger (607) together with the result of selecting (608) at least one of the previously generated intra prediction encoding signal or inter prediction encoding signal. The result of the internal merger may go through inverse luma mapping (617), and then may go through processing such as a deblocking filter (660), sample adaptive offset (SAO) (670), and an adaptive loop filter (ALF) to reproduce the image quality improvement process in the decoder. The result of reproducing the operation in the decoder as described above is applied to the reference image buffer (690) and can be reused for prediction encoding by the inter prediction unit (620).
[0119] The present invention can also be used by or in combination with the enhanced compression model (ECM), which is an implementation of a next-generation video codec being developed by the joint video experts team (JVET), an international standardization expert group, to improve H.266 / VVC. According to the standardization progress document of the above JVET, document number ISO / IEC JTC 1 / SC 29 / WG 5 N 190 (also document number JVET AC2025-v1), the improved compression model may include an improved intra prediction coding method, an improved inter prediction coding method, an improved transform and transform coefficient coding method, an improved adaptive loop filtering method, a bilateral filtering method, a new sample adaptive offset (SAO) method for image quality improvement, an extended entropy coding method, and an improved gradual decoding refresh (GDR) technique, and such techniques may be included in the present invention as background techniques for implementing the present invention.
[0120]
[0121] General method of applying LIC
[0122] The present invention provides a method for applying an improved local illuminance compensation (LIC) technique that can be used in the video encoding and decoding field including the above-described embodiments, and a device to which such a method is applied.
[0123] Fig. 7 is a conceptual diagram illustrating the general structure of a LIC application method according to an embodiment of the present invention. To address the problem of reduced compression efficiency due to differences in illumination between frames, Weighted Prediction (WP) is applied in traditional video coding standards. The WP is applied on a frame-by-frame basis, and is a technology that compensates for brightness changes in a reference block to accurately obtain a prediction value when encoding the current frame. The WP is applied to both H.264 / AVC and H.265 / HEVC, and can be used in an explicit mode or an implicit mode depending on whether or not a brightness compensation parameter is transmitted for each slice.
[0124] While the above WP-based technology can effectively compensate for brightness variations between frames and accurately compensate for the predicted value of the reference frame for the entire video image, its technical limitations, applied frame by frame, prevent it from adequately compensating for local brightness variations. To overcome this, the LIC technology induces appropriate brightness compensation for local predicted brightness variations.
[0125] The above LIC is a technique for modeling (760) local brightness changes between a template (715) adjacent to a current block (710) and a final prediction block (770) for a current block (710) by a function (750) that approximates between a value (730) based on a current block (710) and a value (740) based on a reference sample (720) between a template (715) adjacent to a reference block (720) and a reference block (720). The parameters of the function can be represented by a scale α and an offset β that form a linear equation, which can be expressed in the form of α*p[x]+β as a linear equation for compensating for brightness changes, where p[x] can mean a reference sample pointed to by a motion vector (MV) (717) at a location x on a reference picture in an inter prediction method. In one implementation of the above LIC, when wrap around motion compensation is enabled, the MV can be clipped considering an offset that takes into account the circular pixel space structure. Since α and β can be derived based on the current block template and the reference block template, no signaling overhead is required for them except when a LIC usage indication flag is signaled within the bitstream to indicate the usage of the LIC (preferably for Advanced Motion Vector Prediction (AMVP) mode).
[0126] However, the LIC technology presented in the present invention can be equally utilized for intra prediction, and for example, when a BV (block vector) is used instead of the MV (717) or the MV or the BV is derived from a decoder, the present invention does not exclude the possibility that a method based on the LIC technology can be equally applied.
[0127] Among the applied implementation methods of the present invention, the implementation method citing the method proposed in JVET Technical Contribution JVET-O0066 can be modified as follows and used for blocks that are inter-coded between screens, for example, inter-coded units (inter-coded CUs).
[0128] According to one embodiment of the present invention, neighboring samples in the intra-dimensional space can be used to derive the LIC parameters. This allows for improved LIC accuracy by utilizing information from intra-encoded neighboring blocks.
[0129] According to one embodiment of the present invention, LIC can be disabled for blocks with fewer than 32 luminance samples. This reduces unnecessary computations and improves coding efficiency for small blocks.
[0130] According to one embodiment of the present invention, in non-subblock and affine modes, LIC parameter derivation can be performed based on template block samples corresponding to the current CU, rather than partial template block samples corresponding to the first 16x16 unit from the upper left. This allows for more information to be utilized, thereby improving the accuracy of LIC.
[0131] According to one embodiment of the present invention, samples of a reference block template can be generated using motion compensation (MC) along with the MV of the corresponding block without rounding to integer pixel precision. This enables more precise prediction, thereby improving coding efficiency.
[0132] According to one embodiment of the present invention, in the case of a bi-directional inter prediction CU, two sets of LIC parameters may be derived separately for L0 and L1 prediction samples. The L0 and L1 prediction samples may refer to respective samples obtained in two prediction directions used in the bi-directional prediction. For example, according to one embodiment, the L0 prediction sample may generally refer to a prediction sample derived from a reference picture that is temporally earlier than the current picture. That is, it may represent prediction information obtained from a past frame. Furthermore, according to one embodiment, the L1 prediction sample may generally refer to a prediction sample derived from a reference picture that is temporally later than the current picture. That is, it may represent prediction information obtained from a future frame.
[0133] According to one embodiment of the present invention, the L0 and L1 prediction samples may be obtained from different reference pictures and may be located at different temporal locations. As described above, by separately deriving LIC parameters using the L0 and L1 prediction samples, more accurate brightness compensation that takes temporal directionality into account can be provided.
[0134] According to one embodiment of the present invention, the same method can be repeatedly applied to derive the L0 and L1 LIC parameters. Specifically, the L0 LIC parameter is first derived by minimizing the difference between the L0 template prediction T0 and the template T, and the samples of T can be updated by subtracting the corresponding samples of T0. Next, the L1 parameter that minimizes the difference between the L1 template prediction T1 and the updated template can be calculated. Finally, the L0 parameter can also be refined again in the same manner.
[0135] According to another embodiment of the present invention, in the process of separately deriving LIC parameters for the L0 and L1 prediction samples, weights that take temporal characteristics of each direction into account can be applied. For example, if the L0 prediction sample is temporally closer to the current picture, a higher weight can be assigned to the L0 LIC parameter. Conversely, if the L1 prediction sample is closer, a higher weight can be assigned to the L1 LIC parameter. This allows for more effective utilization of temporal correlation. The present invention proposes a method and device for improving compression performance by appropriately performing brightness compensation of LIC.
[0136]
[0137] Method for deriving linear model parameters of LIC
[0138] The above-described LIC-based method can be configured to find a reference block using a set template and generate a linear model using an L-shaped template for the change in brightness between a current block (e.g., CU) and the reference block. The linear model can be configured in the form of a linear function of α*p[x]+β. The p[x] can be defined as a reference value as a prediction pixel, and the α and β can represent the slope and bias of the derived linear model. According to research in the standardization activities of JVET, two or more linear models can be used simultaneously. According to one embodiment of the present invention, the method for deriving the linear model parameters is not limited to a first-order linear model, but can be set as a second-order or higher-order line fitting model. This can help to model more complex brightness changes more accurately.
[0139] According to one embodiment of the present invention, an LIC method using a single first-order linear model may be provided. According to another embodiment of the present invention, an LIC method using two first-order linear models may be provided.
[0140] According to another embodiment of the present invention, an LIC method using one first-order linear model and one second-order model can be provided. This method can help support more accurate brightness compensation by supplementing complex brightness changes that are difficult to express with a first-order model with a second-order model.
[0141] According to another embodiment of the present invention, an LIC method using two first-order linear models and one second-order model can be provided. This method can help provide more sophisticated brightness compensation by representing most brightness changes with the two first-order models and compensating for the remaining complex changes with the second-order model.
[0142] According to another embodiment of the present invention, an LIC method using two first-order linear models and two second-order models can be provided. This method can respond to the most complex forms of brightness changes and can help provide more sophisticated brightness compensation by adaptively selecting the application area of each model.
[0143] According to another embodiment of the present invention, an LIC method utilizing at least one first-order linear model and at least one second-order model can be applied and provided. The number of the first-order linear models and the second-order models can be adaptively determined within the range permitted by compression efficiency and complexity, or a variable number can be signaled via a bitstream.
[0144] According to one embodiment of the present invention, a method can be used in which the number of primary and secondary models to be used is determined in a high-level bitstream syntax, the primary and secondary models to be used in the LIC method are determined accordingly, and the determined information is then transmitted to a decoder via a bitstream. This method can adaptively adjust the complexity of the models depending on the characteristics of the image, thereby achieving an optimal balance between compression efficiency and computational complexity.
[0145] According to another embodiment of the present invention, parameters of each model can be adaptively quantized and transmitted. For example, the slope and bias of a first-order model and the coefficients of a second-order model can be quantized with different precisions, allowing important parameters to be transmitted more accurately and less important parameters to be transmitted more concisely, thereby achieving a balance between bit rate and performance.
[0146] According to one embodiment of the present invention, Rate-Distortion Optimization (RDO) can be applied during the LIC model selection process. By calculating the bit rate and distortion for at least one function model combination and selecting the optimal model combination based on the calculated bit rate and distortion, the overall compression efficiency can be improved.
[0147] The present invention is not limited to the embodiments described above, and various modifications and applications are possible. For example, it will be understood that the introduction of higher-order models (three or higher), or the use of other types of nonlinear function models, are within the scope of the present invention.
[0148]
[0149] Method for deriving linear model parameters based on first-order functions
[0150] According to one embodiment of the present invention, the linear model formula actually applied to derive linear model parameters based on a first-order function is as shown in the following mathematical formula 1.
[0151]
[0152] In the above mathematical expression 1, the "Ref" may refer to a reference pixel value used for prediction. In addition, the "Scale" and the "Shift" may refer to values that approximate the α portion in the linear model α*p[x]+β, and the "Offset" may refer to a value that approximates β. The ">>" operator symbol appearing in the above mathematical expression 1 may be understood as a right binary bit shift operation.
[0153] According to one embodiment of the present invention, the “Ref” value may have the same meaning as a predicted value obtained in a motion estimation (ME) process.
[0154] According to one embodiment of the present invention, a value in the form of a weighted sum derived from two or more predicted values found in the ME process may be used instead of the "Ref" value.
[0155] According to one embodiment of the present invention, a value in the form of a weighted sum derived from two or more predicted values found through template matching may be used instead of the "Ref" value.
[0156] According to one embodiment of the present invention, when configuring to derive a value in the form of a weighted sum from two or more predicted values, the weights to be multiplied by each predicted value may be stored in the form of a table. In one embodiment, the weights may be selected and used as indices for a pre-defined table, and information on the selected indices may be configured to be transmitted to the decoder via a bit string or the like.
[0157] According to one embodiment of the present invention, when configuring to derive a value in the form of a weighted sum from two or more prediction values, a larger weight may be assigned to a value having a smaller information cost calculated by a method including SAD (Sum of Absolute Differences), SATD (Sum of Absolute Transformed Differences), or MR-SAD (Mean-removal SAD) among the prediction values found through the ME and / or the template matching.
[0158] According to one embodiment of the present invention, a parameter set can be constructed by defining at least one parameter value required to construct the linear model as a set. According to one embodiment of the present invention, when using a linear model defined using the "Scale", "Shift", and "Offset", the "Scale", "Shift", and "Offset" can be packaged to construct a parameter set, and it is obvious that different parameters can be treated as a set even when the number or composition of the parameters is different.
[0159] The above parameter set may be pre-shared between the encoder and decoder through an encoding standard, or may be provided as a bit string (particularly, a high-level bit string). According to one embodiment, parameters used when a LIC model is used in a neighboring block may be used as candidates to determine the parameter set. Furthermore, according to one embodiment, a parameter set in a storage that stores previously used LIC parameters may be configured as a candidate set. According to one embodiment of the present invention, when configuring the candidate set, even if LIC is not used in a neighboring block, the candidate set may be configured by referring to other information used for intra-screen or inter-screen prediction. According to one embodiment of the present invention, when configuring the candidate set, if a specific number of candidate values cannot be selected, the values and / or parameter sets of the candidate set may be configured to be arbitrarily added according to a predetermined order or information. According to one embodiment of the present invention, when the candidate set is configured, a template may be utilized to rearrange the order of the candidate set. According to one embodiment of the present invention, once the candidate set is finally formed, the optimal parameter set can be selected through RDO or the like, and an index thereof can be included in a bit string and transmitted to the decoder. The decoder can be configured to form the candidate set in the same manner as the encoder, and to reconstruct the LIC parameter set used by the encoder by utilizing the information transmitted through the bit string.
[0160] According to one embodiment of the present invention, when applying the parameter set method to LIC, a candidate group found through template matching can be utilized as an LIC usage parameter set.
[0161]
[0162] Method for deriving nonlinear model parameters based on first-order functions
[0163] According to one embodiment of the present invention, prediction accuracy can be improved by transforming the linear model described above into a nonlinear model. For example, by introducing an additional term to impart nonlinearity to the linear model described by Equation 1, an equation such as Equation 2 below can be derived and used.
[0164]
[0165] According to various embodiments of the present invention, in the mathematical expression 2, the "Ext" may correspond to the added term, and may be determined as any one of the average value of the "Ref", the square of the average value, the average value of the bit depth value (bitDepth), the square of the average value of the bitDepth, or a value raised to the power of 2 considering a bit shift operation according to "Shift". In addition, according to various embodiments of the present invention, the "Ext" may be the average value of the template, the square of the average value of the template, the average value of the bitDepth of the template, the square of the average value of the bitDepth of the template, or a value raised to the power of 2 considering a bit shift operation according to "Shift" calculated from the template.
[0166] According to one embodiment of the present invention, the nonlinear model can be used alone or in combination with a linear model. For example, the nonlinear model can be used as a complete replacement for the linear model, in which case prediction can be performed using only the nonlinear model instead of the existing linear model. According to another embodiment of the present invention, the nonlinear model and the linear model can be used together. In this case, the method for determining which model to use can be divided into an explicit method and an implicit method. In one embodiment, when using the explicit method, information about the model to be used can be included in the bitstream and transmitted to the decoder. In another embodiment, the implicit method can be used to determine whether to use a linear model or a nonlinear model. In this case, the model to be used in the encoder and decoder can be derived in the same manner without separate signaling by utilizing information about the blocks adjacent to the upper and left sides of the already reconstructed current block (e.g., CU). For example, the prediction mode, size, or characteristics of the residual signal of the blocks above and left can be analyzed to select a model appropriate for the current block. It is obvious that various decoder-side mode derivation methods known in the past or newly provided can be used in common or applied to derive a model in the above decoder.
[0167] In the specification of the present invention, all technical concepts and implementation methods described above or below regarding linear models are compatible with methods that include and / or utilize the nonlinear model. For example, any reference to "linear model" in the specification or claims of the present invention should be understood to correspond to a concept that includes the nonlinear model described above as one of its derived implementation methods.
[0168]
[0169] Method for deriving linear model parameters based on quadratic functions
[0170] As described above, the LIC-based method can be configured to find a reference block by utilizing a set template and generate a linear model by utilizing an L-shaped template for the amount of brightness change between the current block (e.g., CU) and the reference block. In this case, according to one embodiment of the present invention, the linear model is α*(p[x] 2 )+β*p[x]+γ. The p[x] may be defined as a reference value as a prediction pixel, and α, β, and γ may represent coefficients and constants of the derived linear model. According to one embodiment of the present invention, the p[x] may mean a value of a reference sample pointed to by the MV at a position x on a reference picture. Since the α, β, and γ may be derived based on the current block template and the reference block template, no signaling overhead is required for them except when a LIC usage indication flag is signaled in a bit string to indicate the usage of the LIC (preferably, for the AMVP mode).
[0171] According to one embodiment of the present invention, a linear model formula actually applied to derive a quadratic function-based linear model parameter may include at least one of the exemplary formulas represented by the following mathematical formulas 3 to 6.
[0172]
[0173]
[0174]
[0175]
[0176] In the above mathematical expressions 3 to 6, the "Ref" value may mean a predicted pixel value obtained through ME. The "<<" operator symbol appearing in the above mathematical expression 6 may be understood as a left binary bit shift operation.
[0177] According to one embodiment of the present invention, a value in the form of a weighted sum derived from two or more predicted values found in the ME process may be used instead of the "Ref" value.
[0178] According to one embodiment of the present invention, a value in the form of a weighted sum derived from two or more predicted values found through template matching may be used instead of the "Ref" value.
[0179] According to one embodiment of the present invention, when configuring to derive a value in the form of a weighted sum from two or more predicted values, the weights to be multiplied by each predicted value may be stored in the form of a table. In one embodiment, the weights may be selected and used as indices for a pre-defined table, and information on the selected indices may be configured to be transmitted to the decoder via a bit string or the like.
[0180] According to one embodiment of the present invention, when configuring to derive a value in the form of a weighted sum from two or more prediction values, a greater weight may be assigned to a value having a smaller cost calculated through SAD, SATD, etc. among the prediction values found through the ME and / or the template matching.
[0181] According to one embodiment of the present invention, the "Scale", "Shift", and "Offset" can be packaged to form a parameter set. The parameter set may be pre-shared between the encoder and decoder through an encoding standard, or may be provided as a bit string (particularly, a high-level bit string). According to one embodiment, parameters used when an LIC model is used in a neighboring block may be used as a candidate set to determine the parameter set. Furthermore, according to one embodiment, a parameter set in a storage that stores previously used LIC parameters may be included in the candidate set. According to one embodiment of the present invention, when forming the candidate set, a parameter set determined by referring to other information used for intra- or inter-screen prediction may be included in the candidate set even if LIC is not used in a neighboring block. According to one embodiment of the present invention, when forming the candidate set, if a specific number of candidate values cannot be selected, the values and / or parameter sets of the candidate set may be arbitrarily added according to a predetermined order or information. According to one embodiment of the present invention, once the candidate group is formed, a template can be utilized to reorder the candidate group. According to one embodiment of the present invention, the reordering can be performed based on the encoding information required cost calculated based on the template, and in one embodiment, the reordering can be performed in order of lowest cost. According to one embodiment, the information required cost can be calculated using SAD, SATD, or MR-SAD, and the reordering can also be performed based on these costs.
[0182] According to one embodiment of the present invention, when the candidate group is finally formed, an optimal parameter set may be selected through RDO or the like, and an index thereof may be included in a bit string and transmitted to a decoder. The decoder may be configured to form the candidate group in the same manner as the encoder, and to reconstruct the LIC parameter set used by the encoder by utilizing the information transmitted through the bit string.
[0183] According to one embodiment of the present invention, when applying the parameter set method to LIC, a candidate group found through template matching can be utilized as an LIC usage parameter set.
[0184]
[0185] Implementation method according to boundary conditions
[0186] According to one embodiment of the present invention, a boundary condition may mean a situation in which a reconstructed pixel value of an adjacent block cannot be utilized in the current block with respect to a block currently being encoded or decoded. Such a case is generally referred to as a boundary condition because it mainly occurs at the boundary of an encoding unit, but is not necessarily limited to such a case. According to an embodiment, the boundary condition may occur at the boundary of various encoding / decoding units, including, for example, a picture unit, a slice unit, a tile unit, a CTU (coding tree unit) unit, and / or a MER (motion estimation region) unit.
[0187] According to another embodiment of the present invention, the boundary condition may be specified in units of processing units in consideration of hardware implementation. This means that boundary conditions can be defined based on processing units of a specific size or structure for efficient hardware-based processing (e.g., multi-processor processing). According to another embodiment of the present invention, the boundary condition may be specified through a high-level bitstream syntax. For example, boundary conditions may be specified in units of picture, slice, tile, CTU, and / or MER, and further, it may be possible to specifically specify specific boundary points that can induce the occurrence of boundary conditions.
[0188] According to one embodiment of the present invention, in calculating a linear model based on a reference sample ("Ref") for deriving a prediction sample ("Pred") (e.g., it may mean based on any one of Equations 1 to 6), if a block corresponding to "Ref" or "Pred" satisfies the boundary condition and cannot utilize the upper or left value and / or template, the "Scale", "Shift", and "Offset" values may be determined by utilizing only the upper or left value and / or template that can be utilized. For example, if one of the blocks to which "Ref" or "Pred" belongs is a block located at the upper boundary and thus the value of the upper block and / or template cannot be utilized, the "Scale", "Shift", and "Offset" values may be determined by utilizing only the value and / or template of the left block. Likewise, if one of the blocks to which "Ref" or "Pred" belongs is a block located on the left border and thus the values of the left block and / or template cannot be utilized, the values of the "Scale", "Shift", and "Offset" can be determined by utilizing only the values and / or template of the upper block.
[0189] According to one embodiment of the present invention, the size and shape of a template can be dynamically adjusted based on boundary conditions. Furthermore, to compensate for performance degradation due to the absence of templates under boundary conditions, alternative templates utilizing temporal correlation can be used. Specifically, if templates from spatially adjacent blocks are unavailable, pixels from the same location in the previous frame or those at locations corrected by motion vectors can be used as templates.
[0190] According to one embodiment of the present invention, a processing method under boundary conditions can be adaptively selected on a block-by-block basis, for example, according to the characteristics of the block (complexity of texture, degree of movement, etc.).
[0191]
[0192] Encoder and decoder
[0193] It is obvious that the encoding method according to the present invention can be applied equally to an encoder and a decoder. The encoding method according to the present invention can be used as one of the methods for generating sample values of a prediction block for performing intra- and / or inter-picture prediction in an encoder. When residual signal information is encoded by a difference value with respect to such a prediction block, the decoder can obtain decoded samples by generating sample values of the same prediction block using a corresponding and / or symmetrical method and combining the difference value with such a prediction block. Additionally, as exemplified through the internal decoder (420) and the coding loop including the same in FIG. 4, this decoding process can be implemented in the same manner within the encoder to predict the state of the decoder.
[0194] The encoding method according to the present invention described above can be implemented through an encoder as a device. The encoder as a device can be implemented in a form that maintains the conventional encoder structure exemplified through FIGS. 1 to 6 above or applies a predetermined change thereto. However, the form of implementation is not necessarily limited to that exemplified, and any form of encoder structure that can function as a video encoder should be considered an encoder established by the present invention as long as it implements the technical idea of the present invention.
[0195] In addition, the method for decoding the encoding result according to the present invention described above can be implemented through a decoder as a device. The decoder as a device can be implemented in a form that maintains the conventional decoder structure exemplified through FIGS. 1 to 6 above or applies a predetermined change thereto. However, the form of implementation is not necessarily limited to that exemplified, and any form of decoder structure that can function as a video decoder should be considered a decoder established according to the present invention as long as it implements the technical idea of the present invention.
[0196] A person skilled in the art will readily understand that a bit string encoded by the above-described method and device can be decoded by applying a method symmetrical and / or reverse to the encoding method. In one embodiment, when reading information for decoding from the encoded bit string, at least one variable length coded phrase included in the encoded bit string can be interpreted, and furthermore, in one embodiment, the variable length coding can be performed by an entropy coding method. The technical details and application method of implementing such a decoding procedure can be readily understood from the above-described encoding procedure.
[0197] The encoder and / or decoder described herein may correspond to a device including a processor and a memory, each of which may be implemented as a computing device. The processor that may be included in the encoder and / or decoder described herein may mean one or more general-purpose computers or special-purpose computers, such as a processor, a controller, an arithmetic logic unit (ALU), a digital signal processor, a microcomputer, a field programmable array (FPA), a programmable logic unit (PLU), a microprocessor, or any other device capable of executing instructions and responding.
[0198] Even if the processor is expressed singularly for ease of understanding, those skilled in the art will appreciate that the processor may include multiple processing elements and / or multiple types of processing elements. For example, a device according to one embodiment of the present invention may include multiple processors or one processor and one controller as the processor. Furthermore, the processor may be implemented using various processing configurations, such as a parallel processor or a multi-core processor.
[0199] The processor may be configured to execute an operating system (OS) and one or more software programs running on the operating system. Furthermore, the processor may access, store, manipulate, process, and generate data in response to the execution of the software.
[0200] The software may include a computer program, code, instructions, or a combination of one or more of these, and may be configured to control the processor to perform a desired operation and to issue commands to the processor, either independently or collectively. The software may be permanently or temporarily embodied in any type of machine, component, physical device, virtual equipment, computer storage medium or device, or transmitted signal wave, for interpretation by the processor or for providing commands or data to the processor. The software may also be distributed over networked computer systems, and stored or executed in a distributed manner.
[0201] The software may also be implemented in the form of program commands that can be executed through various computer means and recorded or stored in the memory. The memory may be a computer-readable recording medium, and program commands, data files, data structures, etc. may be recorded singly or in combination in the computer-readable recording medium. The program commands stored in the memory may be based on a command system specifically designed and configured for the embodiment of the present invention, or may follow a command system known and available to those skilled in the art of computer software, such as a command system exemplified by the assembly language, C, C++, Java, Python, etc. It should be understood that the command system and the program commands therefrom include not only machine language codes such as those generated by a compiler, but also high-level language codes that can be executed by the device and / or the processor according to an embodiment of the present invention using an interpreter or the like.
[0202] The computer-readable recording medium constituting the device according to one embodiment of the present invention, including the memory described in this specification, may include a temporary or volatile recording medium that is maintained only while the processor is operating, such as a processor cache, a RAM, a flash memory, or a relatively non-volatile or long-term recording medium, such as a magnetic media such as a hard disk, a floppy disk, and a magnetic tape, an optical media such as a CD-ROM, a DVD, a magneto-optical media such as a floptical disk, or a solid state memory, or may include a read-only recording medium, such as a ROM arranged on hardware, and further, the hardware itself configured to perform an operation equivalent to a series of program commands by a hard-wired structure by circuit wiring, and each step for performing the operation for implementing the embodiment of the present invention can be viewed as being recorded by the connection and arrangement of the hardware components, and thus the connection and arrangement method is the memory and It is obvious to a person skilled in the art that they can be considered equivalent.
[0203] The embodiments described above with respect to the processor and the memory are not mutually exclusive and may be selected or combined and implemented as needed. For example, a single hardware device may be configured to operate as a module composed of one or more of the software to perform the operations of an embodiment of the present invention, and vice versa. As another example, in the present specification, all or part of the operations assigned to a certain functional unit may be implemented by one or more of the software stored in a device according to an embodiment of the present invention (preferably, in any one of the recording media belonging to the category of the memory) and configured to be executed by the processor. In such a case, such a functional unit may be referred to as a functional unit "included" in the processor.
[0204]
[0205] Although the present invention has been described with reference to drawings and embodiments, as already mentioned above, it does not mean that the scope of protection of the present invention is limited to the drawings or embodiments presented above, and it will be understood that a person skilled in the relevant technical field can modify and change the present invention in various ways within a scope that does not depart from the spirit and scope of the present invention described in the claims of the present invention patent.
Claims
1. A method for decoding an encoded video bit stream, A step of extracting information related to local illumination compensation (LIC) for the current block being decoded from the above bit string, and obtaining LIC information from the extracted information; A step of determining at least one linear model based on the above LIC information; A step of generating a prediction sample for the current block by the LIC method using the linear model; and a step of restoring the current block using the above prediction sample; A decryption method, characterized in that the linear model is defined by at least one linear function or quadratic function.
2. In paragraph 1, The above LIC information is, Contains model parameters including reference sample values (Ref), scale factors (Scale), shift factors (Shift), and offset factors (Offset). The above linear model is, A decoding method characterized in that it is defined by an arithmetic expression that derives a predicted sample value (Pred) based on the above model parameters.
3. In paragraph 2, The above reference sample values are, A decoding method characterized in that it is determined by a weighted sum of at least one prediction value derived through intra-screen and / or inter-screen prediction.
4. In paragraph 3, The above predicted values are, A decoding method characterized in that it is derived by at least one of motion estimation and template matching.
5. In paragraph 3, A decryption method, characterized in that at least one weight for deriving the weighted sum is selected by an index from a predetermined table.
6. In paragraph 3, A decoding method, characterized in that at least one weight for deriving the weighted sum is determined so as to give a greater weight to a value having a smaller information cost calculated by a method including SAD (Sum of Absolute Differences), SATD (Sum of Absolute Transformed Differences), or MR-SAD (Mean-removal SAD) among each of the predicted values.
7. In paragraph 2, The above LIC information includes a parameter set including coefficients of at least one model parameter, A decoding method, characterized in that each of the above coefficients is selected from a list of at least one predetermined parameter set.
8. In paragraph 7, The list of the above parameter sets is: A decryption method characterized in that it is selected by an index from a predetermined table.
9. In paragraph 7, The list of the above parameter sets is: A decryption method characterized in that it is constructed from a candidate list including a parameter set of LIC used in a surrounding block of the current block.
10. In paragraph 9, The list of the above parameter sets is: A decryption method characterized in that the above candidate list is configured based on the result of re-ordering based on template matching.
11. In paragraph 7, The list of the above parameter sets is: A decoding method, characterized in that it includes at least one parameter set predicted in the same form as that adopted by the encoder based on information obtained from a previously decoded bit string.
12. In paragraph 1, The steps for obtaining the above LIC information are: A decryption method, comprising: a step of extracting information of available surrounding blocks and obtaining the LIC information from the extracted information when a boundary condition exists that blocks on the top or left of the current block cannot be used.
13. In paragraph 12, The above boundary conditions are, A decryption method characterized by being specified by a high-level bitstream syntax.
14. In paragraph 1, The above linear model is, A decryption method characterized in that it is defined by a combination of at least one linear function and at least one quadratic function.
15. In paragraph 1, The above linear model is, A decryption method characterized in that it includes at least one linear function expressed in the form of α*p[x]+β when the predicted value is p[x].
16. In paragraph 1, The above linear model is, When the predicted value is p[x], α*(p[x] 2 )+β*p[x]+γ, characterized in that it includes at least one quadratic function expressed in the form of.
17. A method for encoding a video signal into a bit string, A step of extracting information related to local illumination compensation (LIC) for a current block based on a previously encoded video signal, and obtaining LIC information from the extracted information; A step of determining at least one linear model based on the above LIC information; A step of generating a prediction sample for the current block using the linear model; a step of encoding the current block using the above prediction sample; and A step of recording the encoding result in the bit string; A decryption method, characterized in that the linear model is defined by at least one linear function or quadratic function.
18. In paragraph 17, The above LIC information is, Contains model parameters including reference sample values (Ref), scale factors (Scale), shift factors (Shift), and offset factors (Offset). The above linear model is, An encoding method characterized in that it is defined by an arithmetic expression that derives a predicted sample value (Pred) based on the above model parameters.
19. In paragraph 17, The steps for obtaining the above LIC information are: An encoding method, comprising: a step of extracting information of available surrounding blocks and obtaining the LIC information from the extracted information when a boundary condition exists that blocks on the top or left of the current block cannot be used.
20. A decoder device configured to decode a video bit stream encoded by a computing device, A receiver that receives a bit string; An output section that outputs the decrypted video; A reference buffer that stores information about at least one decrypted picture; processor; and a memory for storing instructions executable by the processor; The above commands are configured to include commands for extracting information related to local illumination compensation (LIC) for a current block from the bit string; obtaining LIC information from the extracted information; determining at least one linear model based on the LIC information; generating a prediction sample for the current block by a LIC method using the linear model; and restoring the current block using the prediction sample. A decoder device, characterized in that the linear model is defined by at least one linear function or quadratic function.