+ All Categories
Home > Documents > Image-Based Renderingjkh/462_s07/26_image_based_rendering.pdf · 2007-05-07 · Image based...

Image-Based Renderingjkh/462_s07/26_image_based_rendering.pdf · 2007-05-07 · Image based...

Date post: 12-Jul-2020
Category:
Upload: others
View: 1 times
Download: 0 times
Share this document with a friend
59
Image-Based Rendering (with most of slides from Richard Szeliski and Michael Cohen)
Transcript
Page 1: Image-Based Renderingjkh/462_s07/26_image_based_rendering.pdf · 2007-05-07 · Image based rendering seeks to replace geometry and surface properties with images. Quicktime VR Skip

Image-Based Rendering

(with most of slides from Richard Szeliski and Michael Cohen)

Page 2: Image-Based Renderingjkh/462_s07/26_image_based_rendering.pdf · 2007-05-07 · Image based rendering seeks to replace geometry and surface properties with images. Quicktime VR Skip

Computer Graphics

Image

Output

ModelSyntheticCamera

Geometry + Material attributes

Page 3: Image-Based Renderingjkh/462_s07/26_image_based_rendering.pdf · 2007-05-07 · Image based rendering seeks to replace geometry and surface properties with images. Quicktime VR Skip

Real Scene

Computer Vision

Real Cameras

Model

Output

Page 4: Image-Based Renderingjkh/462_s07/26_image_based_rendering.pdf · 2007-05-07 · Image based rendering seeks to replace geometry and surface properties with images. Quicktime VR Skip

Combined

Model Real Scene

Real Cameras

Image

Output

SyntheticCamera

Page 5: Image-Based Renderingjkh/462_s07/26_image_based_rendering.pdf · 2007-05-07 · Image based rendering seeks to replace geometry and surface properties with images. Quicktime VR Skip

But, vision technology falls short

ModelReal Scene

Real Cameras

Image

Output

SyntheticCamera

Hard to re-create much of the complex geometry and lighting effects found in real world

Page 6: Image-Based Renderingjkh/462_s07/26_image_based_rendering.pdf · 2007-05-07 · Image based rendering seeks to replace geometry and surface properties with images. Quicktime VR Skip

… and so does graphics.

ModelReal Scene

Real Cameras

Image

Output

SyntheticCamera

Hard to render world illumination

Page 7: Image-Based Renderingjkh/462_s07/26_image_based_rendering.pdf · 2007-05-07 · Image based rendering seeks to replace geometry and surface properties with images. Quicktime VR Skip

What is Image-Based Rendering?

All we usually care about in rendering is generating images from new viewpoints.

Page 8: Image-Based Renderingjkh/462_s07/26_image_based_rendering.pdf · 2007-05-07 · Image based rendering seeks to replace geometry and surface properties with images. Quicktime VR Skip

Image-Based Rendering

Geometry based• Geometry + Material attributes

Skip traditional modeling/rendering process

Image based rendering seeks to replace geometry and surface properties with images

Page 9: Image-Based Renderingjkh/462_s07/26_image_based_rendering.pdf · 2007-05-07 · Image based rendering seeks to replace geometry and surface properties with images. Quicktime VR Skip

Quicktime VR

Skip traditional modeling/rendering process

Capture environment maps from given locations

Look around from a fixed point

Show Demo

Page 10: Image-Based Renderingjkh/462_s07/26_image_based_rendering.pdf · 2007-05-07 · Image based rendering seeks to replace geometry and surface properties with images. Quicktime VR Skip

Lightfields and Lumigraphs

Page 11: Image-Based Renderingjkh/462_s07/26_image_based_rendering.pdf · 2007-05-07 · Image based rendering seeks to replace geometry and surface properties with images. Quicktime VR Skip

Modeling light

Capture flow of light in region of environment

Described by plenoptic function

Page 12: Image-Based Renderingjkh/462_s07/26_image_based_rendering.pdf · 2007-05-07 · Image based rendering seeks to replace geometry and surface properties with images. Quicktime VR Skip

Plenoptic Function

Describes the intensity of light:• passing through a given point, x• in a given direction, (θ,φ)

5D• 3D position• 2D direction

Page 13: Image-Based Renderingjkh/462_s07/26_image_based_rendering.pdf · 2007-05-07 · Image based rendering seeks to replace geometry and surface properties with images. Quicktime VR Skip

All Rays

Plenoptic Function:• all possible rays

Page 14: Image-Based Renderingjkh/462_s07/26_image_based_rendering.pdf · 2007-05-07 · Image based rendering seeks to replace geometry and surface properties with images. Quicktime VR Skip

