Patent Document ID: 8126268
Application ID: 12087204
Patent Status: 1

Claim One:
1. A method of image processing, comprising: receiving at least one video frame of a video sequence, the at least one video frame comprising at least one foreground subject and a background; and processing said at least one video frame so as to separate said at least one foreground subject from said background, wherein said processing comprises: generating a pixel mask indicating whether a generic pixel of the at least one video frame belongs to the foreground subject or to the background; applying morphological closing to the pixel mask, wherein said applying morphological closing comprises, for each pixel of said pixel mask, conditioning a pixel value in the mask to values of neighboring pixels, said conditioning comprising: determining at least edges of said at least one foreground subject in said at least one video frame; and for the generic pixel under processing, determining the neighboring pixels based on the determined edges.