Executables(SUN, solaris 2.5 or above) of the tools described below are stored in the tools directory. The examples below assume the current directory is $lip_tracking/examples/ where original image files and corresponding .spl files exist in current directory. Also $lip_tracking/tools has been added to the path environment variable.
Two utility programs, splpointset and pointovl, can draw a lip contour in the original .ppm to produce an overlay .ovl.ppm file. Below is an example that generates an overlay file on `101.ppm':
splpointset -s out.101.ppm.spl -n 5 > $temp
pointovl -i 101.ppm -g $temp -o mv output ovl.101.ppm xv ovl.101.ppm
Many viewer, eg xv, can display a .pgm file and convert it into other formats, eg. `.gif'.
xv can display an image sequence. A .csh script render generates overlay files for all frames. After generating all overlay files of a sequence, you can view the full tracking results by:
xv -wait 0 ovl.?.ppm ovl.??.ppm ovl.???.ppm
The ovl.pgm sequence set of files can be converted into an MPEG file. Many packages available on the web can do this convention, eg. ImageMagic.