October, 18, 2010

Face Morphing

The program performs face morphing. The source code is written in MATLAB. Sixty frames are created as the morphing process proceeded from Image A in the left to Image B in the right. Then the frames are combined to form a .avi format video as shown below.

I used Voronoi diagrams and Delaunay triangulation method for the morphing process.

About the algorithm used:

To compute each frame, I will be using a fraction to warp the two images to get an intermediate shape of the two. Delaunay triangulation is being used at this point. Then Barycentric coordinates of each triangle in the intermediate image is computed to map the corresponding source pixels in the two source images. Then use the same warping fraction to dissolve the two source pixels from the source images (or interpolating the two corresponding pixels). I continued this for all the 60 frames. Then created an avi out of these 60frames.

Come back again... You may able to play with your own images then

Have fun!

Comment On:
*Comment:
Name:
*Email:
URL:

Latest Comments


Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'zmorgon_krips'@'localhost' (using password: YES) in /home/crystala/public_html/kripaiyer.com/index.php on line 724

Warning: mysql_select_db() [function.mysql-select-db]: Access denied for user 'crystala'@'localhost' (using password: NO) in /home/crystala/public_html/kripaiyer.com/index.php on line 725

Warning: mysql_select_db() [function.mysql-select-db]: A link to the server could not be established in /home/crystala/public_html/kripaiyer.com/index.php on line 725

Warning: mysql_query() [function.mysql-query]: Access denied for user 'crystala'@'localhost' (using password: NO) in /home/crystala/public_html/kripaiyer.com/index.php on line 729

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /home/crystala/public_html/kripaiyer.com/index.php on line 729
Access denied for user 'crystala'@'localhost' (using password: NO)