real-time exemplar-based face sketch synthesis

9
Real-Time Exemplar-Based Face Sketch Synthesis Pipeline illustration Note: containing animatio Yibing Song 1 Linchao Bao 1 Qingxiong Yang 1 Ming-Hsuan Yang 2 1 City University of Hong Kong 2 University of California at Merced

Upload: fern

Post on 24-Feb-2016

78 views

Category:

Documents


0 download

DESCRIPTION

Real-Time Exemplar-Based Face Sketch Synthesis. Pipeline illustration. Qingxiong Yang 1. Ming-Hsuan Yang 2. Yibing Song 1. Linchao Bao 1. 1 City University of Hong Kong. 2 University of California at Merced. Note: containing animations. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Real-Time Exemplar-Based Face Sketch Synthesis

Real-Time Exemplar-Based Face Sketch Synthesis

Pipeline illustration

Note: containing animations

Yibing Song1 Linchao Bao1 Qingxiong Yang1 Ming-Hsuan Yang2

1City University of Hong Kong2University of California at Merced

Page 2: Real-Time Exemplar-Based Face Sketch Synthesis

Our assumption: a database containing photo-sketch pairs

1. photo database 2. sketch database

Aligned

Page 3: Real-Time Exemplar-Based Face Sketch Synthesis

Coarse Sketch GenerationStep 1: KNN search

p

Test photo patch Test photo

Training photo dataset

๐‘ป ๐’‘๐‘ป ๐’‘

๐‘ป ๐’‘

Matched photo patch

Relative position

Similarly

Matched photo patch

Relative position

โˆ†๐’‘๐‘ฒ[ ]โˆ†๐’‘ =

Page 4: Real-Time Exemplar-Based Face Sketch Synthesis

Test photo patch

Matched photo patch

Matched photo patch

Matched photo patch

๐’™๐’‘๐Ÿ โˆ™ +๐’™๐’‘

๐Ÿ โˆ™ +๐’™๐’‘๐‘ฒ โˆ™ ยฟ

2. Compute linear mapping function defined by

Coarse Sketch GenerationStep 2: Linear Estimation from Photos

Page 5: Real-Time Exemplar-Based Face Sketch Synthesis

Matched sketch pixel

p

Matched sketch pixel

Test photo

๐‘บ๐‘ท +โˆ†๐’‘๐Ÿ

โ‘

๐‘บ๐‘ท +โˆ†๐’‘๐Ÿ

โ‘

Matched sketch pixel๐‘บ๐‘ท +โˆ†๐’‘๐‘ฒ

โ‘

๐’™๐’‘๐Ÿ โˆ™ +๐’™๐’‘

๐Ÿ โˆ™ +๐’™๐’‘๐‘ฒ โˆ™ ยฟ

Estimation on pixel p

Repeat for every pixel

Coarse sketch

Coarse Sketch GenerationStep 3: Apply Linear Mapping to Sketches

๐‘ฌ๐’‘

Page 6: Real-Time Exemplar-Based Face Sketch Synthesis

Because: coarse sketch image is not natural. is not a good similarity measurement between p and r.

Denoising: State-of-the-art Image Denoising Algorithms

Coarse sketch

Nonlocal Means (NLM)

p

r

๐‘†๐‘๐‘๐ฟ๐‘€=ยฟ ๐ธ๐‘Ÿ

๐‘ค(๐‘ ,๐‘Ÿ )+โ‹ฏ

For all pixels in the neighbor of p:

Little improvement

After NLM

q

๐ธ๐‘ž๐‘ค(๐‘ ,๐‘ž)+ยฟ

[NLM] A. Buades, B. Coll and J.-M. Morel, A non-local algorithm for image denoising, CVPR 2005.

Page 7: Real-Time Exemplar-Based Face Sketch Synthesis

Motivation โ€“ BM3D

BM3D groups correlated patches in the noisy image to create multiple estimations.

Our idea for sketch denoising: group highly similar sketch estimations.

How BM3D works

[BM3D] K. Dabov, A. Foi, V. Katkovnik, and K. Egiazarian, โ€œImage denoising by sparse 3D transform-domain collaborative filtering,โ€ IEEE Trans. Image Process., vol. 16, no. 8, pp. 2080-2095, August 2007.

Page 8: Real-Time Exemplar-Based Face Sketch Synthesis

๐‘ค(๐‘ ,๐‘ž) โˆ™

Proposed Spatial Sketch Denoising Algorithm (SSD)

Test photo

q

๐‘บ๐’’+โˆ†๐’’๐Ÿ

โ‘

p

Matched sketch

๐‘บ๐’‘+โˆ†๐’’๐Ÿ

โ‘

Similarly ,

๐‘บ๐’‘+โˆ†๐’’๐Ÿ

โ‘

๐‘บ๐’’+โˆ†๐’’๐Ÿ

โ‘

,

๐‘บ๐’’+โˆ†๐’’๐‘ฒ

โ‘

๐‘บ๐’‘+โˆ†๐’’๐‘ฒ

โ‘๐’™๐’’๐Ÿ โˆ™ +๐’™๐’’

๐Ÿ โˆ™ +๐’™๐’’๐‘ฒ โˆ™ ยฟ

๐‘ฌ๐’‘๐’’

p

Estimations from pixels in local region

r ๐‘ฌ๐’‘๐’“

Averaging estimations to generate output sketch value.

Nonlocal Means (NLM):

๐‘†๐‘๐‘๐ฟ๐‘€=ยฟ ๐ธ๐‘ž +โ‹ฏ๐ธ๐‘Ÿ๐‘ค(๐‘ ,๐‘Ÿ )โˆ™+ยฟ

Proposed SSD:

๐‘†๐‘๐‘†๐‘†๐ท=ยฟ +โ‹ฏ+ยฟ1 โˆ™๐‘ฌ๐’‘

๐’’ 1 โˆ™๐‘ฌ๐’‘๐’“

Page 9: Real-Time Exemplar-Based Face Sketch Synthesis

p

Proposed SSD is robust to

Input 5x5 local region

11x11 local region

17x17 local region

23x23 local region

Note: When is sufficient large (i.e., >100), the proposed SSD can effectivelysuppress noise while preserving facial details like the tiny eye reflections (see close-ups).

Robustness to the region size - the only parameter involved