Top Banner
Texture Synthesis
45

Texture Synthesis

Jan 03, 2016

Download

Documents

ronan-munoz

Texture Synthesis. No Texture. Using a sampling of 2D perlin Noise provides smooth hills. Terrain Coloring. Using a 1D texture map based on the altitude can provide many useful mapping. Terrain Coloring. Striped 1D texture map. Terrain Coloring. - PowerPoint PPT Presentation
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Texture Synthesis

Texture Synthesis

Page 2: Texture Synthesis

No Texture

Using a sampling of 2D perlin Noise provides smooth hills.

Page 3: Texture Synthesis

Terrain Coloring Using a 1D texture map based on the

altitude can provide many useful mapping.

Page 4: Texture Synthesis

Terrain Coloring

Striped 1D texture map.

Page 5: Texture Synthesis

Terrain Coloring

Using a 2D texture map provides richer detail, but is independent of the terrain.

Page 6: Texture Synthesis

Terrain Coloring More advanced coloring is based on

altitude and slope.

Page 7: Texture Synthesis

Rolling Hills

Flowers, trees, paths, …

Page 8: Texture Synthesis

Procedural texture synthesis [Gardner 85] sum a small number of sine

waves of different periods and amplitudes.

[Perlin 85]use band-limited noise function [Turing 52] Reaction-diffusion system in

developmental biology.

Two or more chemicals can diffuse through an embryo and react with each other until a stable pattern of chemical concentration is reached.

Page 9: Texture Synthesis

Reaction-diffusion

Texture buttons – Andrew Witkin and Michael Kass

Page 10: Texture Synthesis
Page 11: Texture Synthesis

Texture synthesis on surfaces

Retiling– Sprinkle some new vertices onto the mesh– Space them uniformly over the mesh using point

repulsion.– Remove old vertices and re-triangulate– Create a hierarchy of meshes

Neighborhood Construction: – flatten a set of nearby vertices– resample the flattened patch

Page 12: Texture Synthesis

Point Repulsion

Page 13: Texture Synthesis

Point Repulsion

Page 14: Texture Synthesis

Mutual Tesselation

Page 15: Texture Synthesis

Neighborhood Construction

Page 16: Texture Synthesis

Neighborhood Construction

Page 17: Texture Synthesis

Texture Synthesis on meshes

Page 18: Texture Synthesis

Texture Synthesis on meshes

Page 19: Texture Synthesis

Texture Synthesis on meshes

Page 20: Texture Synthesis

2D Texture Synthesis

nxm Input Texture

NxM Output Texture The goal: Synthesize an output texture

which is perceptually similar to the input texture. Also ensure that the result contains sufficient variation.

Page 21: Texture Synthesis

Tiled Textures

Take up little texture memory

Page 22: Texture Synthesis

Visual Comparison

Synthesized textureSimple tiling

Synthetic tilabletexture

Page 23: Texture Synthesis

Existing (and Impressive) Technology

Pixel-Based:– Non-parametric Sampling [Efros and Leung 1999]– Tree-structured Vector Quantization [Wei and

Levoy 2000]– Synthesizing Natural Textures [Ashikhmin 2001]– Image Analogies [Hertzmann et al. 2001]

Patch-Based:– Patch-Based Sampling [Guo et al. 2001]– Image Quilting [Efros and Freeman 2001]– Hierarchical Pattern Mapping [Soler et al. 2002]

Page 24: Texture Synthesis

Pixel-Based Texture Synthesis

Input Output

Step n in Algorithm

Page 25: Texture Synthesis

Pixel-Based Texture Synthesis

Input Output

Build L-shaped Neighborhood

Page 26: Texture Synthesis

Pixel-Based Texture Synthesis

Input Output

Find Matching Neighborhood(s) in Input

Page 27: Texture Synthesis

Pixel-Based Texture Synthesis

Input Output

Select Best Neighborhood from all Candidates

Page 28: Texture Synthesis

Pixel-Based Texture Synthesis

Input Output

Copy Selected Pixel to Output

Page 29: Texture Synthesis

Pixel-Based Texture Synthesis

Input Output

Repeat for all Pixels in this Row...

Page 30: Texture Synthesis

Pixel-Based Texture Synthesis

Input Output

...and all other Output Rows

Page 31: Texture Synthesis

Patch-Based Texture Synthesis

Input Output

Step n in Algorithm

Page 32: Texture Synthesis

Patch-Based Texture Synthesis

Input Output

Patch to be Synthesized in this Step

Page 33: Texture Synthesis

Patch-Based Texture Synthesis

Input Output

Build Neighborhood (Image Mask)

Page 34: Texture Synthesis

Patch-Based Texture Synthesis

Input Output

Find Matching Neighborhood(s) in Input

Page 35: Texture Synthesis

Patch-Based Texture Synthesis

Input Output

Select Best Neighborhood from all Candidates

Page 36: Texture Synthesis

Patch-Based Texture Synthesis

Input Output

Copy Selected Patch to Output

Page 37: Texture Synthesis

Patch-Based Texture Synthesis

Input Output

Apply some Overlap Repair Strategy ...

Page 38: Texture Synthesis

Patch-Based Texture Synthesis

Input Output

... And we are done with this patch

Page 39: Texture Synthesis

Patch-Based Texture Synthesis

Input Output

Repeat for all Patches in Output

Page 40: Texture Synthesis

Texture Synthesis

Solid texture from 2D views– Heeger & Bergen 1995– Ghazanfarpour & Dischler 1999

Images from [Heeger&Bergen 1995]

2D Source 3D result

Page 41: Texture Synthesis

Previous Work

Texture varying, morphing, and mixture– Portilla & Simoncelli 1999– Bar-Joseph, El-Yaniv, Lichinski, Werman 2001– Z. Liu, C. Liu, Shum, Yu 2003– PVT paper in SIGGRAPH 2003

Image from [Portilla&Simoncelli 1999]

Source 1 Source 2morphing

Page 42: Texture Synthesis

Brodatz Resultsaluminum wirereptile skin

Page 43: Texture Synthesis

More Brodatz Results

french canvas rafia weave

Page 44: Texture Synthesis

More Resultswood granite

Page 45: Texture Synthesis

More Resultswhite bread brick wall