CS 194-26 Project 3 by Muhab Abdelgadir
Face morphing is a fun tool for random purposes. The idea is to draw points that highlight our features to morph 2 faces together.
First, we must define corresponding points on two images, and after I defined these points covering the majority of my face, a Delaunay triangulation was computed on the average shape of these two point sets:
(Slight image deterioration from file upload)
To compute the midway face, we must compute the average location of each corresponding keypoint in the two faces, then warp both faces, and then dissolve the faces.
We must utilize affine transforms between triangles in the triangulation of key points on a face. Then we use the nearest neighbor interpolation for results.
Here is an example of my face with President Obama:
ME
PRESIDENT OBAMA
PRESIDENT ME
To create the morph sequence, the parameter that controls contribution of keypoints was varied and computed the average face, which resulted in the following video: Go to Morph Video
I computed the average face of a Danish community. By taking all images of scientists staring straight ahead, taking average keypoints, we are able to compute average shapes:
Mean Face:
Population and Morphed Population:
Average Face Geometry:
Me combined with Average Danish Geometry:
Me combined with less Average Danish Geometry and more Average Danish Mean Face:
I computed Caricatures of myself through the mean face. After taking differnce in shapes from the Danish population, we then exaggerate the difference with 𝛼 values, and by focusing the points specifically around my nose and eyes, there are no jagged edges and the details are very exaggerated:
𝛼 = 1 (almost no change)
𝛼 = 1.5
𝛼 = 2
𝛼 = 2.5
With a negative 𝛼 value, it is apparent that the area around my nose was extremely exaggerated due to the number of points centered there.
𝛼 = -1 (Hilarious)
I created a morphing video that begins wit me in Highschool and progresses until the current day. From freshman year high school, to senior year college.
Link to Video: Go to Morph Video
Images used:
Link to Video: Go to Morph Video