Project 5

Michael Ball

### cs194-ft

Face Morphing

Note: Click on all images to view the full size version!

Basic Algorithm

My basic algorithm fallowed almost exactly the slides and assignment. I took a set of manually defined control pointed and then (for two images) I averaged those points and created a Delaunay triangulation. To warp an image I made an inverse warping from a weighted triangulation to the Delaunay triangulation. I didn’t directly create an affineTransformation but used the same technique within the main loop to iterate over the triangles. The tricky part for me was using interp2 and separating by color channel.

Unfortunately I have a bug where somewhere along the line, my code stopped converting the bottom parts of the image. I’m not sure what went wrong…


Examples

I used the FEI greyscale faces database: Here’s the average smile: AvgSmile

This is a Face (male 4b) in the set, morphed with the average face: Buggy Avg4

Here is me, morphed to the average shape: Me Morphed To Avg Clearly I have too much hair!

Here is me, morphed to Dan Garcia: Me: MichaelBall

Dan: DanGarcia

Midway: Michael Dan Halfway

GIF: MichaelDan


# Music Video This is a video of all the CS10 TAs


Links

About.Me

Facebook

Flickr

GitHub

Google+

Instagram

iOS App Store

LinkedIn

Posts I Like

Tumblr

Twitter

YouTube