CS 180 Fall 2024

Project 3 by Lawrence Shieh

Part 1. Defining Correspondences

Using the labeling tool provided in the project spec (https://cal-cs180.github.io/fa23/hw/proj3/tool.html), I created corresponding paris of points on the two images I am trying to merge.

Image 1 for Part 1.1
Delaunay 1
Image 2 for Part 1.1
Delaunay 1 on image
Image 3 for Part 1.1
Delaunay 2
Image 2 for Part 1.1
Delaunay 2 on image
Image 2 for Part 1.1
Average Delaunay (Midpoints)

Part 2. Computing the "Mid-way Face"

1. Find the Delaunay on the average points.
2. Warp face 1 to the average points.
3. Warp face 2 to the average points.
4. Take the average of the two results.

Image 1 for Part 1.1
Original 1
Image 2 for Part 1.1
Original 2
Image 3 for Part 1.1
Mid-way Face

For those who are curious, these are the intermediate steps.

Image 3 for Part 1.1
Face 1 warp mid point
Image 1 for Part 1.1
Face 2 warp mid point

Part 3. The Morph Sequence

1. Find the Delaunay on the average points.
2. Define interpolated points given warp_frac. 2. Warp face 1 to the interpolated points.
3. Warp face 2 to the interpolated points.
4. Take the average of the two results according to dissolve_frac.

Image 1 for Part 1.1
Morph GIF

Part 4. The "Mean face" of a population

I am taking the mean face of many man from the FEI Face Database (https://fei.edu.br/~cet/facedatabase.html).
1. Find the Delaunay on the average of all points.
2. Warp all the faces to these average points.
3. Take the average of all results.

Image 1 for Part 1.1
Average Face
Image 1 for Part 1.1
Face 1 to Average Points
Image 1 for Part 1.1
Face 2 to Average Points
Image 1 for Part 1.1
Face 3 to Average Points
Image 1 for Part 1.1
My Cropped Face Delaunay
Image 1 for Part 1.1
Average Male Face Delaunay
Image 1 for Part 1.1
My Face to Average Points
Image 1 for Part 1.1
Average Face to My Points

Do note that each of the man images I got corresponding points provided in the dataset.

Image 1 for Part 1.1
Annotated Face
Image 1 for Part 1.1
Annotated Face
Image 1 for Part 1.1
Annotated Face
Image 1 for Part 1.1
Annotated Face

Part 5. Caricatures: Extrapolating from the mean

Instead on interpolating, now we are exterpolating, creating geometry that isn't an average of the points. I set the alpha value to be -0.5 and 1.5 to see the effects on exterpolation.

Image 1 for Part 1.1
alpha = -0.5
Image 1 for Part 1.1
alpha = 1.5

Bells and Whistles

Morphing myself with average of another gender and race (In this case Caucasian Women).

Image 1 for Part 1.1
Original Me
Image 1 for Part 1.1
Original Caucasian Women Average
Image 1 for Part 1.1
Morph Only Shape
Image 1 for Part 1.1
Morph Only Appearance
Image 1 for Part 1.1
Morph Both