|
⇤ ← Revision 1 as of 2016-02-16 18:09:15
Size: 3054
Comment:
|
Size: 3281
Comment:
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 1: | Line 1: |
| = Block-03-01 - REGISTER IMAGES - BATCH = | = Block-3A - REGISTER IMAGES - BATCH = |
| Line 7: | Line 7: |
| ## BLOCK 03-01 ## | ## BLOCK 3A ## |
| Line 19: | Line 19: |
| ## ORex/ ## DATA/ |
|
| Line 25: | Line 23: |
| ## PICTLIST.TXT | |
| Line 28: | Line 27: |
| ## User has completed the processing steps comprising Block 01-01 - TEST DIRECTORY | ## User has completed the processing steps comprising Block 1A - TEST DIRECTORY |
| Line 31: | Line 30: |
| ## Block 02-01 / 02-02 ## User has populated lsupport/PICTLIST-forRegistering.TXT with the correct subset of |
## Block 2A / 2B ## User has populated lsupport/listImagesForRegistering with the correct subset of |
| Line 40: | Line 39: |
| ## (for example, Block-03-01-Register-Images-F3G-GenericImages) | ## (for example, Block-3A-Register-Images-F3G-GenericImages) |
| Line 44: | Line 43: |
| #subTestID=F3G1 | subTestID=F3G1 |
| Line 50: | Line 49: |
| subTestID=F3G7 dirID=test #blockID=Block-03-01-Register-Images-F3G-GenericImages blockID=Block-03-01-Register-Images-${subTestID}-Images |
#subTestID=F3G7 dirID=orig #dirID=test blockID=Block-3A-Register-Images-F3G-GenericImages #blockID=Block-3A-Register-Images-${subTestID}-Images |
| Line 58: | Line 58: |
| Line 63: | Line 64: |
| cp lsupport/PICTLIST-forRegistering.TXT make_script.in | cp lsupport/listImagesForRegistering make_script.in |
| Line 82: | Line 83: |
# Inspect display outputs ## DECISION: ## OPTION 1: Inspect display outputs on ormacsrv1 ls TESTFILES > listTemp while read line; do echo "Displaying $line" done < listTemp rm listTemp ## END OF OPTION 1 ##OPTION 2: Inspect disaply output on a different machine |
|
| Line 83: | Line 97: |
| open TESTFILES/*.jpg ## [email protected]: |
|
| Line 86: | Line 98: |
| # images inspected on home-machine ## END OF VARIANCE |
# images inspected on different machine ## END OF OPTION2 |
| Line 90: | Line 102: |
| ....... | # Manually register images and inspect output displays as required |
| Line 98: | Line 110: |
| date | |
| Line 99: | Line 112: |
Block-3A - REGISTER IMAGES - BATCH
##########################################################################
## ##
## BLOCK 3A ##
## REGISTER IMAGES - BATCH ##
## ##
##########################################################################
## This block batch registers images contained in lsupport/PICTLIST.TXT
## Assumptions:
## User has invoked a Bourne-Again Shell (bash) on ormacsrv1.lpl.arizona.edu
## User is a member of the group OREX\spc
## User has set up a skeleton directory in the following format:
## /SPC_Test/F3G-Nav/
## base/
## IMAGEFILES/
## SHAPEFILES/
## lsupport/
## PICTLIST.TXT
## orig/
## results/
## test/
## User has completed the processing steps comprising Block 1A - TEST DIRECTORY
## SET-UP - ORIG
## User has additionally populated the orig/ dircteory with test-specific images as per
## Block 2A / 2B
## User has populated lsupport/listImagesForRegistering with the correct subset of
## images to register
## User inputs:
## testID: Name of the F3 test directory (for example, F3E-Limbs)
## subTestID: (if required) Identifier for sub-test work (for example, F3G1)
## 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-3A-Register-Images-F3G-GenericImages)
# User inputs:
testID=F3G-Nav
subTestID=F3G1
#subTestID=F3G2
#subTestID=F3G3
#subTestID=F3G4
#subTestID=F3G5
#subTestID=F3G6
#subTestID=F3G7
dirID=orig
#dirID=test
blockID=Block-3A-Register-Images-F3G-GenericImages
#blockID=Block-3A-Register-Images-${subTestID}-Images
# Set-Up
cd /SPC_Test/$testID/$dirID/
script
date
pwd
ls -l
# set-up batch register files
cp lsupport/listImagesForRegistering make_script.in
cat make_script.in
cp scripts/make_scriptR.SEED make_scriptR.seed
cat make_scriptR.seed
make_scriptR
ls -l
# Batch register images
register -v
nohup sh run_script.b &
# Monitor progress
ls -l *.INN *.OOT
# Check results
sh support/logEvalP.sh
cat logResults.txt
cat lowImg.txt
cat redo.txt
# Inspect display outputs
## DECISION:
## OPTION 1: Inspect display outputs on ormacsrv1
ls TESTFILES > listTemp
while read line; do
echo "Displaying $line"
done < listTemp
rm listTemp
## END OF OPTION 1
##OPTION 2: Inspect disaply output on a different machine
convert TESTFILES/*.pgm TESTFILES/*.jpg
cp TESTFILES/*.jpg ~/send
# images inspected on different machine
## END OF OPTION2
# Fix unregistered images
# Manually register images and inspect output displays as required
# Clean directory
sh rem_script.b
rm TESTFILES/*
rm nohup.out
# Block Complete
date
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}