Chroma block prediction method and apparatus

US11943451B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-11943451-B2
Application numberUS-202117365372-A
CountryUS
Kind codeB2
Filing dateJul 1, 2021
Priority dateJan 3, 2019
Publication dateMar 26, 2024
Grant dateMar 26, 2024

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

This application provides a chroma block prediction method and apparatus. The method includes: obtaining chroma values of chroma samples; obtaining, luma values of luma samples corresponding to the chroma samples; obtaining, from the luma values, a first luma set and a second luma set; grouping the chroma values into a first chroma set and a second chroma set; determining a scaling coefficient in a linear model based on an average value of luma values in the first luma set, an average value of luma values in the second luma set, an average value of chroma values in the first chroma set, and an average value of chroma values in the second chroma set; determining, based on the scaling coefficient, an offset factor in the linear model; and determining prediction information of the chroma block based on the scaling coefficient and the offset factor.

First claim

Opening claim text (preview).

What is claimed is: 1. A chroma block prediction method, comprising: obtaining chroma values of chroma samples; obtaining, based on neighboring samples of a luma block corresponding to a chroma block, luma values of luma samples; obtaining, from the obtained luma values, a first luma set and a second luma set; grouping chroma values of chroma samples corresponding to luma samples associated with luma values in the first luma set into a first chroma set, and grouping chroma values of chroma samples corresponding to luma samples associated with luma values in the second luma set into a second chroma set; determining a scaling coefficient in a linear model corresponding to the chroma block based on an average value of the luma values in the first luma set, an average value of the luma values in the second luma set, an average value of the chroma values in the first chroma set, and an average value of the chroma values in the second chroma set; determining, based on the scaling coefficient, an offset factor in the linear model corresponding to the chroma block; and determining prediction information of the chroma block based on the scaling coefficient, the offset factor, and luma reconstruction information corresponding to the chroma block, wherein the luma reconstruction information corresponding to the chroma block comprises downsampling information of a luma reconstructed block corresponding to the chroma block; wherein the obtaining, from the obtained luma values, a first luma set and a second luma set comprises: sorting the luma values of the luma samples corresponding to the chroma samples at preset locations in ascending order, to obtain a first luma value queue; and grouping luma values of a first half part in the first luma value queue into the first luma set, and grouping luma values of a second half part in the first luma value queue into the second luma set; or sorting the luma values of the luma samples corresponding to the chroma samples at the preset locations in descending order, to obtain a second luma value queue; and grouping luma values of a second half part in the second luma value queue into the first luma set, and grouping luma values of a first half part in the second luma value queue into the second luma set. 2. The method according to claim 1 , further comprising: obtaining indication information, and determining, based on the indication information, an intra prediction mode corresponding to the chroma block, wherein the intra prediction mode comprises at least one of a linear mode (LM), a linear mode above (LMA), or a linear mode left (LML); and determining preset locations based on the intra prediction mode corresponding to the chroma block. 3. The method according to claim 1 , wherein the obtaining chroma values of chroma samples comprises: obtaining the chroma values of the chroma samples at preset locations from neighboring samples of the chroma block based on a preset correspondence between an intra prediction mode and a preset location and the intra prediction mode corresponding to the chroma block. 4. The method according to claim 1 , wherein location coordinates of top neighboring samples of the chroma block are (0, −1), (1, −1), . . . , and (X−1, −1), and location coordinates of left neighboring samples of the chroma block are (−1, 0), (−1, 1), . . . , and (−1, Y−1), wherein X represents a width of the chroma block, and Y represents a height of the chroma block; and if an intra prediction mode corresponding to the chroma block is a cross-component linear mode LM, location coordinates of the chroma samples at the preset locations are (0, −1), (X−1, −1), (−1, 0), and (−1, Y−1). 5. The method according to claim 4 , wherein the location coordinates of the top neighboring samples of the chroma block are (0, −1), (1, −1), . . . , and −(X−1, −1), wherein X represents the width of the chroma block; and if the intra prediction mode corresponding to the chroma block is a cross-component linear mode above LMA, the location coordinates at the preset locations are (0, −1), (X/4, −1), (X−1−X/4, −1), and (X−1, −1), or (0, −1), (X/4, −1), (3*X/4, −1), and (X−1, −1). 6. The method according to claim 4 , wherein the location coordinates of the left neighboring samples of the chroma block are (−1, 0), (−1, 1), . . . , and (−1, Y−1), wherein Y represents the height of the chroma block; and if the intra prediction mode corresponding to the chroma block is a cross-component linear mode left LML, the location coordinates at the preset locations are (−1, 0), (−1, Y/4), (−1, Y−1−Y/4), and (−1, Y−1), or (−1, 0), (−1, Y/4), (−1, 3*Y/4), and (−1, Y−1). 7. The method according to claim 1 , wherein the determining, based on an average value of the luma values in the first luma set, an average value of the luma values in the second luma set, an average value of the chroma values in the first chroma set, and an average value of the chroma values in the second chroma set, a scaling coefficient in a linear model corresponding to the chroma block comprises: α = C Lmean - C Rmean L Lmean - L Rmean , wherein α is the scaling coefficient in the linear model corresponding to the chroma block, C Lmean is the average value of the chroma values in the first chroma set, C Rmean is the average value of the chroma values in the second chroma set, L Lmean is the average value of the luma values in the first luma set, and L Rmean is the average value of the luma values in the second luma set. 8. The method according to claim 1 , wherein the determining, based on the scaling coefficient, an offset factor in the linear model corresponding to the chroma block comprises: determining, based on the scaling coefficient, the average value of the chroma values in the first chroma set, and the average value of the luma values in the first luma set, the offset factor in the linear model corresponding to the chroma block. 9. The method according to claim 8 , wherein the determining, based on the scaling coefficient, the average value of the chroma values in the first chroma set, and the average value of the luma values in the first luma set, the offset factor in the linear model corresponding to the chroma block comprises: β=C Lmean −α*L Lmean , wherein α is the scaling coefficient, β is the offset factor in the linear model corresponding to the chroma block, C Lmean is the average value of the chroma values in the first chroma set, and L Lmean is the average value of the luma values in the first luma set. 10. The method according to claim 1 , wherein the determining, based on the scaling coefficient, an offset factor in the linear model corresponding to the chroma block comprises: determining, based on the scaling coefficient, an average value of the chroma values of the chroma samples at preset locations, and the average value of the luma values of the luma samples corresponding to the chroma samples, the offset factor in the linear model corresponding to the chroma block. 11. The method according to claim

Assignees

Inventors

Classifications

  • H04N19/159Primary

    Prediction type, e.g. intra-frame, inter-frame or bidirectional frame prediction · CPC title

  • Sampling, masking or truncation of coding units, e.g. adaptive resampling, frame skipping, frame interpolation or high-frequency transform coefficient masking · CPC title

  • H04N19/176Primary

    the region being a block, e.g. a macroblock · CPC title

  • H04N19/186Primary

    the unit being a colour or a chrominance component · CPC title

  • H04N19/11Primary

    among a plurality of spatial predictive coding modes · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US11943451B2 cover?
This application provides a chroma block prediction method and apparatus. The method includes: obtaining chroma values of chroma samples; obtaining, luma values of luma samples corresponding to the chroma samples; obtaining, from the luma values, a first luma set and a second luma set; grouping the chroma values into a first chroma set and a second chroma set; determining a scaling coefficient …
Who is the assignee on this patent?
Huawei Tech Co Ltd
What technology area does this patent fall under?
Primary CPC classification H04N19/159. Mapped technology areas include Electricity.
When was this patent published?
Publication date Tue Mar 26 2024 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 3 related publications on this page (citations in our corpus or others sharing the same primary CPC).