CS194-26 Project 4

By Jesse Luo

Project 4: Fun with Frequencies

Computing the Mid-way Face

The Midway face is the averaging of both the geometric shape and the color of two faces. First thing I did was found the corresponding points which for me were 50 points around the face and contained eyes, nose, eyebrows, mouth. Then once we have the two sets of point, I did a Delaunay Triangulation on the midpoints -- which implies taking the two points and averaging them. This mean that the points had to be created in a corresponding manner or else this broke. Then using the delaunay triangulation, we coumpute the affine matrix from [x, y, 1] to [x', y', 1]. The affine matrix can be solved since we have 3 separate points on the triangulation that we can solve for. Once we find the affine matrix, we use the inverse of that times the destination pixel to find the source pixel -- which is an inverse warp.
Brad
George
Midway (B-G)
Jesse
Will
Midway (J-W)
Brad to George Morph

The "Mean Face"

I parsed through the asf files to find the facial points that they used on each face, then I found an average shape. I weighted each face equally, then cross-dissolving them together to form the average face of the entire population represented in the set - in this case, a set of 37 Danes -- however I took out the females. A few of the individual faces warped to the average geometry:
The Mean Male Face
The Mean Female Face
My face
Dane to Mean
Dane to Mean
Me warped to Dane
Our facial structures are very different and due to background it makes it look very distorted.
Daned warped to me

Caricatures: Extrapolating from the Mean

By warping my face away from the average Danes' geometry instead of toward it, I created caricature images that exaggerate the unique features of my face. I did around -.5 for this one and it looks quite strange!
Caricature

Bells and Whistles: Male to female warp

Will
Emilie
Jesse
Lucy
Morph
Me to my friend Lucy
Morph
Will to emilie