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.

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

Super-Resolution Texturing for Online Virtual Globes
PARTITIONAL CLUSTERING
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.
Texture Synthesis on [Arbitrary Manifold] Surfaces Presented by: Sam Z. Glassenberg* * Several slides borrowed from Wei/Levoy presentation.
Mixed-Resolution Patch- Matching (MRPM) Harshit Sureka and P.J. Narayanan (ECCV 2012) Presentation by Yaniv Romano 1.
Procedural Content Tiling
Texture. Edge detectors find differences in overall intensity. Average intensity is only simplest difference. many slides from David Jacobs.
December 5, 2013Computer Vision Lecture 20: Hidden Markov Models/Depth 1 Stereo Vision Due to the limited resolution of images, increasing the baseline.
Agenda Review of Proj 1 Concepts for Proj 2 – Probability – Morphology Image Blending.
Texture Synthesis Tiantian Liu. Definition Texture – Texture refers to the properties held and sensations caused by the external surface of objects received.
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,
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) +=
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.
Order-Independent Texture Synthesis Li-Yi Wei Marc Levoy Gcafe 1/30/2003.
Fast Texture Synthesis using Tree-structured Vector Quantization Li-Yi Wei Marc Levoy Computer Graphics Group Stanford University.
Image Quilting for Texture Synthesis and Transfer Alexei A. Efros1,2 William T. Freeman2.
Segmentation Divide the image into segments. Each segment:
Image Manifolds : Learning-based Methods in Vision Alexei Efros, CMU, Spring 2007 © A.A. Efros With slides by Dave Thompson.
Texture Splicing Yiming Liu, Jiaping Wang, Su Xue, Xin Tong, Sing Bing Kang, Baining Guo.
Image-Based Rendering Produce a new image from real images. Combining images Interpolation More exotic methods.
Texture Synthesis on Surfaces Paper by Greg Turk Presentation by Jon Super.
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.
Texture Synthesis over Arbitrary Manifold Surfaces Li-Yi Wei Marc Levoy Computer Graphics Group Stanford University.
Tracking with Linear Dynamic Models. Introduction Tracking is the problem of generating an inference about the motion of an object given a sequence of.
Fast Texture Synthesis Tree-structure Vector Quantization Li-Yi WeiMarc Levoy Stanford University.
Data-driven methods: Video : Computational Photography Alexei Efros, CMU, Fall 2007 © A.A. Efros.
Graphcut Texture: Image and Video Synthesis Using Graph Cuts
Texture Optimization for Example-based Synthesis
Texture Synthesis by Non-parametric Sampling Alexei Efros and Thomas Leung UC Berkeley.
CAP5415: Computer Vision Lecture 4: Image Pyramids, Image Statistics, Denoising Fall 2006.
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 ’
Multimedia Programming 21: Video and its applications Departments of Digital Contents Sang Il Park Lots of Slides are stolen from Alexei Efros, CMU.
Advanced Computer Graphics (Fall 2010) CS 283, Lecture 26 Texture Synthesis Ravi Ramamoorthi Slides, lecture.
CS654: Digital Image Analysis
Statistics in the Image Domain for Mobile Robot Environment Modeling L. Abril Torres-Méndez and Gregory Dudek Centre for Intelligent Machines School of.
Synthesizing Natural Textures Michael Ashikhmin University of Utah.
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.
Graphcut Textures Image and Video Synthesis Using Graph Cuts
Two Patch-based Algorithms for By-example Texture Synthesis Bruno Galerne MAP5, Université Paris Descartes 1 Master 2 Traitement.
Geometry Synthesis Ares Lagae Olivier Dumont Philip Dutré Department of Computer Science Katholieke Universiteit Leuven 10 August, 2004.
Texture Synthesis by Image Quilting CS766 Class Project Fall 2004 Eric Robinson.
Lecture 5: Statistical Methods for Classification CAP 5415: Computer Vision Fall 2006.
Eick: kNN kNN: A Non-parametric Classification and Prediction Technique Goals of this set of transparencies: 1.Introduce kNN---a popular non-parameric.
Midterm Review. Tuesday, November 3 7:15 – 9:15 p.m. in room 113 Psychology Closed book One 8.5” x 11” sheet of notes on both sides allowed Bring a calculator.
Texture Analysis and Synthesis. Texture Texture: pattern that “looks the same” at all locationsTexture: pattern that “looks the same” at all locations.
Hebrew University Image Processing Exercise Class 8 Panoramas – Stitching and Blending Min-Cut Stitching Many slides from Alexei Efros.
Computational Physics (Lecture 10) PHY4370. Simulation Details To simulate Ising models First step is to choose a lattice. For example, we can us SC,
Two Patch-based Algorithms for By-example Texture Synthesis
Graphcut Textures:Image and Video Synthesis Using Graph Cuts
Announcements Project 4 out today help session at the end of class.
Fast Preprocessing for Robust Face Sketch Synthesis
Texture Synthesis by Non-parametric Sampling
Announcements Final Project 3 artifacts Evals
K Nearest Neighbor Classification
Image Segmentation Techniques
Texture Quality Extensions to Image Quilting
Texture.
Image Quilting for Texture Synthesis & Transfer
Announcements Guest lecture next Tuesday
Presentation transcript:

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 “steal” slides from the Web, but be sure to acknowledge sources Include SIGGRAPH videos, demos (if any) Send me your slides afterwards for including on the class webpage Feel free to include related papers and background material in the presentation, or make a presentation based on two (or more) closely related papers Actually, this can make your life easier! Feel free to propose papers not on the list me four presentation preferences and any scheduling constraints by the end of Sunday Come and talk to me about any doubts or questions

