[nodes] expose estimator parameters on sfm and features matching

This commit is contained in:
Fabien Castan 2019-01-28 10:22:25 +01:00
parent efed2c6499
commit 349de9a3a6
2 changed files with 31 additions and 0 deletions

View file

@ -105,6 +105,17 @@ class FeatureMatching(desc.CommandLineNode):
uid=[0],
advanced=True,
),
desc.FloatParam(
name='geometricError',
label='Geometric Validation Error',
description='Maximum error (in pixels) allowed for features matching during geometric verification.\n'
'If set to 0, it will select a threshold according to the localizer estimator used\n'
'(if ACRansac, it will analyze the input data to select the optimal value).',
value=0.0,
range=(0.0, 10.0, 0.1),
uid=[0],
advanced=True,
),
desc.IntParam(
name='maxMatches',
label='Max Matches',

View file

@ -62,6 +62,26 @@ class StructureFromMotion(desc.CommandLineNode):
uid=[0],
advanced=True,
),
desc.IntParam(
name='localizerEstimatorMaxIterations',
label='Localizer Max Ransac Iterations',
description='Maximum number of iterations allowed in ransac step.',
value=4096,
range=(1, 20000, 1),
uid=[0],
advanced=True,
),
desc.FloatParam(
name='localizerEstimatorError',
label='Localizer Max Ransac Error',
description='Maximum error (in pixels) allowed for camera localization (resectioning).\n'
'If set to 0, it will select a threshold according to the localizer estimator used\n'
'(if ACRansac, it will analyze the input data to select the optimal value).',
value=0.0,
range=(0.0, 100.0, 0.1),
uid=[0],
advanced=True,
),
desc.BoolParam(
name='lockScenePreviouslyReconstructed',
label='Lock Scene Previously Reconstructed',