Texture Synthesis by Non-parametric Sampling Alexei Efros and Thomas Leung UC Berkeley.

Slides:



Advertisements
Similar presentations
Filling Algorithms Pixelwise MRFsChaos Mosaics Patch segments are pasted, overlapping, across the image. Then either: Ambiguities are removed by smoothing.
Advertisements

CSCE 643 Computer Vision: Template Matching, Image Pyramids and Denoising Jinxiang Chai.
CSCE643: Computer Vision Bayesian Tracking & Particle Filtering Jinxiang Chai Some slides from Stephen Roth.
Texture. Limitation of pixel based processing Edge detection with different threshold.
Data-driven methods: Texture (Sz 10.5) Cs129 Computational Photography James Hays, Brown, Spring 2011 Many slides from Alexei Efros.
CS Spring 2009 CS 414 – Multimedia Systems Design Lecture 4 – Digital Image Representation Klara Nahrstedt Spring 2009.
Recognizing Surfaces using Three-Dimensional Textons Thomas Leung and Jitendra Malik Computer Science Division University of California at Berkeley.
Ted Adelson’s checkerboard illusion. Motion illusion, rotating snakes.
Texture. Edge detectors find differences in overall intensity. Average intensity is only simplest difference. many slides from David Jacobs.
Learning Inhomogeneous Gibbs Models Ce Liu
More details on presentations Aim to speak for ~50 min (after 15 min review, leaving 10 min for discussions) Try to plan discussion topics It’s fine to.
Video Texture : Computational Photography Alexei Efros, CMU, Fall 2006 © A.A. Efros.
Maryia Kazakevich “Texture Synthesis by Patch-Based Sampling” Texture Synthesis by Patch-Based Sampling Real-Time Texture Synthesis By Patch-Based Sampling,
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) +=
Texture Synthesis by Non-parametric Sampling / Image Quilting for Texture Synthesis & Transfer by Efros and Leung / Efros and Freeman ICCV ’99 / SIGGRAPH.
Overview of Texture Synthesis Ganesh Ramanarayanan Cornell Graphics Seminar.
Texture This isn’t described in Trucco and Verri Parts are described in: – Computer Vision, a Modern Approach by Forsyth and Ponce –“Texture Synthesis.
Announcements Big mistake on hint in problem 1 (I’m very sorry).
Fast Texture Synthesis using Tree-structured Vector Quantization Li-Yi Wei Marc Levoy Computer Graphics Group Stanford University.
Image Manifolds : Learning-based Methods in Vision Alexei Efros, CMU, Spring 2007 © A.A. Efros With slides by Dave Thompson.
Primal Sketch Integrating Structure and Texture Ying Nian Wu UCLA Department of Statistics Keck Meeting April 28, 2006 Guo, Zhu, Wu (ICCV, 2003; GMBV,
Proposes functions to measure Gestalt features of shapes Adapts [Zhu, Wu Mumford] FRAME method to shapes Exhibits effect of MRF model obtained by putting.
Clustering Color/Intensity
TEXTURE SYNTHESIS PEI YEAN LEE. What is texture? Images containing repeating patterns Local & stationary.
Announcements For future problems sets: matlab code by 11am, due date (same as deadline to hand in hardcopy). Today’s reading: Chapter 9, except.
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
Texture Recognition and Synthesis A Non-parametric Multi-Scale Statistical Model by De Bonet & Viola Artificial Intelligence Lab MIT Presentation by Pooja.
1 Image filtering Images by Pawan SinhaPawan Sinha.
Stereological Techniques for Solid Textures Rob Jagnow MIT Julie Dorsey Yale University Holly Rushmeier Yale University.
1 Image filtering Hybrid Images, Oliva et al.,
Convergence of vision and graphics Jitendra Malik University of California at Berkeley Jitendra Malik University of California at Berkeley.
Data-driven methods: Video : Computational Photography Alexei Efros, CMU, Fall 2007 © A.A. Efros.
Image Processing David Kauchak cs458 Fall 2012 Empirical Evaluation of Dissimilarity Measures for Color and Texture Jan Puzicha, Joachim M. Buhmann, Yossi.
Image Analogies Aaron Hertzmann (1,2) Charles E. Jacobs (2) Nuria Oliver (2) Brian Curless (3) David H. Salesin (2,3) 1 New York University 1 New York.
Efficient Editing of Aged Object Textures By: Olivier Clément Jocelyn Benoit Eric Paquette Multimedia Lab.
CAP5415: Computer Vision Lecture 4: Image Pyramids, Image Statistics, Denoising Fall 2006.
CS 1699: Intro to Computer Vision Texture and Other Uses of Filters Prof. Adriana Kovashka University of Pittsburgh September 10, 2015 Slides from Kristen.
Texture Optimization for Example-based Synthesis Vivek Kwatra Irfan Essa Aaron Bobick Nipun Kwatra.
Data-driven methods: Video & Texture Cs195g Computational Photography James Hays, Brown, Spring 2010 Many slides from Alexei Efros.
Texture Key issue: representing texture –Texture based matching little is known –Texture segmentation key issue: representing texture –Texture synthesis.
Image Quilting for Texture Synthesis and Transfer Alexei A. Efros (UC Berkeley) William T. Freeman (MERL) Siggraph01 ’
TEXTURE SYNTHESIS BY NON-PARAMETRIC SAMPLING VIVA-VITAL Nazia Tabassum 27 July 2015.
Multimedia Programming 21: Video and its applications Departments of Digital Contents Sang Il Park Lots of Slides are stolen from Alexei Efros, CMU.
Image Modeling & Segmentation Aly Farag and Asem Ali Lecture #2.
Digital Image Processing Lecture 10: Image Restoration March 28, 2005 Prof. Charlene Tsai.
Learning to Perceive Transparency from the Statistics of Natural Scenes Anat Levin School of Computer Science and Engineering The Hebrew University of.
Advanced Computer Graphics (Fall 2010) CS 283, Lecture 26 Texture Synthesis Ravi Ramamoorthi Slides, lecture.
Digital Image Processing Lecture 10: Image Restoration
Towards Real-Time Texture Synthesis With the Jump Map Steve Zelinka Michael Garland University of Illinois at Urbana-Champaign Thirteenth Eurographics.
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.
CS Spring 2010 CS 414 – Multimedia Systems Design Lecture 4 – Audio and Digital Image Representation Klara Nahrstedt Spring 2010.
Multiresolution Histograms and their Use for Texture Classification Stathis Hadjidemetriou, Michael Grossberg and Shree Nayar CAVE Lab, Columbia University.
Texture Analysis and Synthesis. Texture Texture: pattern that “looks the same” at all locationsTexture: pattern that “looks the same” at all locations.
EE565 Advanced Image Processing Copyright Xin Li Why do we Need Image Model in the first place? Any image processing algorithm has to work on a collection.
Recall: Gaussian smoothing/sampling G 1/4 G 1/8 Gaussian 1/2 Solution: filter the image, then subsample Filter size should double for each ½ size reduction.
Two Patch-based Algorithms for By-example Texture Synthesis
Announcements Project 4 out today help session at the end of class.
Detail Preserving Shape Deformation in Image Editing
Texture Synthesis by Non-parametric Sampling
Announcements Final Project 3 artifacts Evals
Outline S. C. Zhu, X. Liu, and Y. Wu, “Exploring Texture Ensembles by Efficient Markov Chain Monte Carlo”, IEEE Transactions On Pattern Analysis And Machine.
Texture.
Image Quilting for Texture Synthesis & Transfer
Announcements Guest lecture next Tuesday
Outline Texture modeling - continued Julesz ensemble.
Sequences II Prof. Noah Snavely CS1114
Presentation transcript:

Texture Synthesis by Non-parametric Sampling Alexei Efros and Thomas Leung UC Berkeley

Goal of Texture Synthesis Given a finite sample of some texture, the goal is to synthesize other samples from that same texture. –The sample needs to be "large enough" True (infinite) texture SYNTHESIS generated image input image

The Challenge Texture analysis: how to capture the essence of texture? Need to model the whole spectrum: from repeated to stochastic texture This problem is at intersection of vision, graphics, statistics, and image compression repeated stochastic Both?

Some Previous Work –multi-scale filter response histogram matching [Heeger and Bergen,’95] –sampling from conditional distribution over multiple scales [DeBonet,’97] –filter histograms with Gibbs sampling [Zhu et al,’98] –matching 1st and 2nd order properties of wavelet coefficients [Simoncelli and Portilla,’98] –N-gram language model [Shannon,’48] –clustering pixel neighbourhood densities [Popat and Picard,’93]

Our Approach Our goals: –preserve local structure –model wide range of real textures –ability to do constrained synthesis Our method: –Texture is “grown” one pixel at a time –conditional pdf of pixel given its neighbors synthesized thus far is computed directly from the sample image

Motivation from Language [Shannon,’48] proposed a way to generate English-looking text using N-grams: –Assume a generalized Markov model –Use a large text to compute probability distributions of each letter given N-1 previous letters precompute or sample randomly –Starting from a seed repeatedly sample this Markov chain to generate new letters –One can use whole words instead of letters too: WE NEEDTOEATCAKE

Mark V. Shaney (Bell Labs) Results (using alt.singles corpus): – “As I've commented before, really relating to someone involves standing next to impossible.” –"One morning I shot an elephant in my arms and kissed him.” –"I spent an interesting evening recently with a grain of salt" Notice how well local structure is preserved! –Now let’s try this in 2D...

Synthesizing One Pixel Infinite sample image Generated image –Assuming Markov property, what is conditional probability distribution of p, given the neighbourhood window? –Instead of constructing a model, let’s directly search the input image for all such neighbourhoods to produce a histogram for p –To synthesize p, just pick one match at random SAMPLE p

Really Synthesizing One Pixel finite sample image Generated image p –However, since our sample image is finite, an exact neighbourhood match might not be present –So we find the best match using SSD error (weighted by a Gaussian to emphasize local structure), and take all samples within some distance from that match SAMPLE

Growing Texture –Starting from the initial configuration, we “grow” the texture one pixel at a time –The size of the neighbourhood window is a parameter that specifies how stochastic the user believes this texture to be –To grow from scratch, we use a random 3x3 patch from input image as seed

Some Details Growing is in “onion skin” order –Within each “layer”, pixels with most neighbors are synthesized first –If no close match can be found, the pixel is not synthesized until the end Using Gaussian-weighted SSD is very important – to make sure the new pixel agrees with its closest neighbors –Approximates reduction to a smaller neighborhood window if data is too sparse

Randomness Parameter

More Synthesis Results Increasing window size

Brodatz Results aluminum wire reptile skin

More Brodatz Results french canvasrafia weave

More Results woodgranite

More Results white breadbrick wall

Constrained Synthesis

Visual Comparison [DeBonet, ‘97]Our approachSimple tiling Synthetic tilable texture

Failure Cases Growing garbageVerbatim copying

Homage to Shannon

Constrained Text Synthesis

Applications Occlusion fill-in –for 3D reconstruction region-based image and video compression –a small sample of textured region is stored Texturing non-developable objects –growing texture directly on surface Motion synthesis

Texturing a sphere 2D 3D Sample image

Image Extrapolation

Summary Advantages: –conceptually simple –models a wide range of real-world textures –naturally does hole-filling Disadvantages: –it’s greedy –it’s slow –it’s a heuristic Not an answer to texture analysis, but hopefully some inspiration!

Acknowledgments Thanks to: –Alex Berg –Elizaveta Levina –Jitendra Malik –Yair Weiss Funding agencies –NSF Graduate Fellowship –Berkeley Fellowship –ONR MURI –California MIRCO

Texture Synthesis by Non-parametric Sampling Alexei Efros and Thomas Leung UC Berkeley