The goal of this project was to create a video in which an image gradually changes into another image. For the purposes of this project, only standard portraits were used. Specific points in each of the images were mapped to each other – like eyes to eyes or ears to ears – to produce the final morphing animation with smooth transitions. The animation was created through blending image shapes and colors.
Image Processing Techniques
First of all, the pair correspondences were assigned to images by hand. Then for each of the images, a triangulation is generated through the points assigned. These triangles will be used to "warp" specific regions in the images into each other. This warping algorithm was implemented using an "inverse-warp". Then by going through all the triangles, affine transformations were computed and applied to the pixels within those triangles.