# US 2019/0356909 A1 · Video and image coding with wide-angle intra prediction

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2019/0356909 A1
- Document ID: US20190356909A1
- Status: Published application
- Kind: A1
- Application number: 16/473,785
- Filed: 2017-12-29
- Published: 2019-11-21
- Earliest claimed: 2017-01-03
- Assignees: Nokia Technologies Oy
- Applicants: Nokia Technologies Oy
- Inventors: Jani LAINEMA
- Web page: https://patentgrep.com/patent/US20190356909A1

## CPC

- H04N 19/105: Selection of the reference unit for prediction within a chosen coding or prediction mode, e.g. adaptive choice of position and number of pixels used for prediction
- H04N 19/11: among a plurality of spatial predictive coding modes
- H04N 19/13: Adaptive entropy coding, e.g. adaptive variable length coding [AVLC] or context adaptive binary arithmetic coding [CABAC]
- H04N 19/147: according to rate distortion criteria (rate-distortion as a criterion for motion estimation H04N19/567)
- H04N 19/159: Prediction type, e.g. intra-frame, inter-frame or bidirectional frame prediction
- H04N 19/176: the region being a block, e.g. a macroblock
- H04N 19/182: the unit being a pixel
- H04N 19/593: involving spatial prediction techniques
- H04N 19/91: Entropy coding, e.g. variable length coding [VLC] or arithmetic coding
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

The invention relates to a method for decoding, comprising receiving a bitstream comprising encoded image data, forming from the bitstream in a computer memory a set of reference pixels having reference pixel values for intra-picture directional prediction, predicting a pixel value in a predicted image block (P) by intra-picture directional prediction by using values of one or more selected reference pixels (410, 420) in forming a predicted a pixel value, wherein the selected reference pixels (410, 420) are selected from a prediction direction with respect to the predicted pixel, and wherein the prediction direction between the reference pixel (410) and the predicted pixel can be a wide-angle prediction direction that forms an obtuse angle with top-left direction, repeating the pixel prediction for a number of pixels to form a predicted image block, and using the predicted image block (P) in decoding an image block from the bitstream to obtain a decoded image block. A corresponding method for decoding as well as a decoder, an encoder, computer program products for the same purpose, and a signal are provided.

## Claims

### Claim at position 1

1-13. (canceled)

### Claim 14

A method, comprising:
receiving a bitstream comprising encoded image data;
forming from said bitstream in a computer memory a set of reference pixels having reference pixel values for intra-picture directional prediction;
determining an intra-prediction mode for an image block;
determining whether both a wide-angle prediction direction and a narrow-angle prediction direction are associated with said intra-prediction mode, said wide-angle prediction direction forming an obtuse angle with top-left direction;
in case both the wide-angle prediction direction and the narrow-angle prediction direction are associated with said intra-prediction mode, determining from said bitstream a syntax element, and, based on a value of said syntax element, setting a prediction direction of said image block to be said wide-angle prediction direction;
predicting a pixel value in a predicted image block by using intra-picture directional prediction and by using values of one or more selected reference pixels in forming a predicted pixel value, wherein the selected reference pixels are selected from said wide-angle prediction direction with respect to the predicted pixel value; and
repeating the pixel prediction for a number of pixels to form a predicted image block;
using said predicted image block in decoding an image block from said bitstream to obtain a decoded image block.

### Claim 15 (depends on 14)

The method according to claim 14, further comprising:
determining a shape of the predicted image block from said bitstream; and
based on said shape, determining whether both an obtuse angle prediction direction and an acute angle prediction direction are associated with said intra-prediction mode.

### Claim 16 (depends on 14)

The method according to claim 14, further comprising:
determining shape of the predicted image block from said bitstream;
determining probable prediction modes based on said shape;
decoding an indicator from said bitstream indicating whether said prediction direction is one of said probable prediction modes; and
selecting said prediction direction from said probable prediction modes.

### Claim 17 (depends on 14)

The method according to claim 14, further comprising:
determining directional prediction modes to be used in said intra-picture directional prediction;
decoding a direction indicator from said bitstream;
selecting said prediction direction for said predicting said pixel value from a narrow-angle direction and a wide-angle direction, said narrow-angle direction and a wide-angle direction being associated with said direction indicator.

