Encoding and decoding method, apparatus and communication system
AssigneeGuangdong Oppo Mobile Telecommunications Corp., Ltd.
InventorJunyan Huo
Life of this patent
Estimating the term…
Abstract
A method for predicting an image is provided. The method include (i) determining prediction parameters of a current block in a bitstream; (ii) determining a matrix-based intra prediction (MIP) input sample of the current block based on neighboring samples of the current block and the prediction parameters; (iii) setting a shifting number parameter (sW) as a first fixed value; (iv) setting a shifting offset parameter (fO) as a second fixed value; and (v) determining an MIP prediction sample of the current block based on an MIP weighting matrix, the MIP input sample, the shifting offset parameter (fO), and the shifting number parameter (sW).
Claims18
A method for predicting an image, comprising:
- determining prediction parameters of a current block in a bitstream;
- determining a matrix-based intra prediction (MIP) input sample of the current block based on neighboring samples of the current block and the prediction parameters,
- setting a shifting number parameter (sW) as a first fixed value, wherein the first fixed value is set independently of the prediction parameters;
- setting a shifting offset parameter (fO) as a second fixed value wherein the second fixed value is set independently from the first fixed value, and wherein the second fixed value is set independently of the prediction parameters;
- determining an MIP prediction sample (predMip[x][y]) of the current block based on an MIP weight matrix, the MIP input sample, the shifting offset parameter (fO), and the shifting number parameter (sW);
- and
- performing an upsampling process to the MIP prediction sample of the current block so as to generate intra predicted samples (predSamples[x][y]) of the current block.
A decoding apparatus for decoding a picture, comprising:
- a processor and a memory configured to store instructions executable by the processor;
- wherein the processor is configured to:
- parse a bitstream to determine a prediction mode of a coding block;
- determine a matrix-based intra prediction (MIP) input sample of the coding block based on neighboring samples of the coding block and prediction parameters of the coding block;
- set a shifting number parameter (sW) as a first fixed value, wherein the first fixed value is set independently of the prediction parameters;
- set a shifting offset parameter (fO) as a second fixed value wherein the second fixed value is set independently from the first fixed value, and wherein the second fixed value is set independently of the prediction parameters;
- determine an MIP weight matrix of the coding block based on the prediction parameters;
- determine an MIP prediction sample of the coding block based on the MIP weight matrix, the MIP input sample, the shifting offset parameter (fO), and the shifting number parameter (sW);
- and
- perform an upsampling process to the MIP prediction sample so as to generate intra predicted samples of the coding block.
An encoding apparatus for encoding a picture, comprising:
- a processor and a memory configured to store instructions executable by the processor;
- wherein the processor is configured to:
- receive an input picture and divide the input picture into one or more coding blocks;
- determine a matrix-based intra prediction (MIP) input sample of the coding block based on neighboring samples of the coding block and prediction parameters of the coding block;
- set a shifting number parameter (sW) as a first fixed value, wherein the first fixed value is set independently of the prediction parameters;
- set a shifting offset parameter (fO) as a second fixed value wherein the second fixed value is set independently from the first fixed value, and wherein the second fixed value is set independently of the prediction parameters;
- determine an MIP weight matrix of the coding block based on the prediction parameters;
- determine an MIP prediction sample of the coding block based on the MIP weight matrix, the MIP input sample, the shifting offset parameter (fO), and the shifting number parameter (sW);
- and
- perform an upsampling process to the MIP prediction sample so as to generate intra predicted samples of the coding block.
Dependencies are inferred from the claim text.