CS4495/6495 Introduction to Computer Vision 5A-L1 Photometry Slides - - PowerPoint PPT Presentation

β–Ά
cs4495 6495
SMART_READER_LITE
LIVE PREVIEW

CS4495/6495 Introduction to Computer Vision 5A-L1 Photometry Slides - - PowerPoint PPT Presentation

CS4495/6495 Introduction to Computer Vision 5A-L1 Photometry Slides by Yin Li Thanks to Srinivasa Narasimhan, Shree Nayar, David Kreigman, Marc Pollefeys Photometry: Measuring light Lighting Camera Physical Models Computer Scene Lights,


slide-1
SLIDE 1

5A-L1 Photometry

CS4495/6495 Introduction to Computer Vision

Slides by Yin Li Thanks to Srinivasa Narasimhan, Shree Nayar, David Kreigman, Marc Pollefeys

slide-2
SLIDE 2

Photometry: Measuring light

Camera Computer Lighting Scene Physical Models

slide-3
SLIDE 3

Lights, surfaces ,and shadows

slide-4
SLIDE 4

Reflections

slide-5
SLIDE 5

Refractions

slide-6
SLIDE 6

Interreflections

slide-7
SLIDE 7

Scattering

slide-8
SLIDE 8
slide-9
SLIDE 9

Surface appearance

  • Image intensity = 𝑔(normal, surface reflectance, illumination)
  • Surface reflection depends on both the viewing and

illumination directions

source sensor surface element normal

slide-10
SLIDE 10

Radiometry

Radiance (𝑀): Energy carried by a ray

  • Power per unit area perpendicular

to direction of travel, per unit solid angle

  • Units: Watts per square meter per

steradian (π‘‹π‘›βˆ’2π‘‘π‘ βˆ’1)

𝑒𝐡 π‘œ πœ„ π‘’πœ• 𝑒𝐡cosπœ„

slide-11
SLIDE 11

Radiometry

Irradiance (𝐹): Energy arriving at a surface

  • Incident power in a given direction,

per unit area

  • Units: π‘‹π‘›βˆ’2

𝑒𝐡 π‘œ πœ„ π‘’πœ• 𝑒𝐡cosπœ„

slide-12
SLIDE 12

Foreshortening: A simple observation

β€œPerpendicular light” β€œForeshortened light”

slide-13
SLIDE 13

𝑒𝐡

Radiometry

Irradiance (𝐹): Energy arriving at a surface

  • Incident power in a given direction,

per unit area

  • Units: π‘‹π‘›βˆ’2

For a surface receiving radiance 𝑀(πœ„, πœ’) coming in from π‘’πœ• the corresponding irradiance is 𝐹 πœ„, πœ’ = 𝑀 πœ„, πœ’ cosπœ„ π‘’πœ•

π‘œ πœ„ π‘’πœ• 𝑒𝐡cosπœ„

slide-14
SLIDE 14

BRDF: Bidirectional Reflectance Distribution Function

Irradiance: Light per unit area incident on a surface Radiance: Light from the surface reflected in a given direction, within a given solid angle X Y Z πœ„ πœ’ source sensor surface element normal incident direction πœ„π‘—, πœ’π‘— viewing direction πœ„π‘ , πœ’π‘  πœ„π‘— πœ„π‘ 

slide-15
SLIDE 15

