diff --git a/meshroom/nodes/aliceVision/DepthMap.py b/meshroom/nodes/aliceVision/DepthMap.py index 411e1c9e..d132986b 100644 --- a/meshroom/nodes/aliceVision/DepthMap.py +++ b/meshroom/nodes/aliceVision/DepthMap.py @@ -15,7 +15,110 @@ class DepthMap(desc.CommandLineNode): description='', value='', uid=[0], - ), + ), + desc.IntParam( + name='sgmMaxTCams', + label='SGM Max TCams', + description='Semi Global Matching Number of neighbour cameras.', + value=10, + range=(1, 100, 1), + uid=[0], + ), + desc.IntParam( + name='sgmWSH', + label='SGM WSH', + description='Semi Global Matching Size of the patch used to compute the similarity.', + value=4, + range=(1, 20, 1), + uid=[0], + ), + desc.FloatParam( + name='sgmGammaC', + label='SGM GammaC', + description='Semi Global Matching GammaC threshold.', + value=5.5, + range=(0.0, 30.0, 0.5), + uid=[0], + ), + desc.FloatParam( + name='sgmGammaP', + label='SGM GammaP', + description='Semi Global Matching GammaP threshold.', + value=8.0, + range=(0.0, 30.0, 0.5), + uid=[0], + ), + desc.IntParam( + name='refineNSamplesHalf', + label='Refine Number of samples', + description='Refine Number of samples.', + value=150, + range=(1, 500, 10), + uid=[0], + ), + desc.IntParam( + name='refineNDepthsToRefine', + label='Refine Number of depths', + description='Refine Number of depths.', + value=31, + range=(1, 100, 1), + uid=[0], + ), + desc.IntParam( + name='refineNiters', + label='Refine Number of iterations', + description='Refine: Number of iterations.', + value=100, + range=(1, 500, 10), + uid=[0], + ), + desc.IntParam( + name='refineWSH', + label='Refine WSH', + description='Refine Size of the patch used to compute the similarity.', + value=3, + range=(1, 20, 1), + uid=[0], + ), + desc.IntParam( + name='refineMaxTCams', + label='Refine Max TCams', + description='Refine Number of neighbour cameras.', + value=6, + range=(1, 20, 1), + uid=[0], + ), + desc.FloatParam( + name='refineSigma', + label='Refine Sigma', + description='Refine Sigma threshold.', + value=15, + range=(0.0, 30.0, 0.5), + uid=[0], + ), + desc.FloatParam( + name='refineGammaC', + label='Refine GammaC', + description='Refine GammaC threshold.', + value=15.5, + range=(0.0, 30.0, 0.5), + uid=[0], + ), + desc.FloatParam( + name='refineGammaP', + label='Refine GammaP', + description='Refine GammaP threshold.', + value=8.0, + range=(0.0, 30.0, 0.5), + uid=[0], + ), + desc.BoolParam( + name='refineUseTcOrRcPixSize', + label='Refine Use Tc or Rc pixel size', + description='Refine Use current camera pixel size or minimum pixel size of neighbour cameras.', + value=False, + uid=[0], + ), ] outputs = [