Differences between revisions 10 and 14 (spanning 4 versions)
Revision 10 as of 2016-02-10 20:54:37
Size: 3331
Editor: BMittan
Comment:
Revision 14 as of 2016-06-06 13:09:14
Size: 3664
Editor: DianeLambert
Comment:
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:

||Category B||Version 3.0||
Line 9: Line 11:
'''input file''':
Line 10: Line 13:
'''seed file''':
Line 11: Line 15:
'''processed files''':
Line 17: Line 22:
'''make_scriptA''' outputs: '''make_scriptA outputs''':
Line 20: Line 25:

'''run_script.b''' output:
'''run_script.b output''':
Line 23: Line 27:
 
* [[TESTFILES]]/ - a copy of LMRK_DISPLAY1.pgm (output by [[autoregister]]) is saved for each image
'''processed files output''':
 * [[TESTFILES]]/ - A copy of LMRK_DISPLAY1.pgm (output by [[autoregister]]) is saved for each image.
Line 32: Line 36:
=== Create Input Files ===  1. Create Input Files
Line 34: Line 38:
Example '''make_script.in''' file: Here is a sample [[make_script.in]] file (see that entry for further information):
Line 43: Line 47:
NB: A space must precede each image filename.  /!\ You must precede each image filename with a space.
Line 45: Line 49:
Example '''make_scriptA.seed''' file (see [[make_scriptA.seed]] for further details): Here is a sample [[make_scriptA.seed]] file (see that entry for further information):
Line 64: Line 68:
== Run make_scriptA ==  1.#2 Run [[make_scriptA]]
Line 66: Line 70:
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: [[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''':
Line 88: Line 94:
make_scriptA also generates the run script - '''run_script.b''': [[make_scriptA]] also generates the '''run_script.b''' script. Here is a sample run script file for image '''P00045000450''':
Line 102: Line 108:
== Batch Autoregister Images ==  1.#3 Batch Autoregister Images
Line 104: Line 110:
[[autoregister]] uses the file [[LMRKLISTX.TXT]] to pre- screen the maplets, so if maplets have been added or deleted recently, the procedure [[make_lmrklistX]] should be run.  /!\ '''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]]:
Line 110: Line 118:
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.) 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.

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:

processed files:

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

  1. Create Input Files

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

 P00045000450
 P00045000451
 P00045000452
END
  • /!\ You must precede each image filename with a space.

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

a
0,65,.25,0,3
1
2
n
0
n
o
.5
4
b
0
q
END   
  1. 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:

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.b script. Here is a sample run script file for image P00045000450:

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
  1. 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

make_scriptA (last edited 2016-06-06 13:09:14 by DianeLambert)