IP Library › Granted Patent US 11,882,304
Granted Patent B2
US 11,882,304 · App. 17/463,146 · Granted Jan 23, 2024

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,882,304
App. No.
17/463,146
Granted
Jan 23, 2024
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; determines a first prediction value of the current block according to the second offset; and determines a reconstructed value of the current block based on the first prediction value.

Claims (53)

1. 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;

determining a first offset for calculating a second offset

when the coding mode of the current block is a Matrix-based Intra Prediction (MIP) mode,

calculating theft second offset based on the size of the current block, the first offset and reconstructed values of adjacent pixels corresponding to the current block;

determining a first prediction value of the current block according to the second offset; and

determining a reconstructed value of the current block based on the first prediction value.

2. The method of claim 1 , further comprising:

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

performing linear interpolation on the second prediction value to obtain first prediction values in the current block.

3. The method of claim 2 , further comprising:

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 1 , wherein the first offset is a constant.

5. The method of claim 1 , further comprising:

determining an MIP block size index number corresponding to the current block according to the size of the current block; and

determining the first offset according to the MIP block size index number.

6. The method of claim 5 , wherein the determining the first offset according to the MIP block size index number comprises:

determining the first offset corresponding to the MIP block size index number according to a correspondence relation between pre-stored index numbers and offsets.

7. The method of claim 2 , wherein the calculating the second prediction value of the pixel at the preset position in the current block through the second offset comprises:

performing bit-shift operation by using the second offset to obtain the second prediction value.

8. 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;

determining a first offset for calculating a second offset

when encoding the current block by using a Matrix-based Intra Prediction (MIP) mode,

calculating the second offset based on the size of the current block, thee first offset and reconstructed values of adjacent pixels corresponding to the current block;

determining a first prediction value of the current block according to the second offset; and

encoding the current block based on the first prediction value.

9. The method of claim 8 , wherein the first processor is configured to, when executing the instructions, further perform steps of:

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

performing linear interpolation on the second prediction value to obtain first prediction values in the current block.

10. The encoder of claim 8 , wherein the first offset is a constant.

11. The encoder of claim 8 , wherein the first processor is configured to, when executing the instructions, further perform steps of:

determining an MIP block size index number corresponding to the current block according to the size of the current block; and determining the first offset according to the MIP block size index number.

12. The encoder of claim 11 , wherein the determining the first offset according to the MIP block size index number comprises: determining the first offset corresponding to the MIP block size index number according to a correspondence relation between pre-stored index numbers and offsets.

13. The encoder of claim 9 , wherein the calculating the second prediction value of the pixel at the preset position in the current block through the second offset comprises:

performing bit-shift operation by using the second offset to obtain the second prediction value.

14. 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;

determining a first offset for calculating a second offset

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

determining a first prediction value of the current block according to the second offset; and

determining a reconstructed value of the current block based on the first prediction value.

15. The method of claim 14 , wherein the second processor is configured to, when executing the instructions, further perform steps of:

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

performing linear interpolation on the second prediction value to obtain first prediction values in the current block.

16. The method of claim 15 , wherein the second processor is configured to, when executing the instructions, further perform steps of:

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

17. The decoder of claim 14 , wherein the first offset is a constant.

18. The decoder of claim 14 , wherein the second processor is configured to, when executing the instructions, further perform steps of: determining an MIP block size index number corresponding to the current block according to the size of the current block; and

determine the first offset according to the MIP block size index number.

19. The decoder of claim 18 , wherein the determining the first offset according to the MIP block size index number comprises: determining the first offset corresponding to the MIP block size index number according to a correspondence relation between pre-stored index numbers and offsets.

20. The decoder of claim 15 , wherein the calculating the second prediction value of the pixel at the preset position in the current block through the second offset comprises:

performing bit-shift operation by using the second offset to obtain the second prediction value.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 31, 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 057346/0312 →
Continuity (3)
Continuation 17230769 · Apr 14, 2021
Continuation PCTCN2019107612 · Sep 24, 2019
Related Publication 20210400297A1 · Dec 23, 2021