Intra prediction for image and video compression
AssigneeGoogle Inc.
InventorsJames Bankoski, Debargha Mukherjee
Life of this patent
Estimating the term…
Abstract
A method for intra-prediction of a current block includes selecting peripheral pixels of the current block, where the peripheral pixels are used to generate a prediction block for the current block; for each prediction pixel of the prediction block, performing steps including selecting two respective pixels of the peripheral pixels; and calculating the prediction pixel by interpolating at least the two respective pixels; and coding a residual block corresponding to a difference between the current block and the prediction block.
Claims20
A method for intra-prediction of a current block, comprising:
- selecting peripheral pixels of the current block, wherein the peripheral pixels are used to generate a prediction block for the current block;
- for each prediction pixel of the prediction block, performing steps comprising:
- selecting, based on intra-prediction mode parameters, two respective pixels of the peripheral pixels, wherein the intra-prediction mode parameters result in adjusting positions along a peripheral pixel line and in varying prediction angles such that different prediction pixels of the prediction block have different prediction angles;
- and
- calculating the prediction pixel by interpolating at least the two respective pixels;
- and
- coding a residual block corresponding to a difference between the current block and the prediction block.
An apparatus for intra-prediction of a current block, comprising:
- a memory;
- and
- a processor, the processor configured to execute instructions stored in the memory to:
- select first peripheral pixels of the current block, wherein the first peripheral pixels are along a first edge of the current block;
- for each prediction pixel of a prediction block for the current block, perform instructions to:
- determine, based on intra-prediction mode parameters, a first intercept along a first continuous line that includes the first peripheral pixels at respective integer locations, wherein the intra-prediction mode parameters result in adjusting positions along a peripheral pixel line and in varying prediction angles such that different prediction pixels of the prediction block have different prediction angles;
- determine, using a location of the each prediction pixel and the first intercept, a second intercept along a second continuous line,
- wherein the second continuous line includes second peripheral pixels,
- wherein the second peripheral pixels are along a second edge of the current block, and
- wherein the second edge is perpendicular to the first edge;
- and
- calculate, using at least one of the first intercept and the second intercept,
- a value for the each prediction pixel;
- and
- code a residual block corresponding to a difference between the current block and the prediction block.
A method of generating a prediction block for a current block using intra-prediction, comprising:
- determining peripheral pixels for generating the prediction block of the current block, wherein the peripheral pixels is integer pixel locations along a peripheral pixel line;
- determining, based on intra-prediction mode parameters, a respective sub-pixel location of the peripheral pixel line for each pixel of the prediction block, wherein the intra-prediction mode parameters result in adjusting positions along the peripheral pixel line and in varying prediction angles such that different prediction pixels of the prediction block have different prediction angles;
- and
- for each prediction pixel of the prediction block, calculating the prediction pixel as an interpolation of nearest integer pixels of the peripheral pixels corresponding to the respective sub-pixel location of the each prediction pixel.
Dependencies are inferred from the claim text.