A method is provided for extracting a foreground object and a background sprite, wherein a provisional sprite is generated, the foreground and the background is separated on the basis of the provisional sprite, and the background sprite is generated. Another method is provided for extracting a segmentation mask by using a difference image, including a first step of regarding each of first macro-blocks as the foreground when an value of the first macro-block is larger than a first predetermined value and a second step of regarding each of second macro-blocks as the foreground when an value of the second macro-block is larger than a second predetermined value, the second macro-block being close to a macro-block which is determined as the foreground in the first step.
展开▼