Differences between revisions 11 and 13 (spanning 2 versions)
Revision 11 as of 2016-01-14 12:05:42
Size: 2305
Editor: DianeLambert
Comment:
Revision 13 as of 2016-01-14 12:08:30
Size: 2611
Editor: DianeLambert
Comment:
Deletions are marked like this. Additions are marked like this.
Line 10: Line 10:
=== make_scriptR Output === === Output ===
Line 12: Line 12:
make_scriptR outputs:
Line 14: Line 15:

===
run_script.b Output ===
run_script.b output:
Line 18: Line 17:
 * NOMINALS - if the seed file includes the option to update the NOMINAL file, starting S/C and camera information will be updated (an option not typically selected);
 * SUMFILES - S/C and camera information are updated as image shifts are made. ??Detected landmarks and limbs are added to the SUMFILE??;

make_scriptR

Purpose: Generates the run and .INN files required to batch register new images.

Requires

  • make_script.in - text file containing the names of the images to batch register.
  • make_scriptR.seed - text file containing the register option commands for batch registering images.

Output

make_scriptR outputs:

  • run_script.b - run script for batch image registration.
  • .INN files - register seed file for each image.

run_script.b output:

  • .OOT files - standard output from register for each image.
  • NOMINALS - if the seed file includes the option to update the NOMINAL file, starting S/C and camera information will be updated (an option not typically selected);
  • SUMFILES - S/C and camera information are updated as image shifts are made. ??Detected landmarks and limbs are added to the SUMFILE??;

Using make_scriptR

Create Input Files

Example make_script.in file:

 P3T11S2H0409.DAT
 P3T11S2H0410.DAT
 P3T11S2H0411.DAT
END

NB: A space must precede each image filename.

Example make_scriptR.seed file (see make_scriptR.seed for further details):

s
20
3
y
XSTOP
1
10
3
y
XSTOP
0
y
n
n
q

Run make_scriptR

make_scriptR generates a .INN file for each image (the image filename appended with the register options contained in the make_scriptR.seed file. Example P3T11S2H0409.INN file:

P3T11S2H0409
s                   
20                  
3                   
y                   
XSTOP               
1                   
10                  
3                   
y                   
XSTOP               
0                   
y                   
n                   
n                   
q                   

make_scriptR also generates the run script - run_script.b:

rm -f P3T11S2H0409.OOT
/usr/local/bin/REGISTER < P3T11S2H0409.INN > P3T11S2H0409.OOT
cp TEMPFILE.pgm ./TESTFILES/P3T11S2H0409.pgm
rm -f P3T11S2H0410.OOT
/usr/local/bin/REGISTER < P3T11S2H0410.INN > P3T11S2H0410.OOT
cp TEMPFILE.pgm ./TESTFILES/P3T11S2H0410.pgm
rm -f P3T11S2H0411.OOT
/usr/local/bin/REGISTER < P3T11S2H0411.INN > P3T11S2H0411.OOT
cp TEMPFILE.pgm ./TESTFILES/P3T11S2H0411.pgm

Batch Register Images

sh run_script.b

The register standard output for each image is captured in .OOT files. The user must review the .OOT files to ascertain the success of the batch image registration process. (A find-nofit program does not currently exist for batch image registration.)

make_scriptR (last edited 2016-07-26 09:32:25 by BMittan)