Project 2 Review Image Morphing. Objective: You will produce a morph animation of your face into another person's face or any object you prefer. 60 frames.

Slides:



Advertisements
Similar presentations
Morphing & Warping 2D Morphing Involves 2 steps 1.Image warping “get features to line up” 2.Cross-dissolve “mix colors” (fade-in/fadeout transition)
Advertisements

Morphing CSE 590 Computational Photography Tamara Berg.
Congruent and Similar. Similar and Congruent Figures Congruent polygons have all sides congruent and all angles congruent. Similar polygons have the same.
Morphing. What is Morphing Morphing is an effect that can be used to manipulate still images or to create interesting animated transformations. Morphing.
2D preobrazba (morphing). 2D preobrazba dekle-tiger.
Feature-Based Image Metamorphosis Thaddeus Beier Shawn Neely SIGGRAPH 1992.
Computer Graphics Lab Electrical Engineering, Technion, Israel June 2009 [1] [1] Xuemiao Xu, Animating Animal Motion From Still, Siggraph 2008.
1 Computer Science 631 Lecture 2: Morphing Ramin Zabih Computer Science Department CORNELL UNIVERSITY.
09/11/2006 Bharathi Manivannan A.S Motion Warping International Conference on Computer Graphics and Interactive Techniques, SIGGRAPH’95 - -Andrew Witkin.
Appearance Models Shape models represent shape variation Eigen-models can represent texture variation Combined appearance models represent both.
Real-time Combined 2D+3D Active Appearance Models Jing Xiao, Simon Baker,Iain Matthew, and Takeo Kanade CVPR 2004 Presented by Pat Chan 23/11/2004.
Image Morphing Tong-Yee Lee. Image Morphing Animate transitions between two images Specify Correspondence Warping Blending.
Animation Pertemuan 5 Matakuliah: T0732 / Sistem Multimedia Tahun: 2007.
Image Morphing : Computational Photography Alexei Efros, CMU, Fall 2005 © Alexey Tikhonov.
Active Appearance Models Computer examples A. Torralba T. F. Cootes, C.J. Taylor, G. J. Edwards M. B. Stegmann.
Image Morphing, Triangulation CSE399b, Spring 07 Computer Vision.
COS 429 PS3: Stitching a Panorama Due November 4 th.
Behavior Analysis Midterm Report Lipov Irina Ravid Dan Kotek Tommer.
Image Morphing, Thin-Plate Spline Model CSE399b, Spring 07 Computer Vision
Image Warping Computational Photography Derek Hoiem, University of Illinois 09/27/11 Many slides from Alyosha Efros + Steve Seitz Photo by Sean Carroll.
Computer Animation Algorithms and Techniques
Image Morphing CSC320: Introduction to Visual Computing
Facial Animation By: Shahzad Malik CSC2529 Presentation March 5, 2003.
MORPHING Presentation By: SWARUP DEEPIKA JAGMOHAN Date: 22 OCT 2002 Course: COMPUTER GRAPHICS.
Web Design Vocab 9 Palette, QuickTime, Tweening, Typography, XHTML.
Task 1(easy): Try to remove the white background from these images. 1.
Animation Ann Ware.
Graphics Pipeline Rasterization CMSC 435/634. Drawing Terms Primitive – Basic shape, drawn directly – Compare to building from simpler shapes Rasterization.
Cartographic Applications
Image Warping / Morphing
Geometric Operations and Morphing.
Portraiture Morphing Presented by Fung, Chau-ha Jenice.
Graphics Pipeline Rasterization CMSC 435/634. Drawing Terms Primitive – Basic shape, drawn directly – Compare to building from simpler shapes Rasterization.
Application in Computer Vision Final Project Nir Slakman, Oren Zur and Noam Ben-Ari.
Image Warping Computational Photography Derek Hoiem, University of Illinois 09/23/10 Many slides from Alyosha Efros + Steve Seitz Photo by Sean Carroll.
MA/CS 3751 Fall 2002 Lecture 24. MA/CS 3752 ginput ginput is a Matlab function which takes one argument input: number of points to select in the image.
1 Animation. 2 Learning Outcomes Pada akhir pertemuan ini, diharapkan mahasiswa akan mampu : Menunjukkan Penggunaan Animasi pada Aplikasi Multimedia.
Computational Photography Derek Hoiem, University of Illinois
Image Morphing Computational Photography Derek Hoiem, University of Illinois 10/02/12 Many slides from Alyosha Efros.
Image Warping and Morphing cs195g: Computational Photography James Hays, Brown, Spring 2010 © Alexey Tikhonov.
Lecture 6: 18/5/1435 Computer Animation(2) Lecturer/ Kawther Abas CS- 375 Graphics and Human Computer Interaction.
Data dan Teknologi Multimedia Sesi 07 Nofriyadi Nurdam.
Advanced Multimedia Warping & Morphing Tamara Berg.
CS559: Computer Graphics Lecture 8: Warping, Morphing, 3D Transformation Li Zhang Spring 2010 Most slides borrowed from Yungyu ChuangYungyu Chuang.
Modeling, CG, and others Jyun-Ming Chen Fall 2001.
Image Morphing Computational Photography Derek Hoiem, University of Illinois 9/29/15 Many slides from Alyosha Efros.
Deformation using interpolation CSE 3541 Matt Boggus.
INTRODUCTION TO FLASH Flash is used for: Animated movies Games Website Interface (Headers, Navigation Bar buttons)
Image Warping and Morphing : Computational Photography Alexei Efros, CMU, Fall 2011 © Alexey Tikhonov.
Image Warping and Morphing © Alexey Tikhonov CS194: Image Manipulation & Computational Photography Alexei Efros, UC Berkeley, Fall 2015.
CS 102 Computers In Context (Multimedia)‏ 04 / 27 / 2009 Instructor: Michael Eckmann.
Example: warping triangles Given two triangles: ABC and A’B’C’ in 2D (12 numbers) Need to find transform T to transfer all pixels from one to the other.
CS559: Computer Graphics Lecture 7: Image Warping and Panorama Li Zhang Spring 2008 Most slides borrowed from Yungyu ChuangYungyu Chuang.
Video Textures Arno Schödl Richard Szeliski David Salesin Irfan Essa Microsoft Research, Georgia Tech.
Introduction To IBR Ying Wu. View Morphing Seitz & Dyer SIGGRAPH’96 Synthesize images in transition of two views based on two images No 3D shape is required.
Chapter 4 Congruent Triangles Objective: 1) To recognize  figures & their corresponding parts.
Image warping/morphing Digital Visual Effects, Spring 2006 Yung-Yu Chuang 2005/3/15 with slides by Richard Szeliski, Steve Seitz and Alexei Efros.
Deformation techniques
Image Morphing © Zooface Many slides from Alexei Efros, Berkeley.
CS1315: Introduction to Media Computation
Matakuliah : T0553/Sistem Multimedia Tahun : 2005 Versi : 5
Computational Photography Derek Hoiem, University of Illinois
Computational Photography Derek Hoiem, University of Illinois
Image Warping and Morphing
Turning to the Masters: Motion Capturing Cartoons
Morphing WU PO-HUNG.
MP4 Walkthrough Video Animation
The Image The pixels in the image The mask The resulting image 255 X
Image Morphing using mesh warp and feature based warp
Presentation transcript:

