Automatic Switching Video Background via Graph-cut
Object image extracted from video frame and compounded to a new background image,that is automatic switching video background.For this problem,a new algorithm based graph-cut method is proposed.First,energy minimization model is presented to separate object image and background image.And min-cut/max-flow method is used to implement this model.Then,in order to improve effects of our algorithm,HSV color space is used to increase results insensitive to illumination changing by weaken V term.Finally,revise the object binary image.Morphological operations method and target assimilation method are presented to repair the image edge and the error hole.Experimental results indicate that the outcome object image is satisfied and a new video segment can be created through switching background automatically using our algorithm.