Decoding method, encoding method, decoders and encoders

RU2025130583A3Pending Publication Date: 2026-08-28GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
RU2025130583
Authority / Receiving Office
RU · RU
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-04-07
Publication Date
2026-08-28
Patent Text Reader
Need to check novelty before this filing date? Find Prior Art
No text content released.

Claims

1. A decoding method comprising: determines whether the intra-block copy local illumination compensation (IBC-LIC) mode is used for the current block; if it is determined that the IBC-LIC mode is used for the current block, determining at least one area of ​​a template for illumination compensation, wherein at least one area of ​​the template is used to determine the first model; predicting the current block based on the IBC mode used for the current block to obtain the first predicted block of the current block; and performing illumination compensation on the first predicted block based on the first model, thereby obtaining a second predicted block of the current block.

2. The method according to claim 1, characterized in that at least one area of ​​the template contains at least one of the following: the top area of ​​the template; or left area of ​​the template.

3. The method according to claim 2, characterized in that the sampling step used when at least one area of ​​the template is the upper area of ​​the template or the left area of ​​the template is less than the sampling step used when at least one area of ​​the template includes the upper area of ​​the template and the left area of ​​the template, wherein a sample obtained from at least one region of the template according to the sample selection step is used to determine the first model.

4. The method according to claim 2, characterized in that the number of sample rows of the upper region of the template used when at least one region of the template is the upper region of the template is greater than the number of sample rows of the upper region of the template used when at least one region of the template includes the upper region of the template and the left region of the template; and / or the number of sample columns of the upper region of the template used when at least one region of the template is the upper region of the template is greater than the number of sample columns of the upper region of the template used when at least one region of the template includes the upper region of the template and the left region of the template.

5. The method according to claim 2, characterized in that the number of sample rows of the left region of the template used when at least one region of the template is the left region of the template is greater than the number of sample rows of the left region of the template used when at least one region of the template includes the top region of the template and the left region of the template; and / or the number of sample columns of the left region of the template used when at least one region of the template is the left region of the template is greater than the number of sample columns of the left region of the template used when at least one region of the template includes the top region of the template and the left region of the template.

6. The method according to any one of paragraphs 1-5, characterized in that determining whether the intra-block copy local illumination compensation (IBC-LIC) mode is used for the current block includes: receiving the first flag in the case where the IBC mode used for the current block is the advanced motion vector prediction (AMVP) IBC mode; and In case the first flag indicates that the current block is allowed to use IBC-LIC mode, determining that IBC-LIC mode is used for the current block.

7. The method according to claim 6, characterized in that determining at least one area of ​​the template for illumination compensation includes: obtaining the first index; and defining the template region indicated by the first index as at least one template region.

8. The method according to any one of paragraphs 1-5, characterized in that determining whether the intra-block copy local illumination compensation (IBC-LIC) mode is used for the current block includes: obtaining a second index in the case where the IBC mode used for the current block is the advanced motion vector prediction (AMVP) IBC mode; and if the value of the second index is the first value, determining that the IBC-LIC mode is not in use for the current block; or if the value of the second index is a second value different from the first value, determining that the IBC-LIC mode is used for the current block, wherein, when the value of the second index represents the second value, at least one template region comprises the template region indicated by the second value.

9. A coding method comprising: performing illumination compensation on a third predicted block based on a model determined according to a traversable region of the template, obtaining a first set of distortion costs, wherein the third predicted block is a predicted block obtained by predicting the current block using an advanced motion vector prediction (AMVP) intra-block copy (IBC) mode; performing illumination compensation on a fourth predicted block based on the inherited template region to obtain a second set of distortion costs, wherein the fourth predicted block is a reference block in a merging candidate list obtained by predicting the current block based on the IBC merging mode; and determining a prediction mode to be used for the current block based on a first set of distortion costs and a second set of distortion costs.

