Image Renaissance Using Discrete Optimization Cédric AllèneNikos Paragios ENPC – CERTIS ESIEE – A²SI ECP - MAS France.

Slides:



Advertisements
Similar presentations
Active Shape Models Suppose we have a statistical shape model –Trained from sets of examples How do we use it to interpret new images? Use an “Active Shape.
Advertisements

L1 sparse reconstruction of sharp point set surfaces
Fast Algorithms For Hierarchical Range Histogram Constructions
Neural and Evolutionary Computing - Lecture 4 1 Random Search Algorithms. Simulated Annealing Motivation Simple Random Search Algorithms Simulated Annealing.
Graph Cut Algorithms for Computer Vision & Medical Imaging Ramin Zabih Computer Science & Radiology Cornell University Joint work with Y. Boykov, V. Kolmogorov,
Segmentation from Examples By: A’laa Kryeem Lecturer: Hagit Hel-Or.
Histogram Processing The histogram of a digital image with gray levels from 0 to L-1 is a discrete function h(rk)=nk, where: rk is the kth gray level nk.
Applied Mathematics & Systems Laboratory - Information Processing Group Nikos Paragios Ecole Centrale de Paris Paris,
Corp. Research Princeton, NJ Computing geodesics and minimal surfaces via graph cuts Yuri Boykov, Siemens Research, Princeton, NJ joint work with Vladimir.
Lecture 6 Image Segmentation
1 Can this be generalized?  NP-hard for Potts model [K/BVZ 01]  Two main approaches 1. Exact solution [Ishikawa 03] Large graph, convex V (arbitrary.
Robust Higher Order Potentials For Enforcing Label Consistency
1 Image Completion using Global Optimization Presented by Tingfan Wu.
Prénom Nom Document Analysis: Linear Discrimination Prof. Rolf Ingold, University of Fribourg Master course, spring semester 2008.
Image-based Shaving Eurographics Apr 2008 Minh Hoai Nguyen, Jean-Francois Lalonde, Alexei A. Efros & Fernando de la Torre Robotics Institute, Carnegie.
P 3 & Beyond Solving Energies with Higher Order Cliques Pushmeet Kohli Pawan Kumar Philip H. S. Torr Oxford Brookes University CVPR 2007.
2010/5/171 Overview of graph cuts. 2010/5/172 Outline Introduction S-t Graph cuts Extension to multi-label problems Compare simulated annealing and alpha-
Stereo & Iterative Graph-Cuts Alex Rav-Acha Vision Course Hebrew University.
MRF Labeling With Graph Cut CMPUT 615 Nilanjan Ray.
Optical flow and Tracking CISC 649/849 Spring 2009 University of Delaware.
Texture Reading: Chapter 9 (skip 9.4) Key issue: How do we represent texture? Topics: –Texture segmentation –Texture-based matching –Texture synthesis.
Region Filling and Object Removal by Exemplar-Based Image Inpainting
Stereo Computation using Iterative Graph-Cuts
Measuring Uncertainty in Graph Cut Solutions Pushmeet Kohli Philip H.S. Torr Department of Computing Oxford Brookes University.
Perceptual Organization: Segmentation and Optical Flow.
Graphcut Texture: Image and Video Synthesis Using Graph Cuts
Manhattan-world Stereo Y. Furukawa, B. Curless, S. M. Seitz, and R. Szeliski 2009 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pp.
Automatic User Interaction Correction via Multi-label Graph-cuts Antonio Hernández-Vela, Carlos Primo and Sergio Escalera Workshop on Human Interaction.
02/12/02 (c) 2002 University of Wisconsin, CS 559 Filters A filter is something that attenuates or enhances particular frequencies Easiest to visualize.
Graph-based consensus clustering for class discovery from gene expression data Zhiwen Yum, Hau-San Wong and Hongqiang Wang Bioinformatics, 2007.
Domain decomposition in parallel computing Ashok Srinivasan Florida State University COT 5410 – Spring 2004.
Projective Texture Atlas for 3D Photography Jonas Sossai Júnior Luiz Velho IMPA.
Seamless image-based texture atlases using multi-band blending Cédric AllèneJean-Philippe PonsRenaud Keriven Université Paris-Est – Ecole des Ponts – CERTIS.
Michael Bleyer LVA Stereo Vision
Fast Approximate Energy Minimization via Graph Cuts
A Selective Overview of Graph Cut Energy Minimization Algorithms Ramin Zabih Computer Science Department Cornell University Joint work with Yuri Boykov,
Michael Bleyer LVA Stereo Vision
Mutual Information-based Stereo Matching Combined with SIFT Descriptor in Log-chromaticity Color Space Yong Seok Heo, Kyoung Mu Lee, and Sang Uk Lee.
Graph Cut & Energy Minimization
Graph-based Segmentation. Main Ideas Convert image into a graph Vertices for the pixels Vertices for the pixels Edges between the pixels Edges between.
Image Segmentation Seminar III Xiaofeng Fan. Today ’ s Presentation Problem Definition Problem Definition Approach Approach Segmentation Methods Segmentation.
Graph Cut Algorithms for Binocular Stereo with Occlusions
Interactive Graph Cuts for Optimal Boundary & Region Segmentation of Objects in N-D Images (Fri) Young Ki Baik, Computer Vision Lab.
Object Stereo- Joint Stereo Matching and Object Segmentation Computer Vision and Pattern Recognition (CVPR), 2011 IEEE Conference on Michael Bleyer Vienna.
Graph Cuts Marc Niethammer. Segmentation by Graph-Cuts A way to compute solutions to the optimization problems we looked at before. Example: Binary Segmentation.
Supervised Learning of Edges and Object Boundaries Piotr Dollár Zhuowen Tu Serge Belongie.
1 Complex Images k’k’ k”k” k0k0 -k0-k0 branch cut   k 0 pole C1C1 C0C0 from the Sommerfeld identity, the complex exponentials must be a function.
1 Markov Random Fields with Efficient Approximations Yuri Boykov, Olga Veksler, Ramin Zabih Computer Science Department CORNELL UNIVERSITY.
CS654: Digital Image Analysis
Lecture 19: Solving the Correspondence Problem with Graph Cuts CAP 5415 Fall 2006.
Synthesizing Natural Textures Michael Ashikhmin University of Utah.
Presenter : Kuang-Jui Hsu Date : 2011/3/24(Thur.).
Gaussian Mixture Models and Expectation-Maximization Algorithm.
Graphcut Textures Image and Video Synthesis Using Graph Cuts
Real-Time Tracking with Mean Shift Presented by: Qiuhua Liu May 6, 2005.
CS654: Digital Image Analysis Lecture 28: Advanced topics in Image Segmentation Image courtesy: IEEE, IJCV.
A global approach Finding correspondence between a pair of epipolar lines for all pixels simultaneously Local method: no guarantee we will have one to.
Graph Algorithms for Vision Amy Gale November 5, 2002.
Cutting Images: Graphs and Boundary Finding Computational Photography Derek Hoiem, University of Illinois 09/20/12 “The Double Secret”, Magritte.
Energy functions f(p)  {0,1} : Ising model Can solve fast with graph cuts V( ,  ) = T[  ] : Potts model NP-hard Closely related to Multiway Cut Problem.
Non-linear filtering Example: Median filter Replaces pixel value by median value over neighborhood Generates no new gray levels.
Some links between min-cuts, optimal spanning forests and watersheds Cédric Allène, Jean-Yves Audibert, Michel Couprie, Jean Cousty & Renaud Keriven ENPC.
Energy minimization Another global approach to improve quality of correspondences Assumption: disparities vary (mostly) smoothly Minimize energy function:
Graphcut Textures:Image and Video Synthesis Using Graph Cuts
CS 326A: Motion Planning Probabilistic Roadmaps for Path Planning in High-Dimensional Configuration Spaces (1996) L. Kavraki, P. Švestka, J.-C. Latombe,
Markov Random Fields with Efficient Approximations
Counting in High-Density Crowd Videos
Efficient Graph Cut Optimization for Full CRFs with Quantized Edges
Automatic User Interaction Correction via Multi-label Graph-cuts
Clustering appearance and shape by Jigsaw, and comparing it with Epitome. Papers (1) Clustering appearance and shape by learning jigsaws (2006 NIPS) (2)
Presentation transcript:

Image Renaissance Using Discrete Optimization Cédric AllèneNikos Paragios ENPC – CERTIS ESIEE – A²SI ECP - MAS France

Image Renaissance Outline 1)Theory: positions and patches 2)Finding positions with good similarities 3)Determining the patch sizes 4)Results and discussions

