Lecture 7: Image Sources, Convolution, Scene Graphs COMPSCI/MATH - - PowerPoint PPT Presentation

lecture 7 image sources convolution scene graphs
SMART_READER_LITE
LIVE PREVIEW

Lecture 7: Image Sources, Convolution, Scene Graphs COMPSCI/MATH - - PowerPoint PPT Presentation

Lecture 7: Image Sources, Convolution, Scene Graphs COMPSCI/MATH 290-04 Chris Tralie, Duke University 2/4/2016 COMPSCI/MATH 290-04 Lecture 7: Image Sources, Convolution, Scene Graphs Announcements Mini Assignment 2 Due Next Monday 11:55


slide-1
SLIDE 1

Lecture 7: Image Sources, Convolution, Scene Graphs

COMPSCI/MATH 290-04

Chris Tralie, Duke University

2/4/2016

COMPSCI/MATH 290-04 Lecture 7: Image Sources, Convolution, Scene Graphs

slide-2
SLIDE 2

Announcements

◮ Mini Assignment 2 Due Next Monday 11:55 PM ◮ Group Assignment 1 will be released before Monday ◮ Find partners!

COMPSCI/MATH 290-04 Lecture 7: Image Sources, Convolution, Scene Graphs

slide-3
SLIDE 3

Table of Contents

◮ 3D Rotations Continued ⊲ Image Sources ⊲ Convolution ⊲ Scene Graphs

COMPSCI/MATH 290-04 Lecture 7: Image Sources, Convolution, Scene Graphs

slide-4
SLIDE 4

3D Rotations: Coordinate Frame Interpretation

COMPSCI/MATH 290-04 Lecture 7: Image Sources, Convolution, Scene Graphs

slide-5
SLIDE 5

3D Rotations: Euler Angles Visualization

COMPSCI/MATH 290-04 Lecture 7: Image Sources, Convolution, Scene Graphs

slide-6
SLIDE 6

Table of Contents

⊲ 3D Rotations Continued ◮ Image Sources ⊲ Convolution ⊲ Scene Graphs

COMPSCI/MATH 290-04 Lecture 7: Image Sources, Convolution, Scene Graphs

slide-7
SLIDE 7

Ray Casting for Specular Reflections

⊲ Project onto normal, flip normal component, preserve parallel component

COMPSCI/MATH 290-04 Lecture 7: Image Sources, Convolution, Scene Graphs

slide-8
SLIDE 8

Ray Casting for Specular Reflections

COMPSCI/MATH 290-04 Lecture 7: Image Sources, Convolution, Scene Graphs

slide-9
SLIDE 9

Ray Casting for Specular Reflections

COMPSCI/MATH 290-04 Lecture 7: Image Sources, Convolution, Scene Graphs

slide-10
SLIDE 10

Ray Casting for Specular Reflections

COMPSCI/MATH 290-04 Lecture 7: Image Sources, Convolution, Scene Graphs

slide-11
SLIDE 11

Ray Casting for Specular Reflections

COMPSCI/MATH 290-04 Lecture 7: Image Sources, Convolution, Scene Graphs

slide-12
SLIDE 12

Ray Casting for Specular Reflections

COMPSCI/MATH 290-04 Lecture 7: Image Sources, Convolution, Scene Graphs

slide-13
SLIDE 13

Ray Casting for Specular Reflections

⊲ Dilution of precision ⊲ Need fine angle resolution to capture!

COMPSCI/MATH 290-04 Lecture 7: Image Sources, Convolution, Scene Graphs

slide-14
SLIDE 14

Image Sources

COMPSCI/MATH 290-04 Lecture 7: Image Sources, Convolution, Scene Graphs

slide-15
SLIDE 15

Image Sources

COMPSCI/MATH 290-04 Lecture 7: Image Sources, Convolution, Scene Graphs

slide-16
SLIDE 16

Image Sources

COMPSCI/MATH 290-04 Lecture 7: Image Sources, Convolution, Scene Graphs

slide-17
SLIDE 17

Image Sources: Proof

COMPSCI/MATH 290-04 Lecture 7: Image Sources, Convolution, Scene Graphs

slide-18
SLIDE 18

Image Sources: More Examples

COMPSCI/MATH 290-04 Lecture 7: Image Sources, Convolution, Scene Graphs

slide-19
SLIDE 19

Image Sources: Second Order

COMPSCI/MATH 290-04 Lecture 7: Image Sources, Convolution, Scene Graphs

slide-20
SLIDE 20

Image Sources: Second Order

COMPSCI/MATH 290-04 Lecture 7: Image Sources, Convolution, Scene Graphs

slide-21
SLIDE 21

Image Sources: Second Order

COMPSCI/MATH 290-04 Lecture 7: Image Sources, Convolution, Scene Graphs

slide-22
SLIDE 22

Image Sources: Second Order

COMPSCI/MATH 290-04 Lecture 7: Image Sources, Convolution, Scene Graphs

slide-23
SLIDE 23

Image Sources: Third Order (!)

1 2 3

COMPSCI/MATH 290-04 Lecture 7: Image Sources, Convolution, Scene Graphs

slide-24
SLIDE 24

Image Sources: Third Order

1 2 3

COMPSCI/MATH 290-04 Lecture 7: Image Sources, Convolution, Scene Graphs

slide-25
SLIDE 25

Image Sources: Third Order

1 2 3

COMPSCI/MATH 290-04 Lecture 7: Image Sources, Convolution, Scene Graphs

slide-26
SLIDE 26

Image Sources: Third Order

1 2 3

COMPSCI/MATH 290-04 Lecture 7: Image Sources, Convolution, Scene Graphs

slide-27
SLIDE 27

Image Sources: Third Order

1 2 3

COMPSCI/MATH 290-04 Lecture 7: Image Sources, Convolution, Scene Graphs

slide-28
SLIDE 28

Image Sources: Third Order

COMPSCI/MATH 290-04 Lecture 7: Image Sources, Convolution, Scene Graphs

slide-29
SLIDE 29

Image Sources: Occlusions

COMPSCI/MATH 290-04 Lecture 7: Image Sources, Convolution, Scene Graphs

slide-30
SLIDE 30

Image Sources: Occlusions

Ray needs to hit target before anything else

COMPSCI/MATH 290-04 Lecture 7: Image Sources, Convolution, Scene Graphs

slide-31
SLIDE 31

Image Sources: Point Containment

COMPSCI/MATH 290-04 Lecture 7: Image Sources, Convolution, Scene Graphs

slide-32
SLIDE 32

Image Sources: Point Containment

Intersection with line (plane in 3D) must be in interior of polygon

COMPSCI/MATH 290-04 Lecture 7: Image Sources, Convolution, Scene Graphs

slide-33
SLIDE 33

Table of Contents

⊲ 3D Rotations Continued ⊲ Image Sources ◮ Convolution ⊲ Scene Graphs

COMPSCI/MATH 290-04 Lecture 7: Image Sources, Convolution, Scene Graphs

slide-34
SLIDE 34

Impulse Response

⊲ Convert lengths of all paths into times, amplitude records decay

Direct Path

COMPSCI/MATH 290-04 Lecture 7: Image Sources, Convolution, Scene Graphs

slide-35
SLIDE 35

Impulse Response

⊲ Convert lengths of all paths into times, amplitude records decay

Direct Path

⊲ What causes decay?

COMPSCI/MATH 290-04 Lecture 7: Image Sources, Convolution, Scene Graphs

slide-36
SLIDE 36

Convolution

⊲ Convolution: What do sounds sound like in this environment?

Direct Path

COMPSCI/MATH 290-04 Lecture 7: Image Sources, Convolution, Scene Graphs

slide-37
SLIDE 37

Convolution

⊲ Add overlapping signals, delayed and decayed

COMPSCI/MATH 290-04 Lecture 7: Image Sources, Convolution, Scene Graphs

slide-38
SLIDE 38

Convolution

⊲ Add overlapping signals, delayed and decayed

COMPSCI/MATH 290-04 Lecture 7: Image Sources, Convolution, Scene Graphs

slide-39
SLIDE 39

Convolution

⊲ Add overlapping signals, delayed and decayed

COMPSCI/MATH 290-04 Lecture 7: Image Sources, Convolution, Scene Graphs

slide-40
SLIDE 40

Convolution

⊲ Add overlapping signals, delayed and decayed