Project 2 Review Image Morphing

Objective: You will produce a morph animation of your face into another person's face or any object you prefer. 60 frames of animation a.avi movie Requirement:

An example…. (you need to morph a face though)

Procedure: Task 1: get point correspondence Task 2: morphed_im = morph(im1, im2, im1_pts, im2_pts, tri, warp_frac, dissolve_frac); 1.Triangulation 2.Compute intermediate shape for a given warp_frac 3.Compute the barycentric coordinate for each pixel 4.Inverse warping 5.Blending according to dissolve_frac Task 3: morphed_im = morph_tps_wrapper(im1, im2, im1_pts, im2_pts, warp_frac, dissolve_frac); 1.Compute intermediate control points for a given warp_frac 2.Compute TPS coefficients 3.Inverse warping 4.Blending according to dissolve_frac Generate video file: use “avifile” in matlab.

Task 1: get point correspondence Use “cpselect” tool Or write your own function with ginput

1. triangulation TRI = delaunay(X,Y); computing the triangulation at the midway shape (i.e. mean of the two point sets) to lessen the potential triangle deformations

2. Compute intermediate shape for a given warp_frac impoints = (1-warpFrac)*im1points + warpFrac*im2points;

3. Compute the barycentric coordinate for each pixel T = tsearch(X,Y,TRI,XI,YI); Find which traingle a pixel is in: Compute barycentric coordinate:

4. Inverse warping 5. Blending according to dissolve_frac (1-dissolve_frac)*morphed_im1 + dissolve_frac*morphed_im2;

Procedure: Task 1: get point correspondence Task 2: morphed_im = morph(im1, im2, im1_pts, im2_pts, tri, warp_frac, dissolve_frac); 1.Triangulation 2.Compute intermediate shape for a given warp_frac 3.Compute the barycentric coordinate for each pixel 4.Inverse warping 5.Blending according to dissolve_frac Task 3: morphed_im = morph_tps_wrapper(im1, im2, im1_pts, im2_pts, warp_frac, dissolve_frac); 1.Compute intermediate control points for a given warp_frac 2.Compute TPS coefficients 3.Inverse warping 4.Blending according to dissolve_frac Generate video file: use “avifile” in matlab.

2.Compute TPS coefficients Compute a set of coefficient for x, and another set for y: x’ = f x (x,y); y’ = f y (x,y);

2.Compute TPS coefficients

Generate video file: use “avifile” in matlab video = avifile(filename,'FPS',frameRate); video = addframe(video,image); video = close(video);