Image Renaissance Theory: positions and patches

Image Renaissance 1 - Theory: positions and patches Main idea: inpainting as a jigsaw Inpainting:  Reconstructing a destroyed part of an image (specified by a mask)  The process should be undetectable Our method:  Considering the reconstruction as a jigsaw which pieces are patches taken from the “good” part of the image

Image Renaissance Two steps 1)Finding positions/offsets in the “good” image having strong similarities with the content of the image at the boundary of the area to rebuild 2)For each offset found, finding which pixels should be copied to reconstruct the destroyed area 1 - Theory: positions and patches

Image Renaissance Finding positions with good similarities

Image Renaissance Positions and offsets  Such a problem consists in finding, given an origin point at the boundary of the region to inpaint, a number of candidate positions in the image domain that have similar content with the one at the boundary of the area to rebuild  A few remarks:  Missing content is not necessarily in the neighborhood of the destroyed region…  Testing each offset in the image for each position at the boundary of the destroyed area would be too expensive in computation time…  Our solution: using a probabilistic method, the particle filters 2 – Finding positions with good similarities

Image Renaissance Particle filters theory  Considering a fixed number of samples, we have to repeat this steps:  Weight the samples with a Probability Density Function (pdf)  Generate a new set of samples (of equal number) from the existing ones with the biggest weights applying small perturbations (importance of perturbation decreases with the iterations to obtain a convergence) 2 – Finding positions with good similarities

