Monte Carol Integration

Slides:



Advertisements
Similar presentations
ECE 8443 – Pattern Recognition LECTURE 05: MAXIMUM LIKELIHOOD ESTIMATION Objectives: Discrete Features Maximum Likelihood Resources: D.H.S: Chapter 3 (Part.
Advertisements

Monte Carlo Methods and Statistical Physics
Probability Theory STAT 312 STAT 312 Dr. Zakeia AlSaiary.
Advanced Computer Graphics (Spring 2005) COMS 4162, Lectures 18, 19: Monte Carlo Integration Ravi Ramamoorthi Acknowledgements.
Advanced Computer Graphics (Fall 2009) CS 294, Rendering Lecture 5: Monte Carlo Path Tracing Ravi Ramamoorthi
Machine Learning CUNY Graduate Center Lecture 7b: Sampling.
Monte Carlo Integration COS 323 Acknowledgment: Tom Funkhouser.
Evaluating Classifiers Lecture 2 Instructor: Max Welling.
1 Monte Carlo Global Illumination Brandon Lloyd COMP 238 December 16, 2002.
A) Transformation method (for continuous distributions) U(0,1) : uniform distribution f(x) : arbitrary distribution f(x) dx = U(0,1)(u) du When inverse.
Principles of the Global Positioning System Lecture 10 Prof. Thomas Herring Room A;
Monte Carlo Integration Digital Image Synthesis Yung-Yu Chuang with slides by Pat Hanrahan and Torsten Moller.
Global Illumination Jian Huang, CS 594, Fall 2002 This set of slides reference text book and the course note of Dutre et. al on SIGGRAPH 2001.
1 CE 530 Molecular Simulation Lecture 7 David A. Kofke Department of Chemical Engineering SUNY Buffalo
Analysis of Monte Carlo Integration Fall 2012 By Yaohang Li, Ph.D.
1 Statistical Mechanics and Multi- Scale Simulation Methods ChBE Prof. C. Heath Turner Lecture 11 Some materials adapted from Prof. Keith E. Gubbins:
01/24/05© 2005 University of Wisconsin Last Time Raytracing and PBRT Structure Radiometric quantities.
1 Lesson 3: Choosing from distributions Theory: LLN and Central Limit Theorem Theory: LLN and Central Limit Theorem Choosing from distributions Choosing.
Machine Learning Lecture 23: Statistical Estimation with Sampling Iain Murray’s MLSS lecture on videolectures.net:
Monte Carlo I Previous lecture Analytical illumination formula This lecture Numerical evaluation of illumination Review random variables and probability.
ECE 8443 – Pattern Recognition ECE 8423 – Adaptive Signal Processing Objectives: Deterministic vs. Random Maximum A Posteriori Maximum Likelihood Minimum.
1 Lesson 8: Basic Monte Carlo integration We begin the 2 nd phase of our course: Study of general mathematics of MC We begin the 2 nd phase of our course:
7821 Monte Carlo Techniques Basic Concepts Chapter (13)14, 15 of “Physically Based Rendering” by Pharr&Humphreys.
02/10/03© 2003 University of Wisconsin Last Time Participating Media Assignment 2 –A solution program now exists, so you can preview what your solution.
MA-250 Probability and Statistics Nazar Khan PUCIT Lecture 26.
LECTURE 25 SIMULATION AND MODELING Md. Tanvir Al Amin, Lecturer, Dept. of CSE, BUET CSE 411.
4. Numerical Integration. Standard Quadrature We can find numerical value of a definite integral by the definition: where points x i are uniformly spaced.
Prabhas Chongstitvatana1 Monte Carlo integration It is a numerical probabilistic algorithm ab I/(b-a) f.
Computer Graphics III – Monte Carlo integration Direct illumination
Gil McVean, Department of Statistics Thursday February 12 th 2009 Monte Carlo simulation.
02/9/05© 2005 University of Wisconsin Last Time Lights Next assignment – Implement Kubelka-Munk as a BSDF.
PATH INTEGRAL FORMULATION OF LIGHT TRANSPORT Jaroslav Křivánek Charles University in Prague
Monte Carlo Integration Digital Image Synthesis Yung-Yu Chuang 12/3/2008 with slides by Pat Hanrahan and Torsten Moller.
The Monte Carlo Method/ Markov Chains/ Metropolitan Algorithm from sec in “Adaptive Cooperative Systems” -summarized by Jinsan Yang.
Computer Simulation Henry C. Co Technology and Operations Management,
Lesson 8: Basic Monte Carlo integration
Random number generation
EMIS 7300 SYSTEMS ANALYSIS METHODS FALL 2005
Optimization of Monte Carlo Integration
Introduction to Monte Carlo Method
2D Imaging and Transformation
Monte Carlo Integration
4. Numerical Integration
Sampling and Reconstruction of Visual Appearance
Intro to Sampling Methods
Ray Tracing via Markov Chain Monte-Carlo Method
Random Variates 2 M. Overstreet Spring 2005
Evaluating Classifiers
Discrete Probability Distributions
Monte Carlo Approximations – Introduction
Path Tracing (some material from University of Wisconsin)
Lecture 2 – Monte Carlo method in finance
COMP60611 Fundamentals of Parallel and Distributed Systems
Chapter 8 Random-Variate Generation
3D Transformation CS380: Computer Graphics Sung-Eui Yoon (윤성의)
Computer Graphics III Monte Carlo estimators – Exercises
Monte Carlo I Previous lecture Analytical illumination formula
Progressive Photon Mapping Toshiya Hachisuka Henrik Wann Jensen
Monte Carlo Path Tracing
Monte Carlo Rendering Central theme is sampling:
Statistical Methods for Data Analysis Random number generators
Ray Tracing Sung-Eui Yoon (윤성의) CS580: Course URL:
More Monte Carlo Methods
Radiosity Sung-Eui Yoon (윤성의) CS580: Course URL:
Where real stuff starts
Lesson 9: Basic Monte Carlo integration
Chapter 4. Supplementary Questions
Lesson 4: Application to transport distributions
Monte Carlo Integration
Classic Motion Planning Methods
Presentation transcript:

