Announcements Guest lecture next Tuesday

Slides:



Advertisements
Similar presentations
A Two-Step Approach to Hallucinating Faces: Global Parametric Model and Local Nonparametric Model Ce Liu Heung-Yeung Shum Chang Shui Zhang CVPR 2001.
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
Super-Resolution Texturing for Online Virtual Globes
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.
Recognizing Surfaces using Three-Dimensional Textons Thomas Leung and Jitendra Malik Computer Science Division University of California at Berkeley.
Texture. Edge detectors find differences in overall intensity. Average intensity is only simplest difference. many slides from David Jacobs.
IMAGE RESTORATION AND REALISM MILLIONS OF IMAGES SEMINAR YUVAL RADO.
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.
Markov chains Prof. Noah Snavely CS1114
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 Turk, 91.
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.
TEXTURE SYNTHESIS PEI YEAN LEE. What is texture? Images containing repeating patterns Local & stationary.
Simultaneous Structure and Texture Image Inpainting by: Bertalmio, Sapiro, Vese, Osher Presented by: Shane Brennan June 7, 2007 EE 264 – Spring 2007.
Texture Reading: Chapter 9 (skip 9.4) Key issue: How do we represent texture? Topics: –Texture segmentation –Texture-based matching –Texture synthesis.
Opportunities of Scale Computer Vision James Hays, Brown Many slides from James Hays, Alyosha Efros, and Derek Hoiem Graphic from Antonio Torralba.
Image Pyramids and Blending
Texture Synthesis by Non-parametric Sampling Alexei Efros and Thomas Leung UC Berkeley.
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.
Graph-based Segmentation. Main Ideas Convert image into a graph Vertices for the pixels Vertices for the pixels Edges between the pixels Edges between.
CS 1699: Intro to Computer Vision Texture and Other Uses of Filters Prof. Adriana Kovashka University of Pittsburgh September 10, 2015 Slides from Kristen.
Previous lecture Texture Synthesis Texture Transfer + =
Markov Random Fields Probabilistic Models for Images
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.
Advanced Computer Graphics (Fall 2010) CS 283, Lecture 26 Texture Synthesis Ravi Ramamoorthi Slides, lecture.
Scene Completion Using Millions of Photographs James Hays, Alexei A. Efros Carnegie Mellon University ACM SIGGRAPH 2007.
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.
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.
Instructor: Mircea Nicolescu Lecture 5 CS 485 / 685 Computer Vision.
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.
SIGGRAPH 2007 Hui Fang and John C. Hart.  We propose an image editing system ◦ Preserve its detail and orientation by resynthesizing texture from the.
Texture Analysis and Synthesis. Texture Texture: pattern that “looks the same” at all locationsTexture: pattern that “looks the same” at all locations.
Jianchao Yang, John Wright, Thomas Huang, Yi Ma CVPR 2008 Image Super-Resolution as Sparse Representation of Raw Image Patches.
Hebrew University Image Processing Exercise Class 8 Panoramas – Stitching and Blending Min-Cut Stitching Many slides from Alexei Efros.
Texture Models Paul Heckbert, Nov , Image-Based Modeling and Rendering.
Graph-based Segmentation
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.
Detail Preserving Shape Deformation in Image Editing
Markov Random Fields with Efficient Approximations
Opportunities of Scale, Part 2
Texture Synthesis by Non-parametric Sampling
Announcements Final Project 3 artifacts Evals
By: Kevin Yu Ph.D. in Computer Engineering
Data-driven methods: Texture 2 (Sz 10.5)
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 Quality Extensions to Image Quilting
Fast Pattern Simulation Using Multi‐Scale Search
Texture.
Image Quilting for Texture Synthesis & Transfer
Announcements more panorama slots available now
Texture Image Extrapolation for Compression
Outline Texture modeling - continued Julesz ensemble.
Digital Image Processing Week III
Texture Synthesis and Transfer
Announcements more panorama slots available now
Sequences II Prof. Noah Snavely CS1114
Presentation transcript:

Announcements Guest lecture next Tuesday Dan Goldman: CV in special effects held in Allen Center (room TBA) Evals at the end of class today

