mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-08-06 10:18:42 +02:00
[nodes] Improve labels and descriptions for distortion calibration nodes
This commit is contained in:
parent
e895808e92
commit
73332694fa
4 changed files with 11 additions and 11 deletions
|
@ -31,8 +31,8 @@ Overwrite intrinsics with a calibrated intrinsic.
|
||||||
outputs = [
|
outputs = [
|
||||||
desc.File(
|
desc.File(
|
||||||
name='output',
|
name='output',
|
||||||
label='SfMData File.',
|
label='SfMData File',
|
||||||
description='Path to the output sfmData file.',
|
description='Path to the output SfMData file.',
|
||||||
value=desc.Node.internalFolder + 'sfmData.sfm',
|
value=desc.Node.internalFolder + 'sfmData.sfm',
|
||||||
uid=[],
|
uid=[],
|
||||||
),
|
),
|
||||||
|
|
|
@ -89,12 +89,12 @@ Intrinsic = [
|
||||||
name="distortionParams",
|
name="distortionParams",
|
||||||
elementDesc=desc.FloatParam(name="p", label="", description="", value=0.0, uid=[0], range=(-0.1, 0.1, 0.01)),
|
elementDesc=desc.FloatParam(name="p", label="", description="", value=0.0, uid=[0], range=(-0.1, 0.1, 0.01)),
|
||||||
label="Distortion Params",
|
label="Distortion Params",
|
||||||
description="Distortion Parameters",
|
description="Distortion parameters.",
|
||||||
),
|
),
|
||||||
desc.GroupAttribute(
|
desc.GroupAttribute(
|
||||||
name="undistortionOffset",
|
name="undistortionOffset",
|
||||||
label="Undistortion Offset",
|
label="Undistortion Offset",
|
||||||
description="Undistortion Offset",
|
description="Undistortion offset.",
|
||||||
groupDesc=[
|
groupDesc=[
|
||||||
desc.FloatParam(name="x", label="x", description="", value=0.0, uid=[0], range=(0.0, 10000.0, 1.0)),
|
desc.FloatParam(name="x", label="x", description="", value=0.0, uid=[0], range=(0.0, 10000.0, 1.0)),
|
||||||
desc.FloatParam(name="y", label="y", description="", value=0.0, uid=[0], range=(0.0, 10000.0, 1.0)),
|
desc.FloatParam(name="y", label="y", description="", value=0.0, uid=[0], range=(0.0, 10000.0, 1.0)),
|
||||||
|
@ -104,7 +104,7 @@ Intrinsic = [
|
||||||
name="undistortionParams",
|
name="undistortionParams",
|
||||||
elementDesc=desc.FloatParam(name="p", label="", description="", value=0.0, uid=[0], range=(-0.1, 0.1, 0.01)),
|
elementDesc=desc.FloatParam(name="p", label="", description="", value=0.0, uid=[0], range=(-0.1, 0.1, 0.01)),
|
||||||
label="Undistortion Params",
|
label="Undistortion Params",
|
||||||
description="Undistortion Parameters"
|
description="Undistortion parameters."
|
||||||
),
|
),
|
||||||
desc.BoolParam(name='locked', label='Locked',
|
desc.BoolParam(name='locked', label='Locked',
|
||||||
description='If the camera has been calibrated, the internal camera parameters (intrinsics) can be locked. It should improve robustness and speedup the reconstruction.',
|
description='If the camera has been calibrated, the internal camera parameters (intrinsics) can be locked. It should improve robustness and speedup the reconstruction.',
|
||||||
|
|
|
@ -15,14 +15,14 @@ Calibration of a camera/lens couple distortion using a full screen checkerboard.
|
||||||
inputs = [
|
inputs = [
|
||||||
desc.File(
|
desc.File(
|
||||||
name='input',
|
name='input',
|
||||||
label='SfmData',
|
label='Input SfMData',
|
||||||
description='SfmData File.',
|
description='SfMData file.',
|
||||||
value='',
|
value='',
|
||||||
uid=[0],
|
uid=[0],
|
||||||
),
|
),
|
||||||
desc.File(
|
desc.File(
|
||||||
name='checkerboards',
|
name='checkerboards',
|
||||||
label='Checkerboards folder',
|
label='Checkerboards Folder',
|
||||||
description='Folder containing checkerboard JSON files.',
|
description='Folder containing checkerboard JSON files.',
|
||||||
value='',
|
value='',
|
||||||
uid=[0],
|
uid=[0],
|
||||||
|
@ -41,8 +41,8 @@ Calibration of a camera/lens couple distortion using a full screen checkerboard.
|
||||||
outputs = [
|
outputs = [
|
||||||
desc.File(
|
desc.File(
|
||||||
name='output',
|
name='output',
|
||||||
label='SfmData File',
|
label='SfMData File',
|
||||||
description='Path to the output sfmData file.',
|
description='Path to the output SfMData file.',
|
||||||
value=desc.Node.internalFolder + 'sfmData.sfm',
|
value=desc.Node.internalFolder + 'sfmData.sfm',
|
||||||
uid=[],
|
uid=[],
|
||||||
)
|
)
|
||||||
|
|
|
@ -24,7 +24,7 @@ Export the distortion model and parameters of cameras in a SfM scene.
|
||||||
desc.File(
|
desc.File(
|
||||||
name='output',
|
name='output',
|
||||||
label='Folder',
|
label='Folder',
|
||||||
description='',
|
description='Output folder.',
|
||||||
value=desc.Node.internalFolder,
|
value=desc.Node.internalFolder,
|
||||||
uid=[],
|
uid=[],
|
||||||
),
|
),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue