The code used to produce the morphs on the main page was written in MatLab.
Instructions on how to use the code are shown in a series of videos.
| Graphical user interface |
|
|
GUI_point_finder1.m |
Allows the user to pick predefined points on a picture of a face.
All images used should be the same size. Works along side face-nox.jpg. |
|
face-nox.jpg |
|
|
GUI_point_finder2.m |
Allows the user to have two pictures side by side and alternately
select common points between the two images. |
| |
Both GUI interfaces output *.mat files which
contain the original image plus a vector of points. |
| |
|
| |
|
| The Morphing Program |
|
|
colormorph.m |
Reads in two *.mat files and creates a morph between the two images |
|
videomorpher.m |
Reads in many *.mat files corresponding to different frames in the
video and creates a video morph using these. |
| |
|
| |
|
| Sample Files |
|
|
sampleoutput1.mat |
These are the *.mat files used to create the "Stephen - Simon" morph
on the main page. |
|
sampleoutput2.mat |
The can be read in by colormorph.m to produce a sequence of morphed
frames. |
| |
|
| |
|
|
Everything in one file |
|
|
code.rar |
All of the above files |
| |
|