Top Banner
CS 563 Advanced Topics in Computer Graphics Stereoscopy by Sam Song
26

CS 563 Advanced Topics in Computer Graphics Stereoscopyweb.cs.wpi.edu/~emmanuel/courses/cs563/S10/talks/w… ·  · 2010-02-26Computer Graphics Stereoscopy by Sam Song. Stereoscopy

May 25, 2018

Download

Documents

lenga
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: CS 563 Advanced Topics in Computer Graphics Stereoscopyweb.cs.wpi.edu/~emmanuel/courses/cs563/S10/talks/w… ·  · 2010-02-26Computer Graphics Stereoscopy by Sam Song. Stereoscopy

CS 563 Advanced Topics in Computer Graphics

Stereoscopy

by Sam Song

Page 2: CS 563 Advanced Topics in Computer Graphics Stereoscopyweb.cs.wpi.edu/~emmanuel/courses/cs563/S10/talks/w… ·  · 2010-02-26Computer Graphics Stereoscopy by Sam Song. Stereoscopy

Stereoscopy

Introduction Parallax Camera Displaying and Viewing Results

Page 3: CS 563 Advanced Topics in Computer Graphics Stereoscopyweb.cs.wpi.edu/~emmanuel/courses/cs563/S10/talks/w… ·  · 2010-02-26Computer Graphics Stereoscopy by Sam Song. Stereoscopy

Introduction

Stereoscopy What is it?

seeing in three dimensions creates the illusion of depth in images

What causes it? Binocular disparity

Difference between images in left and right retinas causes stereo effect

What is it used for? Recreational

3D Movies & Games

Research in visualization medical imaging aviation simulation geographical data

Page 4: CS 563 Advanced Topics in Computer Graphics Stereoscopyweb.cs.wpi.edu/~emmanuel/courses/cs563/S10/talks/w… ·  · 2010-02-26Computer Graphics Stereoscopy by Sam Song. Stereoscopy

Introduction

How do we see depth? Combination of Visual Clues We can tolerate some inconsistency in clues

Visual Clues Binocular disparity (dominant depth cue) Lighting & Shadows Object occlusion Perspective viewing Detail Size of known objects Motion of objects with head movement Accommodation

Focal length to focus at a particular depth

Convergence Eye rotation so it is facing the focal point

Page 5: CS 563 Advanced Topics in Computer Graphics Stereoscopyweb.cs.wpi.edu/~emmanuel/courses/cs563/S10/talks/w… ·  · 2010-02-26Computer Graphics Stereoscopy by Sam Song. Stereoscopy

Introduction

Stereo pairs

Viewed such that our visual cortex will fuse them Convergence Binocular disparity No accommodation

Page 6: CS 563 Advanced Topics in Computer Graphics Stereoscopyweb.cs.wpi.edu/~emmanuel/courses/cs563/S10/talks/w… ·  · 2010-02-26Computer Graphics Stereoscopy by Sam Song. Stereoscopy

Parallax

Create Left and Right Cameras Camera separation: distance between cameras

Parallax Displacement of a point being projected onto the

view plane by the two cameras Determines apparent distance

Size Sign

http://local.wasp.uwa.edu.au/~pbourke/miscellaneous/stereographics/

Page 7: CS 563 Advanced Topics in Computer Graphics Stereoscopyweb.cs.wpi.edu/~emmanuel/courses/cs563/S10/talks/w… ·  · 2010-02-26Computer Graphics Stereoscopy by Sam Song. Stereoscopy

Parallax

Positive Parallax - Point behind the screen

Zero Parallax – Point on the screen

Page 8: CS 563 Advanced Topics in Computer Graphics Stereoscopyweb.cs.wpi.edu/~emmanuel/courses/cs563/S10/talks/w… ·  · 2010-02-26Computer Graphics Stereoscopy by Sam Song. Stereoscopy

Parallax

Negative Parallax – Point in front of the screen

Page 9: CS 563 Advanced Topics in Computer Graphics Stereoscopyweb.cs.wpi.edu/~emmanuel/courses/cs563/S10/talks/w… ·  · 2010-02-26Computer Graphics Stereoscopy by Sam Song. Stereoscopy

Camera

How do we arrange the left and right cameras?

Convergence may suggest both cameras use the same look at point

Toe-in Camera Arrangement

same look at pointdifferent view planessymmetric view frustums

Page 10: CS 563 Advanced Topics in Computer Graphics Stereoscopyweb.cs.wpi.edu/~emmanuel/courses/cs563/S10/talks/w… ·  · 2010-02-26Computer Graphics Stereoscopy by Sam Song. Stereoscopy

Camera

How will the views of the left and right camera differ? An Object centered at the look at point will be rotated by

some angle β

Vertical Parallax

Images with vertical parallax are more stressful to fuse

Page 11: CS 563 Advanced Topics in Computer Graphics Stereoscopyweb.cs.wpi.edu/~emmanuel/courses/cs563/S10/talks/w… ·  · 2010-02-26Computer Graphics Stereoscopy by Sam Song. Stereoscopy

Camera

Parallel Camera (Off-axis)

Cameras has own look at pointCameras have asymmetric view frustumsParallel view planesNot supported in all rendering packages

Page 12: CS 563 Advanced Topics in Computer Graphics Stereoscopyweb.cs.wpi.edu/~emmanuel/courses/cs563/S10/talks/w… ·  · 2010-02-26Computer Graphics Stereoscopy by Sam Song. Stereoscopy

Camera

Requires non symmetric camera frustum We need to change the symmetric frustum to

