Intra prediction method, coder, decoder, and coding and decoding system
AssigneeGuangdong Oppo Mobile Telecommunications Corp., Ltd.
InventorFan WANG
Life of this patent
Estimating the term…
Abstract
An intra prediction method, an encoder, and a storage medium are provided. In the method, after determining the weights of at least two prediction modes on at least two units in a current block, the rate of change of a weight in a certain direction can be determined further according to the weights of the at least two units, and according to the rate of change, the weights on other units on the current block can then be determined by means of a smooth transition to determine an intra prediction value of the current block.
Claims20
A method for intra prediction, applied to an encoder, comprising:
- acquiring a prediction mode parameter of a current block, the prediction mode parameter indicating that a template-based intra mode derivation (TIMD) is used to determine an intra prediction value of the current block;
- determining first weights of at least two prediction modes on a first unit of the current block, respectively, and determining second weights of the at least two prediction modes on a second unit of the current block, respectively;
- wherein coordinates of the first unit and coordinates of the second unit are different in a first direction;
- determining first change rates of the at least two prediction modes in the first direction based on the first weights, the second weights, the coordinates of the first unit and the coordinates of the second unit;
- determining fourth weights of the at least two prediction modes on a fourth unit based on the first change rates and coordinates of the fourth unit;
- and
- determining the intra prediction value of the current block based on the first weights, the second weights and the fourth weights.
An encoder, comprising:
- a processor and a memory,
- wherein the memory is configured to store computer programs, and
- the processor is configured to:
- acquire a prediction mode parameter of a current block, the prediction mode parameter indicating that a template-based intra mode derivation (TIMD) is used to determine an intra prediction value of the current block;
- and
- determine first weights of at least two prediction modes on a first unit of the current block, respectively, and determine second weights of the at least two prediction modes on a second unit of the current block, respectively;
- wherein coordinates of the first unit and coordinates of the second unit are different in a first direction,
- wherein the processor is further configured to determine first change rates of the at least two prediction modes in the first direction based on the first weights, the second weights, the coordinates of the first unit and the coordinates of the second unit;
- wherein the processor is further configured to determine fourth weights of the at least two prediction modes on a fourth unit based on the first change rates and coordinates of the fourth unit;
- and
- wherein the processor is further configured to determine the intra prediction value of the current block based on the first weights, the second weights and the fourth weights.
A non-transitory computer readable storage medium storing computer programs that when executed by a processor, cause the processor to perform a method of intra prediction to generate and store a bitstream, wherein the method comprises:
- acquiring a prediction mode parameter of a current block, the prediction mode parameter indicating that a template-based intra mode derivation (TIMD) is used to determine an intra prediction value of the current block;
- determining first weights of at least two prediction modes on a first unit of the current block, respectively, and determining second weights of the at least two prediction modes on a second unit of the current block, respectively;
- wherein coordinates of the first unit and coordinates of the second unit are different in a first direction;
- determining first change rates of the at least two prediction modes in the first direction based on the first weights, the second weights, the coordinates of the first unit and the coordinates of the second unit;
- determining fourth weights of the at least two prediction modes on a fourth unit based on the first change rates and coordinates of the fourth unit;
- and
- determining the intra prediction value of the current block based on the first weights, the second weights and the fourth weights.
Dependencies are inferred from the claim text.