update resolution to use gsd_error_estimate

pull/915/head
Stephen Mather 2018-11-26 12:52:58 -05:00 zatwierdzone przez GitHub
rodzic 4d290d6ccb
commit b21b875beb
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -92,7 +92,7 @@ class ODMDEMCell(ecto.Cell):
if args.dsm: products.append('dsm') if args.dsm: products.append('dsm')
if args.dtm: products.append('dtm') if args.dtm: products.append('dtm')
resolution = gsd.cap_resolution(args.dem_resolution, tree.opensfm_reconstruction, ignore_gsd=args.ignore_gsd) * 4.0 resolution = gsd.cap_resolution(args.dem_resolution, tree.opensfm_reconstruction, gsd_error_estimate=-3, ignore_gsd=args.ignore_gsd)
radius_steps = [(resolution / 100.0) / 2.0] radius_steps = [(resolution / 100.0) / 2.0]
for _ in range(args.dem_gapfill_steps - 1): for _ in range(args.dem_gapfill_steps - 1):
radius_steps.append(radius_steps[-1] * 2) # 2 is arbitrary, maybe there's a better value? radius_steps.append(radius_steps[-1] * 2) # 2 is arbitrary, maybe there's a better value?