IP Library Granted Patent US 12,413,717
Granted Patent B2
US 12,413,717 · App. 18/616,608 · Granted Sep 9, 2025

Intra prediction method, coder, decoder, and coding and decoding system

Inventor: Fan Wang (Dongguan, CN)
Assignee: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., LTD.
H04N19/11H04N19/176H04N19/593
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,413,717
App. No.
18/616,608
Granted
Sep 9, 2025
Kind
B2
Abstract

An intra prediction method, an encoder, and a decoder are provided. In the method, after determining the weights of at least two prediction modes on at least two units in a current block, the rate of change of a weight in a certain direction can be determined further according to the weights of the at least two units, and according to the rate of change, the weights on other units on the current block can then be determined by means of a smooth transition to determine an intra prediction value of the current block.

Claims (53)

1. A method for intra prediction, applied to a decoder, comprising:

acquiring a prediction mode parameter of a current block, the prediction mode parameter indicating that a template-based intra mode derivation (TIMD) is used to determine an intra prediction value of the current block;

determining first weights of at least two prediction modes on a first unit of the current block, respectively, and determining second weights of the at least two prediction modes on a second unit of the current block, respectively; wherein coordinates of the first unit and coordinates of the second unit are different in a first direction;

determining first change rates of the at least two prediction modes in the first direction based on the first weights, the second weights, the coordinates of the first unit and the coordinates of the second unit;

determining fourth weights of the at least two prediction modes on a fourth unit based on the first change rates and coordinates of the fourth unit; and

determining the intra prediction value of the current block based on the first weights, the second weights and the fourth weights.

2. The method of claim 1 , further comprising:

determining third weights of the at least two prediction modes on a third unit of the current block, respectively, wherein the coordinates of the first unit and coordinates of the third unit are different in a second direction, and the second direction is perpendicular to the first direction; and

determining second change rates of the at least two prediction modes in the second direction based on the first weights, the third weights, the coordinates of the first unit and the coordinates of the third unit,

wherein determining the fourth weights of the at least two prediction modes on the fourth unit based on the first change rates and the coordinates of the fourth unit comprises:

determining the fourth weights based on the first change rates, the second change rates, and the coordinates of the fourth unit.

3. The method of claim 2 , wherein the first unit is located at a left-top corner position of the current block, the second unit is located at a left-bottom corner position of the current block, and the third unit is located at a right-top corner position of the current block.

4. The method of claim 2 , wherein the first unit is located at a left-top corner position of the current block, the second unit is located at a right-middle position of the current block, and the third unit is located at a middle-top position of the current block.

5. The method of claim 1 , wherein the at least two prediction modes are determined based on costs of candidate modes on a template of the current block, or based on costs of candidate modes on a part of sub-templates in a template.

6. The method of claim 5 , wherein in case that the at least two prediction modes are determined based on the costs of the candidate modes on the part of sub-templates in the template, costs of the at least two prediction modes on the template does not exceed a first value; the first value is a preset threshold value, or the first value is twice of a cost of a first prediction mode, and the first prediction mode is a mode with a minimum cost on the template.

7. The method of claim 1 , wherein units of the current block comprise sub-blocks of the current block, portions of the current block, or pixels of the current block.

8. The method of claim 1 , wherein the current block comprises a coding unit (CU) or a prediction unit (PU).

9. A method for intra prediction, applied to an encoder, comprising:

acquiring a prediction mode parameter of a current block, the prediction mode parameter indicating that a template-based intra mode derivation (TIMD) is used to determine an intra prediction value of the current block;

determining first weights of at least two prediction modes on a first unit of the current block, respectively, and determining second weights of the at least two prediction modes on a second unit of the current block, respectively; wherein coordinates of the first unit and coordinates of the second unit are different in a first direction;

determining first change rates of the at least two prediction modes in the first direction based on the first weights, the second weights, the coordinates of the first unit and the coordinates of the second unit;

determining fourth weights of the at least two prediction modes on a fourth unit based on the first change rates and coordinates of the fourth unit; and

determining the intra prediction value of the current block based on the first weights, the second weights and the fourth weights.

10. The method of claim 9 , further comprising:

determining third weights of the at least two prediction modes on a third unit of the current block, respectively, wherein the coordinates of the first unit and coordinates of the third unit are different in a second direction, and the second direction is perpendicular to the first direction; and

determining second change rates of the at least two prediction modes in the second direction based on the first weights, the third weights, the coordinates of the first unit and the coordinates of the third unit,

wherein determining the fourth weights of the at least two prediction modes on the fourth unit based on the first change rates and the coordinates of the fourth unit comprises:

determining the fourth weights based on the first change rates, the second change rates, and the coordinates of the fourth unit.

11. The method of claim 10 , wherein the first unit is located at a left-top corner position of the current block, the second unit is located at a left-bottom corner position of the current block, and the third unit is located at a right-top corner position of the current block.

12. The method of claim 10 , wherein the first unit is located at a left-top corner position of the current block, the second unit is located at a right-middle position of the current block, and the third unit is located at a middle-top position of the current block.

13. A decoder, comprising:

a processor and a memory,

wherein the memory is configured to store computer programs, and