Image Renaissance Particle filters in positions research  A particle has an origin point (at the boundary of the area to inpaint, which is invariant), an offset and a size (width and height)  The perturbation is a displacement of the offset and a modification of the size  The weight is evaluated by a Sum of Square Differences (SSD) between the sized neighborhood around the origin point and the offset point balanced with the size 2 – Finding positions with good similarities

Image Renaissance Determining the patch sizes

Image Renaissance How to find the optimal partition  For each pixel in the area to inpaint we have multiple offsets (and, as a consequence, multiple pixel values possible), so we have to find the best label partition to rebuild the image:  In that aim we use a combinatorial optimization: the α -expansion algorithm (using graph cuts) 3 – Determining the patch sizes

Image Renaissance Term 1 to minimize: constraints to data  : region of the image to be reconstructed  : region of the image to be reconstructed and its close neighborhood (which contains data)  : distance (similarity) between the label and the data of the image at position 3 – Determining the patch sizes

Image Renaissance Term 2 to minimize: constraints between patches  : region of the image to be reconstructed  : 4-neighborhood of  : distance (similarity) between the label L and the label at position  : Euclidian distance from to the boundary of the area to rebuild (to reconstruct firstly the borders of the region) 3 – Determining the patch sizes

Image Renaissance Term 3 to minimize: smoothing term  : region of the image to be reconstructed  : 4-neighborhood of  : Potts model: penalty for neighbors with different 3 – Determining the patch sizes

Image Renaissance Global energy function on partition to minimize ω  Minimized through successive α -expansion (using graph cuts) 3 – Determining the patch sizes

Image Renaissance Alpha-expansion principle  With a given partition, the algorithm expands the label α over all the other labels minimizing the energy function 3 – Determining the patch sizes "green"-expansion

Image Renaissance Alpha-expansion algorithm  For each offset selected (explaining the interest to reduce their number), we:  Construct a graph representing the energy on the area to inpaint  Execute the graph-cut algorithm on the graph  Modify the partition  This is repeated until stability (but in practice, one iteration on each offset gives a result near of the final result)  Each iteration will so enhance the result by minimizing the global energy Y. Boykov, O. Veksler and R. Zabih. Fast Approximate Energy Minimization via Graph Cuts. PAMI – Determining the patch sizes

Image Renaissance Results and discussions

Image Renaissance Results 4 – Results and discussion

Image Renaissance Results 4 – Results and discussion

Image Renaissance Conclusion  Graph-based combinatorial approach for inpainting  Advantages:  Efficient for textured images  Quite fast: in general a couple of minutes (but the final result is nearly reached after the first series of α -expansion)  Drawbacks:  Polynomial cost depending on the number of offsets selected (so particular attention must be paid on this step) 4 – Results and discussion

Image Renaissance Thank you for your attention! Any question?