COMPSCI/MATH 290-04 Lecture 7: Image Sources, Convolution, Scene Graphs

slide-41
SLIDE 41

Convolution

⊲ Add overlapping signals, delayed and decayed

COMPSCI/MATH 290-04 Lecture 7: Image Sources, Convolution, Scene Graphs

slide-42
SLIDE 42

Convolution

⊲ Add overlapping signals, delayed and decayed

COMPSCI/MATH 290-04 Lecture 7: Image Sources, Convolution, Scene Graphs

slide-43
SLIDE 43

Convolution: Result

⊲ Add overlapping signals, delayed and decayed

COMPSCI/MATH 290-04 Lecture 7: Image Sources, Convolution, Scene Graphs

slide-44
SLIDE 44

Convolution: Notation / Equation

x[n]: Discretely sampled signal describing the sound h[n]: Discretely sampled signal describing impulse

COMPSCI/MATH 290-04 Lecture 7: Image Sources, Convolution, Scene Graphs

slide-45
SLIDE 45

Convolution: Notation / Equation (RAFFLE POINT)

x[n]: Discretely sampled signal describing the sound h[n]: Discretely sampled signal describing impulse

COMPSCI/MATH 290-04 Lecture 7: Image Sources, Convolution, Scene Graphs

slide-46
SLIDE 46

Convolution: Notation/Equation

x[n]: Discretely sampled signal describing the sound h[n]: Discretely sampled signal describing impulse (x ∗ h)[n] =

N

  • k=0

h[k]x[n − k]

COMPSCI/MATH 290-04 Lecture 7: Image Sources, Convolution, Scene Graphs

slide-47
SLIDE 47

Convolution: Notation/Equation

x[n]: Discretely sampled signal describing the sound h[n]: Discretely sampled signal describing impulse (x ∗ h)[n] =

N

  • k=0

h[k]x[n − k] Roles can switch!

COMPSCI/MATH 290-04 Lecture 7: Image Sources, Convolution, Scene Graphs

slide-48
SLIDE 48

Gaussian Interpolation

Given non-integer bin index n0 with amplitude a h[n] = ae−(n−n0)2/2σ2/  

k=2σ

  • k=−2σ

e−(n−n0)2/2σ2  

COMPSCI/MATH 290-04 Lecture 7: Image Sources, Convolution, Scene Graphs

slide-49
SLIDE 49

Convolution Examples

Interactive demo

COMPSCI/MATH 290-04 Lecture 7: Image Sources, Convolution, Scene Graphs

slide-50
SLIDE 50

Table of Contents

⊲ 3D Rotations Continued ⊲ Image Sources ⊲ Convolution ◮ Scene Graphs

COMPSCI/MATH 290-04 Lecture 7: Image Sources, Convolution, Scene Graphs

slide-51
SLIDE 51

Scene Graph: Human body

Figure courtesy of http://www.euclideanspace.com/physics/kinematics/joints/ COMPSCI/MATH 290-04 Lecture 7: Image Sources, Convolution, Scene Graphs

slide-52
SLIDE 52

Scene Graph: Human body

MOCAP interactive example

COMPSCI/MATH 290-04 Lecture 7: Image Sources, Convolution, Scene Graphs

slide-53
SLIDE 53

Scene Graph: Bedroom

Liu, Tianqiang, et al. ”Creating consistent scene graphs using a probabilistic grammar.” ACM Transactions on Graphics (TOG) 33.6 (2014): 211. COMPSCI/MATH 290-04 Lecture 7: Image Sources, Convolution, Scene Graphs

slide-54
SLIDE 54

Scene Graph: Library

Liu, Tianqiang, et al. ”Creating consistent scene graphs using a probabilistic grammar.” ACM Transactions on Graphics (TOG) 33.6 (2014): 211. COMPSCI/MATH 290-04 Lecture 7: Image Sources, Convolution, Scene Graphs

slide-55
SLIDE 55

Scene Graph: Euler Angles Visualization

COMPSCI/MATH 290-04 Lecture 7: Image Sources, Convolution, Scene Graphs

slide-56
SLIDE 56

Designing Scene Graphs

Interactive Example

COMPSCI/MATH 290-04 Lecture 7: Image Sources, Convolution, Scene Graphs