[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,7 +18,6 @@ class CameraRigCalibration(desc.AVCommandLineNode):
label="SfMData",
description="Input SfMData file.",
value="",
invalidate=True,
),
desc.File(
name="mediapath",
@ -26,28 +25,24 @@ class CameraRigCalibration(desc.AVCommandLineNode):
description="The path to the video file, the folder of the image sequence or a text file\n"
"(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="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="export",
label="Export File",
description="Filename for the alembic file containing the rig poses with the 3D points. It also saves a file for each camera named 'filename.cam##.abc'.",
value="trackedcameras.abc",
invalidate=True,
),
desc.File(
name="descriptorPath",
label="Descriptor Path",
description="Folder containing the .desc.",
value="",
invalidate=True,
),
desc.ChoiceParam(
name="matchDescTypes",
@ -56,7 +51,6 @@ class CameraRigCalibration(desc.AVCommandLineNode):
values=DESCRIBER_TYPES,
value=["dspsift"],
exclusive=False,
invalidate=True,
joinChar=",",
),
desc.ChoiceParam(
@ -66,7 +60,6 @@ class CameraRigCalibration(desc.AVCommandLineNode):
value="normal",
values=["low", "medium", "normal", "high", "ultra"],
exclusive=True,
invalidate=True,
),
desc.ChoiceParam(
name="resectionEstimator",
@ -75,7 +68,6 @@ class CameraRigCalibration(desc.AVCommandLineNode):
value="acransac",
values=["acransac", "loransac"],
exclusive=True,
invalidate=True,
),
desc.ChoiceParam(
name="matchingEstimator",
@ -84,14 +76,12 @@ class CameraRigCalibration(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",
@ -100,7 +90,6 @@ class CameraRigCalibration(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="maxInputFrames",
@ -108,21 +97,18 @@ class CameraRigCalibration(desc.AVCommandLineNode):
description="Maximum number of frames to read in input. 0 means no limit.",
value=0,
range=(0, 1000, 1),
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",
@ -131,7 +117,6 @@ class CameraRigCalibration(desc.AVCommandLineNode):
value="AllResults",
values=["FirstBest", "AllResults"],
exclusive=True,
invalidate=True,
),
desc.IntParam(
name="nbImageMatch",
@ -139,7 +124,6 @@ class CameraRigCalibration(desc.AVCommandLineNode):
description="[voctree] Number of images to retrieve in the database.",
value=4,
range=(0, 50, 1),
invalidate=True,
),
desc.IntParam(
name="maxResults",
@ -147,7 +131,6 @@ class CameraRigCalibration(desc.AVCommandLineNode):
description="[voctree] For algorithm AllResults, it stops the image matching when this number of matched images is reached. If set to 0, it is ignored.",
value=10,
range=(0, 100, 1),
invalidate=True,
),
desc.FloatParam(
name="matchingError",
@ -156,7 +139,6 @@ class CameraRigCalibration(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",
@ -164,7 +146,6 @@ class CameraRigCalibration(desc.AVCommandLineNode):
description="[cctag] Number of images to retrieve in database.",
value=5,
range=(0, 50, 1),
invalidate=True,
),
desc.ChoiceParam(
name="verboseLevel",
@ -173,7 +154,6 @@ class CameraRigCalibration(desc.AVCommandLineNode):
values=VERBOSE_LEVEL,
value="info",
exclusive=True,
invalidate=False,
),
]
@ -183,6 +163,5 @@ class CameraRigCalibration(desc.AVCommandLineNode):
label="Output File",
description="The name of the file to store the calibration data in.",
value=desc.Node.internalFolder + "cameraRigCalibration.rigCal",
invalidate=False,
),
]