Computer Graphics Lab Electrical Engineering, Technion, Israel June 2009 [1] [1] Xuemiao Xu, Animating Animal Motion From Still, Siggraph 2008.

Slides:



Advertisements
Similar presentations
Character Animation from 2D Pictures and 3D Motion Data ACM Transactions on Graphics 2007.
Advertisements

Chapter 8 Content-Based Image Retrieval. Query By Keyword: Some textual attributes (keywords) should be maintained for each image. The image can be indexed.
Animation Following “Advanced Animation and Rendering Techniques” (chapter 15+16) By Agata Przybyszewska.
Kapitel 13 “Interactive Segmentation” – p. 1 Interactive Segmentation  Live-wire approach  Random walker segmentation TexPoint fonts used in EMF. Read.
Image Segmentation and Active Contour
On Constrained Optimization Approach To Object Segmentation Chia Han, Xun Wang, Feng Gao, Zhigang Peng, Xiaokun Li, Lei He, William Wee Artificial Intelligence.
Instructor: Mircea Nicolescu Lecture 13 CS 485 / 685 Computer Vision.
Computer Graphics Lab Electrical Engineering, Technion, Israel June 2009 [1] [1] Xuemiao Xu, Animating Animal Motion From Still, Siggraph 2008.
Jinxiang Chai CSCE441: Computer Graphics Coordinate & Composite Transformations 0.
A Study of Approaches for Object Recognition
Object Recognition with Invariant Features n Definition: Identify objects or scenes and determine their pose and model parameters n Applications l Industrial.
Direct Methods for Visual Scene Reconstruction Paper by Richard Szeliski & Sing Bing Kang Presented by Kristin Branson November 7, 2002.
1 3D –graphics and animation About modeling… Harri Airaksinen;
Static Image Mosaicing
Lecture 11: Structure from motion CS6670: Computer Vision Noah Snavely.
Planar Matchmove Using Invariant Image Features Andrew Kaufman.
Recognizing and Tracking Human Action Josephine Sullivan and Stefan Carlsson.
DSGraph Distributed Snapshot Graph Algorithms & visualization Student: Ovadia Ophir Lab instructor: Mr. Melamed Roie Lab chief engineer: Dr. David Ilana.
Automatic Image Alignment (feature-based) : Computational Photography Alexei Efros, CMU, Fall 2006 with a lot of slides stolen from Steve Seitz and.
Scale-Invariant Feature Transform (SIFT) Jinxiang Chai.
Computer-Based Animation. ● To animate something – to bring it to life ● Animation covers all changes that have visual effects – Positon (motion dynamic)
Face Recognition Using Neural Networks Presented By: Hadis Mohseni Leila Taghavi Atefeh Mirsafian.
1 Perception, Illusion and VR HNRS 299, Spring 2008 Lecture 19 Other Graphics Considerations Review.
Geometric Transformation. So far…. We have been discussing the basic elements of geometric programming. We have discussed points, vectors and their operations.
Feature and object tracking algorithms for video tracking Student: Oren Shevach Instructor: Arie nakhmani.
1 CMT Fundamentals of Computer Graphics Revision Dr. Xiaohong Gao BG---Room 2C23 Week 11.
Machine Vision for Robots
Multimodal Interaction Dr. Mike Spann
Recognition and Matching based on local invariant features Cordelia Schmid INRIA, Grenoble David Lowe Univ. of British Columbia.
Local invariant features Cordelia Schmid INRIA, Grenoble.
Geometric Operations and Morphing.
MESA LAB Multi-view image stitching Guimei Zhang MESA LAB MESA (Mechatronics, Embedded Systems and Automation) LAB School of Engineering, University of.
I 3D: Interactive Planar Reconstruction of Objects and Scenes Adarsh KowdleYao-Jen Chang Tsuhan Chen School of Electrical and Computer Engineering Cornell.
CSCE 643 Computer Vision: Structure from Motion
Multimedia Animation. Animation Principles Persistence of vision object seen by human eye remains mapped on retina for a brief time after viewing display.
Jinxiang Chai CSCE441: Computer Graphics 3D Transformations 0.
Jinxiang Chai Composite Transformations and Forward Kinematics 0.
Animation Basic Concepts.
Plenoptic Modeling: An Image-Based Rendering System Leonard McMillan & Gary Bishop SIGGRAPH 1995 presented by Dave Edwards 10/12/2000.
CSCE 643 Computer Vision: Extractions of Image Features Jinxiang Chai.
1 Perception and VR MONT 104S, Fall 2008 Lecture 21 More Graphics for VR.
Computer Graphics: Programming, Problem Solving, and Visual Communication Steve Cunningham California State University Stanislaus and Grinnell College.
Subject Name: Computer Graphics Subject Code: Textbook: “Computer Graphics”, C Version By Hearn and Baker Credits: 6 1.
CS COMPUTER GRAPHICS LABORATORY. LIST OF EXPERIMENTS 1.Implementation of Bresenhams Algorithm – Line, Circle, Ellipse. 2.Implementation of Line,
CSE 185 Introduction to Computer Vision Feature Matching.
Outline ● Introduction – What is the problem ● Generate stochastic textures ● Improve realism ● High level approach - Don't just jump into details – Why.
Image-Based Rendering Geometry and light interaction may be difficult and expensive to model –Think of how hard radiosity is –Imagine the complexity of.
Robotics Chapter 6 – Machine Vision Dr. Amit Goradia.
Image features and properties. Image content representation The simplest representation of an image pattern is to list image pixels, one after the other.
1 Faculty of Information Technology Enhanced Generic Fourier Descriptor for Object-Based Image Retrieval Dengsheng Zhang, Guojun Lu Gippsland School of.
Outline ● Introduction – What is the problem ● Generate stochastic textures ● Improve realism ● High level approach - Don't just jump into details – Why.
Occlusion Tracking Using Logical Models Summary. A Variational Partial Differential Equations based model is used for tracking objects under occlusions.
1 Teaching Innovation - Entrepreneurial - Global The Centre for Technology enabled Teaching & Learning, N Y S S, India DTEL DTEL (Department for Technology.
Animation in flash. Frame-by-Frame Animation An animation is made from a series of framed images displayed one after the other to create the motion. Flash.
Jinxiang Chai CSCE441: Computer Graphics Coordinate & Composite Transformations 0.
EEE 242 Computer Tools for Electrical Engineering
GIF or Not GIF? Use GIF for animation:
D.Yu. Ignatov, A.N. Filippov, A.D. Ignatov, X. Zhang
Shape matching and object recognition using shape contexts
Improving Retrieval Performance of Zernike Moment Descriptor on Affined Shapes Dengsheng Zhang, Guojun Lu Gippsland School of Comp. & Info Tech Monash.
UMBC Graphics for Games
Noah Snavely.
CSCE441: Computer Graphics Coordinate & Composite Transformations
Synthesis of Motion from Simple Animations
CSCE441: Computer Graphics 2D/3D Transformations
Computer Graphics Lecture 15.
CSE 185 Introduction to Computer Vision
Computational Photography
GIF or Not GIF? Use GIF for animation:
Recognition and Matching based on local invariant features
Presentation transcript:

Computer Graphics Lab Electrical Engineering, Technion, Israel June 2009 [1] [1] Xuemiao Xu, Animating Animal Motion From Still, Siggraph 2008

Create an animation movie by reconstructing the animal motion from a still picture Algorithm Still Image Animation Movie

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

Shape Context Descriptor Find distances Path Finding 6,3,4,1,2,5 Consistency Refinement TPS Morphing TPS Morphing Creating Animation snapshots Shape context descriptors Distances matrix Motion Path Consistent snapshots Animation between two snapshots Source Image 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.

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

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.

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.

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

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

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

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.

Initialize a path While (T>Limit) Loop K times Choose a new path length L curr Generate new Path P curr at length L curr and price C curr If (C curr – C old ) < 0 Accept current path (trivial). Update parameters. Else if exp{(C curr – C old )/T} < rand[0,1] Accept current path. Update parameters. Else Reject current path. Decrease Temprature T = T*Annealing_Factor End

Full Cycle: Half Cycle:

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

Pivot 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 histogram: 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.

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

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.

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

Morph three frames between two snapshots Source Destination

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=50T=120 T=150T=200

Output Animation: Input Images:

Output Animation: Input Images:

Output animation: Input Image: