Patent attributes
A method, system and computer program for segmenting an image are provided. The method may include the steps of acquiring a plurality of images, and clustering pixels from one of the plurality of images into one or more segments, each segment being defined in a state of either stable, mesostable or unstable. The clustering may include the steps of determining residual pixels changing by more than a predetermined threshold, grouping the determined residual pixels to form segments selected from the group of unstable and mesostable segments, determining depth for all unstable and mesostable segments, transitioning unstable segments to corresponding mesostable segments if predetermined stability criteria are met, transitioning mesostable segments to corresponding stable segments upon a determination that the mesostable segments have remained stable for a predetermined number of frames, and merging stable and mesostable segments.