IP Library › Granted Patent US 12,593,033
Granted Patent B2
US 12,593,033 · App. 18/964,187 · Granted Mar 31, 2026

Colour component prediction method, encoder, decoder and storage medium

Inventors: Junyan Huo (Dongguan, CN); Shuai Wan (Dongguan, CN); Yanzhuo Ma (Dongguan, CN)
Assignee: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., LTD.
H04N19/105H04N19/132H04N19/176H04N19/186
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,593,033
App. No.
18/964,187
Granted
Mar 31, 2026
Kind
B2
Abstract

Disclosed are a colour component prediction method, an encoder, a decoder, and a storage medium. The method includes: determining adjacent reference pixels of a current block in a picture; constructing a subset of adjacent reference pixels according to the adjacent reference pixels, wherein the subset of adjacent reference pixels contains a part of the adjacent reference pixels; and calculating model parameters of a prediction model according to the subset of adjacent reference pixels, wherein the prediction model includes N prediction sub-models, the N prediction sub-models correspond to N groups of model parameters, and the prediction sub-models are used to perform, through corresponding model parameters, cross-component prediction of colour components to be predicted.

Claims (88)

1 . A method for predicting colour components, which is applied to an encoder, the method comprising:

determining adjacent reference samples of a current block in a picture;

constructing a subset of adjacent reference samples according to the adjacent reference samples, wherein the subset of adjacent reference samples contains a part of the adjacent reference samples; and

calculating model parameters of a prediction model according to the subset of adjacent reference samples, wherein the prediction model is configured to perform cross-component prediction of colour components to be predicted,

wherein constructing the subset of adjacent reference samples according to the adjacent reference samples comprises:

determining candidate positions of candidate samples based on at least one edge of the current block; and determining reference samples corresponding to the candidate positions from the adjacent reference samples, and forming the subset of adjacent reference samples with the determined reference samples;

wherein determining the candidate positions of the candidate samples based on the at least one edge of the current block comprises:

calculating a first sampling interval according to a preset number of candidate samples and a length of the at least one edge of the current block; and determining a reference point from the at least one edge of the current block, and determining the candidate positions according to the first sampling interval.

2 . The method of claim 1 , wherein determining the adjacent reference samples of the current block in the picture comprises:

acquiring reference samples adjacent to at least one edge of the current block, wherein the at least one edge of the current block comprises at least one of: an upper row, a right upper row, a left column and a left lower column; and

obtaining the adjacent reference samples according to the acquired reference samples.

3 . The method of claim 1 , wherein determining the candidate positions of the candidate samples based on the at least one edge of the current block comprises:

determining the candidate positions based on sample positions corresponding to reference samples adjacent to the at least one edge of the current block.

4 . The method of claim 1 , wherein determining the candidate positions of the candidate samples based on the at least one edge of the current block comprises:

determining the candidate positions based on colour component intensity values corresponding to reference samples adjacent to the at least one edge of the current block.

5 . The method of claim 1 , wherein determining the candidate positions of the candidate samples based on the at least one edge of the current block comprises:

determining the candidate positions based on sample positions and colour component intensity values corresponding to the reference samples adjacent to the at least one edge of the current block.

6 . The method of claim 1 , wherein the candidate positions of the candidate samples are determined according to formulas of:

Δ

=

length

/

(

N

2

/

2

)

shift

=

Δ

/

2

wherein Δ represents a sampling interval, length represents a quantity of reference samples in a row adjacent to an upper edge of the current block or a quantity of reference samples in a column adjacent to a left edge of the current block, N 2 represents an expected quantity of reference samples forming the subset of adjacent reference samples of the current block, and shift represents a starting point position of a determined reference sample.

7 . The method of claim 1 , wherein after calculating the first sampling interval, the method further comprises:

adjusting the first sampling interval to obtain a second sampling interval; and

determining the candidate positions according to the second sampling interval based on the reference point.

8 . A method for predicting colour components, which is applied to a decoder, the method comprising:

determining adjacent reference samples of a current block in a picture;

constructing a subset of adjacent reference samples according to the adjacent reference samples, wherein the subset of adjacent reference samples contains a part of the adjacent reference samples; and

calculating model parameters of a prediction model according to the subset of adjacent reference samples, wherein the prediction model is configured to perform cross-component prediction of colour components to be predicted,

wherein constructing the subset of adjacent reference samples according to the adjacent reference samples comprises:

determining candidate positions of candidate samples based on at least one edge of the current block; and determining reference samples corresponding to the candidate positions from the adjacent reference samples, and forming the subset of adjacent reference samples with the determined reference samples;

wherein determining the candidate positions of the candidate samples based on the at least one edge of the current block comprises:

calculating a first sampling interval according to a preset number of candidate samples and a length of the at least one edge of the current block; and determining a reference point from the at least one edge of the current block, and determining the candidate positions according to the first sampling interval.

9 . The method of claim 8 , wherein determining the adjacent reference samples of the current block in the picture comprises:

acquiring reference samples adjacent to at least one edge of the current block, wherein the at least one edge of the current block comprises at least one of: an upper row, a right upper row, a left column and a left lower column; and

