Title: Metropolis Light Transport
1Metropolis Light Transport
- Eric Veach
- Leonidas J. Guibas
- Computer Science Department Stanford University.
2Outline
- Prerequisite
- Overview
- Initial Path
- Mutation
- Result
3Markov chain
- Markov chain
- A stochastic process with Markov property.
The range of random variable X is called the
state space.
is called the transition probability. (one step)
4Markov chain
- How about two or three steps?
Distribution over states at time n1
5Markov chain
- Stationary distribution (steady-state
distribution)
6Markov chain
- Ergodic theory
- If we take stationary distribution as initial
distribution...the average of function f over
samples of Markov chain is
7Markov chain
- If the state space is finite...transition
probability can be represented as a transition
matrix P.
8Overview
Rendering equation
Measurement equation
Expand L by rendering equation
9Overview
µ
fj
10Overview
- f the energy of all image plane.
- fj the energy of pixel j.
We can think wj restricted f to the pixel j.
11Overview
Now, we want to solve the integration
12Overview
- As the Monte-Carlo Method, we want the
probability distribution p proportional to f.
K is transition function
converge
The same idea ..in this paper, we want stationary
distribution Proportional to f.
13Overview
And we prefer the stationary distribution propose
to f
Mutation determine T(yx). If we determine a
mutation, we must Calculate a(yx) to satisfy
this equation!
14Overview
In this paper, based on bidirectional ray tracing
Based on three strategies, decide T(yx)
Computed by T(yx)
15Initial Path
In this paper, based on bidirectional ray tracing
Based on three strategies, decide T(yx)
Computed by T(yx)
16Initial Path
- How to choose Initial Path? (Have a good start!)
- Run n copies of the algorithm and accumulate all
samples into one imege. - Sample n paths
- Resample form the n paths to obtain relative
small number n paths. - If n 1, then just take the mean value.
17Mutation
In this paper, based on bidirectional ray tracing
Based on three strategies, decide T(yx)
Computed by T(yx)
18Properties of good mutations
- High acceptance probability.
- Prevent the path sequence x, x, x, x, x, x,
- Large changes to the path.
- Prevent path sequence with high correration
- Ergodicity.
- Ensure random walk converge to an ergodic state.
19Properties of good mutations
- Changes to the image location.
- Minimize correlation between image plane.
- Stratification.
- Uniform distribute on image plane.
- Low cost.
- As the word says..
20Mutation
- In this paper, three Mutation strategies is
presented - Bidirectional mutations
- Perturbations
- Lens subpath perturbations
- Each mutation decide T(YX), we must take a(YX)
to satisfy
Roughly, when we use a mutation generate a new
path, we can compute T(yx), then we decide
a(yx). According to a(yx), we reject or accept
the new path.
21Bidirectional mutation
If we initially have a path
For k 3
probability to delete path from s to t
x1
x2
x3
x0
Probability to add new path of length s, t to
vertex s, t.
Pd(1,2)
x1
x2
x3
x0
Pa(1,0)
z
x0
x1
x2
x3
22Bidirectional mutation
We want a(yx) satisfy
23Compute R(yx),R(xy)
y
x
z
x0
x1
x2
x3
x1
x2
x3
x0
For compute R(yx)
For R(xy)
24Perturbations
If we initially have a path
For k 3
x1
x2
x3
x0
x1
x2
x3
x0
Choose a subpath and move the vertices
slightly. In the case above, the subpath is x1-x3.
Main interest perturbations is subpath consist
xk-1 - xk
25Perturbations
- Perturbations has two type
- Lens perturbations.
- Handle (LD)DSE
- Caustic perturbations.
- Handle (LD)SDE
26Perturbations
27Lens subpath mutations
- Substitute len subpath (xt,,xk) to another one
to achieve the goal of Stratification (LD)SE. - Initialize by n initial path seeds . Then store
the current lens subpath xe. At most reuse xe a
fix number ne times. - We sequentially mutate n initial path seeds.
- Generate new len subpath by case a ray through a
point on image plane , follows zero or more
specular bounce until a non-specular vertex.
28Result
29Result
30Result
31Result