Merge pull request #375 from alicevision/dev_estimatorParams

[nodes] expose estimator parameters on sfm and features matching
This commit is contained in:
Yann Lanthony 2019-01-28 10:55:36 +01:00 committed by GitHub
commit a82b0d0627
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 31 additions and 0 deletions

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',