IP Library › Granted Patent US 12,501,036
Granted Patent B2
US 12,501,036 · App. 18/608,275 · Granted Dec 16, 2025

Method for intra prediction, encoder and decoder

Inventor: Fan Wang (Dongguan, CN)
Assignee: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., LTD.
H04N19/11H04N19/119H04N19/159H04N19/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,501,036
App. No.
18/608,275
Granted
Dec 16, 2025
Kind
B2
Abstract

A method for intra prediction, applied to an encoder, the method includes: a prediction mode parameter of a current block is acquired, herein the prediction mode parameter indicates that an intra prediction value of the current block is determined by using a Template-based Intra Mode Derived (TIMD) mode; a template of the current block is determined, herein the template includes at least two sub-templates; a weight of each of at least two prediction modes on a first unit of the current block is determined according to respective costs of the at least two prediction modes on a first sub-template, herein the at least two sub-templates include the first sub-template; and the intra prediction value of the current block is determined according to the respective weights of the at least two prediction modes on the first unit.

Claims (53)

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

acquiring a prediction mode parameter of a current block, wherein the prediction mode parameter indicates that an intra prediction value of the current block is determined by using a Template-based Intra Mode Derived (TIMD) mode;

determining a template of the current block, wherein the template comprises at least two sub-templates;

determining a weight of each of at least two prediction modes on a first unit of the current block according to respective costs of the at least two prediction modes on a first sub-template, wherein the at least two sub-templates comprise the first sub-template; and

determining the intra prediction value of the current block according to the respective weights of the at least two prediction modes on the first unit.

2 . The method of claim 1 , wherein the first sub-template comprises a sub-template of the at least two sub-templates which is closest to the first unit.

3 . The method of claim 1 , wherein determining the weight of each of the at least two prediction modes on the first unit according to the respective costs of the at least two prediction modes on the first sub-template comprises:

determining the weight of each of the at least two prediction modes on the first unit according to the respective costs of the at least two prediction modes on the first sub-template and respective costs of the at least two prediction modes on a second sub-template, wherein the at least two sub-templates comprise the second sub-template.

4 . The method of claim 3 , wherein a distance between the first sub-template and the first unit is less than a distance between the second sub-template and the first unit, and the costs of the at least two prediction modes on the first sub-template have a greater impact on the weights than the costs of the at least two prediction modes on the second sub-template.

5 . The method of claim 1 , wherein determining the weight of each of the at least two prediction modes on the first unit according to the respective costs of the at least two prediction modes on the first sub-template comprises:

determining the weight of each of the at least two prediction modes on the first unit according to the respective costs of the at least two prediction modes on the first sub-template and respective costs of the at least two prediction modes on the template.

6 . The method of claim 1 , further comprising:

determining a weight of each of the at least two prediction modes on a second unit of the current block according to respective costs of the at least two prediction modes on the template,

wherein determining the intra prediction value of the current block according to the respective weights of the at least two prediction modes on the first unit comprises:

determining the intra prediction value of the current block according to the respective weights of the at least two prediction modes on the first unit and the respective weights of the at least two prediction modes on the second unit of the current block.

7 . The method of claim 1 , wherein the first unit comprises a sub-block, a portion or a pixel of the current block.

8 . The method of claim 1 , further comprising:

partitioning the current block into at least two units, wherein the at least two units comprise the first unit.

9 . The method of claim 1 , wherein the at least two prediction modes are determined according to at least one of: costs of candidate modes on the template, or costs of the candidate modes on one or more of the at least two sub-templates.

10 . The method of claim 9 , wherein in a case that the at least two prediction modes are determined according to the costs of the candidate modes on one or more of the at least two sub-templates, the respective costs of the at least two prediction modes on the template do not exceed a first value, wherein the first value is a preset threshold or an integer multiple of a cost of the first prediction mode on the template, and the first prediction mode is a mode with a lowest cost on the template.

11 . The method of claim 1 , wherein the at least two sub-templates comprise at least one of: a pixel block adjacent to a left side of the current block, a pixel block adjacent to an upper side of the current block, a pixel block at upper left of the current block, a pixel block at lower left of the current block, or a pixel block at upper right of the current block.

12 . The method of claim 1 , wherein the current block comprises a Coding Unit (CU) or a Prediction Unit (PU).

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

acquiring a prediction mode parameter of a current block, wherein the prediction mode parameter indicates that an intra prediction value of the current block is determined by using a Template-based Intra Mode Derived (TIMD) mode;

