[nodes] Remove invalidate=True from descriptions

This commit is contained in:
Candice Bentéjac 2024-09-06 17:30:22 +02:00
parent 07b65499ce
commit 41a1b47c43
81 changed files with 8 additions and 1076 deletions

View file

@ -18,35 +18,30 @@ class CameraRigLocalization(desc.AVCommandLineNode):
label="SfMData",
description="The input SfMData file.",
value="",
invalidate=True,
),
desc.File(
name="mediapath",
label="Media Path",
description="The path to the video file, the folder of the image sequence or a text file (one image path per line) for each camera of the rig (eg. --mediapath /path/to/cam1.mov /path/to/cam2.mov).",
value="",
invalidate=True,
),
desc.File(
name="calibration",
label="Rig Calibration File",
description="The file containing the calibration data for the rig (subposes).",
value="",
invalidate=True,
),
desc.File(
name="cameraIntrinsics",
label="Camera Intrinsics",
description="The intrinsics calibration file for each camera of the rig (eg. --cameraIntrinsics /path/to/calib1.txt /path/to/calib2.txt).",
value="",
invalidate=True,
),
desc.File(
name="descriptorPath",
label="Descriptor Path",
description="Folder containing the .desc.",
value="",
invalidate=True,
),
desc.ChoiceParam(
name="matchDescTypes",
@ -55,7 +50,6 @@ class CameraRigLocalization(desc.AVCommandLineNode):
values=DESCRIBER_TYPES,
value=["dspsift"],
exclusive=False,
invalidate=True,
joinChar=",",
),
desc.ChoiceParam(
@ -65,7 +59,6 @@ class CameraRigLocalization(desc.AVCommandLineNode):
value="normal",
values=["low", "medium", "normal", "high", "ultra"],
exclusive=True,
invalidate=True,
),
desc.ChoiceParam(
name="resectionEstimator",
@ -74,7 +67,6 @@ class CameraRigLocalization(desc.AVCommandLineNode):
value="acransac",
values=["acransac", "loransac"],
exclusive=True,
invalidate=True,
),
desc.ChoiceParam(
name="matchingEstimator",
@ -83,14 +75,12 @@ class CameraRigLocalization(desc.AVCommandLineNode):
value="acransac",
values=["acransac", "loransac"],
exclusive=True,
invalidate=True,
),
desc.StringParam(
name="refineIntrinsics",
label="Refine Intrinsics",
description="Enable/Disable camera intrinsics refinement for each localized image.",
value="",
invalidate=True,
),
desc.FloatParam(
name="reprojectionError",
@ -99,14 +89,12 @@ class CameraRigLocalization(desc.AVCommandLineNode):
"If set to 0, it lets the ACRansac select an optimal value.",
value=4.0,
range=(0.0, 10.0, 0.1),
invalidate=True,
),
desc.BoolParam(
name="useLocalizeRigNaive",
label="Use Localize Rig Naive",
description="Enable/Disable the naive method for rig localization: naive method tries to localize each camera separately.",
value=False,
invalidate=True,
),
desc.FloatParam(
name="angularThreshold",
@ -114,21 +102,18 @@ class CameraRigLocalization(desc.AVCommandLineNode):
description="The maximum angular threshold in degrees between feature bearing vector and 3D point direction. Used only with the opengv method.",
value=0.1,
range=(0.0, 10.0, 0.01),
invalidate=True,
),
desc.File(
name="voctree",
label="Voctree",
description="[voctree] Filename for the vocabulary tree.""",
value="${ALICEVISION_VOCTREE}",
invalidate=True,
),
desc.File(
name="voctreeWeights",
label="Voctree Weights",
description="[voctree] Filename for the vocabulary tree weights.",
value="",
invalidate=True,
),
desc.ChoiceParam(
name="algorithm",
@ -137,7 +122,6 @@ class CameraRigLocalization(desc.AVCommandLineNode):
value="AllResults",
values=["FirstBest", "AllResults"],
exclusive=True,
invalidate=True,
),
desc.IntParam(
name="nbImageMatch",
@ -145,7 +129,6 @@ class CameraRigLocalization(desc.AVCommandLineNode):
description="[voctree] Number of images to retrieve in the database.",
value=4,
range=(0, 100, 1),
invalidate=True,
),
desc.IntParam(
name="maxResults",
@ -154,7 +137,6 @@ class CameraRigLocalization(desc.AVCommandLineNode):
"If set to 0, it is ignored.",
value=10,
range=(0, 100, 1),
invalidate=True,
),
desc.FloatParam(
name="matchingError",
@ -163,7 +145,6 @@ class CameraRigLocalization(desc.AVCommandLineNode):
"If set to 0, it lets the ACRansac select an optimal value.",
value=4.0,
range=(0.0, 10.0, 0.1),
invalidate=True,
),
desc.IntParam(
name="nNearestKeyFrames",
@ -171,7 +152,6 @@ class CameraRigLocalization(desc.AVCommandLineNode):
description="[cctag] Number of images to retrieve in database.",
value=5,
range=(0, 50, 1),
invalidate=True,
),
desc.ChoiceParam(
name="verboseLevel",
@ -180,7 +160,6 @@ class CameraRigLocalization(desc.AVCommandLineNode):
values=VERBOSE_LEVEL,
value="info",
exclusive=True,
invalidate=False,
),
]
@ -190,6 +169,5 @@ class CameraRigLocalization(desc.AVCommandLineNode):
label="Alembic",
description="Filename for the SfMData export file (where camera poses will be stored).",
value=desc.Node.internalFolder + "trackedcameras.abc",
invalidate=False,
),
]