Lecture 12 Monte Carlo Simulations Useful web sites:

Slides:



Advertisements
Similar presentations
The Radiance Equation.
Advertisements

Lectures 6&7: Variance Reduction Techniques
II Escuela de Optica Biomedica, Puebla, 2011 Modeling of polarized light transfer in scattering media Monte Carlo.
Sensitivity Analysis In deterministic analysis, single fixed values (typically, mean values) of representative samples or strength parameters or slope.
A Monte Carlo model of light propagation in tissue
Photorealistic Rendering. Ray tracing v. photorealistic rendering What illumination effects are not captured by ray tracing? What illumination effects.
The Radiance Equation Mel Slater. Outline Introduction Light Simplifying Assumptions Radiance Reflectance The Radiance Equation Traditional Rendering.
RADIOSITY Submitted by CASULA, BABUPRIYANK. N. Computer Graphics Computer Graphics Application Image Synthesis Animation Hardware & Architecture.
1. What is Lighting? 2 Example 1. Find the cubic polynomial or that passes through the four points and satisfies 1.As a photon Metal Insulator.
CSCE 641: Photon Mapping Jinxiang Chai. Outline Rendering equation Photon mapping.
Physics of fusion power Lecture 11: Diagnostics / heating.
Chapter 7 Sampling and Sampling Distributions
Statistics.
A 21 F A 21 F Parameterization of Aerosol and Cirrus Cloud Effects on Reflected Sunlight Spectra Measured From Space: Application of the.
Rendering General BSDFs and BSSDFs Randy Rauwendaal.
Using ranking and DCE data to value health states on the QALY scale using conventional and Bayesian methods Theresa Cain.
1 Stratified sampling This method involves reducing variance by forcing more order onto the random number stream used as input As the simplest example,
G. Cowan Lectures on Statistical Data Analysis Lecture 10 page 1 Statistical Data Analysis: Lecture 10 1Probability, Bayes’ theorem 2Random variables and.
The Monte Carlo Method: an Introduction Detlev Reiter Research Centre Jülich (FZJ) D Jülich
L7.1b Continuous Random Variables CONTINUOUS RANDOM VARIABLES NORMAL DISTRIBUTIONS AD PROBABILITY DISTRIBUTIONS.
Biomedical Optics II 生物医学光学II
Lyes Lakhal Institut Polytechnique LaSalle Beauvais Rue Pierre WAGUET
Attenuation by absorption and scattering
02/25/05© 2005 University of Wisconsin Last Time Meshing Volume Scattering Radiometry (Adsorption and Emission)
Continuous Probability Distributions  Continuous Random Variable  A random variable whose space (set of possible values) is an entire interval of numbers.
The Limits of Light Diffusion Approximation Robert Scott Brock(1), Jun Qing Lu(1), Xin-Hua Hu(1), David W. Pravica(2) Department of Physics,(1) Department.
Random Sampling, Point Estimation and Maximum Likelihood.
Introduction to Monte Carlo Simulation. What is a Monte Carlo simulation? In a Monte Carlo simulation we attempt to follow the `time dependence’ of a.
Monte Carlo Simulation CWR 6536 Stochastic Subsurface Hydrology.
Dr. Gary Blau, Sean HanMonday, Aug 13, 2007 Statistical Design of Experiments SECTION I Probability Theory Review.
Theory of Probability Statistics for Business and Economics.
-Global Illumination Techniques
CSC418 Computer Graphics n Illumination n Lights n Lightinging models.
Normal Distribution. Intuition The sum of two dice The sum of two dice = 7 The total number of possibilities is : 6x6=36.
Module 1: Statistical Issues in Micro simulation Paul Sousa.
1 SMU EMIS 7364 NTU TO-570-N Inferences About Process Quality Updated: 2/3/04 Statistical Quality Control Dr. Jerrell T. Stracener, SAE Fellow.
ECE 8443 – Pattern Recognition LECTURE 07: MAXIMUM LIKELIHOOD AND BAYESIAN ESTIMATION Objectives: Class-Conditional Density The Multivariate Case General.
Computer Graphics Global Illumination: Photon Mapping, Participating Media Lecture 12 Taku Komura.
Simulation is the process of studying the behavior of a real system by using a model that replicates the behavior of the system under different scenarios.
Radiation Shielding and Reactor Criticality Fall 2012 By Yaohang Li, Ph.D.
February 2004 Chuck DiMarzio, Northeastern University a-1 ECEU692 Subsurface Imaging Course Notes Part 2: Imaging with Light (3): Strong Scattering.
5-1 ANSYS, Inc. Proprietary © 2009 ANSYS, Inc. All rights reserved. May 28, 2009 Inventory # Chapter 5 Six Sigma.
Lesson 4: Computer method overview
Simulation is the process of studying the behavior of a real system by using a model that replicates the system under different scenarios. A simulation.
Photo-realistic Rendering and Global Illumination in Computer Graphics Spring 2012 Material Representation K. H. Ko School of Mechatronics Gwangju Institute.
SUBDIFFUSION OF BEAMS THROUGH INTERPLANETARY AND INTERSTELLAR MEDIA Aleksander Stanislavsky Institute of Radio Astronomy, 4 Chervonopraporna St., Kharkov.
CY1B2 Statistics1 (ii) Poisson distribution The Poisson distribution resembles the binomial distribution if the probability of an accident is very small.
Computer simulation Sep. 9, QUIZ 2 Determine whether the following experiments have discrete or continuous out comes A fair die is tossed and the.
Presentation for chapters 5 and 6. LIST OF CONTENTS 1.Surfaces - Emission and Absorption 2.Surfaces - Reflection 3.Radiative Transfer in the Atmosphere-Ocean.
CSE 474 Simulation Modeling | MUSHFIQUR ROUF CSE474:
Electromagnetism Around 1800 classical physics knew: - 1/r 2 Force law of attraction between positive & negative charges. - v ×B Force law for a moving.
1 CSCE 441: Computer Graphics Lighting Jinxiang Chai.
Chapter 7 Introduction to Sampling Distributions Business Statistics: QMIS 220, by Dr. M. Zainal.
Lecture 3 Types of Probability Distributions Dr Peter Wheale.
Project Proposal Monte Carlo Simulation of Photon Migration.
G. Cowan Lectures on Statistical Data Analysis Lecture 5 page 1 Statistical Data Analysis: Lecture 5 1Probability, Bayes’ theorem 2Random variables and.
G. Cowan Lectures on Statistical Data Analysis Lecture 10 page 1 Statistical Data Analysis: Lecture 10 1Probability, Bayes’ theorem 2Random variables and.
1 CSCE 441: Computer Graphics Lighting Jinxiang Chai.
Computer Graphics Ken-Yi Lee National Taiwan University (the slides are adapted from Bing-Yi Chen and Yung-Yu Chuang)
MONTE CARLO SIMULATION MODEL. Monte carlo simulation model Computer based technique length frequency samples are used for the model. In addition randomly.
Computer Graphics: Illumination
Specific features of motion of the photon density normalized maximum
© 2002 University of Wisconsin
Uniform and Normal Distributions
Mont-Carlo simulation of OCT structural images of subcutaneous
Infrared emission from dust and gas in galaxies
LECTURE 09: BAYESIAN LEARNING
CHAPTER – 1.2 UNCERTAINTIES IN MEASUREMENTS.
Lesson 4: Application to transport distributions
CHAPTER – 1.2 UNCERTAINTIES IN MEASUREMENTS.
Presentation transcript:

Lecture 12 Monte Carlo Simulations Useful web sites:

Introduction Monte Carlo method Simulates photon transport in turbid medium such as tissue, that contains absorption and scattering This model is based on a random walk, where a photon or a photon package is traced through the tissue until it exits or until it gets entirely absorbed The method is based on a set of rules that govern the movement of the photon in tissue (transport equation); the 2 key decisions: 1) the mean free path for an absorption or scattering event 2) the scattering angle

Introduction Monte Carlo method Emitted Light Incident Light Absorption Event

Introduction Input - photons The rules of photon propagation are expressed as probability distributions (for incremental steps) The method is statistical in nature and requires the propagation of a large number of photons Computational time is proportional to the number of photons launched in the simulation (typically, 1E6); number of photons determine precision

I. Introduction Output Reflectance Large Number of Photons Fluence Transmission z r

I. Introduction Assumptions The simulations treat photons as neutral particles rather than as a wave phenomenon It is assumed that the photons are multiply scattered by tissues Therefore, phase and polarization are assumed to be randomized and can be ignored

I. Introduction Limitations The Monte Carlo method is based on macroscopic optical properties that are assumed to extend uniformly over the tissue volume Cannot handle small heterogeneities such as photon transport in cells or organelles Significant computational time; not ideal for real-time analysis Does not provide intuition on the dependence of reflectance on optical properties

Monte Carlo Simulations Why? Perform simulations for conditions under which the accuracy of the diffusion approximation is limited Simulate more complicated tissue geometries (multilayer media) Simulate more complicated light illumination geometries (collimated, angled, Gaussian beam illumination)

I. Introduction

II. Selecting Variables I. Selecting step size II. Selecting direction: deflection angle azimuthal angle

II. Selecting the Variables The variables that govern Monte Carlo The mean free path for an absorption or scattering event Step size (function of  a and  s ) The scattering angle Deflection angle,  function of anisotropy, g) Azimuthal angle,  Random number generators will be used for the selection of step size, deflection angle and azimuthal angle for sampling from known probability density functions

II. Selecting the Variables The variables that govern Monte Carlo

II. Selecting the Variables Basis for the Monte Carlo method The Monte Carlo method as its name implies (“throwing the dice”) relies on the random sampling of a probability density function based on a computer generated random number Need to understand definitions for probability density functions and probability distributions

II. Selecting the Variables Random variable, “x” A probability density function is a function defined on a continuous interval so that the area under the curve described by the function is unity The probability density function p(x) for some random variable, x, defines the distribution of x over the interval a<x<b, such that:

II. Selecting the Variables Random variable, “x” The probability that x will fall in the interval [a,x 1 ] such that a < x< x 1, is given by a probability distribution function, F(x 1 ) which is defined by:

II. Selecting the Variables Random variable, “x”

II. Selecting the Variables Random Numbers Now we want to utilize a uniform random number generator of the computer to generate a random variable, rnd between 0 and 1 The uniform probability density function (for the random number) will be mapped to a specific probability density function p(x) corresponding to step size, deflection angle and azimuthal angle

II. Selecting the Variables Random number, rnd Now apply the same logic to the probability density function for a random number, rnd The probability density function for a random number, rnd is a constant over [0,1]:

II. Selecting the Variables Random number, rnd The probability that rnd will fall in the interval [0, rnd 1 ] such that 0 < rnd<rnd , is given by the probability distribution function, F(rnd  ) which is defined by:

II. Selecting the Variables Random number, rnd

II. Selecting the Variables Relationship between x and rnd The key to the Monte Carlo selection of x using rnd is to equate the probability that rnd is in the interval [0, rnd 1 ] with the probability that x is in the interval [a,x 1 ] In other words, we can equate F(x) to F(rnd); i.e., we are equating the shaded areas under the curves

II. Selecting the Variables Random number, rnd

II. Selecting the Variables

Basic equation For generality, we replace the variables, rnd 1 and x 1 by the continuous variables, rnd and x: This is the basic equation for sampling x from p(x) using a randomly generated number, rnd over the interval [0,1]

II. Selecting the Variables Random Numbers Need pdfs for step size, deflection angle and azimuthal angle Need to relate rnd to pdf using the transformation expression Express step size, deflection angle and azimuthal angle in terms of rnd

II. Selecting the Variables Three equations Step size Deflection angle Azimuthal angle

II. Selecting the Variables The known parameters  a ( ),  s ( , g( ), n t Emitted Light Incident Light Absorption Event nmnm

III. Photon Propagation

Initializing and launching the photon Each photon is initially assigned a weight, W equal to unity, before it is injected into the tissue at the origin If there is a mismatched boundary between the outside medium (m) and tissue (t), then specular reflectance will occur (Fresnel law): The resulting photon weight, W is decreased to:

III. Photon Propagation

Generating the step size The computer’s random number generator yields a random variable, rnd, in the interval [0,1] and the sampling of the step size, s is given by:

III. Photon Propagation

Photon absorption Once the photon has taken a step, some attenuation of the photon weight due to absorption must occur; the amount of deposited photon weight,  Q is: The new photon weight, W is:

III. Photon Propagation

Terminating a photon A technique called Roulette is used to terminate the photon when W < W threshold This technique gives the photon one chance in m of surviving with a weight, mW. This is also carried out using a random number generator.

III. Photon Propagation

Change photon direction If the photon survived, it is ready to be scattered Photon deflection angle,  equals cos -1 (  ) (Here  is related to anisotropy) Photon azimuthal angle is  Next the new trajectory of the photon (  x ’,  y ’,  z ’), can be calculated from the old trajectory Where,  x ’,  y ’, and  z ’ are the direction cosines specified by taking the angle that the photon direction makes with each axis

II. Selecting the Variables Three equations Step size Deflection angle Azimuthal angle

III. Photon Propagation

Internal reflection or escape The internal reflectance is also calculated using Fresnel’s law A fraction, 1-R(  ) of the current photon weight successfully escapes the tissue as observable reflectance and updates the total reflectance A fraction R(  ) of the current photon weight is internally reflected. The new photon weight is: R(  )W