Monte Carol Integration CS580: Monte Carol Integration Sung-Eui Yoon (윤성의) Course URL: http://sglab.kaist.ac.kr/~sungeui/GCG 1

Class Objectives Sampling approach for solving the rendering equation Monte Carlo integration Estimator and its variance Sampling according to the pdf Refer to the chapter of Monte Carlo Integration of my book

Two Forms of the Rendering Equation Hemisphere integration Area integration

Radiance Evaluation Fundamental problem in GI algorithm Evaluate radiance at a given surface point in a given direction Invariance defines radiance everywhere else

Radiance Evaluation

Why Monte Carlo? Radiace is hard to evaluate Sample many paths Integrate over all incoming directions Analytical integration is difficult Need numerical techniques From kavita’s slides

Monte Carlo Integration Numerical tool to evaluate integrals Use sampling Stochastic errors Unbiased On average, we get the right answer

Assume: iid (Independent and identically distributed random variables)

I_prim is chosen to set I_prim * p(x) to be f(x)

Consider p(x) for estimate We will study it as importance sampling later

MC Integration - Example Code: mc_int_ex.m

Advantages of MC Convergence rate of Simple General Sampling Point evaluation General Works for high dimensions Deals with discontinuities, crazy functions, etc.

We will study how to generate samples based on a pdf later.

Importance Sampling Take more samples in important regions, where the function is large From kavita’s slides

Sampling according to pdf Inverse cumulative distribution function Rejection sampling

Inverse Cumulative Distribution Function – Discrete Case Given y, the random var, pick an event. , given uniform sampling

Continuous Random Variable Algorithm Pick u uniformly from [0, 1) Output y = P-1(u), where

1 – cos^2 a = sin ^ 2 a

Rejection Method     accept

Class Objectives were: Sampling approach for solving the rendering equation Monte Carlo integration Estimator and its variance Sampling according to the pdf

Homework Go over the next lecture slides before the class Watch 2 SIGGRAPH videos and submit your summaries every Tue. class Just one paragraph for each summary Example: Title: XXX XXXX XXXX Abstract: this video is about accelerating the performance of ray tracing. To achieve its goal, they design a new technique for reordering rays, since by doing so, they can improve the ray coherence and thus improve the overall performance.

Any Questions? Come up with one question on what we have discussed in the class and submit at the end of the class 1 for already answered questions 2 for typical questions 3 for questions with thoughts Submit questions at least four times before the mid-term exam Multiple questions for the class is counted as only a single time

Next Time Monte Carlo ray tracing

         

  accept