CPC H04N 19/132 (2014.11) [H04N 19/105 (2014.11); H04N 19/119 (2014.11); H04N 19/159 (2014.11); H04N 19/176 (2014.11)] | 20 Claims |
1. 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, and the first fixed value is 6;
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, and the second fixed value is 32;
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.
|