the processor is configured to:

acquire a prediction mode parameter of a current block, the prediction mode parameter indicating that a template-based intra mode derivation (TIMD) is used to determine an intra prediction value of the current block; and

determine first weights of at least two prediction modes on a first unit of the current block, respectively, and determine second weights of the at least two prediction modes on a second unit of the current block, respectively; wherein coordinates of the first unit and coordinates of the second unit are different in a first direction,

wherein the processor is further configured to determine first change rates of the at least two prediction modes in the first direction based on the first weights, the second weights, the coordinates of the first unit and the coordinates of the second unit;

wherein the processor is further configured to determine fourth weights of the at least two prediction modes on a fourth unit based on the first change rates and coordinates of the fourth unit; and

wherein the processor is further configured to determine the intra prediction value of the current block based on the first weights, the second weights and the fourth weights.

14. The decoder of claim 13 , wherein the processor is further configured to:

determine third weights of the at least two prediction modes on a third unit of the current block, respectively, wherein the coordinates of the first unit and coordinates of the third unit are different in a second direction, and the second direction is perpendicular to the first direction; and

determine second change rates of the at least two prediction modes in the second direction based on the first weights, the third weights, the coordinates of the first unit and the coordinates of the third unit,

wherein the processor is further configured to:

determine the fourth weights based on the first change rates, the second change rates, and the coordinates of the fourth unit.

15. The decoder of claim 14 , wherein the first unit is located at a left-top corner position of the current block, the second unit is located at a left-bottom corner position of the current block, and the third unit is located at a right-top corner position of the current block.

16. The decoder of claim 14 , wherein the first unit is located at a left-top corner position of the current block, the second unit is located at a right-middle position of the current block, and the third unit is located at a middle-top position of the current block.

17. The decoder of claim 13 , wherein the at least two prediction modes are determined based on costs of candidate modes on a template of the current block, or based on costs of candidate modes on a part of sub-templates in a template.

18. The decoder of claim 17 , wherein in case that the at least two prediction modes are determined based on the costs of the candidate modes on the part of sub-templates in the template, costs of the at least two prediction modes on the template does not exceed a first value; the first value is a preset threshold value, or the first value is twice of a cost of a first prediction mode, and the first prediction mode is a mode with a minimum cost on the template.

19. The decoder of claim 13 , wherein units of the current block comprise sub-blocks of the current block, portions of the current block, or pixels of the current block.

20. An encoder, comprising:

a processor and a memory,

wherein the memory is configured to store computer programs, and

the processor is configured to invoke and run the computer programs stored in the memory to cause the electronic device to perform the method of claim 9 .

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Mar 26, 2024
From: WANG, FAN
To: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., LTD.
Reel/Frame 066900/0023 →
Continuity (2)
Continuation PCTCN2021121045 · Sep 27, 2021
Related Publication 20240236309A1 · Jul 11, 2024
References Cited (17)
US 20190166370A1 · Xiu · 2019 [cited by applicant]
US 20190215531A1 · Lee · 2019 [cited by examiner]
US 20200137386A1 · Zhao · 2020 [cited by applicant]
US 20210266547A1 · Zhao · 2021 [cited by applicant]
US 20210266587A1 · Liu · 2021 [cited by applicant]
US 20210274214A1 · Moon · 2021 [cited by applicant]
CN 110809888A · 2020 [cited by applicant]
CN 112449180A · 2021 [cited by applicant]
CN 112543323A · 2021 [cited by applicant]
CN 113302918A · 2021 [cited by applicant]
WO 2017192995A1 · 2017 [cited by applicant]
Yang et al (Title: EE2-2.1: Results for template-based intra mode derivation using MPMs, Joint Video Experts Team (JVET) of ITU-T SG 16 WP 3 and ISO/IEC JTC 1/SC 29 23rd Meeting, by teleconference, Jul. 7-16, 2021) (Yea… [cited by examiner]
Keming Cao et al. (Title: EE2-related: Fusion for template-based intra mode derivation, Joint Video Experts Team (JVET) of ITU-T SG 16 WP 3 and ISO/IEC JTC 1/SC 29 23rd Meeting, by teleconference, Jul. 7-16, 2021) (Year… [cited by examiner]
Wang, Yang et al, “EE2-related: Template-based intra mode derivation using MPMs”, Joint Video Experts Team (JVET) of ITU-T SG 16 WP 3 and ISO/IEC JTC 1/SC 29 22nd Meeting, by teleconference, JVET-V0098-v2, Apr. 20-28, 2… [cited by applicant]
Zhao, Jie et al, “EE2-Related: Improvements of Decoder-Side Intra Mode Derivation”, Joint Video Experts Team (JVET) of ITU-T SG 16 WP 3 and ISO/IEC JTC 1/SC 29 22nd Meeting, by teleconference, JVET-V0087, Apr. 20-28, 20… [cited by applicant]
International Search Report in the international application No. PCT/CN2021/121045, mailed on Jun. 23, 2022. 7 pages with English translation. [cited by applicant]
Written Opinion of the International Search Authority in the international application No. PCT/CN2021/121045, mailed on Jun. 23, 2022. 6 pages with English translation. [cited by applicant]