Star Shape Prior for Graph-Cut Image Segmentation

In recent years, segmentation with graph cuts is increasingly used for a variety of applications, such as photo/video editing, medical image processing, etc. One of the most common applications of graph cut segmentation is extracting an object of interest from its background. If there is any knowledge about the object shape (i.e. a shape prior), incorporating this knowledge helps to achieve a more robust segmentation. In this paper, we show how to implement a star shape prior into graph cut segmentation. This is a generic shape prior, i.e. it is not specific to any particular object, but rather applies to a wide class of objects, in particular to convex objects. Our major assumption is that the center of the star shape is known, for example, it can be provided by the user. The star shape prior has an additional important benefit - it allows an inclusion of a term in the objective function which encourages a longer object boundary. This helps to alleviate the bias of a graph cut towards shorter segmentation boundaries. In fact, we show that in many cases, with this new term we can achieve an accurate object segmentation with only a single pixel, the center of the object, provided by the user, which is rarely possible with standard graph cut interactive segmentation.

Main Idea

An example of a star shape is in green in Figure. The center of the star is marked with a red dot c. Let p and q be pixels on the line passing through c, and q lies between c and p. If p is labeled as the object, then q must be also labeled as the object.


Figure 1

Results

Figure 2 shows some results. Input images are in the first and third columns, extracted objects are in the second and forth columns. The user clicked on a single point shown with a red circle.


Figure 2

Publications

O. Veksler, "Star Shape Prior for Graph-Cut Image Segmentation: European Conference on Computer Vision 2008, (ECCV'08)    PDF