Plenoptic Function

Many image-based rendering approaches can be cast as sampling from and reconstructing the plenoptic function

Note, function is generally constant along segments of a line (assuming vacuum)

Page 15: Image-Based Renderingjkh/462_s07/26_image_based_rendering.pdf · 2007-05-07 · Image based rendering seeks to replace geometry and surface properties with images. Quicktime VR Skip

Line

Infinite line

4D• 2D direction• 2D position• Intensity does not change along the line

Page 16: Image-Based Renderingjkh/462_s07/26_image_based_rendering.pdf · 2007-05-07 · Image based rendering seeks to replace geometry and surface properties with images. Quicktime VR Skip

Ray

Discretize, then interpolate

Distance between 2 rays• Which is closer together?

Page 17: Image-Based Renderingjkh/462_s07/26_image_based_rendering.pdf · 2007-05-07 · Image based rendering seeks to replace geometry and surface properties with images. Quicktime VR Skip

Panorama

What is an panorama?

All rays through a point

Page 18: Image-Based Renderingjkh/462_s07/26_image_based_rendering.pdf · 2007-05-07 · Image based rendering seeks to replace geometry and surface properties with images. Quicktime VR Skip

Panoramic MosaicsConvert panoramic image sequence into a

cylindrical image

+ + … + =

Page 19: Image-Based Renderingjkh/462_s07/26_image_based_rendering.pdf · 2007-05-07 · Image based rendering seeks to replace geometry and surface properties with images. Quicktime VR Skip

Image

Image plane

2D• position in plane

Page 20: Image-Based Renderingjkh/462_s07/26_image_based_rendering.pdf · 2007-05-07 · Image based rendering seeks to replace geometry and surface properties with images. Quicktime VR Skip

Light leaving towards “eye”

2D• just dual of image

Object

Page 21: Image-Based Renderingjkh/462_s07/26_image_based_rendering.pdf · 2007-05-07 · Image based rendering seeks to replace geometry and surface properties with images. Quicktime VR Skip

Object

All light leaving object

Page 22: Image-Based Renderingjkh/462_s07/26_image_based_rendering.pdf · 2007-05-07 · Image based rendering seeks to replace geometry and surface properties with images. Quicktime VR Skip

Object

4D• 2D position (on surface)• 2D direction

Page 23: Image-Based Renderingjkh/462_s07/26_image_based_rendering.pdf · 2007-05-07 · Image based rendering seeks to replace geometry and surface properties with images. Quicktime VR Skip

Object

All images

Page 24: Image-Based Renderingjkh/462_s07/26_image_based_rendering.pdf · 2007-05-07 · Image based rendering seeks to replace geometry and surface properties with images. Quicktime VR Skip

Lumigraph / Lightfield

Outside convex space

4D

StuffEmpty

Page 25: Image-Based Renderingjkh/462_s07/26_image_based_rendering.pdf · 2007-05-07 · Image based rendering seeks to replace geometry and surface properties with images. Quicktime VR Skip

Inside convex space

4D

EmptyStuff

Lumigraph / Lightfield

Page 26: Image-Based Renderingjkh/462_s07/26_image_based_rendering.pdf · 2007-05-07 · Image based rendering seeks to replace geometry and surface properties with images. Quicktime VR Skip

How to ?• organize• capture• render

Lumigraph / Lightfield

Page 27: Image-Based Renderingjkh/462_s07/26_image_based_rendering.pdf · 2007-05-07 · Image based rendering seeks to replace geometry and surface properties with images. Quicktime VR Skip

Lumigraph - Organization

2D position

2D direction

Page 28: Image-Based Renderingjkh/462_s07/26_image_based_rendering.pdf · 2007-05-07 · Image based rendering seeks to replace geometry and surface properties with images. Quicktime VR Skip

Lumigraph - Organization

2D position

2D position

2 plane parameterization

su

Page 29: Image-Based Renderingjkh/462_s07/26_image_based_rendering.pdf · 2007-05-07 · Image based rendering seeks to replace geometry and surface properties with images. Quicktime VR Skip

Lumigraph - Organization

2D position

2D position

2 plane parameterization

us

t s,tu,v

v

s,t

u,v

Page 30: Image-Based Renderingjkh/462_s07/26_image_based_rendering.pdf · 2007-05-07 · Image based rendering seeks to replace geometry and surface properties with images. Quicktime VR Skip

Lumigraph - Organization

Hold s,t constant

Let u,v varyAn image

s,t u,v

Page 31: Image-Based Renderingjkh/462_s07/26_image_based_rendering.pdf · 2007-05-07 · Image based rendering seeks to replace geometry and surface properties with images. Quicktime VR Skip

