make_scriptA

Category B	Version 3.0

Description

This program generates the run script and .INN files required to batch autoregister new images.

Required Files

input file :

make_script.in - Text file containing the names of the images to batch autoregister.

seed file :

make_scriptA.seed - Text file containing the autoregister option commands for batch registering images.

processed files :

TESTFILES/ - Directory in which to store copies of LMRK_DISPLAY1.pgm (output by autoregister) for each image.

/!\ autoregister requires a number of directories and files. Refer to autoregister for more information.

Output Files

make_scriptA outputs :

run_script.b - run script for batch image autoregistration

.INN files - autoregister seed file for each image

run_script.b output :

.OOT files - standard output from autoregister for each image

processed files output :

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 when you accept alignment shifts.

LMKFILES/ - Image names are added to the LMKFILES.

Using make_scriptA

Create Input Files

Here is a sample make_script.in file (see that entry for further information):

P00045000450 P00045000451 P00045000452END

/!\ You must precede each image filename with a space.

Here is a sample make_scriptA.seed file (see that entry for further information):

a0,65,.25,0,312n0no.54b0qEND

Run make_scriptA

make_scriptA generates a .INN file for each image. It consists of the image filename followed by the autoregister options contained in the make_scriptA.seed file.

Here is a sample .INN file for image P00045000450 :

P00045000450y0.5na 0,65,.25,0,3 1 2 n 0 n o .5 4 b 0 q

make_scriptA also generates the run_script.b script. Here is a sample run script file for image P00045000450 :

rm -f P00045000450.OOT/usr/local/bin/AUTOREGISTER < P00045000450.INN > P00045000450.OOTcp LMRK_DISPLAY1.pgm ./TESTFILES/P00045000450.pgmrm -f P00045000451.OOT/usr/local/bin/AUTOREGISTER < P00045000451.INN > P00045000451.OOTcp LMRK_DISPLAY1.pgm ./TESTFILES/P00045000451.pgmrm -f P00045000452.OOT/usr/local/bin/AUTOREGISTER < P00045000452.INN > P00045000452.OOTcp LMRK_DISPLAY1.pgm ./TESTFILES/P00045000452.pgm

Batch Autoregister Images

/!\ autoregister uses the file LMRKLISTX.TXT to prescreen the maplets. If you have added or deleted maplets recently, you should run make_lmrklistX.

Here is a sample command line for running run_script.b:

sh run_script.b

The autoregister standard output for each image is captured in the .OOT files. The LMRKDISPLAY1.pgm file output by autoregister is copied and stored in TESTFILES/ once an image has been processed. You must review the .OOT files to ascertain the success of the batch image autoregistration process.

(!) There is currently no find-nofit program for batch image autoregistration.

(Compiled by DL)

CategoryPrograms