Patent ID: 8457200

Claim:
A method of decoding a group of image elements in a frame of an encoded video sequence, said method comprising the steps of: a) providing a first prediction of said group of image elements, wherein said providing comprises providing an intra prediction of said group of image elements based on a decoded version of an encoded group of image elements in said frame; b) providing a second prediction of said group of image elements; c) providing an initial first weighting factor; d) generating a first weighting factor comprising multiple factor values by modifying said initial first weighting factor with a factor modifier, each factor value being associated with an image element position in said group of image elements and said factor values being dependent on their associated relative image element position in said group of image elements, wherein said factor modifier is selected to have multiple factor values dependent on a relative image element position in said group of image elements, where a first factor value associated with a first image element position in said group of image elements is larger than a second factor value associated with a second image element position in said group of image elements, said second image element position being further from said encoded group of image elements in said frame than said first image element position; e) providing a second weighting factor; f) determining a weighted first prediction based on said first prediction and said first weighting factor; g) determining a second weighted prediction based on said second prediction and said second weighting factor; h) generating a decoded version of said group of image elements based on said weighted first prediction and said second weighted prediction.