measurement, inverse rendering coms 6998-3, lecture 4

31
Measurement, Inverse Rendering COMS 6998-3, Lecture 4

Post on 20-Dec-2015

219 views

Category:

Documents


3 download

TRANSCRIPT

Page 1: Measurement, Inverse Rendering COMS 6998-3, Lecture 4

Measurement, Inverse Rendering

COMS 6998-3, Lecture 4

Page 2: Measurement, Inverse Rendering COMS 6998-3, Lecture 4

Motivations

• True knowledge of surface properties

• Accurate models for graphics

• Augmented reality, scene editing

Page 3: Measurement, Inverse Rendering COMS 6998-3, Lecture 4

Photorealistic Rendering

Materials/Lighting(Texture Reflectance[BRDF] Lighting)

Realistic input models required

Arnold Renderer: Marcos Fajardo

Rendering Algorithm

80’s,90’s: Physically based

Geometry

70’s, 80’s: Splines90’s: Range Data

Page 4: Measurement, Inverse Rendering COMS 6998-3, Lecture 4

Flowchart

Photographs

Geometric model

InverseRenderingAlgorithm

Lighting

BRDF

Page 5: Measurement, Inverse Rendering COMS 6998-3, Lecture 4

Flowchart

Photographs

Geometric model

ForwardRenderingAlgorithm

Lighting

BRDF

Rendering

Page 6: Measurement, Inverse Rendering COMS 6998-3, Lecture 4

Flowchart

Photographs

Geometric model

ForwardRenderingAlgorithm

BRDF

Novel lighting

Rendering

Page 7: Measurement, Inverse Rendering COMS 6998-3, Lecture 4

Next 3 slides courtesy George Drettakis

Page 8: Measurement, Inverse Rendering COMS 6998-3, Lecture 4
Page 9: Measurement, Inverse Rendering COMS 6998-3, Lecture 4
Page 10: Measurement, Inverse Rendering COMS 6998-3, Lecture 4

Taxonomy 1( , , , , , ) ( , , , , , )in outx y t x y t

General function = 12D

Scattering function = 9D

Assume time doesn’t matter (no phosphorescence)

Assume wavelengths are equal (no fluorescence)

Single-wavelength Scattering function = 8D

Assume wavelength is discretized or integrated into RGB(This is a common assumption for computer graphics)

( , , , ) ( , , , )in outx y x y

Page 11: Measurement, Inverse Rendering COMS 6998-3, Lecture 4

Taxonomy 2

Single-wavelength Scattering function = 8D

( , , , ) ( , , , )in outx y x y

Bidirectional Texture Function (BTF)Spatially-varying BRDF (SVBRDF) = 6D

Ignore subsurface scattering (x,y) in = (x,y) out

Bidirectional Subsurface ScatteringDistribution Function (BSSRDF) = 6D

Ignore dependence on position

Light Fields, Surface LFs = 4D

Ignore direction of incident light

( , , , )outx y

Texture Maps = 2D

Assume Lambertian

( , )outx y

3D

Assume isotropy

BRDF = 4D

Ignore subsurface scattering

( , ) ( , )in out

Ignore dependenceon position

2D

Measure plane of incidence

0D

Low-parameter BRDF model

Page 12: Measurement, Inverse Rendering COMS 6998-3, Lecture 4

Outline

• Motivation

• Taxonomy of measurements

• BRDF measurement

• Highlights from recent work

• Next week: paper presentations

Page 13: Measurement, Inverse Rendering COMS 6998-3, Lecture 4

Definition of BRDF

Sourcesrc

src

Detectordet

det

E

L

dA

dA

src

det det

rf

dA Next several slides courtesy Szymon Rusinkiewicz

Page 14: Measurement, Inverse Rendering COMS 6998-3, Lecture 4

Measuring BRDFs

• A full BRDF is 4-dimensional

• Simpler measurements (0D/1D/2D/3D) often useful

• Start with simplest, and get more complex

Page 15: Measurement, Inverse Rendering COMS 6998-3, Lecture 4

Measuring Reflectance

0º/45ºDiffuse Measurement

45º/45ºSpecular Measurement

Page 16: Measurement, Inverse Rendering COMS 6998-3, Lecture 4

Integrating Spheres

• Sphere with diffuse material on inside

• Geometry ensures even illumination

• More accurate measure ofdiffuse reflectance

Page 17: Measurement, Inverse Rendering COMS 6998-3, Lecture 4

Gloss Measurements

• Standardized for applications such as paint manufacturing

• Example: “contrast gloss” is essentially ratio of specular to diffuse

• “Sheen” is specular measurement at 85°

Page 18: Measurement, Inverse Rendering COMS 6998-3, Lecture 4

Gloss Measuements

• “Haze” and “distinctness of image” are measurements of width of specular peak

Page 19: Measurement, Inverse Rendering COMS 6998-3, Lecture 4

BRDF Measurements

• Next step up in complexity: measure BRDF in plane of incidence (1- or 2-D)

Page 20: Measurement, Inverse Rendering COMS 6998-3, Lecture 4

Gonioreflectometers

• Three degrees of freedom spread among light source, detector, and/or sample

Page 21: Measurement, Inverse Rendering COMS 6998-3, Lecture 4

Gonioreflectometers

• Three degrees of freedom spread among light source, detector, and/or sample

Page 22: Measurement, Inverse Rendering COMS 6998-3, Lecture 4

Gonioreflectometers

• Can add fourth degree of freedom to measure anisotropic BRDFs

Page 23: Measurement, Inverse Rendering COMS 6998-3, Lecture 4

Image-Based BRDF Measurement

• Reduce acquisition time by obtaining larger (e.g. 2-D) slices of BRDF at once

• Idea: Camera can acquire 2D image

• Requires mapping of angles of light to camera pixels

Page 24: Measurement, Inverse Rendering COMS 6998-3, Lecture 4

Marschner’s Image-Based BRDF Measurement• For uniform BRDF, capture 2-D slice

corresponding to variations in normals

Page 25: Measurement, Inverse Rendering COMS 6998-3, Lecture 4

Marschner’s Image-BasedBRDF Measurement

• Any object with known geometry

Page 26: Measurement, Inverse Rendering COMS 6998-3, Lecture 4

BRDF Measurement is Hard!

Page 27: Measurement, Inverse Rendering COMS 6998-3, Lecture 4

Reflectance modeling (diff +specular texture)

Input Synthesized

Sato, Wheeler, Ikeuchi 97

Page 28: Measurement, Inverse Rendering COMS 6998-3, Lecture 4

Image-based measurement of skin

Marschner et al. 2000

Page 29: Measurement, Inverse Rendering COMS 6998-3, Lecture 4

Inverse Global Illumination

Yu et al. 99

Page 30: Measurement, Inverse Rendering COMS 6998-3, Lecture 4

From a single image

Boivin and Gagalowicz 01

Original Photo

Page 31: Measurement, Inverse Rendering COMS 6998-3, Lecture 4

Assignment (by tomorrow)

• Brief e-mail of proposed project, partners, plan of action (milestones)

• Iterate by e-mail or schedule appointments later in the week

• 1-2 page proposal due next Wed. including an intermediate milestone (Oct. 23)