mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-06-15 09:11:55 +02:00
[nodes] DistortionCalibration: Calibrate from external list of lens grid images
This commit is contained in:
parent
03a47a9a45
commit
c716bf39d6
1 changed files with 16 additions and 4 deletions
|
@ -14,11 +14,23 @@ class DistortionCalibration(desc.CommandLineNode):
|
||||||
inputs = [
|
inputs = [
|
||||||
desc.File(
|
desc.File(
|
||||||
name='input',
|
name='input',
|
||||||
label='Input',
|
label='SfmData',
|
||||||
description="SfM Data File",
|
description="SfmData File",
|
||||||
value='',
|
value='',
|
||||||
uid=[0],
|
uid=[0],
|
||||||
),
|
),
|
||||||
|
desc.ListAttribute(
|
||||||
|
elementDesc=desc.File(
|
||||||
|
name="lensGridImage",
|
||||||
|
label="Lens Grid Image",
|
||||||
|
description="",
|
||||||
|
value="",
|
||||||
|
uid=[0],
|
||||||
|
),
|
||||||
|
name="lensGrid",
|
||||||
|
label="Lens Grid Images",
|
||||||
|
description="Lens grid images to estimate the optical distortions."
|
||||||
|
),
|
||||||
desc.ChoiceParam(
|
desc.ChoiceParam(
|
||||||
name='verboseLevel',
|
name='verboseLevel',
|
||||||
label='Verbose Level',
|
label='Verbose Level',
|
||||||
|
@ -33,8 +45,8 @@ class DistortionCalibration(desc.CommandLineNode):
|
||||||
outputs = [
|
outputs = [
|
||||||
desc.File(
|
desc.File(
|
||||||
name='outSfMData',
|
name='outSfMData',
|
||||||
label='Output SfMData File',
|
label='Output 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=[],
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue