Size: 2056
Comment:
|
Size: 2684
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 1: | Line 1: |
Resolutions files | |
Line 2: | Line 3: |
Resolutions files | |
Line 17: | Line 17: |
$Res=5 | Res=5 |
Line 23: | Line 23: |
mkdir -p $ID$Res | logP=log/$ID$Res mkdir -p $logP |
Line 47: | Line 49: |
rm -f LMRKLIST1.TXT |
|
Line 62: | Line 66: |
Check to make sure the coordinates are correct {{{ echo $ID$Res > MAPLIST.TXT echo END >> MAPLIST.TXT img=`head -2 nftConfig/nftBigmap-$ID-$Res.in | tail -1` echo $img > tmp echo n >> tmp Imager_MG < tmp convert TEMPFILE.pgm ~/send/$ID$Res.jpg echo $img > tmp echo y >> tmp echo 0 >> tmp echo n >> tmp echo n >> tmp Display < tmp convert TEMPFILE.pgm ~/send/$img.jpg }}} |
|
Line 67: | Line 95: |
echo nftConfig/nftTile-$ID$Res.seed >> lsupport/bigmap_tile.in | echo nftConfig/nftSeed-${ID}-${Res}.seed >> lsupport/bigmap_tile.in |
Line 70: | Line 98: |
echo "Begin Tiling" > notes echo "ID=$ID" >> notes echo "Res=$Res" >> notes |
|
Line 84: | Line 116: |
bigmap < nftConfig/nftBigmap-$ID-$Res.in | echo ${ID}$Res > tmpRun cat nftConfig/nftBigmap-${ID}-$Res.in >> tmpRun bigMapRef < tmpRun #bigmap < nftConfig/nftBigmap-$ID-$Res.in |
Line 91: | Line 127: |
nftBlockFinish nft.$ID | nftBlockFinish.sh nft.$ID |
Resolutions files
If we need to "drill down" to a high resolution, then we need to do it at several steps. We will use the following steps:
Resolution
Code
5cm
5
2cm
2
1cm
1
finalGSD/2
0
For each *.IN file you have, the entire tile, iterate, clean process should be done. I.E. Do all the steps for 5cm, then for 2cm, then for 1cm and then for your final NFT feature
Make the bigmap for tiling
ID=00000 Res=5 bigmap < nftConfig/nftBigmap-$ID-$Res.in cd MAPFILES relink.sh $ID$Res.MAP XXXXXX.MAP cd .. logP=log/$ID$Res mkdir -p $logP #echo y | cp USED_MAPS.TXT log/$ID$Res/nftMapList-$ID$Res #relink.sh lsupport/nftMapList-${ID}W make_script.in
Tiling
For width of 100 pixels, we are planning on a Q of 150 and a 5x5 maplet grid.
ID=00000 Res=5 logP=log/$ID$Res mkdir -p $logP rm -f LMRKLIST1.TXT bigmap < nftConfig/nftBigmap-$ID-$Res.in cd MAPFILES relink.sh $ID$Res.MAP XXXXXX.MAP cd .. echo XXXXXX | showmap convert XXXXXX.pgm $logP/low-$ID.jpg echo XXXXXX > tmp echo 0 0.0000${Res}999 >> tmp map_coverage < tmp convert coverage_m.pgm $logP/pre-$ID.jpg convert coverage_m.pgm 1.jpg
Check to make sure the coordinates are correct
echo $ID$Res > MAPLIST.TXT echo END >> MAPLIST.TXT img=`head -2 nftConfig/nftBigmap-$ID-$Res.in | tail -1` echo $img > tmp echo n >> tmp Imager_MG < tmp convert TEMPFILE.pgm ~/send/$ID$Res.jpg echo $img > tmp echo y >> tmp echo 0 >> tmp echo n >> tmp echo n >> tmp Display < tmp convert TEMPFILE.pgm ~/send/$img.jpg
Build the tile file and run
echo N | make_tilefile > tmpOut echo XXXXXX > lsupport/bigmap_tile.in echo nftConfig/nftSeed-${ID}-${Res}.seed >> lsupport/bigmap_tile.in sed 1d tmpOut >> lsupport/bigmap_tile.in relink.sh lsupport/bigmap_tile.in make_scriptT.in echo "Begin Tiling" > notes echo "ID=$ID" >> notes echo "Res=$Res" >> notes make_scriptT nohup sh run_script.b finished tiling-done
Check
echo XXXXXX > tmp echo 0 0.0000${Res}999 >> tmp map_coverage < tmp convert coverage_m.pgm $logP/post-$ID.jpg echo ${ID}$Res > tmpRun cat nftConfig/nftBigmap-${ID}-$Res.in >> tmpRun bigMapRef < tmpRun #bigmap < nftConfig/nftBigmap-$ID-$Res.in echo XXXXXX | showmap convert XXXXXX.pgm $logP/high-$ID.jpg score=`tail -2 SIGMAS.TXT | head -1 | cut -c 23-30` mScore=`echo "scale=2; $score * 1000" | bc | cut -c -4` convert SIGMAS.pgm -fill white -gravity North -pointsize 15 -annotate +0+10 Max:${mScore}m $logP/sig-$ID.jpg nftBlockFinish.sh nft.$ID