(Compiled by DL)
Purpose: Generates the run script and .INN files required to batch autoregister new images.
make_script.in - text file containing the names of the images to batch autoregister.
TESTFILES/ - Directory in which to store copies of LMRK_DISPLAY1.pgm (output by autoregister) for each image.
NB: autoregister requires a number of directories and files - refer to relevant guide.
- run_script.b - run script for batch image autoregistration.
- .INN files - autoregister seed file for each image.
- .OOT files - standard output from autoregister for each image.
TESTFILES/ - a copy of LMRK_DISPLAY1.pgm (output by autoregister) is saved for each image;
SUMFILES/ - Landmarks are added to the image's SUMFILE. Spacecraft/camera position/attitude are updated upon user acceptance of alignment shifts;
LMKFILES/ - Image names are added to the LMKFILES.
Create Input Files
Example make_script.in file:
P00045000450 P00045000451 P00045000452 END
NB: A space must precede each image filename.
Example make_scriptA.seed file (see make_scriptA.seed for further details):
a 0,65,.25,0,3 1 2 n 0 n o .5 4 b 0 q END
make_scriptA generates a .INN file for each image (the image filename appended with the autoregister options contained in the make_scriptA.seed file. Example P00045000450.INN file:
P00045000450 y 0.5 n a 0,65,.25,0,3 1 2 n 0 n o .5 4 b 0 q
make_scriptA also generates the run script - run_script.b:
rm -f P00045000450.OOT /usr/local/bin/AUTOREGISTER < P00045000450.INN > P00045000450.OOT cp LMRK_DISPLAY1.pgm ./TESTFILES/P00045000450.pgm rm -f P00045000451.OOT /usr/local/bin/AUTOREGISTER < P00045000451.INN > P00045000451.OOT cp LMRK_DISPLAY1.pgm ./TESTFILES/P00045000451.pgm rm -f P00045000452.OOT /usr/local/bin/AUTOREGISTER < P00045000452.INN > P00045000452.OOT cp LMRK_DISPLAY1.pgm ./TESTFILES/P00045000452.pgm
Batch Autoregister Images
The autoregister standard output for each image is captured in the .OOT files, and the LMRKDISPLAY1.pgm file output by autoregister is copied and stored in TESTFILES/ once an image has been processed. The user must review the .OOT files to ascertain the success of the batch image autoregistration process. (A find-nofit program does not currently exist for batch image autoregistration.)