an asymmetric function Translate the window over the view plane in the x

direction by half the camera separation

Left camera - translate in positive direction Right camera – translate in negative direction

Page 13: CS 563 Advanced Topics in Computer Graphics Stereoscopyweb.cs.wpi.edu/~emmanuel/courses/cs563/S10/talks/w… ·  · 2010-02-26Computer Graphics Stereoscopy by Sam Song. Stereoscopy

Camera

R = || e – l ||X = r tan( β / 2)

Page 14: CS 563 Advanced Topics in Computer Graphics Stereoscopyweb.cs.wpi.edu/~emmanuel/courses/cs563/S10/talks/w… ·  · 2010-02-26Computer Graphics Stereoscopy by Sam Song. Stereoscopy

Displaying and Viewing

Various techniques to display the correct image to each eye Shutter glasses Unassisted Stereoscope Anaglyph

Shutter glasses Glasses synchronized with computer display Limited viewers

Page 15: CS 563 Advanced Topics in Computer Graphics Stereoscopyweb.cs.wpi.edu/~emmanuel/courses/cs563/S10/talks/w… ·  · 2010-02-26Computer Graphics Stereoscopy by Sam Song. Stereoscopy

Displaying and Viewing

Unassisted Side-by-side on computer screen or print Difficult to fuse images

Parallel viewing vs transverse viewing Parallel viewing limited to 5 cm across Transverse no size restrictions

Page 16: CS 563 Advanced Topics in Computer Graphics Stereoscopyweb.cs.wpi.edu/~emmanuel/courses/cs563/S10/talks/w… ·  · 2010-02-26Computer Graphics Stereoscopy by Sam Song. Stereoscopy

Displaying and Viewing

Stereoscope Uses parallel viewing model determines max image size

Anaglyph projection Projectors with polarized filters Viewers wear passive polarized glasses Mass viewing (movie theaters) Special hardware required

Page 17: CS 563 Advanced Topics in Computer Graphics Stereoscopyweb.cs.wpi.edu/~emmanuel/courses/cs563/S10/talks/w… ·  · 2010-02-26Computer Graphics Stereoscopy by Sam Song. Stereoscopy

Displaying and Viewing

Anaglyph images Two color filtered images combined together

Red and Cyan

Images offset to create depth effect

http://www.captain3d.com/stereo/html/tutorial.html

Page 18: CS 563 Advanced Topics in Computer Graphics Stereoscopyweb.cs.wpi.edu/~emmanuel/courses/cs563/S10/talks/w… ·  · 2010-02-26Computer Graphics Stereoscopy by Sam Song. Stereoscopy

Results

Page 19: CS 563 Advanced Topics in Computer Graphics Stereoscopyweb.cs.wpi.edu/~emmanuel/courses/cs563/S10/talks/w… ·  · 2010-02-26Computer Graphics Stereoscopy by Sam Song. Stereoscopy
Page 20: CS 563 Advanced Topics in Computer Graphics Stereoscopyweb.cs.wpi.edu/~emmanuel/courses/cs563/S10/talks/w… ·  · 2010-02-26Computer Graphics Stereoscopy by Sam Song. Stereoscopy

Results

http://www.captain3d.com/stereo/html/tutorial.html

Page 21: CS 563 Advanced Topics in Computer Graphics Stereoscopyweb.cs.wpi.edu/~emmanuel/courses/cs563/S10/talks/w… ·  · 2010-02-26Computer Graphics Stereoscopy by Sam Song. Stereoscopy

Results

http://upload.wikimedia.org/wikipedia/commons/d/d7/Art_Institute_of_Chicago_Lion_Statue_%28anaglyph_stereo%29.jpg

Page 22: CS 563 Advanced Topics in Computer Graphics Stereoscopyweb.cs.wpi.edu/~emmanuel/courses/cs563/S10/talks/w… ·  · 2010-02-26Computer Graphics Stereoscopy by Sam Song. Stereoscopy

Results

http://en.wikipedia.org/wiki/File:3D.jpg

Page 23: CS 563 Advanced Topics in Computer Graphics Stereoscopyweb.cs.wpi.edu/~emmanuel/courses/cs563/S10/talks/w… ·  · 2010-02-26Computer Graphics Stereoscopy by Sam Song. Stereoscopy

Results

http://en.wikipedia.org/wiki/File:Dusk_on_Desert.jpg

Page 24: CS 563 Advanced Topics in Computer Graphics Stereoscopyweb.cs.wpi.edu/~emmanuel/courses/cs563/S10/talks/w… ·  · 2010-02-26Computer Graphics Stereoscopy by Sam Song. Stereoscopy

Results

Page 25: CS 563 Advanced Topics in Computer Graphics Stereoscopyweb.cs.wpi.edu/~emmanuel/courses/cs563/S10/talks/w… ·  · 2010-02-26Computer Graphics Stereoscopy by Sam Song. Stereoscopy

Discussion

Questions?

Page 26: CS 563 Advanced Topics in Computer Graphics Stereoscopyweb.cs.wpi.edu/~emmanuel/courses/cs563/S10/talks/w… ·  · 2010-02-26Computer Graphics Stereoscopy by Sam Song. Stereoscopy

References

http://www.raytracegroundup.com Suffern, Kevin (2007). Ray Tracing from the

Ground up. Pp. 197-216 Wellesley, MA: A K Peters, Ltd.

http://local.wasp.uwa.edu.au/~pbourke/miscellaneous/stereographics/

http://www.captain3d.com/stereo/html/tutorial.html