Texture Synthesis: 15-463: Computational Photography Alexei Efros, CMU, Fall 2005
Texture Synthesis: 15-463: Computational Photography Alexei Efros, CMU, Fall 2005
Texture
Texture depicts spatially repeating patterns Many natural phenomena are textures
radishes
rocks
yogurt
Texture Synthesis
Goal of Texture Synthesis: create new samples of a given texture Many applications: virtual environments, holefilling, texturing surfaces
The Challenge
repeated
stochastic
Both?
p
Input image Synthesizing a pixel
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
Neighborhood Window
input
Synthesis Results
french canvas rafia weave
More Results
white bread brick wall
Homage to Shannon
Hole Filling
Extrapolation
Summary
The Efros & Leung algorithm
Very simple Surprisingly good results Synthesis is easier than analysis! but very slow
p B
Input image Synthesizing a block
block
Input texture
B1
B2
B1
B2
B1
B2
=
min. error boundary
overlap error
Our Philosophy
The Corrupt Professors 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
Failures
(Chernobyl Harvest)
input image
Our algorithm
input image
Our algorithm
input image
Our algorithm
Fill Order
Fill Order
http://research.microsoft.com/vision/cambridge/i3l/patchworks.htm
Texture Transfer
Constraint
Texture sample
Texture Transfer
Take the texture from one image and paint it onto another object
Image Analogies
Aaron Hertzmann1,2 Chuck Jacobs2 Nuria Oliver2 Brian Curless
3 2,3
1New
David Salesin
2Microsoft
3University
Image Analogies
Blur Filter
Edge Filter
Artistic Filters
Colorization
Texture-by-numbers
Super-resolution
Super-resolution (result!)
Motion Magnification
Ce Liu Antonio Torralba William T. Freeman Frdo Durand Edward H. Adelson