### Claim 18 (depends on 17)

The method according to claim 17, further comprising:
decoding a prediction direction selection indicator from said bitstream; and
selecting said prediction direction for said predicting said pixel value from said narrow-angle direction and said wide-angle direction using said prediction direction selection indicator.

### Claim 19 (depends on 17)

The method according to claim 17, further comprising:
determining shape of the predicted image block from said bitstream;
selecting said prediction direction for said predicting said pixel value from a narrow-angle direction and a wide-angle direction based on said shape.

### Claim 20

A method, comprising:
receiving image data to be encoded;
forming from said image data in a computer memory a set of reference pixels having reference pixel values for intra-picture directional prediction;
determining an intra-prediction mode for an image block;
determining whether both a wide-angle prediction direction and a narrow-angle prediction direction are associated with said intra-prediction mode, said wide-angle prediction direction forming an obtuse angle with top-left direction;
in case both the wide-angle prediction direction and the narrow-angle prediction direction are associated with said intra-prediction mode, forming into said bitstream a syntax element indicating the prediction direction, and, based on a value of said syntax element, setting a prediction direction of said image block to be said wide-angle prediction direction;
predicting a pixel value in a predicted image block by using intra-picture directional prediction and by using values of one or more selected reference pixels in forming a predicted pixel value, wherein the selected reference pixels are selected from a prediction direction with respect to the predicted pixel value; and
repeating the pixel prediction for a number of pixels to form a predicted image block,
using said predicted image block in encoding an image block into a bitstream.

### Claim 21 (depends on 20)

The method according to claim 20, the method further comprising:
determining prediction modes to be used in said intra-picture directional prediction;
determining probable prediction modes based on shape of the predicted image block;
selecting said prediction direction from said probable prediction modes; and
encoding an indicator into said bitstream indicating whether said prediction direction is one of said probable prediction modes.

### Claim 22 (depends on 20)

The method according to claim 20, further comprising:
determining directional prediction modes to be used in said intra-picture directional prediction;
selecting said prediction direction for said predicting said pixel value from a narrow-angle direction and a wide-angle direction, said narrow-angle direction and a wide-angle direction being associated with said direction indicator; and
encoding a direction indicator into said bitstream.

### Claim 23

An apparatus comprising at least one processor, memory including computer program code, the memory and the computer program code configured to, with the at least one processor, cause the apparatus to perform at least the following:
receive a bitstream comprising encoded image data;
form from said bitstream in a computer memory a set of reference pixels having reference pixel values for intra-picture directional prediction;
determine an intra-prediction mode for an image block;
determine whether both a wide-angle prediction direction and a narrow-angle prediction direction are associated with said intra-prediction mode, said wide-angle prediction direction forming an obtuse angle with top-left direction;
in case both a wide-angle prediction direction and a narrow-angle prediction direction are associated with said intra-prediction mode, determine from said bitstream a syntax element, and, based on a value of said syntax element, set a prediction direction of said image block to be said wide-angle prediction direction;
predict a pixel value in a predicted image block by using intra-picture directional prediction and by using values of one or more selected reference pixels in forming a predicted pixel value, wherein the selected reference pixels are selected from a prediction direction with respect to the predicted pixel, and said prediction direction being a wide-angle prediction direction that forms an obtuse angle with top-left direction of said predicted pixel;
repeat the pixel prediction for a number of pixels to form a predicted image block; and
use said predicted image block in decoding an image block from said bitstream to obtain a decoded image block.

### Claim 24 (depends on 23)

The apparatus according to claim 23, wherein the apparatus is further caused to perform:
determine a shape of the predicted image block from said bitstream;
based on said shape, determine whether both an obtuse angle prediction direction and an acute angle prediction direction are associated with said intra-prediction mode.

### Claim 25 (depends on 23)

The apparatus according to claim 23, wherein the apparatus is further caused to perform:
determine said shape from said bitstream;
determine prediction modes to be used in said intra-picture directional prediction;
determine probable prediction modes based on said shape;
decode an indicator from said bitstream indicating whether said prediction direction is one of said probable prediction modes; and
select said prediction direction from said probable prediction modes.