obtaining the adjacent reference samples according to the acquired reference samples.

10 . The method of claim 8 , wherein determining the candidate positions of the candidate samples based on the at least one edge of the current block comprises:

determining the candidate positions based on sample positions corresponding to reference samples adjacent to the at least one edge of the current block.

11 . The method of claim 8 , wherein determining the candidate positions of the candidate samples based on the at least one edge of the current block comprises:

determining the candidate positions based on colour component intensity values corresponding to reference samples adjacent to the at least one edge of the current block.

12 . The method of claim 8 , wherein determining the candidate positions of the candidate samples based on the at least one edge of the current block comprises:

determining the candidate positions based on sample positions and colour component intensity values corresponding to the reference samples adjacent to the at least one edge of the current block.

13 . The method of claim 8 , wherein the candidate positions of the candidate samples are determined according to formulas of:

Δ

=

length

/

(

N

2

/

2

)

shift

=

Δ

/

2

wherein Δ represents a sampling interval, length represents a quantity of reference samples in a row adjacent to an upper edge of the current block or a quantity of reference samples in a column adjacent to a left edge of the current block, N 2 represents an expected quantity of reference samples forming the subset of adjacent reference samples of the current block, and shift represents a starting point position of a determined reference sample.

14 . The method of claim 8 , wherein after calculating the first sampling interval, the method further comprises:

adjusting the first sampling interval to obtain a second sampling interval; and

determining the candidate positions according to the second sampling interval based on the reference point.

15 . An encoder comprising a first memory and a first processor, wherein

the first memory is configured to store a computer program runnable on the first processor; and

the first processor is configured to, when running the computer program, perform the method of claim 1 .

16 . A decoder comprising a second memory and a second processor, wherein

the second memory is configured to store a computer program runnable on the second processor; and

the second processor is configured to, when running the computer program, perform the method of claim 8 .

17 . A computer-readable storage medium, having a computer program and a bitstream stored thereon, wherein the computer program, when executed by a processor, enables the processor to perform the following operations to generate the bitstream:

determining adjacent reference samples of a current block in a picture;

constructing a subset of adjacent reference samples according to the adjacent reference samples, wherein the subset of adjacent reference samples contains a part of the adjacent reference samples; and

calculating model parameters of a prediction model according to the subset of adjacent reference samples, wherein the prediction model is configured to perform cross-component prediction of colour components to be predicted,

wherein constructing the subset of adjacent reference samples according to the adjacent reference samples comprises:

determining candidate positions of candidate samples based on at least one edge of the current block; and determining reference samples corresponding to the candidate positions from the adjacent reference samples, and forming the subset of adjacent reference samples with the determined reference samples;

wherein determining the candidate positions of the candidate samples based on the at least one edge of the current block comprises:

calculating a first sampling interval according to a preset number of candidate samples and a length of the at least one edge of the current block; and determining a reference point from the at least one edge of the current block, and determining the candidate positions according to the first sampling interval.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Nov 29, 2024
From: HUO, JUNYAN; WAN, SHUAI; MA, YANZHUO
To: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., LTD.
Reel/Frame 069435/0779 →
Continuity (6)
Continuation 18449877 · Aug 15, 2023
Continuation 17722082 · Apr 15, 2022
Continuation 17397680 · Aug 9, 2021
Continuation PCTCN2019113771 · Oct 28, 2019
Provisional Application 62819851 · Mar 18, 2019
Related Publication 20250097407A1 · Mar 20, 2025
References Cited (16)
US 8126053B2 · Song · 2012 [cited by applicant]
US 8265147B2 · Kim · 2012 [cited by applicant]
US 8885726B2 · Zhao · 2014 [cited by applicant]
US 9462273B2 · Zhang · 2016 [cited by applicant]
US 10142625B2 · Zhao · 2018 [cited by applicant]
US 11477440B2 · Yoo · 2022 [cited by examiner]
US 20150030069A1 · Zhao et al. · 2015 [cited by applicant]
US 20190045184A1 · Zhang et al. · 2019 [cited by applicant]
US 20230328231A1 · Heo · 2023 [cited by examiner]
US 20250016312A1 · Lee · 2025 [cited by examiner]
US 20250071267A1 · Lee · 2025 [cited by examiner]
US 20250267252A1 · Li · 2025 [cited by examiner]
Junyan Huo et al, “CE3-related: Fixed Reference Samples Design for CCLM”, Joint Video Experts Team (JVET) of ITU-T SG 16 WP 3 and ISO/IEC JTC 1/SC 29/WG 11, JVET-M0211-v3, 13th Meeting: Marrakech, MA, Jan. 9-18, 2019, p… [cited by applicant]
First Office Action of the Chinese application No. 202310752393.0, issued on Nov. 4, 2025. [cited by applicant]
First Office Action of the Indonesian application No. P00202108033, issued on Nov. 11, 2025. [cited by applicant]
Decision of Rejection of the Chinese application No. 202310752393.0, issued on Jan. 16, 2026. [cited by applicant]