Part 1: Midway Faces and Face Morphing

Midway Face

Using corresponding points, a barycentric transformation was performed. For each triangle, all pixels were normalized by subtracting one of the vertices. Then, the inverse transform was done to find the barycentric coordinate components of the two edges for each pixel position. These barycentric coordinates are directly transferrable to the corresponding triangle in the second image, and are converted by simply adding the two corresponding components plus the offset of the corresponding "origin" vertex. Linear interpolation was used to determine both the intermediate triangle and the corresponding cross-fading. Nearest neighbor sampling was used for

Face Morphing

Interpolation was extended to include multiple intermediate stages of crossfade and transformation.

picture

Resident Ren, Dr Ng.

Midway Face
picture

Comp Geo 4 life professor.

Midway Face
picture

Halfway on 5th floor soda, Shewchuk Ng.

Midway Face
picture

Blending with animation!!!

Morphing Face.

Mean Faces and Extrapolation

Mean Face

To calculate the mean face, the average point positions were calculated from all photos. All photos were then morphed to the mean geometry, and then averaged the pixel value.

picture

Example morph 1.

100a
picture

Example morph 2.

100b
picture

Me to average.

picture

Average to me. I have a big forehead...

picture

Average Face.

picture

Example morph 1.

100a
picture

Example morph 2.

100b
Extrapolation

Here, a reference image is assumed to be similar to the mean - in this case, a smiling student matched to the smiling mean of the FEI dataset. The student is morphed to the non-smiling face mean shape-wise, and then has the difference in color added to it. Finally, the face is transformed back to its own dimensions.

picture

Smiling face.

picture

Average Face. To be morphed to.

picture

Difference of averages.

picture

Student Face.

picture

Transformed geometrically.

picture

Student plus average.

picture

Final image.

Bells and Whistles

Ageisms - Using Face Research face averages (a little whiter than the example student face, but oh well).

picture

Average 20 Male Face.

picture

Average 80 Male face.

picture

Student Face.

picture

Transformed geometrically.

picture

Color only.

picture

Both effects.