Example index.html file. This would go in the root webserver directory. Be sure to update the path for the to match the path of each of the modules. {{{

Landmarks


landmarks

This is designed to use LMRK_DISPLAY1.pgm to aid alignment in lithos. You click on a key feature, then for all the other images, you click and drag the feature to the red dot. The text will tell you the x and y to type into lithos, option 1, 1, \
You need to convert the pgm file into a jpg and place it in the server path

convert LMRK_DISPLAY.pgm /Library/WebServer/Documents/data/landmarks.jpg

Register

register

Here you just click on the same feature in both images. The red dot is for the source image, while the green dot is for the shape model. The text tells you what to type in for register

convert TEMPFILE.pgm /Library/WebServer/Documents/data/register.jpg

Autoregister

autoregister

Here you just click on the same feature in both images. The red dot is for the source image, while the green dot is for the shape model. The text tells you what to type in for register

convert LMRK_DISPLAY.pgm /Library/WebServer/Documents/data/autoregister.jpg

Helpful script

You can run this script in the background when you are doing a lot of work. Every second, it will update the images used in the programs from your directory.
#!/bin/bash

while [ 1 ]
do
        convert LMRK_DISPLAY1.pgm /Library/WebServer/Documents/data/landmarks.jpg
        convert LMRK_DISPLAY1.pgm /Library/WebServer/Documents/data/autoregister.jpg
        convert TEMPFILE.pgm /Library/WebServer/Documents/data/register.jpg
        sleep 5
done
}}}