Presentation is loading. Please wait.

Presentation is loading. Please wait.

Focus Cues Kurt Akeley CS248 Lecture 20 6 December 2007

Similar presentations


Presentation on theme: "Focus Cues Kurt Akeley CS248 Lecture 20 6 December 2007"— Presentation transcript:

1 Focus Cues Kurt Akeley CS248 Lecture 20 6 December 2007 http://graphics.stanford.edu/courses/cs248-07/

2 CS248 Lecture 20Kurt Akeley, Fall 2007 Depth cues Binocular geometric cues: n Stereopsis (retinal-image disparity) n Convergence of the lines of sight Retinal-image disparityVergence Correct retinal-image disparity allows the viewer to “fuse” the scene

3 CS248 Lecture 20Kurt Akeley, Fall 2007 Depth cues Binocular geometric cues: n Stereopsis (retinal-image disparity) n Convergence of the lines of sight Monocular geometric cues: n Motion parallax n Object size (relative and changing) n Perspective convergence

4 CS248 Lecture 20Kurt Akeley, Fall 2007 Depth cues Binocular geometric cues: n Stereopsis (retinal-image disparity) n Convergence of the lines of sight Monocular geometric cues: n Motion parallax n Object size (relative and changing) n Perspective convergence Color cues: n Occlusion n Lighting and shading n Atmospheric effects (attenuation, blue shift) n Texture gradient

5 CS248 Lecture 20Kurt Akeley, Fall 2007 Focus matters too! This photo is of a real scene, not of a model

6 CS248 Lecture 20Kurt Akeley, Fall 2007 Outline Focus Focus cues Fixed-viewpoint volumetric display Experimental results Practical implications

7 CS248 Lecture 20Kurt Akeley, Fall 2007 Focus

8 CS248 Lecture 20Kurt Akeley, Fall 2007 Focus Focus defines a 1-to-1 correspondence between n Object points, which (may) radiate light, and n Image points, where the radiated light converges In practice image points capture only the object-point radiation that passes through an aperture. Aperture Object points Image points

9 CS248 Lecture 20Kurt Akeley, Fall 2007 A lens provides the magic Index of refraction is greater than one

10 CS248 Lecture 20Kurt Akeley, Fall 2007 The correspondence soso sisi f d Straight line through the center of the lens Object point Image point Thin lens equation

11 CS248 Lecture 20Kurt Akeley, Fall 2007 Diopters (D)

12 CS248 Lecture 20Kurt Akeley, Fall 2007 Diopter distances 0.67 m 1.0 m Diopter number-line assignments are relative to a reference point 2 D Diopter distances are differences between number- line assignments: 2 D = 3 D – 1 D Not computed as the reciprocal of the 0.67 m “distance” ! 0.5 m0.33 m 2 D1 D3 D

13 CS248 Lecture 20Kurt Akeley, Fall 2007 Thin-lens equation (using Diopters) soso sisi f Object point Image point Reference point is the center of the lens

14 CS248 Lecture 20Kurt Akeley, Fall 2007 Out-of-focus blur soso sisi f toto titi Image plane Object point rara rbrb E

15 CS248 Lecture 20Kurt Akeley, Fall 2007 Depth of field (DOF) (sometimes also called depth of focus) DOF is the amount of focus error that is inconsequential Recall that Therefore: DOF measured in Diopters is (almost) invariant with respect to focus distance ( S o ) For a given aperture radius ( r a ) and an acceptable blur radius ( r b ) n “Almost” because there is a slight dependence we are ignoring n DOF is inversely proportional to aperture radius n Once the acceptable blur radius is determined

16 CS248 Lecture 20Kurt Akeley, Fall 2007 Focus Cues

17 CS248 Lecture 20Kurt Akeley, Fall 2007 Focus cues There are two focus cues: n Accommodation (the focus response of the eye) n Retinal-image blur Neither is a quality of the light field Instead they are conditions in the human body that are stimulated by the light field

