forked from billkarsh/Alignment_Projects
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpgo.sht
47 lines (44 loc) · 1.38 KB
/
pgo.sht
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#!/bin/sh
# Purpose:
# Make workspace 'temp' and then call ptest.
#
# > ptestx za.ia^zb.ib -d=temp -prm=matchparams.txt
#
# Options:
# -idb=idb0 ;path to IDB
# -ima=path ;path to image a
# -imb=path ;path to image b
# -fma=path ;path to foldmask a
# -fmb=path ;path to foldmask b
# -clr ;erase current -d=temp
#
# {ima, imb, fma, fmb} override IDB.
#
# ptest Options:
# -jtilea=URL ;URL to tile-A JSON
# -jtileb=URL ;URL to tile-B JSON
# -prm=path ;path to matchparams.txt
# -Tdfm=1,0,0,0,1,0 ;deformation a to b
# -Tab=1,0,0,0,1,0 ;transform a to b
# -Ta=1,0,0,0,1,0 ;alt Tab=Tb-inv * Ta
# -Tb=1,0,0,0,1,0 ;alt Tab=Tb-inv * Ta
# -SCALE=1.0 ;a/b
# -XSCALE=1.0 ;a/b
# -YSCALE=1.0 ;a/b
# -SKEW=0.0 ;a/b (yskew)
# -FLD=%c ;Y=use, N=none, X=XL only
# -MODE=%c ;see matchparams.txt
# -CTR=0.0 ;ang0
# -tr ;transpose
# -nf ;no folds (prefer -FLD=N)
# -sf ;single fold
# -Tmsh=1,0,0,0,1,0 ;bypass thumbs, start mesh here
# -XYexp=0.0,0.0 ;final mesh expected XY
# -json ;output JSON format
# -v ;registered & comp images
# -comp_png=path ;path to comp.png
# -registered_png=path ;path to registered.png
# -heatmap ;qual.tif
# -dbgcor ;stop at correlation images
#
ptestx 624.16^623.10 -ima=/groups/apig/tomo/BBB_107/temp/624/16/nmrc_624_16.png -imb=/groups/apig/tomo/BBB_107/temp/623/10/nmrc_623_10.png -clr -d=temp -prm=matchparams.txt -CTR=0