Lumigraph - Organization

Discretization• higher res near object

– if diffuse– captures texture

• lower res away– captures directions

s,t u,v

Page 32: Image-Based Renderingjkh/462_s07/26_image_based_rendering.pdf · 2007-05-07 · Image based rendering seeks to replace geometry and surface properties with images. Quicktime VR Skip

Lumigraph - Capture

Idea 1• Move camera carefully over

s,t plane• Light Field

s,t u,v

Page 33: Image-Based Renderingjkh/462_s07/26_image_based_rendering.pdf · 2007-05-07 · Image based rendering seeks to replace geometry and surface properties with images. Quicktime VR Skip

Lumigraph - Capture

Page 34: Image-Based Renderingjkh/462_s07/26_image_based_rendering.pdf · 2007-05-07 · Image based rendering seeks to replace geometry and surface properties with images. Quicktime VR Skip

Lumigraph - Capture

Idea 2• Move camera anywhere• Lumigraph paper

s,t u,v

Page 35: Image-Based Renderingjkh/462_s07/26_image_based_rendering.pdf · 2007-05-07 · Image based rendering seeks to replace geometry and surface properties with images. Quicktime VR Skip

Lumigraph - Rendering

For each output pixel• determine s,t,u,v• either

– find closest discrete RGB– interpolate near values s,t u,v

Page 36: Image-Based Renderingjkh/462_s07/26_image_based_rendering.pdf · 2007-05-07 · Image based rendering seeks to replace geometry and surface properties with images. Quicktime VR Skip

Lumigraph - Rendering

For each output pixel• determine s,t,u,v

• either• use closest discrete RGB• interpolate near values

s u

Page 37: Image-Based Renderingjkh/462_s07/26_image_based_rendering.pdf · 2007-05-07 · Image based rendering seeks to replace geometry and surface properties with images. Quicktime VR Skip

Lumigraph - Rendering

Nearest• closest s• closest u• draw it

Blend 16 nearest• quadrilinear interpolation

s u

Page 38: Image-Based Renderingjkh/462_s07/26_image_based_rendering.pdf · 2007-05-07 · Image based rendering seeks to replace geometry and surface properties with images. Quicktime VR Skip

Lumigraph - Rendering

Depth Correction• closest s• intersection with “object”• best u• closest u

s u

Page 39: Image-Based Renderingjkh/462_s07/26_image_based_rendering.pdf · 2007-05-07 · Image based rendering seeks to replace geometry and surface properties with images. Quicktime VR Skip

Lumigraph - Rendering

Depth Correction • quadralinear interpolation• new “closest”• like focus

[DynamicallyReparameterizedLight Fields,Isaksen, SG’2000]

s u

Page 40: Image-Based Renderingjkh/462_s07/26_image_based_rendering.pdf · 2007-05-07 · Image based rendering seeks to replace geometry and surface properties with images. Quicktime VR Skip

Lumigraph - Ray Space

Image effects:

• parallax• occlusion

• transparency• highlights

Page 41: Image-Based Renderingjkh/462_s07/26_image_based_rendering.pdf · 2007-05-07 · Image based rendering seeks to replace geometry and surface properties with images. Quicktime VR Skip

Lumigraph - Demo

Lumigraph• Lion, Fruit Bowl

Page 42: Image-Based Renderingjkh/462_s07/26_image_based_rendering.pdf · 2007-05-07 · Image based rendering seeks to replace geometry and surface properties with images. Quicktime VR Skip

Complex Light Field acquisition

Digital Michelangelo Project – Marc Levoy, Stanford University– Lightfield (“night”) assembled by Jon Shade

Page 43: Image-Based Renderingjkh/462_s07/26_image_based_rendering.pdf · 2007-05-07 · Image based rendering seeks to replace geometry and surface properties with images. Quicktime VR Skip

Unstructured Lumigraph

What if the images aren’t sampled on a regular 2D grid?

• can still re-sample rays

• ray weighting becomes more complex[Buehler et al., SIGGRAPH’2000]

Page 44: Image-Based Renderingjkh/462_s07/26_image_based_rendering.pdf · 2007-05-07 · Image based rendering seeks to replace geometry and surface properties with images. Quicktime VR Skip

Surface Light Fields

Turn 4D parameterization around:

image @ every surface pt.

Leverage coherence:compress radiance fn(BRDF * illumination)after rotation by n

Page 45: Image-Based Renderingjkh/462_s07/26_image_based_rendering.pdf · 2007-05-07 · Image based rendering seeks to replace geometry and surface properties with images. Quicktime VR Skip

