Fall 2018
CS194-26: Image Manipulation and Computational Photography

Jack Wang
SID: 26862566
cs194-26-agk

Project 4: Face Morphing


Part1: Image Morph

Here is me and trump who we shall merge.

Figure 1: me

Figure 2: trump

Here is how I label correspondences

Figure 1: me

Once these are labelled, I read them in and use Delauney triangulation to make triangles, then I calculate the affine transformation matrix for each one and calculate the morph with the average warp. You can see the midway image here:

Figure 1: me but now a liar

Then I implemented the morph sequence and attained this gif:

Figure 2: liar becoming an honest man

Part2: Mean and Caricatures

I used the danes data set and I implemented a function to comb through and collect the data. Then I averaged all the points and then morphed each image to those points of the average and then averaged them all together.

Figure 1: male danes

Figure 2: female danes

Here are two cases of a dane getting warped to the average face shape

Figure 1: dane as average

Figure 2: dane as average

Here is my face on the average geometry and the average face on my geometry

Figure 1: me with dane geometry

Figure 2: dane with my geometry

Here is my caricature which i made by adding the difference between my points and the avg dane points back to my points and warping my features to it.

Figure 1: my caricature

Part3: Bells and whistles

Change of ethnicity and gender. Here is both me on the geometry of a danish woman and a danish woman with my geometry and half half:

Figure 1: female dane with my geometry

Figure 2: female danes

Figure 3: half half

I also made a video that morphs all the the starters of the golden state warriors to eachother with the trololol song playing in the background. I was going to play big rings by drake but google took it down b/c copyright >:( click here