A method of segmenting an object in a digital image comprising providing a
digital image comprising a plurality of intensities corresponding to a
domain of points in a N-dimensional space, selecting a region of interest
in the image, determining a threshold intensity value for points in said
region of interest, wherein an object of interest is defined by points
with an intensity above a first pre-determined threshold, computing a
distance map for each point in said object of interest, tobogganing each
point in said object of interest based on said distance map, and
selecting a cluster based on the results of said tobogganing.