From e720d9a546632eee94445e7dfed448bcdda7a722 Mon Sep 17 00:00:00 2001 From: Stephen Mather Date: Wed, 21 Nov 2018 19:24:57 -0500 Subject: [PATCH] change resolution from cap to 4 x cap Proposed solution for https://github.com/OpenDroneMap/ODM/issues/914 --- scripts/odm_dem.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/odm_dem.py b/scripts/odm_dem.py index 418438eb..2f22fd74 100644 --- a/scripts/odm_dem.py +++ b/scripts/odm_dem.py @@ -92,7 +92,7 @@ class ODMDEMCell(ecto.Cell): if args.dsm: products.append('dsm') if args.dtm: products.append('dtm') - resolution = gsd.cap_resolution(args.dem_resolution, tree.opensfm_reconstruction, ignore_gsd=args.ignore_gsd) + resolution = gsd.cap_resolution(args.dem_resolution, tree.opensfm_reconstruction, ignore_gsd=args.ignore_gsd) * 4.0 radius_steps = [(resolution / 100.0) / 2.0] for _ in range(args.dem_gapfill_steps - 1): radius_steps.append(radius_steps[-1] * 2) # 2 is arbitrary, maybe there's a better value?