1. A method of segmenting a digital image ( 10 ) composed of pixels, the method comprising the steps of: determining hard border fragments (a, b, c) in the digital image ( 10 ) by means of an edge detection process, characterised by determining respective sides (I, II, III, IV, V, VI, VII) of each of said hard border fragments (a, b, c), and forming segments (A, B, C, D, E) by determining for each pixel a closest side (I, II, III, IV, V, VI, VII), and by assigning each pixel of said digital image ( 10 ) to a segment (A, B, C, D, E) corresponding with the determined closest side (I, II, III, IV, V, VI, VII) to the respective pixel.