Size: 1212
Comment:
|
Size: 1779
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 52: | Line 52: |
make_scriptR generates a .INN file for each image. Example P3T11S2H0409.INN file: | 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: |
Line 72: | Line 72: |
make_scriptR also generate 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 }}} |
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
- run_script.b -
- .INN files -
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 generate 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