1. A method for partitioning an image including a plurality of points into segments, comprising: selecting a set of base points in the image; initializing and emitting a wavefront from each base point; propagating each wavefront according to a speed function until a termination condition is satisfied to determine a corresponding final wavefront; and segmenting the image according to each final wavefront.