From 76bb6f5e1368511a187f7a94e13922ea129d50ab Mon Sep 17 00:00:00 2001 From: Piero Toffanin Date: Thu, 20 Jun 2019 10:13:09 -0400 Subject: [PATCH] opensfm, mve tweaks Former-commit-id: e2873f6380749ac8734be4b86e10b1bfaa935932 --- opendm/osfm.py | 1 + stages/mve.py | 1 + 2 files changed, 2 insertions(+) diff --git a/opendm/osfm.py b/opendm/osfm.py index 0f873fc7..1d903880 100644 --- a/opendm/osfm.py +++ b/opendm/osfm.py @@ -106,6 +106,7 @@ class OSFMContext: "depthmap_min_consistent_views: %s" % args.opensfm_depthmap_min_consistent_views, "optimize_camera_parameters: %s" % ('no' if args.use_fixed_camera_params or has_camera_calibration else 'yes'), "undistorted_image_format: png", # mvs-texturing exhibits artifacts with JPG + "bundle_outlier_filtering_type: AUTO", ] if has_alt: diff --git a/stages/mve.py b/stages/mve.py index 8bf0eced..2d6efb08 100644 --- a/stages/mve.py +++ b/stages/mve.py @@ -64,6 +64,7 @@ class ODMMveStage(types.ODM_Stage): "-s%s" % mve_output_scale, "--progress=silent", "--local-neighbors=2", + "--filter-width=3", ] # Run MVE's dmrecon