𝐹𝑑𝑣𝑠𝑔𝑏𝑑𝑓(πœ„π‘—, πœ’π‘— : Irradiance at surface from direction πœ„π‘—, πœ’π‘— 𝑀𝑑𝑣𝑠𝑔𝑏𝑑𝑓(πœ„π‘ , πœ’π‘  : Radiance from surface in direction πœ„π‘ , πœ’π‘ 

BRDF: Bidirectional Reflectance Distribution Function

source sensor surface element normal incident direction πœ„π‘—, πœ’π‘— viewing direction πœ„π‘ , πœ’π‘  X Y Z πœ„ πœ’ πœ„π‘— πœ„π‘ 

slide-16
SLIDE 16

BRDF: 𝑔(πœ„π‘—, πœ’π‘—; πœ„π‘ , πœ’π‘ ) =

𝑀𝑑𝑣𝑠𝑔𝑏𝑑𝑓(πœ„π‘ ,πœ’π‘  𝐹𝑑𝑣𝑠𝑔𝑏𝑑𝑓(πœ„π‘—,πœ’π‘—

BRDF: Bidirectional Reflectance Distribution Function

source sensor surface element normal incident direction πœ„π‘—, πœ’π‘— viewing direction πœ„π‘ , πœ’π‘  X Y Z πœ„ πœ’ 𝐹𝑑𝑣𝑠𝑔𝑏𝑑𝑓(πœ„π‘—, πœ’π‘— : Irradiance at surface from direction πœ„π‘—, πœ’π‘— 𝑀𝑑𝑣𝑠𝑔𝑏𝑑𝑓(πœ„π‘ , πœ’π‘  : Radiance from surface in direction πœ„π‘ , πœ’π‘  πœ„π‘— πœ„π‘ 

slide-17
SLIDE 17

Important properties of BRDFs

Helmholtz Reciprocity: 𝑔 πœ„π‘—, πœ’π‘—; πœ„π‘ , πœ’π‘  = 𝑔 πœ„π‘ , πœ’π‘ ; πœ„π‘—, πœ’π‘—

source sensor surface element normal incident direction πœ„π‘—, πœ’π‘— viewing direction πœ„π‘ , πœ’π‘  X Y Z πœ„ πœ’ πœ„π‘— πœ„π‘ 

slide-18
SLIDE 18

Important properties of BRDFs

Rotational Symmetry (Isotropy): 𝑔 πœ„π‘—, πœ’π‘—; πœ„π‘ , πœ’π‘  = 𝑔 πœ„π‘—, πœ„π‘ , πœ’π‘— βˆ’ πœ’π‘ 

source sensor surface element normal incident direction πœ„π‘—, πœ’π‘— viewing direction πœ„π‘ , πœ’π‘  X Y Z πœ„ πœ’ πœ„π‘— πœ„π‘ 

slide-19
SLIDE 19

BRDF’s can be incredibly complicated…

slide-20
SLIDE 20

Reflection Models

Body (diffuse) Reflection:

  • Diffuse Reflection
  • Matte Appearance
  • Non-Homogeneous

medium

  • Clay, paper, etc.

source surface incident direction body reflection

slide-21
SLIDE 21

Reflection Models

Body (diffuse) Reflection:

  • Diffuse Reflection
  • Matte Appearance
  • Non-Homogeneous

medium

  • Clay, paper, etc.
slide-22
SLIDE 22

Reflection Models

source surface reflection surface incident direction

Surface Reflection:

  • Specular Reflection
  • Glossy Appearance
  • Highlights
  • Dominant for Metals
slide-23
SLIDE 23

Reflection Models

Surface Reflection:

  • Specular Reflection
  • Glossy Appearance
  • Highlights
  • Dominant for Metals
slide-24
SLIDE 24

Reflection Models

source surface incident direction body reflection surface reflection

Image Intensity = Body Reflection + Surface Reflection

slide-25
SLIDE 25

Diffuse Reflection and Lambertian BRDF

  • Only body reflection, and no specular reflection
  • Lamberts law – essentially a patch looks

equally bright from every direction.

slide-26
SLIDE 26

Diffuse Reflection and Lambertian BRDF

slide-27
SLIDE 27

Diffuse Reflection and Lambertian BRDF

  • Surface appears equally bright from all directions!

(independent of 𝑀 )

source intensity 𝐽 sensor surface element normal π‘œ incident direction 𝑑 viewing direction 𝑀 πœ„π‘— πœ„π‘ 

slide-28
SLIDE 28

Diffuse Reflection and Lambertian BRDF

  • Lambertian BRDF is simply a constant – the albedo:

𝑔(πœ„π‘—, πœ’π‘—; πœ„π‘ , πœ’π‘ ) = πœπ‘’

source intensity 𝐽 sensor surface element normal π‘œ incident direction 𝑑 viewing direction 𝑀 πœ„π‘— πœ„π‘ 

slide-29
SLIDE 29

Diffuse Reflection and Lambertian BRDF

  • Surface Radiance: 𝑀 = πœπ‘’ 𝐽 cos πœ„π‘— = πœπ‘’ 𝐽 ( π‘œ β‹… 𝑑

)

source intensity source intensity 𝐽 sensor surface element normal π‘œ incident direction 𝑑 viewing direction 𝑀 πœ„π‘—

slide-30
SLIDE 30

Diffuse Reflection and Lambertian BRDF

  • Surface Radiance: 𝑀 = πœπ‘’ 𝐽 cos πœ„π‘— = πœπ‘’ 𝐽 ( π‘œ β‹… 𝑑

)

source intensity source intensity 𝐽 sensor surface element normal π‘œ incident direction 𝑑 viewing direction 𝑀 πœ„π‘—

slide-31
SLIDE 31

Specular Reflection and Mirror BRDF

How about a mirror? Reflection only at mirror angle

slide-32
SLIDE 32

Specular Reflection and Mirror BRDF

  • All incident light reflected in a single direction (visible

when 𝑀 = 𝑛)

source intensity 𝐽 sensor surface element normal π‘œ incident direction 𝑑 πœ„π‘—, πœ’π‘— viewing direction 𝑀 πœ„π‘€, πœ’π‘€ πœ„π‘— πœ„π‘€ specular/mirror direction 𝑛 πœ„π‘›, πœ’π‘›

slide-33
SLIDE 33

Specular Reflection and Mirror BRDF

  • Mirror BRDF is simply a double-delta function:

𝑔(πœ„π‘—, πœšπ‘—; πœ„π‘€, πœšπ‘€) = πœπ‘‘πœ€(πœ„π‘— βˆ’ πœ„π‘€) πœ€(πœšπ‘— + 𝜌 βˆ’ πœšπœ‘)

source intensity 𝐽 sensor surface element normal π‘œ incident direction 𝑑 πœ„π‘—, πœ’π‘— viewing direction 𝑀 πœ„π‘€, πœ’π‘€ πœ„π‘— πœ„π‘€ specular/mirror direction 𝑛 πœ„π‘›, πœ’π‘›

slide-34
SLIDE 34

Specular Reflection and Mirror BRDF

  • Surface Radiance:

𝑀 = 𝐽 πœπ‘‘ πœ€ πœ„π‘— βˆ’ πœ„π‘€ πœ€ πœ’π‘— + 𝜌 βˆ’ πœ’π‘€

source intensity 𝐽 sensor surface element normal π‘œ incident direction 𝑑 πœ„π‘—, πœ’π‘— viewing direction 𝑀 πœ„π‘€, πœ’π‘€ πœ„π‘— specular/mirror direction 𝑛 πœ„π‘›, πœ’π‘› πœ„π‘€

slide-35
SLIDE 35

Specular Reflection and Mirror BRDF

  • Surface Radiance:

𝑀 = π½πœπ‘‘πœ€ 𝑛 βˆ’ 𝑀

  • r 𝐽 πœπ‘‘ πœ€ π‘œ βˆ’ β„Ž

(β„Ž is the β€œhalf angle”)

source intensity 𝐽 sensor surface element normal π‘œ incident direction 𝑑 πœ„π‘—, πœ’π‘— viewing direction 𝑀 πœ„π‘€, πœ’π‘€ πœ„π‘— specular/mirror direction 𝑛 πœ„π‘›, πœ’π‘› πœ„π‘€

slide-36
SLIDE 36

Specular Reflection and Glossy BRDF

𝑀 = 𝐽 πœπ‘‘ 𝑛 β‹… 𝑀 𝑙

slide-37
SLIDE 37

Specular reflection

Moving the light source Changing the exponent

slide-38
SLIDE 38

Phong Reflection Model

The BRDF of many surfaces can be approximated by: Lambertian + Specular Model

source

Lambertian

source

Specular Model

normal

slide-39
SLIDE 39

Diffuse + Specular Reflection

diffuse specular diffuse + specular