Texture Today’s Reading Alexei A. Efros and Thomas K. Leung, “Texture Synthesis by Non-parametric Sampling,” Proc. International Conference on Computer Vision (ICCV), 1999. http://www.cs.berkeley.edu/~efros/research/NPS/efros-iccv99.pdf

Modeling Texture What is texture? How can we model it? An image obeying some statistical properties Similar structures repeated over and over again Often has some degree of randomness

Markov Chains Markov Chain a sequence of random variables is the state of the model at time t Markov assumption: each state is dependent only on the previous one dependency given by a conditional probability: The above is actually a first-order Markov chain An N’th-order Markov chain:

Markov Chain Example: Text “A dog is a man’s best friend. It’s a dog eat dog world out there.” a 2/3 1/3 1 dog is man’s best friend it’s eat world out there . a is . dog it’s eat out best man’s friend world there

Text synthesis Most basic algorithm Example on board... Create plausible looking poetry, love letters, term papers, etc. Most basic algorithm Build probability histogram find all blocks of N consecutive words/letters in training documents compute probability of occurance Given words compute by sampling from Example on board...

[Scientific American, June 1989, Dewdney] “I Spent an Interesting Evening Recently with a Grain of Salt” - Mark V. Shaney (computer-generated contributor to UseNet News group called net.singles) Output of 2nd order word-level Markov Chain after training on 90,000 word philosophical essay: “Perhaps only the allegory of simulation is unendurable--more cruel than Artaud's Theatre of Cruelty, which was the first to practice deterrence, abstraction, disconnection, deterritorialisation, etc.; and if it were our own past. We are witnessing the end of the negative form. But nothing separates one pole from the very swing of voting ''rights'' to electoral...”

Modeling Texture What is texture? An image obeying some statistical properties Similar structures repeated over and over again Often has some degree of randomness

Markov Random Field A Markov random field (MRF) First-order MRF: generalization of Markov chains to two or more dimensions. First-order MRF: probability that pixel X takes a certain value given the values of neighbors A, B, C, and D: D C X A B X * Higher order MRF’s have larger neighborhoods

Texture Synthesis [Efros & Leung, ICCV 99] Can apply 2D version of text synthesis

Synthesizing One Pixel input image synthesized image What is ? Find all the windows in the image that match the neighborhood consider only pixels in the neighborhood that are already filled in To synthesize x pick one matching window at random assign x to be the center pixel of that window Slides courtesy of Alyosha Efros

Really Synthesizing One Pixel SAMPLE x sample image Generated image An exact neighbourhood match might not be present So we find the best matches using SSD error and randomly choose between them, preferring better matches with higher probability

Growing Texture Starting from the initial image, “grow” the texture one pixel at a time

Window Size Controls Regularity

More Synthesis Results Increasing window size

More Results reptile skin aluminum wire

Failure Cases Growing garbage Verbatim copying

Image-Based Text Synthesis

Speed Given: image of k2 pixels Output: image of n2 pixels how many window comparisons does this algorithm require?

Block-based texture synthesis p B Input image Synthesizing a block Observation: neighbor pixels are highly correlated Idea: unit of synthesis = block Exactly the same but now we want P(B|N(B)) Much faster: synthesize all pixels in a block at once

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

_ = 2 overlapping blocks vertical boundary overlap error min. error boundary

Texture Transfer Constraint Texture sample

Texture Transfer Same algorithm as before with additional term Take the texture from one image and “paint” it onto another object Same algorithm as before with additional term do texture synthesis on image1, create new image (size of image2) add term to match intensity of image2

parmesan + = rice + =

Combining two images

Graph cut setup sink source

Graph cut texture synthesis: Video

Image Analogies (Hertzmann ’01) B B’

Artistic Filters A A’ B B’

Texture-by-numbers A A’ B B’

Other applications of Image Analogies Texture synthesis Super-resolution Texture transfer Image colorization Simple filters (blur, emboss) More details: Hertzmann et al., SIGGRAPH 2001 http://mrl.nyu.edu/projects/image-analogies/

Applications of Texture Modeling Super-resolution Freeman & Pasztor, 1999 Baker & Kanade, 2000 Image/video compression Texture recognition, segmentation DeBonet Restoration removing scratches, holes, filtering Zhu et al. Art/entertainment