@@ -65,9 +65,9 @@ def get_stereo_opt(threads=28, kernel=(35,35), nlevels=5, spr=1, timeout=360, er
65
65
#If using Semi-global matching (spr 0):
66
66
if spr > 3 :
67
67
#Use SGM
68
- stereo_opt .extend (['--stereo-algorithm' , '1 ' ])
68
+ stereo_opt .extend (['--stereo-algorithm' , 'asp_sgm ' ])
69
69
#Use MGM
70
- #stereo_opt.extend(['--stereo-algorithm', '2 '])
70
+ #stereo_opt.extend(['--stereo-algorithm', 'asp_mgm '])
71
71
#bro nodes had 128 GB of RAM, 28 threads, ~4.7 GB/thread
72
72
stereo_opt .extend (['--corr-tile-size' , '3600' ])
73
73
stereo_opt .extend (['--xcorr-threshold' , '-1' ])
@@ -77,6 +77,7 @@ def get_stereo_opt(threads=28, kernel=(35,35), nlevels=5, spr=1, timeout=360, er
77
77
#Sub-pixel kernel size (ASP default is 35)
78
78
#Set to same as integer correlator kernel
79
79
stereo_opt .extend (['--subpixel-kernel' , str (kernel [0 ]), str (kernel [1 ])])
80
+ stereo_opt .extend (['--stereo-algorithm' ,'asp_bm' ])
80
81
#Note: stereo_fltr throws out a lot of good data when noisy
81
82
#Want to play with the following options
82
83
#--rm-half-kernel 5 5
@@ -340,9 +341,9 @@ def main():
340
341
#Check for existence
341
342
342
343
#HMA seeding
343
- vdir = '/nobackup/deshean/rpcdem/hma/velocity_jpl_amaury_2013-2015'
344
- vx_fn = os .path .join (vdir , 'PKH_WRS2_B8_2013_2015_snr5_n1_r170_res12.x_vel.TIF' )
345
- vy_fn = os .path .join (vdir , 'PKH_WRS2_B8_2013_2015_snr5_n1_r170_res12.y_vel.TIF' )
344
+ # vdir = '/nobackup/deshean/rpcdem/hma/velocity_jpl_amaury_2013-2015'
345
+ # vx_fn = os.path.join(vdir, 'PKH_WRS2_B8_2013_2015_snr5_n1_r170_res12.x_vel.TIF')
346
+ # vy_fn = os.path.join(vdir, 'PKH_WRS2_B8_2013_2015_snr5_n1_r170_res12.y_vel.TIF')
346
347
347
348
if os .path .exists (vx_fn ) and os .path .exists (vy_fn ):
348
349
ds1_clip = iolib .fn_getds (ds1_clip_fn )
0 commit comments