From 715348f68d39e4e47242de3c88175e7e366d4291 Mon Sep 17 00:00:00 2001 From: Fabien Castan Date: Tue, 24 Nov 2020 11:21:57 +0100 Subject: [PATCH] [multiview] Panorama: change default parameters Use describerQuality=high as it improves quality on many challenging panorama datasets (in particular for the challenging matching between fisheye images) and the number of images to process on a panorama is usually reasonable. --- meshroom/multiview.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/meshroom/multiview.py b/meshroom/multiview.py index b6c6f028..616e4d04 100644 --- a/meshroom/multiview.py +++ b/meshroom/multiview.py @@ -180,6 +180,10 @@ def panoramaFisheyeHdr(inputImages=None, inputViewpoints=None, inputIntrinsics=N panoramaHdr(inputImages, inputViewpoints, inputIntrinsics, output, graph) for panoramaInit in graph.nodesByType("PanoramaInit"): panoramaInit.attribute("useFisheye").value = True + # when using fisheye images, the overlap between images can be small + # and thus requires many features to get enough correspondances for cameras estimation + for featureExtraction in graph.nodesByType("FeatureExtraction"): + featureExtraction.attribute("describerPreset").value = 'high' return graph def panoramaHdrPipeline(graph): @@ -214,7 +218,7 @@ def panoramaHdrPipeline(graph): featureExtraction = graph.addNewNode('FeatureExtraction', input=ldr2hdrMerge.outSfMData, - describerPreset='high') + describerQuality='high') panoramaInit = graph.addNewNode('PanoramaInit', input=featureExtraction.input,