Seamless Image Editing

Chun-Wei Liu Yi-Hsin Liu

National Taiwan University

Artifact

From left to right: the source image, the seamless face replacement against to the target image by applying Mean Value Coordinates.

Overview

Seamless image editing, especially adding or removing objects from target, is an popular topic in recent years. Pérez et al. purposed a variety of tools for seamless editing of image regions in 2003 [1]. In the next year, two interesting works Interactive photomontage [2] and GrabCut [3] were published in SIGGRAPH 2004. Both works applied the graph-cuts algorithm for image segmentation in different application. In 2009, Farbman et al. introduced a new approach for seamless applications by applying the mean-value coordinates to interpolate the membrane of cloning area [4]. The algorithm performed efficiently due to its portable for GPU and parallel programming. In this project, we implement several applications base on the four relative papers above. We use Qt [5] to design the GUI and develop the program on Linux workstation.

Results

Seamless Cloning

Figure 1. Mixing Gradient

Seamless Tiling

Figure 2. Seamless Tiling

Image Photomontage

Figure 4. Wires Removing

Figure 5. Crowd Removing

Mean Value Coordinates

Figure 6. Mean Value Coordinates

References

  1. “Poisson Image Editing.” [Link]
    Patrick Pérez, Michel Gangnet, and Andrew Blake.
    SIGGRAPH 2003
  2. “Interactive Digital Photomontage.” [Link]
    Aseem Agarwala, Mira Dontcheva, Maneesh Agrawala, Steven Drucker, Alex Colburn, Brian Curless, David Salesin, and Michael Cohen.
    SIGGRAPH 2004
  3. “GrabCut -- Interactive Foreground Extraction using Iterated Graph Cuts.” [Link]
    Carsten Rother, Vladimir Kolmogorov, and Andrew Blake.
    SIGGRAPH 2004
  4. “Coordinates for Instant Image Cloning.” [Link]
    Zeev Farbman, Gil Hoffer, Yaron Lipman, Daniel Cohen-Or, and Dani Lischinski.
    SIGGRAPH 2009
  5. “Qt - A Cross-platform application and UI framework.” [Link]