Simple interactive object extraction

Simple interactive object extraction (SIOX) is an algorithm for extracting foreground objects from color images and videos with very little user interaction.[1] It has been implemented as "foreground selection" tool in the GIMP (since version 2.3.3), as part of the tracer tool in Inkscape (since 0.44pre3), and as function in ImageJ and Fiji (plug-in). Experimental implementations were also reported for Blender and Krita. Although the algorithm was originally designed for videos, virtually all implementations use SIOX primarily for still image segmentation. In fact, it is often said to be the current de facto standard for this task in the open-source world.

Initially, a free hand selection tool is used to specify the region of interest. It must contain all foreground objects to extract and as few background as possible. The pixels outside the region of interest form the sure background while the inner region define a superset of the foreground, i.e. the unknown region. A so-called foreground brush is then used to mark representative foreground regions. The algorithm outputs a selection mask. The selection can be refined by either adding further foreground markings or by adding background markings using the background brush.

Technically, the algorithm performs the following steps:

  • Create a set of representative colors for sure foreground and sure background, the so-called color signatures.
  • Assign all image points to foreground or background by a weighted nearest neighbor search in the color signatures.
  • Apply some standard image processing operations like erode, dilate, and blur to remove artifacts.
  • Find the connected foreground components that are either large enough or marked by the user.

For video segmentation the sure background and sure foreground regions are learned from motion statistics. SIOX also features tools that allow sub-pixel accurate refinement of edges and high texture areas, the so-called "detail refinement brushes".

As with all segmentation algorithms, there are always pictures where the algorithm does not yield perfect results. The most critical drawback of SIOX is the color dependence. Although many photos are well-separable by color, the algorithm cannot deal with camouflage. If the foreground and background share many identical shades of similar colors, the algorithm might give a result with parts missing or incorrectly classified foreground. SIOX performs about equally well on different benchmarks compared to graph-based segmentation methods, such as Grabcut. SIOX is, however, more noise robust and can therefore also be used for the segmentation of videos. Graph-based segmentation methods search for a minimum cut and therefore tend to not perform optimally with complex structures.

The algorithm has initially been developed at the department of computer science at Freie Universitaet Berlin. The main developer, Gerald Friedland, is now faculty at the EECS department of the University of California at Berkeley and also a Principal Data Scientist at Lawrence Livermore National Lab. He continues to support the development through mentoring, e.g. in the Google Summer of Code.

Notes

  1. Friedland, G., Jantz, K., Lenz, T., Wiesel, F., and Rojas, R. (2006). "A practical approach to boundary accurate multi-object extraction from still images and videos". Multimedia, 2006. ISM'06. Eighth IEEE International Symposium on: 307–316. doi:10.1109/ISM.2006.9. ISBN 978-0-7695-2746-8.CS1 maint: multiple names: authors list (link)
gollark: Odd, that should print `Version: 1.3.1`.
gollark: I don't see why not.
gollark: For example, as Anavrins said, base64.
gollark: Otherwise it basically just comes down to encoding the data as ASCII and decoding it in CC somehow.
gollark: You can use `wget` to download a file from a given URL.

References

  • G. Friedland, K. Jantz, R. Rojas: SIOX: Simple Interactive Object Extraction in Still Images, Proceedings of the IEEE International Symposium on Multimedia (ISM2005), pp. 253–259, Irvine (California), December 2005. online article
  • G. Friedland, K. Jantz, T. Lenz, F. Wiesel, R. Rojas: Object Cut and Paste in Images and Videos, International Journal of Semantic Computing Vol 1, No 2, pp. 221–247, World Scientific, USA, June 2007. online article
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.