### Claim 26 (depends on 23)

The apparatus according to claim 23, wherein the apparatus is further caused to perform:
determine directional prediction modes to be used in said intra-picture directional prediction;
decode a direction indicator from said bitstream; and
select said prediction direction for said predicting said pixel value from a narrow-angle direction and a wide-angle direction, said narrow-angle direction and a wide-angle direction being associated with said direction indicator.

### Claim 27 (depends on 26)

The apparatus according to claim 26, wherein the apparatus is further caused to perform:
decode a prediction direction selection indicator from said bitstream; and
select said prediction direction for said predicting said pixel value from said narrow-angle direction and said wide-angle direction using said prediction direction selection indicator.

### Claim 28 (depends on 26)

The apparatus according to claim 26, wherein the apparatus is further caused to perform:
determine said shape of predicted image block from said bitstream;
select said prediction direction for said predicting said pixel value from a narrow-angle direction and a wide-angle direction based on said shape.

### Claim 29

An apparatus comprising at least one processor, memory including computer program code, the memory and the computer program code configured to, with the at least one processor, cause the apparatus to perform at least the following:
receive image data to be encoded;
form from said image data in a computer memory a set of reference pixels having reference pixel values for intra-picture directional prediction;
determine an intra-prediction mode for an image block;
determine whether both a wide-angle prediction direction and a narrow-angle prediction direction are associated with said intra-prediction mode, said wide-angle prediction direction forming an obtuse angle with top-left direction;
in case both a wide-angle prediction direction and a narrow-angle prediction direction are associated with said intra-prediction mode, form a syntax element into said bitstream indicating the prediction direction, and, based on a value of said syntax element, set a prediction direction of said image block to be said wide-angle prediction direction;
predict a pixel value in a predicted image block by using intra-picture directional prediction and by using values of one or more selected reference pixels in forming a predicted pixel value, wherein the selected reference pixels are selected from said wide-angle prediction direction with respect to the predicted pixel;
repeat the pixel prediction for a number of pixels to form a predicted image block; and
use said predicted image block in encoding an image block into a bitstream.

### Claim 30 (depends on 29)

The apparatus according to claim 29, the apparatus is further caused to perform:
determine prediction modes to be used in said intra-picture directional prediction,
determine probable prediction modes based on a shape of the predicted image block;
select said prediction direction from said probable prediction modes; and
encode an indicator into said bitstream indicating whether said prediction direction is one of said probable prediction modes.

### Claim 31 (depends on 29)

The apparatus according to claim 29, wherein the apparatus is further caused to perform:
determine directional prediction modes to be used in said intra-picture directional prediction;
select said prediction direction for said predicting said pixel value from a narrow-angle direction and a wide-angle direction, said narrow-angle direction and a wide-angle direction being associated with said direction indicator; and
encode a direction indicator into said bitstream.

### Claim 32

A bitstream signal embodied on a non-transitory computer-readable medium, the signal being arranged to, when decoded on a decoder, to cause the decoder to decode image data from said bitstream signal, the signal comprising a coded prediction error signal having been formed by using intra-picture directional prediction, wherein predicted pixel values have been formed in a predicted image block by using intra-picture directional prediction and by using values of one or more selected reference pixels in forming a predicted pixel value, wherein the selected reference pixels have been selected from a prediction direction with respect to the predicted pixel, and said prediction direction being a wide-angle prediction direction that forms an obtuse angle with top-left direction of said predicted pixel, the bitstream signal arranged to cause the decoder to select the prediction direction to be a wide-angle prediction direction for decoding of the bitstream by determining an intra-prediction mode for an image block, determining whether both a wide-angle prediction direction and a narrow-angle prediction direction are associated with said intra-prediction mode, said wide-angle prediction direction forming an obtuse angle with top-left direction, in case both a wide-angle prediction direction and a narrow-angle prediction direction are associated with said intra-prediction mode, determining based on a syntax element in said bitstream the prediction direction to be said wide-angle prediction direction.
