Progressive ExpectationMaximization for Hierarchical Volumetric - - PowerPoint PPT Presentation

progressive expectation maximization for hierarchical
SMART_READER_LITE
LIVE PREVIEW

Progressive ExpectationMaximization for Hierarchical Volumetric - - PowerPoint PPT Presentation

Progressive ExpectationMaximization for Hierarchical Volumetric Photon Mapping Wenzel Jakob 1,2 Christian Regg 1,3 Wojciech Jarosz 1 1 Disney Research, Zrich 2 Cornell University 3 ETH Zrich Saturday, August 4, 12 Motivation Volumetric


slide-1
SLIDE 1

Progressive Expectation–Maximization for Hierarchical Volumetric Photon Mapping

Wenzel Jakob1,2 Christian Regg1,3 Wojciech Jarosz1

1 Disney Research, Zürich 2 Cornell University 3 ETH Zürich

Saturday, August 4, 12

slide-2
SLIDE 2

Motivation

Volumetric photon mapping

  • 1. Trace photons
  • 2. Radiance estimate

Issues

  • high-frequency illumination requires many photons
  • time spent on photons that contribute very little
  • prone to temporal flickering

Saturday, August 4, 12

slide-3
SLIDE 3

Motivation

Beam radiance estimate : 917K photons Per-pixel render time

Saturday, August 4, 12

slide-4
SLIDE 4

Per-pixel render time

Motivation

Beam radiance estimate : 917K photons Our method: 4K Gaussians Per-pixel render time Render time: 281 s Render time: 125 s

Our approach:

  • represent radiance using a Gaussian mixture model (GMM)
  • fit using progressive expectation maximization (EM)
  • render with multiple levels of detail

Saturday, August 4, 12

slide-5
SLIDE 5

Motivation

Beam radiance estimate : 4M photons Our method: 16K Gaussians Render time: 727s Render time: 457 s

Our approach:

  • represent radiance using a Gaussian mixture model (GMM)
  • fit using progressive expectation maximization (EM)
  • render with multiple levels of detail

Saturday, August 4, 12

slide-6
SLIDE 6

Related work

  • Diffusion based photon mapping

[Schjøth et al. 08]

  • Photon relaxation

[Spencer et al. 09]

  • Hierarchical photon mapping

[Spencer et al. 09]

Saturday, August 4, 12

slide-7
SLIDE 7

Density estimation

Given photons approximately determine their density

Nonparametric:

  • Count the number of photons within a small region

Saturday, August 4, 12

slide-8
SLIDE 8

Density estimation

Given photons approximately determine their density

Nonparametric:

  • Count the number of photons within a small region

Parametric:

  • Find suitable parameters for a known distribution

Saturday, August 4, 12

slide-9
SLIDE 9
  • Photon density modeled as a weighted sum of Gaussians:

Gaussian mixture models

Saturday, August 4, 12

slide-10
SLIDE 10
  • Photon density modeled as a weighted sum of Gaussians:

Gaussian mixture models

256 Gaussians 1024 Gaussians 4096 Gaussians 16384 Gaussians Target density [Papas et al.]

Saturday, August 4, 12

slide-11
SLIDE 11
  • 1. Weights
  • 2. Means
  • 3. Covariance matrices

Unknown parameters :

  • Photon density modeled as a weighted sum of Gaussians:

Gaussian mixture models

  • 1. Weights
  • 2. Means
  • 3. Covariance matrices

Saturday, August 4, 12

slide-12
SLIDE 12

Maximum likelihood estimation

Approach: find the “most likely” parameters, i.e.

Mixture model Photon locations

Estimated parameters

Expectation maximization

Saturday, August 4, 12

slide-13
SLIDE 13
  • Two components:

E-Step: M-Step:

Expectation maximization

M E

establish soft assignment between photons and Gaussians maximize the expected likelihood

  • Finds a locally optimal solution

good starting guess needed!

  • Slow and scales poorly —

(where : photon count)

Saturday, August 4, 12

slide-14
SLIDE 14

Expectation maximization

Accelerated EM by [Verbeek et al. 06]

Saturday, August 4, 12

slide-15
SLIDE 15

Stored cell statistics:

  • photon count
  • mean position
  • average outer product

Accelerated EM

Saturday, August 4, 12

slide-16
SLIDE 16

Stored cell statistics:

  • photon count
  • mean position
  • average outer product

Our modifications:

  • better cell refinement

Progressive EM

Saturday, August 4, 12

slide-17
SLIDE 17

Progressive EM

Stored cell statistics:

  • photon count
  • mean position
  • average outer product

Our modifications:

  • better cell refinement
  • progressive photons

shooting passes

Saturday, August 4, 12

slide-18
SLIDE 18

Progressive EM

Stored cell statistics:

  • photon count
  • mean position
  • average outer product

Our modifications:

  • better cell refinement
  • progressive photons

shooting passes

  • reduced complexity

Saturday, August 4, 12

slide-19
SLIDE 19

Progressive EM Progressive EM

Pipeline overview

E M

Shoot photons Initial guess Build Hierarchy Render Refine partition Shoot more photons

converged? yes no

Shoot photons Initial guess Render Build Hierarchy

Saturday, August 4, 12

slide-20
SLIDE 20

Rendering

...

Saturday, August 4, 12

slide-21
SLIDE 21

Level of detail hierarchy

1 2 3 4 5 6 7 8

Agglomerative construction:

  • Repeatedly merge nearby Gaussians based
  • n their Kullback-Leibler divergence

Saturday, August 4, 12

slide-22
SLIDE 22

Rendering

Example hierarchy:

Criterion 1: bounding box intersected? Criterion 2: solid angle large enough?

Tr

Criterion 3: attenuation low enough?

Saturday, August 4, 12

slide-23
SLIDE 23

23 BRE: 1M Photons 23+192 = 215 s

Saturday, August 4, 12

slide-24
SLIDE 24

24 Our method: 4K Gaussians 35+24 = 59 s

(fit to 1M photons)

(3.6×)

Saturday, August 4, 12

slide-25
SLIDE 25

25 BRE: 18M Photons 507+609 = 1116 s

Saturday, August 4, 12

slide-26
SLIDE 26

26 Our method: 64K Gaussians 868+66 = 934 s

(fit to 18M photons)

(1.2×)

Saturday, August 4, 12

slide-27
SLIDE 27

27 BRE: 4M Photons 89 + 638 = 727 s

Saturday, August 4, 12

slide-28
SLIDE 28

28 Our method: 16K Gaussians 330 + 127 = 457 s

(1.6×)

Saturday, August 4, 12

slide-29
SLIDE 29

Temporal Coherence

E M

Shoot photons Initial guess Build Hierarchy Render

Progressive EM

Refine cut Shoot more photons

converged? yes no

  • Feed the result of the current frame into the next one

Faster fitting, no temporal noise

Saturday, August 4, 12

slide-30
SLIDE 30

[ Video ]

Saturday, August 4, 12

slide-31
SLIDE 31

GPU-based rasterizer:

  • Anisotropic Gaussian splat shader: 30 lines of GLSL
  • Gaussian representation is very compact

(4096-term GMM requires only ~240KB of storage)

[ Video ]

Saturday, August 4, 12

slide-32
SLIDE 32

Conclusion

Contributions

  • Rendering technique based on parametric density estimation
  • Uses a progressive and optimized variant of accelerated EM
  • Compact & hierarchical representation of volumetric radiance
  • Extensions for temporal coherence and real-time visualization

Saturday, August 4, 12