[nodes] StructureFromMotion: allow negative bundleAdjustmentMaxOutliers to disable BA iterations

This commit is contained in:
Loïc Vital 2023-05-17 16:35:06 +02:00
parent 6b8b373af8
commit 5baac5307d

View file

@ -192,10 +192,11 @@ It iterates like that, adding cameras and triangulating new 2D features into 3D
), ),
desc.IntParam( desc.IntParam(
name='bundleAdjustmentMaxOutliers', name='bundleAdjustmentMaxOutliers',
label='Bundle Adjustment Maximum Outliers', label='Max Nb of Outliers after BA',
description='Threshold for the maximum number of outliers allowed at the end of a bundle adjustment iteration.', description='Threshold for the maximum number of outliers allowed at the end of a bundle adjustment iteration.\n'
'Using a negative value for this threshold will disable BA iterations.',
value=50, value=50,
range=(0, 1000, 1), range=(-1, 1000, 1),
uid=[0], uid=[0],
advanced=True advanced=True
), ),