Repository navigation
Block 4 Autoregister
Eric E Palmer edited this page Oct 23, 2026
·
1 revision
(./) copied from working--needs to be made generic
This block batch autoregisters images contained in lsupport/PICTLIST.TXT.
- You have invoked a Bourne-Again Shell (bash) on ormacsrv1.lpl.arizona.edu
- You are a member of the group OREX\spc
- You have set up a skeleton directory in the following format:
/SPC_Test/F3G-Nav/
ORex/
DATA/
base/
IMAGEFILES/
SHAPEFILES/
lsupport/
orig/
results/
test/
- You have completed the processing steps in Block 1 - Setup Directory
- You have populated the orig/ directory with test-specific images following the steps in:
- Block 2 - Ingest
- ??????
- You have populated lsupport/PICTLIST-forRegistering.TXT with the correct subset of images to register
- You have registered images listed in lsupport/PICTLIST.TXT-forRegistering.TXT following these steps in How to Register Images - Batch
- testID - Name of the F3 test directory (for example, 'F3E-Limbs')
- dirID - Name of sub-directory in which to work (e.g. 'orig', or 'test')
- blockID - User-specified identifier for typescript textfile name (for example, 'Block-03-02-Autoregister-Images-01stInvocation-F3G-GenericImages')
testID=F3G-Nav
dirID=orig
blockID=Block-03-02-Autoregister-Images-01stInvocation-F3G-GenericImages
cd /SPC_Test/$testID/$dirID/
script
date
pwd
ls -l
cp lsupport/PICTLIST-forRegistering.TXT make_script.in
cat make_script.in
cp scripts/make_scriptA.seed .
cat make_scriptA.seed
make_scriptA
ls -l
ls -l /usr/local/bin/autoregister
nohup sh run_script.b &
ls -l *.INN *.OOT
(./) how to handle variance within?
sh support/logEvalP.sh
cat logResults.txt
cat lowImg.txt
cat redo.txt
convert TESTFILES/*.pgm TESTFILES/*.jpg
open TESTFILES/*.jpg
cp TESTFILES/*.jpg ~/send
.......
sh rem_script.b
rm TESTFILES/*
rm nohup.out
exit
if [ ! -d /SPC_Test/$testID/log ]; then
mkdir /SPC_Test/$testID/log
fi
mv typescript /SPC_Test/$testID/log/log-typescript-${blockID}
(Compiled by DL)