mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-06-10 23:01:59 +02:00
[nodes] update DistortionCalibration to use the output of a Checkerboard Detection
This commit is contained in:
parent
1ace16f537
commit
69887aecc3
1 changed files with 9 additions and 22 deletions
|
@ -1,4 +1,4 @@
|
||||||
__version__ = '2.0'
|
__version__ = '3.0'
|
||||||
|
|
||||||
from meshroom.core import desc
|
from meshroom.core import desc
|
||||||
|
|
||||||
|
@ -7,8 +7,9 @@ class DistortionCalibration(desc.AVCommandLineNode):
|
||||||
commandLine = 'aliceVision_distortionCalibration {allParams}'
|
commandLine = 'aliceVision_distortionCalibration {allParams}'
|
||||||
size = desc.DynamicNodeSize('input')
|
size = desc.DynamicNodeSize('input')
|
||||||
|
|
||||||
|
category = 'Other'
|
||||||
documentation = '''
|
documentation = '''
|
||||||
Calibration of a camera/lens couple distortion using a full screen checkerboard
|
Calibration of a camera/lens couple distortion using a full screen checkerboard.
|
||||||
'''
|
'''
|
||||||
|
|
||||||
inputs = [
|
inputs = [
|
||||||
|
@ -19,26 +20,12 @@ class DistortionCalibration(desc.AVCommandLineNode):
|
||||||
value='',
|
value='',
|
||||||
uid=[0],
|
uid=[0],
|
||||||
),
|
),
|
||||||
desc.ListAttribute(
|
desc.File(
|
||||||
elementDesc=desc.File(
|
name='checkerboards',
|
||||||
name='lensGridImage',
|
label='Checkerboards folder',
|
||||||
label='Lens Grid Image',
|
description='Folder containing checkerboard JSON files',
|
||||||
description='',
|
value='',
|
||||||
value='',
|
uid=[0]
|
||||||
uid=[0],
|
|
||||||
),
|
|
||||||
name='lensGrid',
|
|
||||||
label='Lens Grid Images',
|
|
||||||
description='Lens grid images to estimate the optical distortions.',
|
|
||||||
),
|
|
||||||
desc.ChoiceParam(
|
|
||||||
name='verboseLevel',
|
|
||||||
label='Verbose Level',
|
|
||||||
description='Verbosity level (fatal, error, warning, info, debug, trace).',
|
|
||||||
value='info',
|
|
||||||
values=['fatal', 'error', 'warning', 'info', 'debug', 'trace'],
|
|
||||||
exclusive=True,
|
|
||||||
uid=[],
|
|
||||||
),
|
),
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue