Size: 2996
Comment:
|
Size: 3266
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 24: | Line 24: |
* You have completed the processing steps in Block 01-01 [[How to Test Directory Set-Up - ORIG]] | * You have completed the processing steps in How to Test Directory Set-Up - ORIG |
Line 26: | Line 26: |
* Block 02-01 How to * Block 02-02 How to |
* Block 02-01 How to Ingest Images - Test-Specific * Block 02-02 How to How to ????????? |
Line 39: | Line 39: |
Copy and paste the following lines in the Unix terminal, only changing for your inputs and variances. Comment lines (# or ##) will appear in the typescript output. | === 1. Initial inputs === |
Line 54: | Line 55: |
}}} | |
Line 55: | Line 57: |
=== 2. Set-up === {{{ |
|
Line 61: | Line 65: |
}}} | |
Line 62: | Line 67: |
=== 3. Set-up batch register files === {{{ |
|
Line 69: | Line 76: |
}}} | |
Line 70: | Line 78: |
=== 4. Batch register images === {{{ |
|
Line 73: | Line 85: |
}}} | |
Line 74: | Line 87: |
=== 5. Monitor progress === {{{ |
|
Line 76: | Line 91: |
}}} | |
Line 77: | Line 93: |
=== 6. Check results === (./) how to handle variance within? Needed? {{{ |
|
Line 88: | Line 107: |
}}} | |
Line 89: | Line 109: |
=== 7. Fix unregistered images === {{{ |
|
Line 91: | Line 113: |
}}} | |
Line 92: | Line 115: |
=== 8. Clean directory === {{{ |
|
Line 96: | Line 121: |
}}} | |
Line 97: | Line 123: |
=== 9. Complete procedure === {{{ |
How to Register Images - Batch V0
Description
This block batch registers images contained in lsupport/PICTLIST.TXT.
Assumptions
- 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/
Need to figure out how we will refer to these (block number? name?) and if they should be links.
- You have completed the processing steps in How to Test Directory Set-Up - ORIG
- You have populated the orig/ dircteory with test-specific images following the steps in:
- Block 02-01 How to Ingest Images - Test-Specific
- Block 02-02 How to How to ?????????
- You have populated lsupport/PICTLIST-forRegistering.TXT 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-03-01-Register-Images-F3G-GenericImages')
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
how to handle variance within? Needed?
# Check results sh support/logEvalP.sh cat logResults.txt cat lowImg.txt cat redo.txt convert TESTFILES/*.pgm TESTFILES/*.jpg open TESTFILES/*.jpg ## [email protected]: 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)