Patent ID: 10114995

Abstract:
A method and arrangements for estimating one or more dominating orientations (αdom) in at least a part (201; 301) of a digital image (200; 300; 600). Representative angles (α1 . . . αN) representing angles of gradient vectors (g1 . . . gN) for pixels (1 . . . N) of said at least part are obtained (401). It is further obtained (402) a target number (n) of dominating orientations. It is also obtained (404) a first sum (a) comprising added sine factors based on computed sines. The sines are computed for angles that correspond to said representative angles (α1 . . . αN) multiplied with two times the target number (n). Further it is obtained (405) a second sum (b) comprising added cosine factors based on computed cosines for the same angles that said sine were computed for. Said one or more dominating orientations (αdom) are then estimated (406) based on the first sum (a), the second sum (b) and the target number (n).