Graphcut Textures Image and Video Synthesis Using Graph Cuts

Slides:



Advertisements
Similar presentations
Lapped textures Emil Praun Adam Finkelstein Hugues Hoppe
Advertisements

Filling Algorithms Pixelwise MRFsChaos Mosaics Patch segments are pasted, overlapping, across the image. Then either: Ambiguities are removed by smoothing.
Image Quilting and Apples
Andrew Nealen and Marc Alexa, Discrete Geometric Modeling Group, TU Darmstadt, 2004 Fast and High Quality Overlap Repair for Patch-Based Texture Synthesis.
Max Flow Min Cut. Theorem The maximum value of an st-flow in a digraph equals the minimum capacity of an st-cut. Theorem If every arc has integer capacity,
Data-driven methods: Texture (Sz 10.5) Cs129 Computational Photography James Hays, Brown, Spring 2011 Many slides from Alexei Efros.
Texture Synthesis on [Arbitrary Manifold] Surfaces Presented by: Sam Z. Glassenberg* * Several slides borrowed from Wei/Levoy presentation.
Chapter 4: Image Enhancement
A Gimp Plugin that uses “GrabCut” to perform image segmentation
Graph-Based Image Segmentation
Stephen J. Guy 1. Photomontage Photomontage GrabCut – Interactive Foreground Extraction 1.
Lapped Textures Emil Praun and Adam Finkelstien (Princeton University) Huges Hoppe (Microsoft Research) SIGGRAPH 2000 Presented by Anteneh.
Virtual Dart: An Augmented Reality Game on Mobile Device Supervisor: Professor Michael R. Lyu Prepared by: Lai Chung Sum Siu Ho Tung.
Lecture 6 Image Segmentation
Optimal solution of binary problems Much material taken from :  Olga Veksler, University of Western Ontario
CS448f: Image Processing For Photography and Vision Graph Cuts.
Texture Synthesis Tiantian Liu. Definition Texture – Texture refers to the properties held and sensations caused by the external surface of objects received.
Improved Image Quilting Jeremy Long David Mould. Introduction   Goal: improve “ minimum error boundary cut ”
Maryia Kazakevich “Texture Synthesis by Patch-Based Sampling” Texture Synthesis by Patch-Based Sampling Real-Time Texture Synthesis By Patch-Based Sampling,
1 Image Completion using Global Optimization Presented by Tingfan Wu.
Lapped Textures Emil Praun Adam Finkelstein Hugues Hoppe Emil Praun Adam Finkelstein Hugues Hoppe Princeton University Microsoft Research Princeton University.
Announcements Project 4 questions? Guest lectures Thursday: Richard Ladner “tactile graphics” Next Tuesday: Jenny Yuen and Jeff Bigham.
Image Quilting for Texture Synthesis & Transfer Alexei Efros (UC Berkeley) Bill Freeman (MERL) +=
Segmentation and Clustering. Segmentation: Divide image into regions of similar contentsSegmentation: Divide image into regions of similar contents Clustering:
Image Quilting for Texture Synthesis and Transfer Alexei A. Efros1,2 William T. Freeman2.
Texture Synthesis on Surfaces Paper by Greg Turk Presentation by Jon Super.
Region Filling and Object Removal by Exemplar-Based Image Inpainting
Stereo Computation using Iterative Graph-Cuts
Graph-Cut Algorithm with Application to Computer Vision Presented by Yongsub Lim Applied Algorithm Laboratory.
Fast Texture Synthesis Tree-structure Vector Quantization Li-Yi WeiMarc Levoy Stanford University.
Graphcut Texture: Image and Video Synthesis Using Graph Cuts
Texture Optimization for Example-based Synthesis
Image Renaissance Using Discrete Optimization Cédric AllèneNikos Paragios ENPC – CERTIS ESIEE – A²SI ECP - MAS France.
Projective Texture Atlas for 3D Photography Jonas Sossai Júnior Luiz Velho IMPA.
Generating panorama using translational movement model.
Surface Simplification Using Quadric Error Metrics Michael Garland Paul S. Heckbert.
Fast Approximate Energy Minimization via Graph Cuts
Light Using Texture Synthesis for Non-Photorealistic Shading from Paint Samples. Christopher D. Kulla, James D. Tucek, Reynold J. Bailey, Cindy M. Grimm.
CS774. Markov Random Field : Theory and Application Lecture 13 Kyomin Jung KAIST Oct
Interactive Graph Cuts for Optimal Boundary & Region Segmentation of Objects in N-D Images (Fri) Young Ki Baik, Computer Vision Lab.
Takuya Matsuo, Norishige Fukushima and Yutaka Ishibashi
S EGMENTATION FOR H ANDWRITTEN D OCUMENTS Omar Alaql Fab. 20, 2014.
Terrain Synthesis by Digital Elevation Models Howard Zhou, Jie Sun, Greg Turk, and James M. Rehg
Processing Images and Video for an Impressionist Effect Author: Peter Litwinowicz Presented by Jing Yi Jin.
Texture Optimization for Example-based Synthesis Vivek Kwatra Irfan Essa Aaron Bobick Nipun Kwatra.
JJE: INEX XML Competition Bryan Clevenger James Reed Jon McElroy.
Previous lecture Texture Synthesis Texture Transfer + =
CS 4487/6587 Algorithms for Image Analysis
Image Quilting for Texture Synthesis and Transfer Alexei A. Efros (UC Berkeley) William T. Freeman (MERL) Siggraph01 ’
Synthesis of Compact Textures for real-time Terrain Rendering Nader Salman 22 juin 2007 Encadrant : Sylvain Lefebvre.
Scene Completion Using Millions of Photographs James Hays, Alexei A. Efros Carnegie Mellon University ACM SIGGRAPH 2007.
2D Texture Synthesis Instructor: Yizhou Yu. Texture synthesis Goal: increase texture resolution yet keep local texture variation.
Two Patch-based Algorithms for By-example Texture Synthesis Bruno Galerne MAP5, Université Paris Descartes 1 Master 2 Traitement.
Texture Synthesis by Image Quilting CS766 Class Project Fall 2004 Eric Robinson.
Prof. Swarat Chaudhuri COMP 382: Reasoning about Algorithms Fall 2015.
SIGGRAPH 2007 Hui Fang and John C. Hart.  We propose an image editing system ◦ Preserve its detail and orientation by resynthesizing texture from the.
ENGM 631 Maximum Flow Solutions. Maximum Flow Models (Flow, Capacity) (0,3) (2,2) (5,7) (0,8) (3,6) (6,8) (3,3) (4,4) (4,10)
Hebrew University Image Processing Exercise Class 8 Panoramas – Stitching and Blending Min-Cut Stitching Many slides from Alexei Efros.
MOTION Model. Road Map Motion Model Non Parametric Motion Field : Algorithms 1.Optical flow field estimation. 2.Block based motion estimation. 3.Pel –recursive.
Graphcut Textures:Image and Video Synthesis Using Graph Cuts
Announcements Project 4 out today help session at the end of class.
Detail Preserving Shape Deformation in Image Editing
Bipartite Matching and Other Graph Algorithms
Graph Cut Weizhen Jing
Iterative Optimization
Texture Quality Extensions to Image Quilting
Fast Pattern Simulation Using Multi‐Scale Search
Lecture 31: Graph-Based Image Segmentation
Image Quilting for Texture Synthesis & Transfer
Problem Solving 4.
Presentation transcript:

