multi-class blue noise sampling li-yi wei 魏立一 microsoft research

30
Multi-Class Blue Noise Sampling Li-Yi Wei 魏魏Microsoft Research

Post on 19-Dec-2015

277 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Multi-Class Blue Noise Sampling Li-Yi Wei 魏立一 Microsoft Research

Multi-Class Blue Noise SamplingMulti-Class Blue Noise Sampling

Li-Yi Wei

魏立一

Microsoft Research

Page 2: Multi-Class Blue Noise Sampling Li-Yi Wei 魏立一 Microsoft Research

Blue noise distributionBlue noise distribution

random & uniform

applicationssampling

stippling

meshing

texturing

object placement[Turk 1992][Balzer et al. 2009][Ostromoukhov et al. 2004]

Page 3: Multi-Class Blue Noise Sampling Li-Yi Wei 魏立一 Microsoft Research

Previous workPrevious work

half-toning[Ulichney 1986; Wang and Parker 1999; Ostromoukhov 2001; Zhou and Fang 2003; Pang et al.

2008; Chang et al. 2009]

dart throwing[Cook 1986; Mitchell 1987; McCool and Fiume 1992; Jones 2006; Dunbar and Humphreys 2006;

White et al. 2007; Wei 2008; Fu and Zhou 2008; Cline et al. 2009; Gamito and Maddock 2010]

relaxation[Lloyd 1982; Turk 1992; Balzer et al. 2009; Tung et al. 2010; Liu et al. 2010; Levy and Liu 2010]

tiling[Cohen et al. 2003; Ostromoukhov et al. 2004; Kopf et al. 2006; Lagae and Dutre 2006;

Ostromoukhov 2007]

Page 4: Multi-Class Blue Noise Sampling Li-Yi Wei 魏立一 Microsoft Research

Prior art mostly for 1 sample class Prior art mostly for 1 sample class

scenarios with multi-class samples

sampling(retina cells)

stippling(pointillism)

texturing(flowers)

Page 5: Multi-Class Blue Noise Sampling Li-Yi Wei 魏立一 Microsoft Research

Apply 1 class blue noise to > 1 classUniform per classApply 1 class blue noise to > 1 classUniform per class

class 0 class 1total set

O OX

Page 6: Multi-Class Blue Noise Sampling Li-Yi Wei 魏立一 Microsoft Research

Apply 1 class blue noise to > 1 classUniform total setApply 1 class blue noise to > 1 classUniform total set

total set class 0 class 1

X XO

Page 7: Multi-Class Blue Noise Sampling Li-Yi Wei 魏立一 Microsoft Research

Multi-class blue noise samplingMulti-class blue noise sampling

uniform & random for each class & their unions

class 0 class 1total set

O OO

Page 8: Multi-Class Blue Noise Sampling Li-Yi Wei 魏立一 Microsoft Research

Background of blue noiseBackground of blue noise

random & uniform

controlled by spacing r r

r

1

r -1

power spectrum

anisotropy

r -1

radial mean

Page 9: Multi-Class Blue Noise Sampling Li-Yi Wei 魏立一 Microsoft Research

r

Dart throwing [Dippe and Wold 1985; Cook 1986]Dart throwing [Dippe and Wold 1985; Cook 1986]

loop:

random sample

conflict check

Page 10: Multi-Class Blue Noise Sampling Li-Yi Wei 魏立一 Microsoft Research

indirectly specify r through sample count N

given a set of N sample

loop:

Voronoi for each sample

move sample to centroid

Relaxation[Lloyd 1982]Relaxation[Lloyd 1982]

Page 11: Multi-Class Blue Noise Sampling Li-Yi Wei 魏立一 Microsoft Research

Core idea for multi-class blue noiseCore idea for multi-class blue noise

replace scalar spacing r by a matrix r

r00 r01 r02

r10 r11 r12

r20 r21 r22

c0 c1 c2

c0

c1

c2

r00

r11

r01

Page 12: Multi-Class Blue Noise Sampling Li-Yi Wei 魏立一 Microsoft Research

Generating multi-class blue noiseGenerating multi-class blue noise

hard disk sampling

control sample spacing r

(like dart throwing)

soft disk sampling

control sample count N

(like Lloyd relaxation)

Page 13: Multi-Class Blue Noise Sampling Li-Yi Wei 魏立一 Microsoft Research

Multi-class hard disk samplingMulti-class hard disk sampling

like 1-class dart throwing, but

r matrix for conflict check

consistent fill rate 1:4:16

0 1 2 2 1 2 2 0 1 2 2 1 2 2

may kill existing samples

