[depthMap] new SGM parameters

This commit is contained in:
Fabien Castan 2019-04-11 11:38:01 +02:00
parent e3d9c6cf5d
commit 3a0b3ac169

View file

@ -52,6 +52,38 @@ class DepthMap(desc.CommandLineNode):
uid=[0],
advanced=True,
),
desc.IntParam(
name='sgmScale',
label='SGM: Downscale factor',
description='Semi Global Matching: Downscale factor used to compute the similarity volume.',
value=-1,
range=(-1, 10, 1),
uid=[0],
),
desc.IntParam(
name='sgmStepXY',
label='SGM: Step',
description='Semi Global Matching: Step used to compute the similarity volume on X and Y axis.',
value=-1,
range=(-1, 10, 1),
uid=[0],
),
desc.IntParam(
name='sgmStepZ',
label='SGM: Step',
description='Semi Global Matching: Step used to compute the similarity volume on Z axis.',
value=-1,
range=(-1, 10, 1),
uid=[0],
),
desc.IntParam(
name='sgmMaxSide',
label='SGM: Max Side',
description='Semi Global Matching: Max side in pixels used to automatically decide for sgmScale/sgmStep if not defined.',
value=200,
range=(-1, 1000, 1),
uid=[0],
),
desc.IntParam(
name='sgmMaxTCams',
label='SGM: Nb Neighbour Cameras',
@ -87,6 +119,33 @@ class DepthMap(desc.CommandLineNode):
uid=[0],
advanced=True,
),
desc.IntParam(
name='sgmMaxDepths',
label='SGM: Max Depths',
description='Semi Global Matching: Max number of depths in the overall similarity volume.',
value=3000,
range=(1, 5000, 1),
uid=[0],
advanced=True,
),
desc.IntParam(
name='sgmMaxDepthsPerTc',
label='SGM: Max Depths Per Camera Pairs',
description='Semi Global Matching: Max number of depths to sweep in the similarity volume per Rc/Tc cameras.',
value=1500,
range=(1, 5000, 1),
uid=[0],
advanced=True,
),
desc.BoolParam(
name='sgmUseSfmSeeds',
label='SGM: Use SfM Landmarks',
description='Semi Global Matching: Use landmarks from SfM to define the ranges for the plane sweeping.',
value=True,
uid=[],
advanced=True,
),
desc.IntParam(
name='refineMaxTCams',
label='Refine: Nb Neighbour Cameras',