10. The method according to claim 9, characterized in that the traversable area of ​​the template contains at least one of the following: the top area of ​​the template; or left area of ​​the template.

11. The method according to claim 10, characterized in that the sampling step used when the traversed area of ​​the template is the upper area of ​​the template or the left area of ​​the template is less than the sampling step used when the traversed area of ​​the template includes the upper area of ​​the template and the left area of ​​the template, wherein the model that is determined according to the traversable area of ​​the template is a model that is determined on the basis of a sample obtained from the traversable area of ​​the template according to the sample selection step.

12. The method according to claim 10, characterized in that the number of sample rows of the upper region of the template used when the traversed region of the template is the upper region of the template is greater than the number of sample rows of the upper region of the template used when the traversed region of the template includes the upper region of the template and the left region of the template; and / or the number of sample columns of the upper region of the template used when the traversed region of the template is the upper region of the template is greater than the number of sample columns of the upper region of the template used when the traversed region of the template includes the upper region of the template and the left region of the template.

13. The method according to claim 10, characterized in that the number of sample rows of the left region of the template used when the traversed region of the template is the left region of the template is greater than the number of sample rows of the left region of the template used when the traversed region of the template includes the upper region of the template and the left region of the template; and / or the number of sample columns of the left region of the template used when the traversed region of the template is the left region of the template is greater than the number of sample columns of the left region of the template used when the traversed region of the template includes the upper region of the template and the left region of the template.

14. The method according to any one of paragraphs 9-13, characterized in that determining the prediction mode used for the current block based on the first set of distortion costs and the second set of distortion costs includes: determining that the prediction mode used for the current block is the AMVP IBC mode if the smallest value in the first set of distortion costs is less than the smallest value in the second set of distortion costs and the distortion cost of the current block in any other prediction mode.

15. The method according to paragraph 14, characterized in that the method additionally includes: defining a first flag, wherein the first flag indicates whether the current block is allowed to use the intra-block copy local illumination compensation (IBC-LIC) mode; and encoding of the first flag.

16. The method according to paragraph 15, characterized in that the method additionally includes: determining a first index, wherein the first index specifies at least one region of the pattern for illumination compensation; and first index coding.

17. The method according to paragraph 14, characterized in that the method additionally includes: definition of the second index, wherein, if the value of the second index is the first value, the second index indicates that the intra-block copy local illumination compensation (IBC-LIC) mode is not used for the current block; or, if the value of the second index is a second value different from the first value, the second index indicates at least one area of ​​the pattern for illumination compensation; and coding of the second index.

18. A decoder comprising: a first determining unit configured to determine whether an intra-block copy local illumination compensation (IBC-LIC) mode is used for the current block; a second determining unit configured to: if it is determined that the IBC-LIC mode is used for the current block, determine at least one area of ​​a template for illumination compensation, wherein at least one area of ​​the template is used to determine the first model; a prediction unit configured to predict the current block based on the IBC mode used for the current block, obtaining a first predicted block of the current block; and a compensation unit configured to perform illumination compensation with respect to the first predicted block based on the first model to obtain a second predicted block of the current block.

19. An encoder containing: a first compensation unit configured to perform illumination compensation with respect to a third predicted block based on a model determined according to a traversable region of the template, with obtaining a first set of distortion costs, wherein the third predicted block is a predicted block obtained by predicting the current block using an advanced motion vector prediction (AMVP) intra-block copy (IBC) mode; a second compensation unit configured to perform illumination compensation with respect to the fourth predicted block based on the inherited template region to obtain a second set of distortion costs, wherein the fourth predicted block is a reference block in a merging candidate list obtained by predicting the current block based on the IBC merging mode; and a determining unit configured to determine a prediction mode used for the current block based on the first set of distortion costs and the second set of distortion costs.

20. A machine-readable data carrier on which a computer program and a bit stream are stored, wherein the computer program, when executed by the processor, enables the processor to perform the steps of the encoding method according to paragraph 9 with the generation of the bit stream.