Patent ID: 11044467

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.