1. A method of segmenting an input image into a plurality of segments, said method comprising the steps of: deriving an image representative of boundary strength of each of a plurality of pixels in the input image; adding a random noise pattern to at least a portion of said derived image; determining a plurality of local minima in the derived image with the random noise pattern added, each of the plurality of local minima comprising a point with a lowest measure of boundary strength within a pre-defined region in the derived image; and associating each of the plurality of pixels in the input image with one of the determined local minima to segment the image based on a geodesic distance transform of the measure between the determined local minima and the pixels.