determining a template of the current block, wherein the template comprises at least two sub-templates;

determining a weight of each of at least two prediction modes on a first unit of the current block according to respective costs of the at least two prediction modes on a first sub-template, wherein the at least two sub-templates comprise the first sub-template; and

determining the intra prediction value of the current block according to the respective weights of the at least two prediction modes on the first unit.

14 . An encoder, comprising:

a processor; and

a memory, configured to store a computer program executable by the processor,

wherein the processor is configured to:

acquire a prediction mode parameter of a current block, wherein the prediction mode parameter indicates that an intra prediction value of the current block is determined by using a Template-based Intra Mode Derived (TIMD) mode;

determine a template of the current block, wherein the template comprises at least two sub-templates;

determine a weight of each of at least two prediction modes on a first unit of the current block according to respective costs of the at least two prediction modes on a first sub-template, wherein the at least two sub-templates comprise the first sub-template; and

determine the intra prediction value of the current block according to the respective weights of the at least two prediction modes on the first unit.

15 . The encoder of claim 14 , wherein the first sub-template comprises a sub-template of the at least two sub-templates which is closest to the first unit.

16 . The encoder of claim 14 , wherein the processor is configured to:

determine the weight of each of the at least two prediction modes on the first unit according to the respective costs of the at least two prediction modes on the first sub-template and respective costs of the at least two prediction modes on a second sub-template, wherein the at least two sub-templates comprise the second sub-template.

17 . The encoder of claim 16 , wherein a distance between the first sub-template and the first unit is less than a distance between the second sub-template and the first unit, and the costs of the at least two prediction modes on the first sub-template have a greater impact on the weights than the costs of the at least two prediction modes on the second sub-template.

18 . The encoder of claim 14 , wherein the processor is configured to:

determine the weight of each of the at least two prediction modes on the first unit according to the respective costs of the at least two prediction modes on the first sub-template and respective costs of the at least two prediction modes on the template.

19 . The encoder of claim 14 , wherein the processor is further configured to:

determine a weight of each of the at least two prediction modes on a second unit of the current block according to respective costs of the at least two prediction modes on the template,

wherein the processor is configured to:

determine the intra prediction value of the current block according to the respective weights of the at least two prediction modes on the first unit and the respective weights of the at least two prediction modes on the second unit of the current block.

20 . A decoder, comprising:

a processor; and

a memory, configured to store a computer program executable by the processor,

wherein the processor is configured to:

acquire a prediction mode parameter of a current block, wherein the prediction mode parameter indicates that an intra prediction value of the current block is determined by using a Template-based Intra Mode Derived (TIMD) mode;

determine a template of the current block, wherein the template comprises at least two sub-templates;

determine a weight of each of at least two prediction modes on a first unit of the current block according to respective costs of the at least two prediction modes on a first sub-template, wherein the at least two sub-templates comprise the first sub-template; and

determine the intra prediction value of the current block according to the respective weights of the at least two prediction modes on the first unit.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Mar 18, 2024
From: WANG, FAN
To: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., LTD.
Reel/Frame 066814/0914 →
Continuity (2)
Continuation PCTCN2021121046 · Sep 27, 2021
Related Publication 20240223757A1 · Jul 4, 2024
References Cited (12)
US 20170374369A1 · Chuang · 2017 [cited by applicant]
US 20190166370A1 · Xiu · 2019 [cited by applicant]
US 20190215521A1 · Chuang et al. · 2019 [cited by applicant]
US 20200145668A1 · Kotra et al. · 2020 [cited by applicant]
US 20240275941A1 · Zhang · 2024 [cited by examiner]
CN 112292854A · 2021 [cited by applicant]
WO 2017192995A1 · 2017 [cited by applicant]
Cao, Keming et al. “JVET-W0123-v1: 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, 2… [cited by applicant]
Wang, Yang et al. “JVET-V0098-v2: EE2-related: Template-based Intra Mode Derivation Using MPMs”, Joint Video Experts Team (JVET) of ITU-T SG 16 WP 3 and ISO/EC JTC 1/SC 29 22nd Meeting, by teleconference, Apr. 20-28, 20… [cited by applicant]
International Search Report in the international application No. PCT/CN2021/121046, 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/121046, mailed on Jun. 23, 2022. 6 pages with English translation. [cited by applicant]
Supplementary European Search Report in the European application No. 21958036.2, mailed on Apr. 30, 2025. 14 pages. [cited by applicant]