Texture Synthesis Most slides from A. Efros

Last Time: Beauty in Complexity

Today: Texture Texture is “stuff” (as opposed to “things”) Characterized by spatially repeating patterns Texture lacks the full range of complexity of photographic imagery, but makes a good starting point for study of image-based techniques radishesrocksyogurt

Texture Synthesis Goal of Texture Synthesis: create new samples of a given texture Many applications: virtual environments, hole- filling, texturing surfaces

The Challenge Need to model the whole spectrum: from repeated to stochastic texture repeated stochastic Both?

Statistical modeling of texture Assume stochastic model of texture (Markov Random Field) Stationarity: the stochastic model is the same regardless of position stationary texturenon-stationary texture

Statistical modeling of texture Assume stochastic model of texture (Markov Random Field) Stationarity: the stochastic model is the same regardless of position Markov property: p(pixel | rest of image) = p(pixel | neighborhood) ?

Motivation from Language Shannon (1948) proposed a way to generate English-looking text using N-grams –Assume a Markov model –Use a large text to compute probability distributions of each letter given N–1 previous letters –Starting from a seed repeatedly sample the conditional probabilities to generate new letters –One can use whole words instead of letters too

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...

Efros & Leung Algorithm Idea initially proposed in 1981 (Garber ’81), but dismissed as too computationally expensive!

Efros & Leung Algorithm Assume Markov property, sample from P(p|N(p)) –Building explicit probability tables infeasible p Synthesizing a pixel non-parametric sampling Input image –Instead, we search the input image for all sufficiently similar neighborhoods and pick one match at random

|| – || 2 Finding matches Sum of squared differences (SSD)

|| * ( – )|| 2 Finding matches Sum of squared differences (SSD) –Gaussian-weighted to make sure closer neighbors are in better agreement

Details Random sampling from the set of candidates vs. picking the best candidate Initialization –Start with a few rows of white noise and grow in scanline order –Start with a “seed” in the middle and grow outward in layers Hole filling: growing is in “onion skin” order –Within each “layer”, pixels with most neighbors are synthesized first –Normalize error by the number of known pixels –If no close match can be found, the pixel is not synthesized until the end

Varying Window Size input

Varying Window Size Increasing window size

Synthesis Results french canvasraffia weave

More Results white breadbrick wall

Homage to Shannon

Hole Filling

