mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-08-06 10:18:42 +02:00
49 lines
1.3 KiB
Python
49 lines
1.3 KiB
Python
__version__ = '3.0'
|
|
|
|
from meshroom.core import desc
|
|
|
|
|
|
class DistortionCalibration(desc.AVCommandLineNode):
|
|
commandLine = 'aliceVision_distortionCalibration {allParams}'
|
|
size = desc.DynamicNodeSize('input')
|
|
|
|
category = 'Other'
|
|
documentation = '''
|
|
Calibration of a camera/lens couple distortion using a full screen checkerboard.
|
|
'''
|
|
|
|
inputs = [
|
|
desc.File(
|
|
name='input',
|
|
label='Input SfMData',
|
|
description='SfMData file.',
|
|
value='',
|
|
uid=[0],
|
|
),
|
|
desc.File(
|
|
name='checkerboards',
|
|
label='Checkerboards Folder',
|
|
description='Folder containing checkerboard JSON files.',
|
|
value='',
|
|
uid=[0],
|
|
),
|
|
desc.ChoiceParam(
|
|
name='cameraModel',
|
|
label='Camera Model',
|
|
description='Camera model used to estimate distortion.',
|
|
value='3deanamorphic4',
|
|
values=['3deanamorphic4'],
|
|
exclusive=True,
|
|
uid=[0],
|
|
),
|
|
]
|
|
|
|
outputs = [
|
|
desc.File(
|
|
name='output',
|
|
label='SfMData File',
|
|
description='Path to the output SfMData file.',
|
|
value=desc.Node.internalFolder + 'sfmData.sfm',
|
|
uid=[],
|
|
)
|
|
]
|