18 CS248 Lecture 20Kurt Akeley, Fall 2007 Accommodation Accommodation is the focus response of the eye: Resting focus is at infinity (0 D), or is corrected with fixed lenses to infinity. The ciliary muscles contract, allowing the lens to become more spherical. This increases the power of the lens, reducing the focal distance.

19 CS248 Lecture 20Kurt Akeley, Fall 2007 Human accommodation range 0 ∞ 1 1 2Diopters meters 348 All but one Diopter of focal range is within arm’s reach! 12 Children Young adults Me …

20 CS248 Lecture 20Kurt Akeley, Fall 2007 Human depth of field Human depth of field is approximately +/- 0.3 D n The optics of the eye are not perfect This corresponds to n A DOF from 2 m to infinity, or n A DOF from 10” to 12” So near-field scenes (with differing depths) are blurry, while far- field scenes are not 0 ∞ 1 1 2Diopters meters 34812 …

21 CS248 Lecture 20Kurt Akeley, Fall 2007 Tilt-shift miniaturization

22 CS248 Lecture 20Kurt Akeley, Fall 2007 Why “tilt-shift”? Recall that focus is a correspondence Before Photoshop the effect was created by tilting the image plane of the camera off the main axis:

23 CS248 Lecture 20Kurt Akeley, Fall 2007 Make a model appear real

24 CS248 Lecture 20Kurt Akeley, Fall 2007 Make a real scene appear miniaturized

25 CS248 Lecture 20Kurt Akeley, Fall 2007 A stereo display gets all these right … Binocular geometric cues: n Stereopsis (retinal-image disparity) n Convergence of the lines of sight Monocular geometric cues: n Motion parallax n Object size (relative and changing) n Perspective convergence Color cues: n Occlusion n Lighting and shading n Atmospheric effects (attenuation, blue shift) n Texture gradient

26 CS248 Lecture 20Kurt Akeley, Fall 2007 But the focus cues are all wrong No retinal-image blur cues Incorrect accommodation cue Vergence and accommodation are decoupled

27 CS248 Lecture 20Kurt Akeley, Fall 2007 Volumetric displays fix the focus cues … And they are autostereoscopic: n Require no tracking of the viewer’s position or orientation n Support multiple simultaneous viewers n Stereopsis is “free” References: Downing et al. 1996 Favalora et al. 2002 Lightspace Tech. 2003

28 CS248 Lecture 20Kurt Akeley, Fall 2007 But they fail in other critical ways Binocular geometric cues: n Stereopsis (retinal-image disparity) n Convergence of the lines of sight Monocular geometric cues: n Motion parallax n Object size (relative and changing) n Perspective convergence Color cues: n Occlusion n Lighting and shading n Atmospheric effects (attenuation, blue shift) n Texture gradient No view-dependent shading is possible, because viewer position is not known

29 CS248 Lecture 20Kurt Akeley, Fall 2007 Fixed-viewpoint Volumetric Display

30 CS248 Lecture 20Kurt Akeley, Fall 2007 Fixed-viewpoint volumetric display Fixed-viewpoint: n All geometric and color depth cues are correct Volumetric: n All focus cues are near-correct n No need for gaze tracking What’s the catch? n Display is head-mounted n Must track viewer position and orientation n Latency is a challenge n Must overcome ergonomic issues

31 CS248 Lecture 20Kurt Akeley, Fall 2007 Required volumetric resolution Autostereoscopic volumetic displays have huge pixel-count requirements in all three dimensions Fixing the viewpoint allows spatial and depth resolutions to be optimized independently: n Spatial pixel density requirements are unchanged n Foveal limit requires 2 pixels/arc min n But depth pixel density is determined by depth of field n +/- 0.3 D is more than satisfied by two pixels per diopter n A display with 4 D range has a depth pixel-count of 7 ! 1000s 7

32 CS248 Lecture 20Kurt Akeley, Fall 2007 Prototype display design

33 CS248 Lecture 20Kurt Akeley, Fall 2007 Prototype display Bite bar

34 CS248 Lecture 20Kurt Akeley, Fall 2007 Demo

35 CS248 Lecture 20Kurt Akeley, Fall 2007 Depth blending

