-
Notifications
You must be signed in to change notification settings - Fork 0
/
doit-site
29 lines (21 loc) · 830 Bytes
/
doit-site
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
set infile = img.psf_asm
grow_from_max $infile map0 site= clob+ verb=0
##dmimgfilt $infile site0 peak "box(0,0,5,5)" clob+
##dmimgtess site0 tess0 min=1 edge=0 clob+
##dmstat "tess0[cols component]" verb=0
##set nreg = `pget dmstat out_max`
##mkregmap $infile regions="region(tess0[component=igrid(1:${nreg}:1)])" out=map0 clob+
set m = 0
set n = 1
while ( $n < 150 )
echo $m $n `date`
centroid_map $infile map$m site$n clob+ verb=0
grow_from_max $infile map$n site=site$n clob+ verb=0
##dmimgcalc $infile site$n - add weight=0 lookup= | \
##dmimgtess - tess$n min=1 edge=0 clob+
##dmstat "tess${n}[cols component]" verb=0
##set nreg = `pget dmstat out_max`
##mkregmap $infile regions="region(tess${n}[component=igrid(1:${nreg}:1)])" out=map${n} clob+ verb=0
@ m += 1
@ n += 1
end