c0 c1 c2c0

c1

c2

0.40 0.18 0.090.18 0.20 0.090.09 0.09 0.10

Page 14: Multi-Class Blue Noise Sampling Li-Yi Wei 魏立一 Microsoft Research

Soft disk: single classSoft disk: single class

Gaussian blob per sample

minimize max(E) → uniform distribution

Ss

s ssE'

,' )()( r

Page 15: Multi-Class Blue Noise Sampling Li-Yi Wei 魏立一 Microsoft Research

Soft disk: multi classSoft disk: multi class

minimize max(E) → uniform distribution

Ss

sss ssE'

)',(,' )()(

R/G/B: E(c0 /c1 /c2)

)',()',( ssrss

Page 16: Multi-Class Blue Noise Sampling Li-Yi Wei 魏立一 Microsoft Research

Multi-class soft disk samplingMulti-class soft disk sampling

~ best candidate dart throwing [Mitchell 1987]

loop for each trial:

random k samples

pick one with min max(E)

X Lloyd relaxation

stuck in multi-class setting

Page 17: Multi-Class Blue Noise Sampling Li-Yi Wei 魏立一 Microsoft Research

Build r matrixBuild r matrix

diagonal entries {rii}i=0:c-1 given

how to compute off-diagonal entries {rij}i≠j?

(symmetry: rij = rji )

see paperr00 r01 r02 r03

r10 r11 r12 r13

r20 r21 r22 r23

r30 r31 r32 r33

Page 18: Multi-Class Blue Noise Sampling Li-Yi Wei 魏立一 Microsoft Research

Analysis [Lagae and Dutre 2008]Analysis [Lagae and Dutre 2008]

spatial uniformity σ

ideal σ in [0.65 0.85]; our σ in [0.65 0.70]

soft disk sampling has larger σ

Page 19: Multi-Class Blue Noise Sampling Li-Yi Wei 魏立一 Microsoft Research

total set

class 1

class 0

class 2

Page 20: Multi-Class Blue Noise Sampling Li-Yi Wei 魏立一 Microsoft Research

Analysis [Lagae and Dutre 2008]Analysis [Lagae and Dutre 2008]

spectral analysis

(good quality; radial mean diff from 1-class)

power spectrum radial mean anisotropy

- 1-class- multi-class

Page 21: Multi-Class Blue Noise Sampling Li-Yi Wei 魏立一 Microsoft Research

Object placement: uniformObject placement: uniform

Page 22: Multi-Class Blue Noise Sampling Li-Yi Wei 魏立一 Microsoft Research

Object placement: uniformObject placement: uniform

Page 23: Multi-Class Blue Noise Sampling Li-Yi Wei 魏立一 Microsoft Research

Object placement: more classesObject placement: more classes

Page 24: Multi-Class Blue Noise Sampling Li-Yi Wei 魏立一 Microsoft Research

Object placement: adaptiveObject placement: adaptive

Page 25: Multi-Class Blue Noise Sampling Li-Yi Wei 魏立一 Microsoft Research

Color stipplingColor stippling

RGBCMYB dots

input

Page 26: Multi-Class Blue Noise Sampling Li-Yi Wei 魏立一 Microsoft Research

zoneplatesin(x2+y2)

Sensor layoutSensor layout

Bayer mosaic Penrose pixel our method

Page 27: Multi-Class Blue Noise Sampling Li-Yi Wei 魏立一 Microsoft Research

Discrete layoutDiscrete layout

Bayer mosaic random soft disk

noisy

Page 28: Multi-Class Blue Noise Sampling Li-Yi Wei 魏立一 Microsoft Research

TradeoffTradeoff

Hard disk sampling

O control sample spacing

X control sample count

O continuous space

X discrete space

X less uniform

O faster

Soft disk sampling

X control sample spacing

O control sample count

O continuous space

O discrete space

O more uniform

X slower

Page 29: Multi-Class Blue Noise Sampling Li-Yi Wei 魏立一 Microsoft Research

Future workFuture work

applications & extensions

3D or higher dimensions

surfaces or other non-Euclidean domains

anisotropy

acceleration

tiling

parallelization

[Bowers et al. 2010]aniso [Li et al. 2010]isotropic

Page 30: Multi-Class Blue Noise Sampling Li-Yi Wei 魏立一 Microsoft Research

AcknowledgementAcknowledgement

Yin Li

Kun Zhou

Xin Tong

Eric Stollnitz

Jason Fondran

http://www.gif-favicon.com/

Brandon Lloyd

Bill Baxter

Naga Govindaraju

John Manferdelli

Reviewers

http://store.got3d.com/