A method and apparatus for encoding video, a method and apparatus for decoding video, as well as a device, a system and a storage medium

RU2025130768A3Pending Publication Date: 2026-09-01GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 0 Cites 0 Cited by

Patent Information

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

Claims

1. A method for decoding video, including determining the prediction mode of the current block; determining the reference block of the current block and determining N groups of parameters of the linear model, where N is a positive integer greater than 1; and selecting a target group of linear model parameters from N groups of linear model parameters and determining the prediction block of the current block in accordance with the target group of linear model parameters.

2. The method according to claim 1, characterized in that determining N groups of parameters of the linear model includes determining N groups of parameters of the linear model based on the surrounding reconstructed region of the reference block and the surrounding reconstructed region of the current block.

3. The method according to paragraph 2, characterized in that the determination of N groups of parameters of the linear model based on the surrounding reconstructed area of ​​the reference block and the surrounding reconstructed area of ​​the current block includes determining a set of first samples from the surrounding reconstructed region of the reference block and determining a set of second samples from the surrounding reconstructed region of the current block; classifying the set of first samples and the set of second samples into N groups of sets of samples; and for the i-th group of sample sets among N groups of sample sets, determining the i-th group of parameters of the linear model based on at least one first sample and at least one second sample contained in the i-th group of sample sets.

4. The method according to claim 3, characterized in that the surrounding reconstructed region of the reference block contains a region of the template of the reference block, and the surrounding reconstructed region of the current block contains a region of the template of the current block; and determining a set of first samples from the surrounding reconstructed region of the reference block and determining a set of second samples from the surrounding reconstructed region of the current block includes determining a set of first samples from the region of the template of the reference block and determining a set of second samples from the region of the template of the current block.

5. The method according to claim 4, characterized in that determining the set of first samples from the template area of ​​the reference block and determining the set of second samples from the template area of ​​the current block includes performing sampling in the template area of ​​the reference block according to a first sampling step size to obtain a set of first samples, wherein the first sampling step size is less than a predetermined sampling step size; and performing sample selection in the template area of ​​the current block according to the first sample selection step size to obtain a set of second samples.

6. The method according to claim 4, characterized in that the template area of ​​the support block contains the template area of ​​the upper side of the support block and / or the template area of ​​the left side of the support block, and the template area of ​​the current block contains the template area of ​​the upper side of the current block and / or the template area of ​​the left side of the current block.

7. The method according to paragraph 3, characterized in that the classification of the set of first samples and the set of second samples into N groups of sets of samples includes classification of the first samples contained in the set of first samples into N classes of first samples; classifying the second samples contained in the set of second samples into N classes of second samples; and obtaining N groups of sample sets based on N classes of the first samples and N classes of the second samples.

8. The method according to paragraph 7, characterized in that the classification of the first samples contained in the set of first samples according to N classes of first samples includes determining the first mean of the samples of the set of first samples; and classification of the set of first samples into N classes of first samples based on the first mean of the samples.

9. The method according to paragraph 8, characterized in that the classification of the set of first samples into N classes of first samples based on the first mean value of the samples includes classifying the first samples in the set of first samples that are greater than or equal to the first mean of the samples into a first class of first samples; and classifying the first samples in the set of first samples that are less than or equal to the first mean of the samples into a second class of first samples.

10. The method according to claim 3, characterized in that it further includes adding the first samples in the i-th group of sets of samples to obtain a first total value and adding the second samples in the i-th group of sets of samples to obtain a second total value.

11. The method according to claim 10, characterized in that it further includes determining the sum of the squares of the first samples in the i-th group of sets of samples to obtain a third total value.

12. The method according to claim 11, characterized in that it further includes obtaining a fourth total value by multiplying the first samples and the second samples in the i-th group of sets of samples, and then adding the multiplied results.

13. The method according to claim 12, characterized in that determining the i-th group of parameters of the linear model based on at least one first sample and at least one second sample contained in the i-th group of sets of samples includes determining the i-th group of parameters of the linear model based on the first total value, the second total value, the third total value, and the fourth total value.

14. A method of encoding video, comprising determining the prediction mode of the current block; determining the reference block of the current block and determining N groups of parameters of the linear model, where N is a positive integer greater than 1; and selecting a target group of linear model parameters from N groups of linear model parameters and determining the prediction block of the current block in accordance with the target group of linear model parameters.

15. The method according to claim 14, characterized in that determining N groups of parameters of the linear model includes determining N groups of parameters of the linear model based on the surrounding reconstructed region of the reference block and the surrounding reconstructed region of the current block.

16. The method according to claim 15, characterized in that determining N groups of parameters of the linear model based on the surrounding reconstructed area of ​​the reference block and the surrounding reconstructed area of ​​the current block includes determining a set of first samples from the surrounding reconstructed region of the reference block and determining a set of second samples from the surrounding reconstructed region of the current block; classifying the set of first samples and the set of second samples into N groups of sets of samples; and for the i-th group of sample sets among N groups of sample sets, determining the i-th group of parameters of the linear model based on at least one first sample and at least one second sample contained in the i-th group of sample sets.

17. The method according to claim 16, characterized in that the surrounding reconstructed region of the reference block contains a region of the template of the reference block, and the surrounding reconstructed region of the current block contains a region of the template of the current block; and determining a set of first samples from the surrounding reconstructed region of the reference block and determining a set of second samples from the surrounding reconstructed region of the current block includes determining a set of first samples from the region of the template of the reference block and determining a set of second samples from the region of the template of the current block.

18. The method according to claim 17, characterized in that determining the set of first samples from the template area of ​​the reference block and determining the set of second samples from the template area of ​​the current block includes performing sampling in the template area of ​​the reference block according to a first sampling step size to obtain a set of first samples, wherein the first sampling step size is less than a predetermined sampling step size; and performing sample selection in the template area of ​​the current block according to the first sample selection step size to obtain a set of second samples.

19. A video decoding apparatus comprising a mode determination unit configured to determine the prediction mode of the current block; a parameter determination unit configured to: determine a reference block of the current block and determine N groups of parameters of the linear model, wherein N is a positive integer greater than 1; and a transformation node configured to: select a target group of linear model parameters from N groups of linear model parameters and determine a prediction block of the current block in accordance with the target group of linear model parameters.

20. A machine-readable storage medium capable of storing a computer program and a bit stream, wherein the computer program enables a computer to perform the method according to any one of paragraphs 14-18 for generating the bit stream.