In this project we, have learnt morphing one image into another using warping and cross-dissolve. Full details of the project can be found here.
Design Specifics
For the start and end image, a set of corresponding points is obtained. The four corner points are added to the intial given set.
For each frame, an intermediate structure is computed which is a functioin of its frame number.
Both images -- the starting image and the end image, are warped to that intermediate structure and cross-dissolved. The amount of cross dissolving linearly increases from 0 to 1.
The entire morphing is performed with a single triangulation - the delaunay triangulation of the average structure of the starting image and the end image.
An affine transform is computed the same way we learnt in class using Barycentric coordinates.
In case this video fails to run in your browser, here is a youtube video.
Mean face of the class
Here is the mean face of the class. For each image of the students, I warped the image to the average geometry of the class. After that, I averaged through all the warped images
to obtain this result.
And this is how I look when my face is warped to the average geometry.
This is how the mean face looks like when warped to my face.
Bells and Whistles
Sub-population
This is the mean face of the male students in the class. Since this class is has very high number of male students, understandably, the mean face of the class looks very similar to the mean face of the male students.
Here goes the mean face of the female students.
A little more hair since I am balding :-)
I just pushed back the points on the border of my head a little further to make my head look a little bigger. The left image is the original one and
the right image is the warped one.
Caricature
Here is a caricature that I produced.
Acknowledgement
I used the webpage of Natasha, our TA, to format my submission.