the cartoon animation filter jue wang steven drucker maneesh agrawala michael cohen

33
The Cartoon Animation Filter Jue Wang Steven Drucker Maneesh Agrawala Michael Cohen

Post on 20-Dec-2015

226 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: The Cartoon Animation Filter Jue Wang Steven Drucker Maneesh Agrawala Michael Cohen

The Cartoon Animation Filter

Jue WangSteven Drucker

Maneesh AgrawalaMichael Cohen

Page 2: The Cartoon Animation Filter Jue Wang Steven Drucker Maneesh Agrawala Michael Cohen

The Cartoon Animation Filter

• Goal– Add “liveliness” to any motion signal

• Should be– Simple– General– As automated as possible– Fast enough for real-time interaction

Page 3: The Cartoon Animation Filter Jue Wang Steven Drucker Maneesh Agrawala Michael Cohen

A very boring animation

Page 4: The Cartoon Animation Filter Jue Wang Steven Drucker Maneesh Agrawala Michael Cohen

x*(t) = x(t) + x’’(t) * -x’

time

x

x’’x’’

-x’’

-x’’ + x

-x’’ , x

Anticipation

Follow-through

Page 5: The Cartoon Animation Filter Jue Wang Steven Drucker Maneesh Agrawala Michael Cohen

An almost as boring animation

Page 6: The Cartoon Animation Filter Jue Wang Steven Drucker Maneesh Agrawala Michael Cohen

x*(t) = x(t) + x’’(t) * -x*(t) = x(t) + x (t) * - ’’

-LoG

Page 7: The Cartoon Animation Filter Jue Wang Steven Drucker Maneesh Agrawala Michael Cohen

Convolution with -LoG

Error in equation (2):

x*(t) = x(t) * -LoGx*(t) = x(t) + x(t) * -LoG

Page 8: The Cartoon Animation Filter Jue Wang Steven Drucker Maneesh Agrawala Michael Cohen

-LoG Parameters

• Amplitude – user set

• Width (frequency) – automatically set [later]

Page 9: The Cartoon Animation Filter Jue Wang Steven Drucker Maneesh Agrawala Michael Cohen

Image Sharpening

Page 10: The Cartoon Animation Filter Jue Wang Steven Drucker Maneesh Agrawala Michael Cohen

Image Sharpening

Page 11: The Cartoon Animation Filter Jue Wang Steven Drucker Maneesh Agrawala Michael Cohen

Demo 3

• Show ball with vectors forward and backward

• Show 3 copies of curve, original and time shifted forward and back

• Convolve

• Show squash and stretch ball again

Page 12: The Cartoon Animation Filter Jue Wang Steven Drucker Maneesh Agrawala Michael Cohen

Squash and Stretch

x’’

LoGp(t) = LoG(t+t)

t ≈ x’’ · p

p

Page 13: The Cartoon Animation Filter Jue Wang Steven Drucker Maneesh Agrawala Michael Cohen

Squash and Stretch

time

x’’

• Volume Preservation– Inversely stretch/squash orthogonally to acceleration

Page 14: The Cartoon Animation Filter Jue Wang Steven Drucker Maneesh Agrawala Michael Cohen

Squash and Stretch

Page 15: The Cartoon Animation Filter Jue Wang Steven Drucker Maneesh Agrawala Michael Cohen

Related Work

• Physically Based, lots

• Stylized, e.g., Chenney et al. 2005, Igarashi et al. 2002

• Surface Deformation, lots…

• Signal Based, e.g., – Unuma et al. 1995, – Bruderlin and Williams, 1995

• Video Paintbox, Collomosse 2004

• Motion Magnification, Liu et al. 2005

Page 16: The Cartoon Animation Filter Jue Wang Steven Drucker Maneesh Agrawala Michael Cohen

Livening Up Powerpoint

Page 17: The Cartoon Animation Filter Jue Wang Steven Drucker Maneesh Agrawala Michael Cohen

Livening Up Powerpoint

Page 18: The Cartoon Animation Filter Jue Wang Steven Drucker Maneesh Agrawala Michael Cohen

Enhancing Video Objects

Page 19: The Cartoon Animation Filter Jue Wang Steven Drucker Maneesh Agrawala Michael Cohen

Enhancing Video Objects

Page 20: The Cartoon Animation Filter Jue Wang Steven Drucker Maneesh Agrawala Michael Cohen

Enhancing Video Objects

• Need to maintain constraints– Simplest approach– Move figure in each frame vertically to keep

feet/skateboard in place

Page 21: The Cartoon Animation Filter Jue Wang Steven Drucker Maneesh Agrawala Michael Cohen

Enhancing Video Objects

Page 22: The Cartoon Animation Filter Jue Wang Steven Drucker Maneesh Agrawala Michael Cohen

Enhancing Video Objects

Page 23: The Cartoon Animation Filter Jue Wang Steven Drucker Maneesh Agrawala Michael Cohen

Enhancing Video Objects

Page 24: The Cartoon Animation Filter Jue Wang Steven Drucker Maneesh Agrawala Michael Cohen

Enhancing Video Objects

Page 25: The Cartoon Animation Filter Jue Wang Steven Drucker Maneesh Agrawala Michael Cohen

Enhancing Video Objects

Page 26: The Cartoon Animation Filter Jue Wang Steven Drucker Maneesh Agrawala Michael Cohen

Golfswing

• Apply filter to each DOF independently

• What should the filter width be?

Page 27: The Cartoon Animation Filter Jue Wang Steven Drucker Maneesh Agrawala Michael Cohen

Setting LoG Width*(t) = max|X()| *(t) = max|F(x’(t))| (t) = 2/ *(t)

time

original

fixed

adaptive

(over 32 frame window)

Page 28: The Cartoon Animation Filter Jue Wang Steven Drucker Maneesh Agrawala Michael Cohen

Walking

Page 29: The Cartoon Animation Filter Jue Wang Steven Drucker Maneesh Agrawala Michael Cohen

Boxers

Page 30: The Cartoon Animation Filter Jue Wang Steven Drucker Maneesh Agrawala Michael Cohen

Boxers

Page 31: The Cartoon Animation Filter Jue Wang Steven Drucker Maneesh Agrawala Michael Cohen

Boxers

Page 32: The Cartoon Animation Filter Jue Wang Steven Drucker Maneesh Agrawala Michael Cohen

Discussion

• (Almost) fully automated– NOT a tool for experts– But may make good first cut

• Need better constraint maintenance– IK, physical constraints

• Online (in-game) usage– Single animation adjusts to situation

Page 33: The Cartoon Animation Filter Jue Wang Steven Drucker Maneesh Agrawala Michael Cohen

Where from here?

• Make a kid’s animation system