IP Library › Granted Patent US 11,159,814
Granted Patent B2
US 11,159,814 · App. 17/230,769 · Granted Oct 26, 2021

Image coding/decoding method, coder, decoder, and storage medium

Inventors: Junyan Huo (Guangdong, CN); Yanzhuo Ma (Guangdong, CN); Shuai Wan (Guangdong, CN); Wei Zhang (Guangdong, CN); Fuzheng Yang (Guangdong, CN); Haixin Wang (Guangdong, CN); Yu Sun (Guangdong, CN)
Assignee: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., LTD.
H04N19/50H04N19/176
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 11,159,814
App. No.
17/230,769
Granted
Oct 26, 2021
Kind
B2
Abstract

Provided are a picture encoding and decoding method, an encoder, a decoder and a storage medium. The decoder decodes a bitstream to obtain a size, a coding mode, and residuals of a current block; when the coding mode of the current block is an MIP mode, calculates a second offset based on the size of the current block, a first offset and reconstructed values of adjacent pixels corresponding to the current block; calculates a second prediction value of a pixel at a preset position in the current block by using the second offset, the preset position being a particular position in the current block; performs filtering on the second prediction value to obtain first prediction values of all pixels in the current block; and calculates sum values of the first prediction values and the residuals, and sets the sum values as reconstructed values of the current block.

Claims (31)

1. A picture encoding method, applicable to an encoder, the method comprising:

determining a size of a current block;

when encoding the current block by using a Matrix-based Intra Prediction (MIP) mode, calculating a second offset based on the size of the current block, a first offset, and reconstructed values of adjacent pixels corresponding to the current block, wherein the second offset is a value used to perform prediction through the MIP mode and the first offset is a constant;

calculating a second prediction value of a pixel at a preset position in the current block by using the second offset, wherein the preset position is a particular position in the current block;

performing filtering on the second prediction value to obtain first prediction values of all pixels in the current block;

calculating residuals between original values and the first prediction values of the current block; and

encoding the residuals.

2. The method of claim 1 , wherein the second offset is used for controlling an offset of a result of bit-shift operation in a process of calculating the second prediction value.

3. A picture decoding method, applicable to a decoder, the method comprising:

decoding a bitstream to obtain a size, a coding mode, and residuals of a current block;

when the coding mode of the current block is a Matrix-based Intra Prediction (MIP) mode, calculating a second offset based on the size of the current block, a first offset, and reconstructed values of adjacent pixels corresponding to the current block, wherein the second offset is a value used to perform prediction through the MIP mode and the first offset is a constant;

calculating a second prediction value of a pixel at a preset position in the current block by using the second offset, wherein the preset position is a particular position in the current block;

performing filtering on the second prediction value to obtain first prediction values of all pixels in the current block; and

calculating sum values of the first prediction values and the residuals, and setting the sum values as reconstructed values of the current block.

4. The method of claim 3 , wherein

the second offset is used for controlling an offset of a result of bit-shift operation in a process of calculating the second prediction value.

5. An encoder, comprising: a first processor, a first memory configured to store instructions executable by the first processor, a first communication interface, and a first bus configured to connect the first processor, the first memory and the first communication interface, wherein the first processor is configured to, when executing the instructions, perform steps of:

determining a size of a current block;

when encoding the current block by using a Matrix-based Intra Prediction (MIP) mode, calculating a second offset based on the size of the current block, a first offset, and reconstructed values of adjacent pixels corresponding to the current block, wherein the second offset is a value used to perform prediction through the MIP mode and the first offset is a constant;

calculating a second prediction value of a pixel at a preset position in the current block by using the second offset, wherein the preset position is a particular position in the current block;

performing filtering on the second prediction value to obtain first prediction values of all pixels in the current block;

calculating residuals between original values and the first prediction values of the current block; and

encoding the residuals.

6. The encoder of claim 5 , wherein the second offset is used for controlling an offset of a result of bit-shift operation in a process of calculating the second prediction value.

7. A decoder, comprising: a second processor, a second memory configured to store instructions executable by the second processor, a second communication interface, and a second bus configured to connect the second processor, the second memory and the second communication interface, wherein the second processor is configured to, when executing the instructions, perform steps of:

decoding a bitstream to obtain a size, a coding mode, and residuals of a current block;

when the coding mode of the current block is a Matrix-based Intra Prediction (MIP) mode, calculating a second offset based on the size of the current block, a first offset, and reconstructed values of adjacent pixels corresponding to the current block, wherein the second offset is a value used to perform prediction through the MIP mode and the first offset is a constant;

calculating a second prediction value of a pixel at a preset position in the current block by using the second offset, wherein the preset position is a particular position in the current block;

performing filtering on the second prediction value to obtain first prediction values of all pixels in the current block; and

calculating sum values of the first prediction values and the residuals, and setting the sum values as reconstructed values of the current block.

8. The decoder of claim 7 , wherein the second offset is used for controlling an offset of a result of bit-shift operation in a process of calculating the second prediction value.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Apr 14, 2021
From: HUO, JUNYAN; MA, YANZHUO; WAN, SHUAI; ZHANG, WEI; YANG, FUZHENG; WANG, HAIXIN; SUN, YU
To: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., LTD.
Reel/Frame 055921/0382 →
Continuity (2)
Continuation PCTCN2019107612 · Sep 24, 2019
Related Publication 20210235104A1 · Jul 29, 2021
Cited By (1)
US 12,341,951