Surface Light Fields

[Wood et al, SIGGRAPH 2000]

Page 46: Image-Based Renderingjkh/462_s07/26_image_based_rendering.pdf · 2007-05-07 · Image based rendering seeks to replace geometry and surface properties with images. Quicktime VR Skip

3D Representations

Image (and panoramas) are 2D

Lumigraph is 4DWhat happened to 3D?

• 3D Lumigraph subset• Concentric mosaics

Page 47: Image-Based Renderingjkh/462_s07/26_image_based_rendering.pdf · 2007-05-07 · Image based rendering seeks to replace geometry and surface properties with images. Quicktime VR Skip

3D Lumigraph

One row of s,t plane• i.e., hold t constant

s,t u,v

Page 48: Image-Based Renderingjkh/462_s07/26_image_based_rendering.pdf · 2007-05-07 · Image based rendering seeks to replace geometry and surface properties with images. Quicktime VR Skip

3D Lumigraph

One row of s,t plane• i.e., hold t constant• thus s,u,v• a “row of images”

[Sloan et al., Symp. I3DG 97]

s

u,v

Page 49: Image-Based Renderingjkh/462_s07/26_image_based_rendering.pdf · 2007-05-07 · Image based rendering seeks to replace geometry and surface properties with images. Quicktime VR Skip

Concentric Mosaics

Replace “row” with “circle” of images[Shum & He, SIGGRAPH’97]

Page 50: Image-Based Renderingjkh/462_s07/26_image_based_rendering.pdf · 2007-05-07 · Image based rendering seeks to replace geometry and surface properties with images. Quicktime VR Skip

Concentric Mosaics

Page 51: Image-Based Renderingjkh/462_s07/26_image_based_rendering.pdf · 2007-05-07 · Image based rendering seeks to replace geometry and surface properties with images. Quicktime VR Skip

Concentric Mosaics

Rendering

( as seenfrom above )

Page 52: Image-Based Renderingjkh/462_s07/26_image_based_rendering.pdf · 2007-05-07 · Image based rendering seeks to replace geometry and surface properties with images. Quicktime VR Skip

Concentric Mosaics

Depth correction

Page 53: Image-Based Renderingjkh/462_s07/26_image_based_rendering.pdf · 2007-05-07 · Image based rendering seeks to replace geometry and surface properties with images. Quicktime VR Skip

Concentric Mosaics

Demo

Page 54: Image-Based Renderingjkh/462_s07/26_image_based_rendering.pdf · 2007-05-07 · Image based rendering seeks to replace geometry and surface properties with images. Quicktime VR Skip

2.5D Representations

Image is 2DLumigraph is 4D3D

• 3D Lumigraph subset• Concentric mosaics

2.5D• Layered Depth Images• Sprites with Depth (impostors)• View Dependent Surfaces (see Façade)

Page 55: Image-Based Renderingjkh/462_s07/26_image_based_rendering.pdf · 2007-05-07 · Image based rendering seeks to replace geometry and surface properties with images. Quicktime VR Skip

Layered Depth Image

ImageDepthLayered

2.5 D ?

Page 56: Image-Based Renderingjkh/462_s07/26_image_based_rendering.pdf · 2007-05-07 · Image based rendering seeks to replace geometry and surface properties with images. Quicktime VR Skip

Layered Depth Image

Rendering from LDI[Shade et al., SIGGRAPH’98]

• Incremental in LDI X and Y • Guaranteed to be in back-to-front order

Page 57: Image-Based Renderingjkh/462_s07/26_image_based_rendering.pdf · 2007-05-07 · Image based rendering seeks to replace geometry and surface properties with images. Quicktime VR Skip

Layered Depth Image

Rendering from LDI

• Incremental in LDI X and Y • Guaranteed to be in back-to-front order

Page 58: Image-Based Renderingjkh/462_s07/26_image_based_rendering.pdf · 2007-05-07 · Image based rendering seeks to replace geometry and surface properties with images. Quicktime VR Skip

Hierarchy of Light Fields [Levoy]

5D: Plenoptic Function (Ray)4D: Lumigraph / Lightfield4D*: Environment Matte (single view)3D: Lumigraph Subset3D: Concentric Mosaics2.5D: Layered Depth Image2.5D: Image Based Models2D: Images and Panoramas

Page 59: Image-Based Renderingjkh/462_s07/26_image_based_rendering.pdf · 2007-05-07 · Image based rendering seeks to replace geometry and surface properties with images. Quicktime VR Skip

Course Evaluation is now open

Until Monday, May 7thPlease complete the evaluation

Announcements


Recommended