36 CS248 Lecture 20Kurt Akeley, Fall 2007 Retinal image of a sine wave grating Eye image from www.wikipedia.com Lower contrast

37 CS248 Lecture 20Kurt Akeley, Fall 2007 Modulation transfer function

38 CS248 Lecture 20Kurt Akeley, Fall 2007 Retinal-image contrast with summed images

39 CS248 Lecture 20Kurt Akeley, Fall 2007 Experimental Results

40 CS248 Lecture 20Kurt Akeley, Fall 2007 Work done at UC Berkeley Marty Banks Simon Watt Ahna R. Girshick David M. Hoffman … http://bankslab.berkeley.edu/

41 CS248 Lecture 20Kurt Akeley, Fall 2007 Stimuli

42 CS248 Lecture 20Kurt Akeley, Fall 2007 Forced-choice This ?Or this ?

43 CS248 Lecture 20Kurt Akeley, Fall 2007 Experimental design

44 CS248 Lecture 20Kurt Akeley, Fall 2007 Experimental results

45 CS248 Lecture 20Kurt Akeley, Fall 2007 Results summary Correct focus distance results in n Shorter time to “fuse” a depth-corrugation stereogram n Ability to fuse finer depth corrugations n Better estimations of depth n People consistently underestimate depth in VR environments n Less fatigue n No forced decoupling of vergence and accommodation There is no performance penalty for depth blending For details refer to the publications: http://bankslab.berkeley.edu/publications.html

46 CS248 Lecture 20Kurt Akeley, Fall 2007 Practical implications

47 CS248 Lecture 20Kurt Akeley, Fall 2007 Without a fixed-viewpoint volumetric display Use long viewing distances when possible n Flight simulators use either n Large done display n Collimated (infinite focus distance) optics Minimize accommodation/vergence conflict n High-quality stereo headsets have adjustable focal distance n Set it to the best average distance Is there hope of a practical fixed-viewpoint volumetric display?

48 CS248 Lecture 20Kurt Akeley, Fall 2007 Fixed optics f

49 CS248 Lecture 20Kurt Akeley, Fall 2007 Adaptive optics Images from www.wikipedia.com

50 CS248 Lecture 20Kurt Akeley, Fall 2007 Summary Focus cues are n Accommodation (focus response) n Retinal blur Correct focus cues matter n Tilt-shift miniaturization n Experimental results Display type Correct geometric depth cues Correct shading depth cues Correct focus depth cues Stereo   Autostereoscopic volumetric    Fixed-viewpoint volumetric 

51 CS248 Lecture 20Kurt Akeley, Fall 2007 Project 3 and game competition Source code and write-ups due tomorrow at 5 pm Congratulations to the game competition winners: 1 st Place Balloo Belinda Gu, Edward Luong, and Joel Galenson 2 nd Place Shootout Vincent Gire and David Lissmyr

52 CS248 Lecture 20Kurt Akeley, Fall 2007 Final exam Location: n Gates B01 Time: n Thursday 13 December, 7 pm to 9 pm Material: n We’ll test your mastery of the content of lectures 11-18 n But we’ll assume you understand and can apply the material of lectures 1-10 too Review session: n Gates B03 n Friday 7 December (tomorrow), 4:15 pm to 5 pm

53 CS248 Lecture 20Kurt Akeley, Fall 2007 Office hours Kurt: n Not available today after class n Next Tuesday 1:30 pm to 3 pm n Not available next Thursday (the day of the final exam) CAs: n Check the web site All: n Will monitor and respond to e-mail questions

54 CS248 Lecture 20Kurt Akeley, Fall 2007 Good-bye Thanks to the CAs ! n Andrew, David, and Justin My goals: n Learn a lot (accomplished) n Convey my understanding to you Final requests: n Please share your thoughts with me about how the course or slides can be improved n In person or e-mail n Please complete the on-line Axess course evaluation n The system is open now n It closes at 11:59 pm on Sunday 16 December

55 CS248 Lecture 20Kurt Akeley, Fall 2007 End


Download ppt "Focus Cues Kurt Akeley CS248 Lecture 20 6 December 2007"

Similar presentations


Ads by Google