From 2d552ef55de9690ab07e12d7da4ecbdddd164e29 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9goire=20De=20Lillo?= Date: Thu, 13 Apr 2023 18:27:55 +0200 Subject: [PATCH] [nodes] DepthMap: Add useConsistentScale parameters --- meshroom/nodes/aliceVision/DepthMap.py | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/meshroom/nodes/aliceVision/DepthMap.py b/meshroom/nodes/aliceVision/DepthMap.py index f204bfcd..d8efc14d 100644 --- a/meshroom/nodes/aliceVision/DepthMap.py +++ b/meshroom/nodes/aliceVision/DepthMap.py @@ -267,6 +267,13 @@ Use a downscale factor of one (full-resolution) only if the quality of the input uid=[0], advanced=True, ), + desc.BoolParam( + name='sgmUseConsistentScale', + label='Consistent Scale', + description='Compare patch with consistent scale for similarity volume computation.', + value=False, + uid=[0], + ), ]), desc.GroupAttribute( name='refine', @@ -377,6 +384,15 @@ Use a downscale factor of one (full-resolution) only if the quality of the input description='Enable middle depth bilinear interpolation.', value=False, uid=[0], + enabled= lambda node: node.refine.refineEnabled.value, + ), + desc.BoolParam( + name='refineUseConsistentScale', + label='Consistent Scale', + description='Compare patch with consistent scale for similarity volume computation.', + value=False, + uid=[0], + enabled= lambda node: node.refine.refineEnabled.value, ), ]), desc.GroupAttribute(