c omputational a spects of
play

C OMPUTATIONAL A SPECTS OF D IGITAL P HOTOGRAPHY P HOTOGRAPHY Image - PowerPoint PPT Presentation

CS 89.15/189.5, Fall 2015 C OMPUTATIONAL C OMPUTATIONAL A SPECTS OF D IGITAL P HOTOGRAPHY P HOTOGRAPHY Image Formation & Camera Basics (continued) Wojciech Jarosz wojciech.k.jarosz@dartmouth.edu Agenda Pinhole optics (Simplified) Lenses


  1. CS 89.15/189.5, Fall 2015 C OMPUTATIONAL C OMPUTATIONAL A SPECTS OF D IGITAL P HOTOGRAPHY P HOTOGRAPHY Image Formation & Camera Basics (continued) Wojciech Jarosz wojciech.k.jarosz@dartmouth.edu

  2. Agenda Pinhole optics (Simplified) Lenses Exposure - shutter speed - aperture - ISO Image processing basics CS 89/189: Computational Photography, Fall 2015 2

  3. Pinhole camera / camera obscura CS 89/189: Computational Photography, Fall 2015 3

  4. Abelardo Morell

  5. Pinhole cameras everywhere [Nils van der Burg] CS 89/189: Computational Photography, Fall 2015 After a slide by Steve Seitz 5

  6. Another way to make a pinhole camera http://www.debevec.org/Pinhole/ CS 89/189: Computational Photography, Fall 2015 After a slide by Alyosha Efros 6

  7. 2mm 1mm 0.6mm 0.35mm 0.15mm 0.07mm

  8. Replacing pinholes with lenses From Photography , London et al. CS 89/189: Computational Photography, Fall 2015 9

  9. Modern camera: 3 variables turn to adjust aperture turn to focus turn to adjust 
 shutter speed CS 89/189: Computational Photography, Fall 2015 After a slide by Steve Marschner 10

  10. Thin lens formula All rays passing through a single point y o on a 1 + 1 = 1 plane at distance D o in front of the lens will pass D i D o f through a single point y i at distance D i behind the lens. D i D o f y o y i CS 89/189: Computational Photography, Fall 2015 After a slide by Frédo Durand 11

  11. Lenses gather more light, but… Only one plane in focus Focus by moving sensor/film Cannot focus infinitely close CS 89/189: Computational Photography, Fall 2015 After a slide by Frédo Durand 12

  12. https://youtu.be/tS87bYD5kiM Focus distance & FOV (lens breathing)

  13. Focal length & sensor size impact FOV focal length f Film/sensor s FOV ✓ s ◆ FOV = 2 arctan 2 f focal plane scene CS 89/189: Computational Photography, Fall 2015 tree image: NRC Canada 14

  14. Changing focal length = cropping Andrew McWilliams CS 89/189: Computational Photography, Fall 2015 15

  15. Focal length & sensor size What happens when the film is half the size? Application: - Real film is 36x24mm - On the 10D, the sensor is 22.5 x 15.0 mm - Crop/conversion factor on the 10D? f D o ½ s Film/ sensor scene pinhole CS 89/189: Computational Photography, Fall 2015 After a slide by Frédo Durand 16

  16. https://lensvid.com/technique/why-depth-of-field-is-not-effected-by-sensor-size-a-demonstration/

  17. Chromatic Aberrations Refraction angle depends on wavelength! All colors won’t converge to the same point (wikipedia) CS 89/189: Computational Photography, Fall 2015 18

  18. (wikipedia) (wikipedia) (wikipedia)

  19. Spherical lenses (Hecht) two roughly fitting curved surfaces ground together will eventually become spherical spheres don’t bring parallel hyperbolic lens rays to a point! - this is called spherical aberation (wikipedia) - nearly axial rays behave best spherical lens CS 89/189: Computational Photography, Fall 2015 After a slide by Marc Levoy 20

  20. Examples of spherical aberration (gtmerideth) (Canon) CS 89/189: Computational Photography, Fall 2015 Canon 135mm soft focus lens After a slide by Marc Levoy 21

  21. Questions? CS 89/189: Computational Photography, Fall 2015 22

  22. Exposure Get the right amount of light to sensor/film Two main parameters: - Shutter speed - Aperture (area of lens) + sensor/film sensitivity (ISO) CS 89/189: Computational Photography, Fall 2015 23

  23. Exposure Exposure = Irradiance x Time Exposure time - in seconds - controlled by shutter Irradiance - amount of light falling on a unit area of sensor per second - controlled by aperture CS 89/189: Computational Photography, Fall 2015 After a slide by Marc Levoy 24

  24. Shutter speed Controls how long the film/sensor is exposed Pretty much linear effect on exposure (until sensor saturates) Denoted in fractions of a second: - 1/30 s, 1/60 s, 1/125 s, 1/250 s, 1/500 s - See a pattern? On a normal lens, normal humans can hand-hold down to 1/60 - In general, the rule of thumb says that the limit is the inverse of focal length, e.g. 1/500s for 500mm CS 89/189: Computational Photography, Fall 2015 25

  25. Main effect of shutter speed Motion blur Doubling exposure time doubles motion blur (const. velocity) From Photography , London et al. CS 89/189: Computational Photography, Fall 2015 26

  26. Rolling shutter Rich Pollet Jonen, Wikimedia Commons CS 89/189: Computational Photography, Fall 2015 27

  27. Exposure Exposure = Irradiance x Time Exposure time - in seconds - controlled by shutter Irradiance - amount of light falling on a unit area of sensor per second - controlled by aperture CS 89/189: Computational Photography, Fall 2015 28

  28. Aperture Focal plane Sensor Lens CS 89/189: Computational Photography, Fall 2015 29

  29. Aperture Focal plane Sensor Lens CS 89/189: Computational Photography, Fall 2015 30

  30. Aperture Diameter of the lens opening (controlled by diaphragm) Irradiance on sensor is proportional to - square of aperture diameter A - inverse square of distance to sensor (~ focal length f ) As diameter A of the aperture doubles, its area (hence the light that can get through it) increases by 4x. (circle area: π A 2 ) If the distance to sensor is doubled, light projects onto an area 4x larger, so light falling per unit area decreases by 4x CS 89/189: Computational Photography, Fall 2015 After a slide by Marc Levoy 31

  31. F-number So that aperture values give irradiance regardless of focal length, aperture number N is defined relative to focal length A = f N = f N A A relative aperture size (also F-number or just N) of N=2 is denoted “f/2” to reflect the above formula. - f/2.0 on a 50mm means that the aperture is 25 mm - f/2.0 on a 100mm means that the aperture is 50 mm CS 89/189: Computational Photography, Fall 2015 After a slide by Marc Levoy 32

  32. low F-number with long focal length CS 89/189: Computational Photography, Fall 2015 After a slide by Alyosha Efros 33

  33. F-number Disconcerting: small f-number = big aperture What happens to the area of the aperture when going 
 from f/2.0 to f/4.0? divided by 4 (square of f-number ratio) Typical f numbers are - f/2.0, f/2.8, f/4, f/5.6, f/8, f/11, f/16, f/22, f/32 - See a pattern? • aperture area gets halved in each step (1 f-stop) • f-number doubles every other step CS 89/189: Computational Photography, Fall 2015 34

  34. Youtube tutorial https://youtu.be/KmNIouLByJQ CS 89/189: Computational Photography, Fall 2015 35

  35. Main effect of aperture Depth of field From Photography , London et al. CS 89/189: Computational Photography, Fall 2015 36

  36. Depth-of-Field source: flickr

  37. In focus Focal plane Lens CS 89/189: Computational Photography, Fall 2015 38

  38. Out-of-focus blur http://en.wikipedia.org/wiki/Circle_of_confusion Focal plane circle of confusion: c Lens CS 89/189: Computational Photography, Fall 2015 39

  39. Out-of-focus blur http://en.wikipedia.org/wiki/Circle_of_confusion Focal plane circle of confusion: c Lens CS 89/189: Computational Photography, Fall 2015 40

  40. Depth of field http://en.wikipedia.org/wiki/Circle_of_confusion Focal plane depth 
 of field circle of confusion: c Lens CS 89/189: Computational Photography, Fall 2015 41

  41. Circle of confusion http://en.wikipedia.org/wiki/Circle_of_confusion Focal plane D 1 f D circle of confusion: c A c = A · | D − D 1 | f Lens · D D 1 − f CS 89/189: Computational Photography, Fall 2015 42

  42. f/2.8 f/32 CoC is linear with aperture diameter DoF is linear with F-number

  43. source: onebigphoto.com Why does this look like a miniature?

  44. F-number of the Human Eye? http://www.petapixel.com/2012/06/11/whats-the-f-number-of-the-human-eye/ CS 89/189: Computational Photography, Fall 2015 45

  45. Depth of field What happens when we close the aperture by two stop? Sensor Focal plane Lens CS 89/189: Computational Photography, Fall 2015 46

  46. Depth of field What happens when we close the aperture by two stop? - Aperture diameter is divided by two - Depth of field is doubled Sensor Focal plane Lens CS 89/189: Computational Photography, Fall 2015 47

  47. N = f A = f Depth of field A N lower N means a wider aperture & less depth of field CS 89/189: Computational Photography, Fall 2015 From Photography , London et al. 48

  48. Depth-of-Field (Bokeh) source: wikipedia

  49. Depth-of-Field (Bad Bokeh) source: wikipedia

  50. Depth-of-Field (Bokeh) source: pptbackgrounds.net

  51. Bokeh (Cat’s Eyes) source: flickr

  52. Bokeh (Cat’s Eyes) source: flickr

  53. Cat’s Eyes source: toothwalker.org CS 89/189: Computational Photography, Fall 2015 55

  54. Questions? CS 89/189: Computational Photography, Fall 2015 56

  55. Exposure Two main parameters: - Aperture (in f stop) - Shutter speed (in fraction of a second) Reciprocity - Amount of light captured stays the same if exposure is doubled and aperture area is halved (or vice versa) Hence square-root of two progression of f stops vs. power of two progression of shutter speeds Reciprocity can fail for very long exposures CS 89/189: Computational Photography, Fall 2015 From Photography , London et al. 57

Recommend


More recommend