Extrapolation

Failure Cases Growing garbageVerbatim copying

Summary The Efros & Leung algorithm –Very simple –Surprisingly good results –…but very slow

Accelerating texture synthesis For textures with large-scale structures, use a Gaussian pyramid to reduce required neighborhood size Li-Yi Wei and Marc Levoy, "Fast Texture Synthesis using Tree- structured Vector Quantization," SIGGRAPH 2000"Fast Texture Synthesis using Tree- structured Vector Quantization,"

Accelerating texture synthesis For textures with large-scale structures, use a Gaussian pyramid to reduce required neighborhood size –Low-resolution image is synthesized first –For synthesis at a given pyramid level, the neighborhood consists of already generated pixels at this level plus all neighboring pixels at the lower level Li-Yi Wei and Marc Levoy, "Fast Texture Synthesis using Tree- structured Vector Quantization," SIGGRAPH 2000"Fast Texture Synthesis using Tree- structured Vector Quantization,"

Accelerating texture synthesis Perform fast approximate nearest neighbor search using tree-structured vector quantization Li-Yi Wei and Marc Levoy, "Fast Texture Synthesis using Tree- structured Vector Quantization," SIGGRAPH 2000"Fast Texture Synthesis using Tree- structured Vector Quantization,"

Tree-structured Vector Quantization Slide credit: Li-Yi Wei

Accelerating texture synthesis Perform fast approximate nearest neighbor search using tree-structured vector quantization –Use all neighborhoods of the exemplar texture to build a tree-structured codebook –To find a match for a new neighborhood, follow the tree in best-first order (at each level, choose child codeword closest to the query) –Example running times from the paper: Exhaustive search: 360 sec Building codebook: 22 sec, synthesis: 7.5 sec –Shortcomings? Li-Yi Wei and Marc Levoy, "Fast Texture Synthesis using Tree- structured Vector Quantization," SIGGRAPH 2000"Fast Texture Synthesis using Tree- structured Vector Quantization,"

Accelerating texture synthesis Use original position of already synthesized neighborhood pixels to create a “short list” of candidates for the current pixel Ashikhmin, M. "Synthesizing Natural Textures," 2001 ACM Symposium on Interactive 3D Graphics"Synthesizing Natural Textures,"

Accelerating texture synthesis Ashikhmin, M. "Synthesizing Natural Textures," 2001 ACM Symposium on Interactive 3D Graphics"Synthesizing Natural Textures," Original sample Wei & Levoy Ashikhmin Boundaries

p Image Quilting [Efros & Freeman] Observation: neighbor pixels are highly correlated Input image non-parametric sampling B Idea: unit of synthesis = block Exactly the same as Efros & Leung but now we want P(B|N(B)) Much faster: synthesize all pixels in a block at once Synthesizing a block

Input texture B1B2 Random placement of blocks block B1 B2 Neighboring blocks constrained by overlap B1B2 Minimal error boundary cut

min. error boundary Minimal error boundary overlapping blocksvertical boundary _ = 2 overlap error

The Philosophy The “Corrupt Professor’s Algorithm”: –Plagiarize as much of the source image as you can –Then try to cover up the evidence Rationale: –Texture blocks are by definition correct samples of texture so problem only connecting them together

Algorithm –Pick size of block and size of overlap –Synthesize blocks in raster order –Search input texture for block that satisfies overlap constraints (above and left) –Paste new block into resulting texture use dynamic programming to compute minimal error boundary cut

Failures (Chernobyl Harvest)

input image Wei & LevoyEfros & Freeman

Wei & LevoyEfros & Freeman input image

Wei & LevoyEfros & Freeman input image

Political Texture Synthesis!

Texture Transfer Take the texture from one object and “paint” it onto another object –This requires separating texture and shape –That’s HARD, but we can cheat –Assume we can capture shape by boundary and rough shading Then, just add another constraint when sampling: similarity to underlying image at that spot

Source texture Target image Source correspondence image Target correspondence image

+=

+= += parmesan rice

+=

= +