Computer Science 194-23 The Art and Science of Digital Photography - - PowerPoint PPT Presentation

computer science 194 23 the art and science of digital
SMART_READER_LITE
LIVE PREVIEW

Computer Science 194-23 The Art and Science of Digital Photography - - PowerPoint PPT Presentation

Computer Science 194-23 The Art and Science of Digital Photography Lecture 6: The Histogram March 11, 2013 danallan@eecs.berkeley.edu barsky@cs.berkeley.edu michael.ball@berkeley.edu Staff email: cs194-23@imail.eecs.berkeley.edu 1 Image


slide-1
SLIDE 1

Computer Science 194-23 The Art and Science of Digital Photography

Lecture 6: The Histogram March 11, 2013 danallan@eecs.berkeley.edu barsky@cs.berkeley.edu michael.ball@berkeley.edu Staff email: cs194-23@imail.eecs.berkeley.edu

1

slide-2
SLIDE 2

Histograms

General Histogram

Image from http://en.wikipedia.org/wiki/Histogram 2

slide-3
SLIDE 3

Histograms

Digital Photography

3

Black White Some Many

slide-4
SLIDE 4

Histograms

Total Underexposure

4

slide-5
SLIDE 5

Histograms

Total Overexposure

5

slide-6
SLIDE 6

Histograms

Well-exposed samples

Photo by Dan Armendariz, 2009 309s, ISO 100 6

slide-7
SLIDE 7

Histograms

Well-exposed samples

Photo by Dan Armendariz, 2007 1/1000s, ISO 400, f/5.6 7

slide-8
SLIDE 8

Histograms

Well-exposed samples

Photo by Dan Armendariz, 2007 8

slide-9
SLIDE 9

Histograms

Under-exposure

9 Photo by Dan Armendariz, 2005 8.0s, ISO 100, f/8

slide-10
SLIDE 10

Histograms

Over-exposure

10 Photo by Dan Armendariz, 2005 15.0s, ISO 100, f/16

slide-11
SLIDE 11

Histograms

Exposure Compensation

Photos by Dan Armendariz, 2005 Left: 1/80s, ISO 400, f/2.8, 0ev. Right: 1/80s, ISO 800, f/2.5, +1.3ev 11

slide-12
SLIDE 12

Histograms

Over- & Under-exposure

Photo by Dan Armendariz, 2006 1/80s, ISO 400, f/10 12

slide-13
SLIDE 13

Bits and Bytes

Refresher

Bit 0 or 1 Byte 8 bits

13

slide-14
SLIDE 14

Bits and Bytes

As related to histograms

14

Black White 255

slide-15
SLIDE 15

Bits and Bytes

Bit Depth

JPEG Red Green Blue 8-bit 8-bit 8-bit 0 255 0 255 0 255

15

slide-16
SLIDE 16

Histograms

What about color?

16

Red Green Blue ?

slide-17
SLIDE 17

The Eye

Luminance Detection

Image from http://en.wikipedia.org/wiki/Trichromacy 17

slide-18
SLIDE 18

The Eye

Luminance Detection

18

Red Green Blue

slide-19
SLIDE 19

Luminance

Calculation

19

Luminance ≈ 0.3 R + 0.59 G + 0.11 B

slide-20
SLIDE 20

Luminosity Histograms

DIY!

20

slide-21
SLIDE 21

Luminosity Histograms

DIY!

21

slide-22
SLIDE 22

Luminosity Histograms

DIY!

22

slide-23
SLIDE 23

Histograms

More than just Luminosity...

23

Lum R B G

slide-24
SLIDE 24

Histograms

Luminosity, Colors, & RGB

24

Lum Colors RGB

slide-25
SLIDE 25

Histograms

Luminosity, Colors, & RGB

25 Images from http://www.cambridgeincolour.com/tutorials/histograms2.htm

slide-26
SLIDE 26

Histograms

Luminosity, Colors, & RGB

26 Images from http://www.cambridgeincolour.com/tutorials/histograms2.htm

slide-27
SLIDE 27

Histograms

What is Black and White?

Photo by Dan Armendariz, 2006 1/80s, ISO 400, f/10 27

slide-28
SLIDE 28

Dynamic Range

The Eye

Image from http://en.wikipedia.org/wiki/Fovea 28

slide-29
SLIDE 29

Dynamic Range

Digital Cameras

29

Pixel (“Bucket”) Photons (Light) Collected Light

slide-30
SLIDE 30

Dynamic Range

Simplified Calculation

30

Dynamic Range = Biggest Signal (full “bucket”) Smallest detectable signal

slide-31
SLIDE 31

Dynamic Range

In Scenes

Photo by Dan Armendariz, 2006 1/80s, ISO 400, f/10 31

slide-32
SLIDE 32

Computer Science 194-23 The Art and Science of Digital Photography

Lecture 6: The Histogram March 11, 2013 danallan@eecs.berkeley.edu barsky@cs.berkeley.edu michael.ball@berkeley.edu Staff email: cs194-23@imail.eecs.berkeley.edu

32