[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

@ -20,7 +20,6 @@ class CameraCalibration(desc.AVCommandLineNode):
" - image sequence like \"/path/to/seq.@.jpg\".\n"
" - video file.",
value="",
invalidate=True,
),
desc.ChoiceParam(
name="pattern",
@ -29,7 +28,6 @@ class CameraCalibration(desc.AVCommandLineNode):
value="CHESSBOARD",
values=["CHESSBOARD", "CIRCLES", "ASYMMETRIC_CIRCLES", "ASYMMETRIC_CCTAG"],
exclusive=True,
invalidate=True,
),
desc.GroupAttribute(
name="size",
@ -42,7 +40,6 @@ class CameraCalibration(desc.AVCommandLineNode):
description="",
value=7,
range=(0, 10000, 1),
invalidate=True,
),
desc.IntParam(
name="height",
@ -50,7 +47,6 @@ class CameraCalibration(desc.AVCommandLineNode):
description="",
value=5,
range=(0, 10000, 1),
invalidate=True,
),
],
),
@ -60,7 +56,6 @@ class CameraCalibration(desc.AVCommandLineNode):
description="Size of the grid's square cells (mm).",
value=1.0,
range=(0.0, 100.0, 1.0),
invalidate=True,
),
desc.IntParam(
name="nbDistortionCoef",
@ -68,7 +63,6 @@ class CameraCalibration(desc.AVCommandLineNode):
description="Number of distortion coefficients.",
value=3,
range=(0, 5, 1),
invalidate=True,
),
desc.IntParam(
name="maxFrames",
@ -76,7 +70,6 @@ class CameraCalibration(desc.AVCommandLineNode):
description="Maximum number of frames to extract from the video file.",
value=0,
range=(0, 5, 1),
invalidate=True,
),
desc.IntParam(
name="maxCalibFrames",
@ -84,7 +77,6 @@ class CameraCalibration(desc.AVCommandLineNode):
description="Maximum number of frames to use to calibrate from the selected frames.",
value=100,
range=(0, 1000, 1),
invalidate=True,
),
desc.IntParam(
name="calibGridSize",
@ -92,7 +84,6 @@ class CameraCalibration(desc.AVCommandLineNode):
description="Define the number of cells per edge.",
value=10,
range=(0, 50, 1),
invalidate=True,
),
desc.IntParam(
name="minInputFrames",
@ -100,7 +91,6 @@ class CameraCalibration(desc.AVCommandLineNode):
description="Minimum number of frames to limit the refinement loop.",
value=10,
range=(0, 100, 1),
invalidate=True,
),
desc.FloatParam(
name="maxTotalAvgErr",
@ -108,21 +98,18 @@ class CameraCalibration(desc.AVCommandLineNode):
description="Maximum total average error.",
value=0.10000000000000001,
range=(0.0, 1.0, 0.01),
invalidate=True,
),
desc.File(
name="debugRejectedImgFolder",
label="Debug Rejected Img Folder",
description="Folder to export images that were deleted during the refinement loop.",
value="",
invalidate=True,
),
desc.File(
name="debugSelectedImgFolder",
label="Debug Selected Img Folder",
description="Folder to export debug images.",
value="",
invalidate=True,
),
desc.ChoiceParam(
name="verboseLevel",
@ -131,7 +118,6 @@ class CameraCalibration(desc.AVCommandLineNode):
values=VERBOSE_LEVEL,
value="info",
exclusive=True,
invalidate=False,
),
]
@ -141,6 +127,5 @@ class CameraCalibration(desc.AVCommandLineNode):
label="Output",
description="Output filename for intrinsic [and extrinsic] parameters.",
value=desc.Node.internalFolder + "/cameraCalibration.cal",
invalidate=False,
),
]