1. A method for estimating one or more dominating orientations (α dom ) in at least a part of a digital image, wherein the method comprises: obtaining representative angles (α 1. .. α N ) representing angles of gradient vectors (g 1. .. g N ) for pixels of said at least part of the digital image, obtaining a target number (n) of dominating orientations, obtaining a first sum (a) comprising added sine factors, the sine factors being based on computed sines, which sines are computed for angles that correspond to said representative angles (α 1. .. α N ) multiplied with two times the target number (n), obtaining a second sum (b) comprising added cosine factors, the cosine factors being based on computed cosines, which cosines are computed for angles that correspond to said representative angles (α 1. .. α N ) multiplied with two times the target number (n), and estimating said one or more dominating orientations (α dom ) based on the first sum (a), the second sum (b) and the target number (n).