1 / 26

Animating Animal Motion From Still

Animating Animal Motion From Still. [1]. Presenting:. Shahar Ben Ezra Saar Nakibli. Supervisor: . Hayley Binia Wolman. Computer Graphics Lab Electrical Engineering, Technion , Israel June 2009 . [1] Xuemiao Xu , Animating Animal Motion From Still, Siggraph 2008. Project Goal.

lerato
Download Presentation

Animating Animal Motion From Still

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Animating Animal Motion From Still [1] Presenting: Shahar Ben Ezra Saar Nakibli Supervisor: Hayley Binia Wolman Computer Graphics Lab Electrical Engineering, Technion, Israel June 2009 [1] XuemiaoXu , Animating Animal Motion From Still, Siggraph 2008

  2. Project Goal • Create an animation movie by reconstructing the animal motion from a still picture Still Image Animation Movie Algorithm

  3. Quick Demonstration

  4. Overview Distances matrix Snapshot Extraction Shape Context Descriptor Find distances Source Image snapshots Shape context descriptors 6,3,4,1,2,5 TPS Morphing Consistency Refinement Creating Animation Path Finding Animation between two snapshots Consistent snapshots Motion Path Final Movie

  5. Overview Distances matrix Snapshot Extraction Shape Context Descriptor Find distances Source Image snapshots Shape context descriptors 6,3,4,1,2,5 TPS Morphing Consistency Refinement Creating Animation Path Finding Animation between two snapshots Consistent snapshots Motion Path Final Movie

  6. Snapshot Extraction • Extract the snapshots using a tool called “MVP-PIE” developed at the CGM lab at the Technion. • This stage is not part of our project but it’s a necessary step in order to extract the snapshots from the source image.

  7. Overview Distances matrix Snapshot Extraction Shape Context Descriptor Find distances Source Image snapshots Shape context descriptors 6,3,4,1,2,5 TPS Morphing Consistency Refinement Creating Animation Path Finding Animation between two snapshots Consistent snapshots Motion Path Final Movie

  8. Shape Context (Cont.) • User Interaction: choose two anchor points that define the movement direction of the animal. • Rotate the snapshot in the angle defined by the user. • Find the contour levels of the snapshot using the Matlab Image Proccesing Toolbox. • Take the last contour level and decimate it, and display it on the XY plane.

  9. Shape Context (Cont.) • Find the contour of the snapshot • For every point on the contour draw the circles and bins as shown • Create the “matrix descriptor “ • Invariant to translation, rotation and scale.

  10. Overview Distances matrix Snapshot Extraction Shape Context Descriptor Find distances Source Image snapshots Shape context descriptors 6,3,4,1,2,5 TPS Morphing Consistency Refinement Creating Animation Path Finding Animation between two snapshots Consistent snapshots Motion Path Final Movie

  11. Distance Matrix Distance between Snapshot-K and Snapshot-L: Point on snapshot K Closest point on snapshot L How do we find ? Distance between two matrix descriptors

  12. Overview Distances matrix Snapshot Extraction Shape Context Descriptor Find distances Source Image snapshots Shape context descriptors 6,3,4,1,2,5 TPS Morphing Consistency Refinement Creating Animation Path Finding Animation between two snapshots Consistent snapshots Motion Path Final Movie

  13. Path Finding • Find the optimal path between the snapshots using the distances matrix • Looking to find a path which minimizes the Energy function: • Local similarity: • Sampling uniformity: • Global distinction: • We use the Simulated Annealing Optimization Algorithm • Avoid “getting stuck” on a local minimum, because of the Temperature factor. • Ignore outliers that don’t belong in the motion cycle. • Ignore snapshots that are too similar to other snapshots.

  14. Path Finding (Cont.) • Initialize a path • While (T>Limit) • Loop K times • Choose a new path length Lcurr • Generate new Path Pcurrat length Lcurr and price Ccurr • If (Ccurr – Cold) < 0 • Accept current path (trivial). Update parameters. • Else if exp{(Ccurr – Cold)/T} < rand[0,1] • Accept current path. Update parameters. • Else • Reject current path. • Decrease Temprature T = T*Annealing_Factor • End • End

  15. Motion Cycle Full Cycle: Half Cycle:

  16. Overview Distances matrix Snapshot Extraction Shape Context Descriptor Find distances Source Image snapshots Shape context descriptors 6,3,4,1,2,5 TPS Morphing Consistency Refinement Creating Animation Path Finding Animation between two snapshots Consistent snapshots Motion Path Final Movie

  17. Pose Consistency • In order to create smooth and realistic animation, all the animals have to be in the same pose relative to the camera. • Affine transformation includes: • Translation • scale • rotation • All snapshots are translated relative to a pivot snapshot. Pivot

  18. Appearance Consistency • Every snapshot has its own color and texture that can vary from one snapshot to another. • Histogram standardization of all snapshots will make the final animation look smoother. Pivot histogram:

  19. Overview Distances matrix Snapshot Extraction Shape Context Descriptor Find distances Source Image snapshots Shape context descriptors 6,3,4,1,2,5 TPS Morphing Consistency Refinement Creating Animation Path Finding Animation between two snapshots Consistent snapshots Motion Path Final Movie

  20. TPS Morphing • Finding animation points: • Points which are not static • during the animal motion • Morph between the source points and target points • Source Image is registered to the green points • Destination Image is registered to the red points.

  21. Overview Distances matrix Snapshot Extraction Shape Context Descriptor Find distances Source Image snapshots Shape context descriptors 6,3,4,1,2,5 TPS Morphing Consistency Refinement Creating Animation Path Finding Animation between two snapshots Consistent snapshots Motion Path Final Movie

  22. Creating Animation Morph three frames between two snapshots Destination 0.5 Source 0.75 0.25 0.25 0.5 0.75

  23. Creating Animation (Cont.) • Blend the morphed frames into the background image, by the following formula: • The Threshold Value (T) was empirically found and set to T=120. T=50 T=120 T=150 T=200

  24. Results - Turtles Input Images: Output Animation:

  25. Results - Turtles Input Images: Output Animation:

  26. Results - Tadpoles Input Image: Output animation:

More Related