Graphcut Textures Image and Video Synthesis Using Graph Cuts Vivek Kwatra, Arno Schödl, Irfan Essa, Greg Turk and Aaron Bobick

Overview Brief Introduction to Texture Synthesis Related Work The Graph Cut Technique Patch Placement Image Synthesis Results Video Synthesis Conclusion

Texture Synthesis The ability to generate a reasonable amount of texture from a sample input texture or from some training data

Related Work Three Classes of Algorithms Pixel Based Patch Based Parametric Model Use a fixed number of parameters Non-parametric Model Use a collection of exemplars to model the texture Patch Based Uses patches of texture from the input texture

Image Quilting Patches of texture overlap, a dynamic programming algorithm is used to find the minimum error boundary between the patches min. error boundary

Max Flow / Min Cut Problem Problem: Find the maximum amount that can flow from s to t Theorem: The maximal amount of a flow is equal to the capacity of a minimal cut

A new way to find the cut Model overlapping patches as directed graphs Assign sources and sinks, and set the edges of adjacent pixel equal color difference M(1, 4, A, B) = ||A(1) - B(1)|| + ||A(4) - B(4)|| run the max flow algorithm to find optimal seam

Accounting for Old Seams We can incorporate old seam costs into the problem, and thus determine which pixels (if any) from the new patch should cover over some of the old seams.

Surrounded Regions Sometimes we may want to cover old seams

Patch Placement We’ve talked about how to slice and dice, but how do we lay down the texture patches? Random Placement: Fast and works well for random textures Entire Patch Matching: Normalize the sum-of-squared-differences and divide by area of patch. Pick a random, but good match. Sub-Patch Matching: Pick a place in the output texture to place a patch, then search the input texture for the best match

Results

Results

Results

Extensions and Refinements Adapting the Cost Function: Pay attention to frequency content present in the image or video Feathering and multi-resolution splining: Reduces ability to notice obvious seams FFT-Based Acceleration: For patch matching. SSD can be expensive. One example had a reduction of 10 minutes to 5 seconds after switching to the FFT method.

Additional Transformations Input image can be rotated, mirrored and scaled to produce interesting results

Additional Transformations Continued

Rotation Example Image Quilting vs Graph Cut Input Graph Cut Result Image Quilting Result

Interactive Graph Cuts User has a hand in placing image, graph cut algorithm then finds the best cut

Interactive Graph Cuts Continued

Video Synthesis Video textures turn existing video into an infinitely playing form by finding smooth transitions from one part of the video to another Patches in the case of video are the whole 3D space-time blocks of video

Video Synthesis Continued

Conclusion A new texture synthesis algorithm was introduced that works not only in 2D, but in 3D It’s has advantages over previous patch based methods It’s very fast, taking between 5 seconds and 5 minutes to generate results

Questions Any questions?