1. 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; 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; 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.