Morphing between two images I0 and I1 is done as follows.
Lines are defined on the two images I0 and I1
The Mapping between the lines is specified
Depending on the number of intermediate frames required, a set of
interpolated lines are obtained
An intermediate frame is obtained by doing three things
The lines in the first image I0 are warped to the lines corresponding
to the intermediate image
The lines in the second image I1 are warped to the lines corresponding
to the intermediate image
The two warped images are now combined proportionately depending on
how close the frame is with respect to the initial and final frames
Since the images have been warped to the same shape before cross-dissolving
the intermediate image looks good.
An example of a morph process is shown below.
Original Source Image
Cross-dissolve of the Original Images
Original Destination Image
Warped Source Image
Cross-dissolve of the Warped Images
Warped Destination Image
The two original images, the two warped images and the two images
corresponding to a cross-dissolve of the original images and a cros-dissolve
of the warped images are shown.