A method and device for segmenting one or more candidates in an image
having image elements is disclosed. The method includes identifying a
location for one of the candidates in the image, where the location is
based at a given image element, and computing one or more response values
at neighboring image elements that are in a neighborhood of the location.
Image element clusters are created from the computed response values and
one or more of the image element clusters are selected as object
segmentations for one or more of the candidates.