|
Size: 4630
Comment:
|
Size: 6009
Comment:
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 1: | Line 1: |
| = Block-05-01 - TILE - BIGMAP = | ## page was renamed from Block-6B - TILE - BIGMAP ## page was renamed from Block-6A - TILE - BIGMAP ## page was renamed from Block-5A - TILE - BIGMAP ## page was renamed from Block-05-01 - TILE - BIGMAP = Block-6B - TILE - BIGMAP = |
| Line 7: | Line 11: |
| ## BLOCK 05-01 ## | ## BLOCK 6B ## |
| Line 13: | Line 17: |
| ## are sepcified by the user, using the bigmap in files contained in | ## are specified by the user, using the bigmap in files contained in |
| Line 22: | Line 26: |
| ## ORex/ ## DATA/ |
|
| Line 28: | Line 30: |
| ## PICTLIST.TXT | |
| Line 31: | Line 34: |
| ## User has completed the processing steps comprising Block 01-01 - TEST DIRECTORY | ## User has completed the processing steps comprising Block 1A - TEST DIRECTORY |
| Line 33: | Line 36: |
| ## User has set up the test sub-directory, as per Block 01-02 - TEST DIRECTORY | ## User has set up the test sub-directory, as per Block 1B - TEST DIRECTORY |
| Line 35: | Line 38: |
| ## User has ingested and registered test images as per Blocks 02-01, 02-02, and 03.01 | ## User has ingested and registered test images as per Blocks 2A, 2B, and 3A |
| Line 40: | Line 43: |
| ## dirID: Name of sub-directory in which to work (e.g. orig, or test) | |
| Line 46: | Line 50: |
| ## (for example, Block-05-01-Tile-Bigmap-F3G1-20cmTiling) | ## (for example, Block-6B-Tile-Bigmap-F3G1-20cmTiling) |
| Line 49: | Line 53: |
| testID=F3G-Nav #subTestID=F3G1 |
export testID=F3G-Nav subTestID=F3G1 export dirID=test |
| Line 56: | Line 61: |
| subTestID=F3G7 | #subTestID=F3G7 |
| Line 66: | Line 71: |
| blockID=Block-05-01-Tile-Bigmap-${subTestID}-${bigmapInFileNm} | export blockID=Block-6B-Tile-Bigmap-${subTestID}-${bigmapInFileNm} |
| Line 71: | Line 76: |
| Line 85: | Line 91: |
| convert ${bigmapInFileNm}.pgm ${bigmapInFileNm}.jpg open ${bigmapInFileNm}.jpg |
# Inspect showmap ## OPTION 1: Inspect showmap outputs on ormacsrv1 Display ${bigmapInFileNm}.pgm ## END OF OPTION 1 ##OPTION 2: Inspect showmap output on a different machine convert ${bigmapInFileNm}.pgm ~/send/${bigmapInFileNm}.jpg # images inspected on different machine ## END OF OPTION 2 # Log showmap output convert ${bigmapInFileNm}.pgm ${bigmapInFileNm}-beforeTiling.jpg |
| Line 95: | Line 113: |
# Inspect map_coverage output ## OPTION 1: Inspect showmap outputs on ormacsrv1 Display coverage_m.pgm ## END OF OPTION 1 ##OPTION 2: Inspect map_coverage output on a different machine convert coverage_m.pgm ~/send/coverage_m.jpg # images inspected on different machine ## END OF OPTION 2 # Log map_coverage output |
|
| Line 96: | Line 127: |
| open coverage_m-${bigmapInFileNm}-beforeTiling.jpg | # Continue tiling set-up |
| Line 118: | Line 150: |
| sh support/logEvalP.sh | sh support/tileEval.sh |
| Line 124: | Line 156: |
| ......... | # Manually correlate as required |
| Line 128: | Line 160: |
# Inspect coverage_m: ## OPTION 1: Inspect display outputs on ormacsrv1 display coverage_m.pgm ## END OF OPTION 1 ##OPTION 2: Inspect display output on a different machine cp coverage_m-${bigmapInFileNm}-afterTiling.jpg ~/send/ # images inspected on different machine ## END OF OPTION 2 # Log map_coverage output |
|
| Line 129: | Line 174: |
| open coverage_m-${bigmapInFileNm}-afterTiling.jpg | |
| Line 132: | Line 176: |
| ......... | # Manually create maplets and correlate images as required # Save tiling log files mkdir -p /SPC_Test/$testID/$dirID/log/log-${blockID} mv *.INN *.OOT run* /SPC_Test/$testID/$dirID/log/log-${blockID}/ |
| Line 140: | Line 188: |
| date | |
| Line 141: | Line 190: |
Block-6B - TILE - BIGMAP
##########################################################################
## ##
## BLOCK 6B ##
## TILE - BIGMAP ##
## ##
##########################################################################
## This block tiles a bigmap with a new suite of landmarks. Bigmap and maplet parameters
## are specified by the user, using the bigmap in files contained in
## /SPC_Test/F3-base/base/support/ and the lithos options contained in the seed files in:
## /SPC_Test/F3-base/base/scripts/
## 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 set up the test sub-directory, as per Block 1B - TEST DIRECTORY
## SET-UP - TEST
## User has ingested and registered test images as per Blocks 2A, 2B, and 3A
## 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)
## bigmapInFileNm: Name of bigmap .in file located in /SPC_Test/F3-base/base/support/
## (for example, TILE20)
## tilingSeedFileNm: Name of tiling seeed file located in /SPC_Test/F3-base/base/scrits/
## (for example, XXX020)
## gSD: Maplet Ground Sample Distance in km (for example, 0.0002)
## blockID: User-specified identifier for typescript textfile name
## (for example, Block-6B-Tile-Bigmap-F3G1-20cmTiling)
# User inputs:
export testID=F3G-Nav
subTestID=F3G1
export dirID=test
#subTestID=F3G2
#subTestID=F3G3
#subTestID=F3G4
#subTestID=F3G5
#subTestID=F3G6
#subTestID=F3G7
#export bigmapInFileNm=TILE20
#export bigmapInFileNm=TILE10
export bigmapInFileNm=TILE05
#export tilingSeedFileNm=XXX020
#export tilingSeedFileNm=XXX010
export tilingSeedFileNm=XXX005
#export gSD=0.0002
#export gSD=0.0001
export gSD=0.00005
export blockID=Block-6B-Tile-Bigmap-${subTestID}-${bigmapInFileNm}
# Set-Up
cd /SPC_Test/$testID/test/
script
date
pwd
ls -l
# Make tiling bigmap
echo "Bigmap .in file: support/${bigmapInFileNm}.in"
cat support/${bigmapInFileNm}.in
ls -l /usr/local/bin/bigmap
bigmap < support/${bigmapInFileNm}.in | tee log-${bigmapInFileNm}
# check resulting file
## Tiling bigmap has the same name as the .in file,
## i.e. TILE20.in, produces the tiling bigmap: TILE20
echo ${bigmapInFileNm} | showmap
# Inspect showmap
## OPTION 1: Inspect showmap outputs on ormacsrv1
Display ${bigmapInFileNm}.pgm
## END OF OPTION 1
##OPTION 2: Inspect showmap output on a different machine
convert ${bigmapInFileNm}.pgm ~/send/${bigmapInFileNm}.jpg
# images inspected on different machine
## END OF OPTION 2
# Log showmap output
convert ${bigmapInFileNm}.pgm ${bigmapInFileNm}-beforeTiling.jpg
# Set up tiling
cp MAPFILES/${bigmapInFileNm}.MAP MAPFILES/XXXXXX.MAP
ls -l /usr/local/bin/map_coverage
echo "XXXXXX" > map_coverage.in
echo 0 >> map_coverage.in
echo $gSD >> map_coverage.in
map_coverage < map_coverage.in
# Inspect map_coverage output
## OPTION 1: Inspect showmap outputs on ormacsrv1
Display coverage_m.pgm
## END OF OPTION 1
##OPTION 2: Inspect map_coverage output on a different machine
convert coverage_m.pgm ~/send/coverage_m.jpg
# images inspected on different machine
## END OF OPTION 2
# Log map_coverage output
convert coverage_m.pgm coverage_m-${bigmapInFileNm}-beforeTiling.jpg
# Continue tiling set-up
echo "N" | make_tilefile | tee make_tilefile.out
sed 1d make_tilefile.out > temp.out
echo "XXXXXX" > make_scriptT.in
echo "scripts/${tilingSeedFileNm}.seed" >> make_scriptT.in
cat temp.out >> make_scriptT.in
cat make_scriptT.in
make_scriptT
ls -l
# Invoke tiling script
cat INIT_LITHOS.TXT
lithos -v
nohup sh run_script.b &
# Monitor progress
ls -l *.INN *.OOT
find_nofitT
sh support/logEvalP.sh
# Check results - correlation
find_nofitT | tee log-fitT-${bigmapInFileNm}
sh support/tileEval.sh
cat logResults.txt
cat lowImg.txt
cat redo.txt
# Fix uncorrelated images
# Manually correlate as required
# Check results - tiling
map_coverage < map_coverage.in
# Inspect coverage_m:
## OPTION 1: Inspect display outputs on ormacsrv1
display coverage_m.pgm
## END OF OPTION 1
##OPTION 2: Inspect display output on a different machine
cp coverage_m-${bigmapInFileNm}-afterTiling.jpg ~/send/
# images inspected on different machine
## END OF OPTION 2
# Log map_coverage output
convert coverage_m.pgm coverage_m-${bigmapInFileNm}-afterTiling.jpg
# Fix tiling gaps
# Manually create maplets and correlate images as required
# Save tiling log files
mkdir -p /SPC_Test/$testID/$dirID/log/log-${blockID}
mv *.INN *.OOT run* /SPC_Test/$testID/$dirID/log/log-${blockID}/
# Clean directory
sh rem_script.b
rm TESTFILES/*
rm TESTFILES1/*
# 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}