Beruflich Dokumente
Kultur Dokumente
II
Monte Carlo Modeling of
Photon Transport
2011/09/28
Maxwells
equations?
Modeling
based on
scattering
and
absorption
Monte Carlo
simulation
II
Radiative
transfer
equation
2
Monte Carlo
II
II
II
Monte Carlo
Simulations
The simulations treat photons as neutral particles
rather than as a wave phenomenon.
It is assumed that the photons are multiply
scattered by tissues. Sometimes, phase and
polarization are assumed to be randomized and
can be ignored.
II
Introduction
Photon transport in biological tissue can be
numerically simulated by the Monte Carlo method.
The trajectory of a photon is modeled as a
persistent random walk, with the direction of each
step depending on that of the previous step.
By contrast, the directions of all of the steps in a
simple random walk are independent.
By tracking a sufficient number of photons, we can
estimate physical quantities such as diffuse
reflectance.
College of Engineering, Peking University
II
Monte Carlo
The medium is random Use dice to build it
II
II
II
10
Main advantage
No limitation concerning boundary conditions or
spatial localisation of inhomogeneities in the tissue
>> Flexiblility
Main disadvantage
Problem of getting good statistics, particularly if the
point of interest is located far away from the point of
entry of the light and the scattering and absorption
coefficients are high >> long CPU time
College of Engineering, Peking University
II
11
Ensemble Averaging
It is important to realize that the Monte Carlo method estimates
ensemble-averaged quantities.
An ensemble of biological tissues is modeled for the average
characteristics of photon transport; the ensemble consists of all
instances of the tissues that are microscopically different but
macroscopically identical.
Rules are defined for photon propagation from the probability
distributions of, for example, the angles of scattering and the step
sizes.
The statistical nature requires tracking a large number of photons,
which is computationally time-consuming.
Multiple physical quantities can be simultaneously estimated,
however.
College of Engineering, Peking University
II
12
Simplifications
In this chapter, photons are treated as waves at
each scattering site but as classical particles
elsewhere.
Coherence, polarization, and nonlinearity are
neglected.
Structural anisotropy--not to be confused with
scattering angular anisotropy--in tissue
components, such as muscle fibers or collagens, is
neglected as well.
College of Engineering, Peking University
II
13
II
14
II
15
II
16
II
17
Beer-Lambert law
I0
I(d)
II
18
Henyey-Greenstein Phase
Function
Henyey and Greenstein (1941) devised an expression which mimics
the angular dependence of light scattering by small particles, which
they used to describe scattering of light by interstellar dust clouds.
The Henyey-Greenstein scattering function has proven to be useful
in approximating the angular scattering dependence of single
scattering events in biological tissues.
II
19
II
20
Definition of Problem
The problem to be solved begins with an
infinitely narrow photon beam, also
referred to as a pencil beam, that is
perpendicularly incident on a multilayered scattering medium (Figure 3.1);
various physical quantities are computed
as responses.
The pencil beam can be represented by
an impulse (Dirac delta) function of
space, direction, and time; thus, the
responses are termed impulse responses
or Greens functions.
Although never infinitely wide in reality,
a layer can be so treated if it is much
wider than the photon distribution.
College of Engineering, Peking University
II
21
Optical Properties
Each layer is described by the following
parameters:
thickness ,
refractive index ,
absorption coefficient ,
scattering coefficient ,
scattering anisotropy .
II
22
Coordinates
II
23
p( x) 1
II
24
Sample random
variables
The probability that x will fall in
the interval [a, x1] is given by the
distribution function F(x1),
defined as:
x1
F ( x1 ) p ( x)dx
a
II
25
Sample random
variables
By using a computer random number generator,
one can obtain a random number in the range [0,
1]. The probability density function for this
random number is 1 in the range [0, 1].
The corresponding probability distribution is
1
F (1 ) p ( )d 1 [0,1]
a
II
26
1 F ( x1 ) p ( x)dx
a
II
27
p ( x)dx
a
II
28
p x dx
p(x )
II
P( ) a p( x )dx
29
II
30
II
31
dT ( s1 )
t ds1
T ( s1 )
II
32
P ( s s1 ) T ( s1 ) exp( t s1 )
P ( s s1 ) 1 T ( s1 ) 1 exp( t s1 )
II
33
Final expression
Solving for s yields:
ln
s
t
II
34
II
35
II
36
II
37
II
38
II
39
g
2
1 g
cos 2 g
1 g 2 g
2 1
if
g0
if
g 0
[0, 2
1
p
2
2
College of Engineering, Peking University
II
41
x x x si
y y y si
z z z si
College of Engineering, Peking University
II
42
Absorption
a
W
W
t
W W W
2
z
2
z
x cos ,
y cos ,
Postscattering photon propagation k ' along z has polar and azimuthal angles , in x ' , y ' , z ' .
Alternative solution exists.
II
44
II
45
II
46
t
= sqrt(1.0-n*n*(1.0-w*w));
/* cos of exit angle */
temp1 = (w - n*t)/(w + n*t);
temp = (t - n*w)/(t + n*w);
rf = (temp1*temp1+temp*temp)/2.0;
/* Fresnel reflection */
rd += (1.0-rf) * weight;
weight -= (1.0-rf) * weight;
}
College of Engineering, Peking University
II
47
II
48
/*new direction*/
II
49
II
50
II
51
II
52
Summary
Monte Carlo can simulate photon transport in
biological tissue
Three steps: move, absorb, scatter
Weight defines its alive or dead
The trajectory of a photon is modeled as a
persistent random walk. The directions are
independent.
II
53
Further readings
http://
omlc.ogi.edu/classroom/ece532/class4/index.html
Tiny_mc.c, Small_mc.c, mc321.c:
http://omlc.ogi.edu/software/mc/
MCML download:
http://labs.seas.wustl.edu/bme/Wang/mc.html
II
54
Homework
1. Plot the Henyey Greenstein Function with different g.
2. Write a program (in C or MATLAB) to describe a simple
random walk in x-y plane. The direction is uniformly
random in 360 degrees, and the walking step size follows
the same way of a photon transportation in a medium
with =100 /cm. Plot your result and hand in your
program. (up to 20 steps)
3. Rewrite the tiny_mc.c program to Matlab.
II
55
Fiber
=633nm
College of Engineering, Peking University
Biomedical Optics II
56
Fiber
=633nm
College of Engineering, Peking University
Biomedical Optics II
57
Fiber
=633nm
College of Engineering, Peking University
Biomedical Optics II
58
Experiment report
Using g = 0.9, and the measured scattering coefficient as
well as other parameters, apply Monte Carlo simulation
(next experiment), then compare your simulated result
with your measured data.
Biomedical Optics II
59