摘要 |
The invention discloses a method for segmenting a foreground image. The method comprises the following steps of: obtaining a conspicuity map of an original image by using a central peripheral histogram algorithm; carrying out threshold segmentation on the conspicuity map so as to obtain a rectangle R including a conspicuity object; using an image outside the rectangle R region as a background region; initializing a GrabCut algorithm; and iteratively operating the GrabCut algorithm so as to execute foreground segmentation of the original image. Compared with the prior art, the method disclosed by the invention can be used for increasing the foreground segmentation efficiency. |