Patent attributes
The invention pertains to a method for segmenting an image from a sequence of video images into a foreground and a background, the image being composed of pixels, the method includes assigning an initial foreground probability to each of the pixels; assigning a set of probability propagation coefficients to each of the pixels; and applying a global optimizer to the initial foreground probabilities of the pixels to classify each of the pixels as a foreground pixel or a background pixel, to obtain a definitive foreground map; wherein the global optimizer classifies each processed pixel in function of the initial foreground probability of the processed pixel and the initial foreground probability of neighboring pixels, the relative weight of the initial foreground probability of neighboring pixels being determined by the probability propagation coefficients of the neighboring pixels.