How to Register Images - Batch V0

Description

This block batch registers images contained in lsupport/PICTLIST.TXT.

Assumptions

 /SPC_Test/F3G-Nav/
                   ORex/
                            DATA/
                   base/
                            IMAGEFILES/
                            SHAPEFILES/
                   lsupport/
                   orig/
                   results/
                   test/

User inputs

Procedure

1. Initial inputs

# User inputs:
testID=F3G-Nav
#subTestID=F3G1
#subTestID=F3G2
#subTestID=F3G3
#subTestID=F3G4
#subTestID=F3G5
#subTestID=F3G6
subTestID=F3G7
dirID=test
#blockID=Block-03-01-Register-Images-F3G-GenericImages
blockID=Block-03-01-Register-Images-${subTestID}-Images

2. Set-up

# Set-Up
cd /SPC_Test/$testID/$dirID/
script
date
pwd
ls -l

3. Set-up batch register files

# set-up batch register files
cp lsupport/PICTLIST-forRegistering.TXT make_script.in
cat make_script.in
cp scripts/make_scriptR.SEED make_scriptR.seed
cat make_scriptR.seed
make_scriptR
ls -l

4. Batch register images

# Batch register images
register -v
nohup sh run_script.b &

5. Monitor progress

# Monitor progress
ls -l *.INN *.OOT

6. Check results

# Check results
sh support/logEvalP.sh 
cat logResults.txt 
cat lowImg.txt
cat redo.txt
convert TESTFILES/*.pgm TESTFILES/*.jpg
open TESTFILES/*.jpg
## VARIANCE-dlambert@ORMACSRV1.lpl.arizona.edu:
cp TESTFILES/*.jpg ~/send
# images inspected on home-machine
## END OF VARIANCE

7. Fix unregistered images

# Fix unregistered images
.......

8. Clean directory

# Clean directory
sh rem_script.b
rm TESTFILES/*
rm nohup.out

9. Complete procedure

# Block Complete
exit
# Save block log
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)

CategoryHowTos

How to Register Images - Batch V0 (last edited 2016-02-17 13:58:24 by BMittan)