Image Formation CS418 Computer Graphics John C. Hart Solar - - PowerPoint PPT Presentation

image formation
SMART_READER_LITE
LIVE PREVIEW

Image Formation CS418 Computer Graphics John C. Hart Solar - - PowerPoint PPT Presentation

Image Formation CS418 Computer Graphics John C. Hart Solar Radiation Rayleigh Scattering Chlorophyll Acuity Angular resolution of retina Snellen ratio: 20/X means you distinguish at X feet what the average nodal point person


slide-1
SLIDE 1

Image Formation

CS418 Computer Graphics John C. Hart

slide-2
SLIDE 2
slide-3
SLIDE 3

Solar Radiation

slide-4
SLIDE 4

Rayleigh Scattering

slide-5
SLIDE 5

Chlorophyll

slide-6
SLIDE 6
slide-7
SLIDE 7

Acuity

  • Angular resolution of retina
  • Snellen ratio:

20/X means you distinguish at X feet what the average person distinguishes at 20 feet.

  • 20/20 = distinguish two

points 1 arc minute apart

d h

1

2tan ( /2 ) h d 

nodal point (optical center)

slide-8
SLIDE 8

Focus

Simple lens

  • Focal length: f
  • Power: 1/f diopters
  • When d = 

f = r = 17mm 1m/f = 59 diopters Compound lens

  • cornea: 40 diopters
  • lens: 12 diopters (kids)
  • lose ~ 0.2 diopters/year
  • lens rigid by age 60

1 1 1 f d r  

r =17mm d

nodal point (optical center)

1 2

1 1 1 f f f  

slide-9
SLIDE 9

Chromatic Aberration

  • Refractive index of lens material varies

by wavelength

  • Resulting dispersion causes focal plane

to vary by color

  • Need 1.5 diopters to focus red and blue

to the same depth

  • Never use pure blue (add a bit of red or

green to aid in focusing on edges)

  • Warm colors close, cool colors far
slide-10
SLIDE 10

Most people see the red, Closer than the blue. Others see the opposite. How about you?

slide-11
SLIDE 11
slide-12
SLIDE 12
slide-13
SLIDE 13

The Human Eye

Cornea, lens focus light onto Retina Photoreceptors

  • rods - brightness
  • cones – color

(red, green, blue) Ganglions – nerve cells

  • (X-cells)

detect pattern

  • (Y-cells)

detect movement

from Gray’s Anatomy

slide-14
SLIDE 14

Lateral Inhibition

  • Rods accentuates and exaggerates

differences in space and time

  • Eye’s internal real-time edge and

motion detector

  • Used to detect predators like tigers in

the bushes

  • Middle squares same shade of gray
  • 1
  • 1
  • 1
  • 1

8

  • 1
  • 1
  • 1
  • 1
slide-15
SLIDE 15
slide-16
SLIDE 16
slide-17
SLIDE 17

Rods & Cones

  • Rods measure intensity

– 80 million – Denser away from fovea – Astronomers learn to glance off to the side of what they are studying – sensitive, shut down in daylight

  • R,G and B cones

– 5 million total – 100K – 325K cones/mm2 in fovea – 150 hues

  • Combined

– 7 million shades

rods only rods & cones Blind spot (optic nerve, no rods or cones) Fovea ~0.5º (cones only) Deering’s Photon Accurate Model of the Human Retina from SIGGRAPH 2005

slide-18
SLIDE 18
slide-19
SLIDE 19

The Human Eye

slide-20
SLIDE 20

Cone Response

Stockman, MacLeod & Johnson (1993)

  • J. Optical Society of America A, 10,

2491-2521, via Wikipedia

0.2 0.4 0.6 0.8 1.0 400 450 500 550 600 650 700

log human cone response (normalized) wavelength

slide-21
SLIDE 21

Color Perception

  • L = 31% R + 59% G + 10% B
  • 10% of males are color blind
  • Pay attention to contrast!
  • Eye color space

L, R + G – B, R – G

  • Color space is blackwhite,

yellowblue, redgreen

400 500 600 700

slide-22
SLIDE 22

Color in Context

slide-23
SLIDE 23

Color in Context

slide-24
SLIDE 24

The Camera

slide-25
SLIDE 25

The Image Plane

slide-26
SLIDE 26

Polygonal Models

slide-27
SLIDE 27

Pixel Discretization

slide-28
SLIDE 28

Raster Rendering

For each polygon: Compute illumination Project to image plane Fill in pixels

slide-29
SLIDE 29

Raster Images

  • (Spatial) Resolution

– horizontal pixels x vertical pixels

  • Image Aspect Ratio

– width/height – HDTV = 1920/1080 = 1.78 = 16:9

  • Pixel Aspect Ratio

– (H/V) / (height/width) = (H/V) x (1/A) – Square pixels are 1:1

  • Color resolution

– Bits per pixel – 24 bpp = 8 bits red, green and blue – 8 bpp = 3 bits red, green, 2 bits blue

slide-30
SLIDE 30

Vector v. Raster Graphics

Vector Graphics

  • Plotters, laser displays
  • “Clip art,” illustrations
  • PostScript, PDF, SVG
  • Low memory (display list)
  • Easy to draw line
  • Solid/gradient/texture fills

Raster Graphics

  • TV’s, monitors, phones
  • Photographs
  • GIF, JPG, etc.
  • High memory (frame buffer)
  • Hard to draw line
  • Arbitrary fills
slide-31
SLIDE 31

Getting a Line from 3-D to Screen

Homogeneous Divide Model Coords Model Xform World Coords Viewing Xform Still Clip Coords Clipping Window Coordinates Window to Viewport Viewport Coordinates Clip Coords Viewing Coords Perspective Distortion