See the program xmorph
for an example of the
program and the interface. If it's not available, try
installing the xmorph
plug-in for the GIMP
(it's the same program but can be run from the GIMP).
See the
GIMP Plug-In Registry for the xmorph
source.