Differences between revisions 1 and 4 (spanning 3 versions)
Revision 1 as of 2016-02-17 11:15:44
Size: 2999
Editor: BMittan
Comment:
Revision 4 as of 2016-02-17 14:05:09
Size: 3156
Editor: BMittan
Comment:
Deletions are marked like this. Additions are marked like this.
Line 5: Line 5:
This block batch autoregisters images contained in lsupport/PICTLIST.TXT This block batch autoregisters images contained in lsupport/PICTLIST.TXT.
Line 23: Line 23:
 * You have completed the processing steps in [[How to Test Directory Set-Up - ORIG]]
* You have completed the processing steps in How to Test Directory Set-Up - ORIG
Line 25: Line 26:
 (./) Need to figure out how to refer to these if they are not all written? And title issues??
  * How to Block 02-01
  * How to Block 02-02
  * How to Ingest Images - Test-Specific
  * How to ??????????????
Line 29: Line 29:
 * You have registered images listed in lsupport/PICTLIST.TXT-forRegistering.TXT following these steps in How to Block 03-01  * You have registered images listed in lsupport/PICTLIST.TXT-forRegistering.TXT following these steps in How to Register Images - Batch
Line 33: Line 33:
 * '''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''' - 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')
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 46: Line 45:
}}}
Line 47: Line 47:
=== 2. Set-up ===
{{{
Line 53: Line 55:
}}}
Line 54: Line 57:
=== 3. Set-up batch autoregister files ===
{{{
Line 61: Line 66:
}}}
Line 62: Line 68:
=== 4. Batch autoregister images ===

{{{
Line 65: Line 74:
}}}
Line 66: Line 76:
=== 5. Monitor progress ===
{{{
Line 68: Line 80:
}}}
Line 69: Line 82:
=== 6. Check results ===
 (./) how to handle variance within?
{{{
Line 81: Line 97:
}}}
Line 82: Line 99:
=== 7. Fix uncorrelated images ===
{{{
Line 84: Line 103:
}}}
Line 85: Line 105:
=== 8. Clean directory ===
{{{
Line 89: Line 111:
}}}
Line 90: Line 113:
=== 9. Complete procedure ===
{{{

How to Autoregister Images - Batch V0

Description

This block batch autoregisters 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/
  • You have completed the processing steps in How to Test Directory Set-Up - ORIG
  • You have populated the orig/ directory with test-specific images following the steps in:
    • How to Ingest Images - Test-Specific
    • How to ??????????????
  • 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

User inputs

  • 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')

Procedure

1. Initial inputs

# User inputs:
testID=F3G-Nav
dirID=orig
blockID=Block-03-02-Autoregister-Images-01stInvocation-F3G-GenericImages

2. Set-up

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

3. Set-up batch autoregister files

# set-up batch autoregister files
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

4. Batch autoregister images

# Batch autoregister images
ls -l /usr/local/bin/autoregister
nohup sh run_script.b &

5. Monitor progress

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

6. Check results

  • (./) how to handle variance within?

# Check results
# Since early iterations are not masked - logEval picks up NO CORRS which are later eliminated
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 uncorrelated images

# Fix uncorrelated 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 Autoregister Images - Batch V0 (last edited 2016-02-17 14:05:09 by BMittan)