mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-07-23 19:47:39 +02:00
[node] add distortion calibration node
This commit is contained in:
parent
cc99906dae
commit
db1406a3b1
1 changed files with 41 additions and 0 deletions
41
meshroom/nodes/aliceVision/DistortionCalibration.py
Normal file
41
meshroom/nodes/aliceVision/DistortionCalibration.py
Normal file
|
@ -0,0 +1,41 @@
|
||||||
|
__version__ = "2.0"
|
||||||
|
|
||||||
|
from meshroom.core import desc
|
||||||
|
|
||||||
|
|
||||||
|
class DistortionCalibration(desc.CommandLineNode):
|
||||||
|
commandLine = 'aliceVision_distortionCalibration {allParams}'
|
||||||
|
size = desc.DynamicNodeSize('input')
|
||||||
|
|
||||||
|
documentation = '''
|
||||||
|
Calibration of a camera/lens couple distortion using a full screen checkerboard
|
||||||
|
'''
|
||||||
|
|
||||||
|
inputs = [
|
||||||
|
desc.File(
|
||||||
|
name='input',
|
||||||
|
label='Input',
|
||||||
|
description="SfM Data File",
|
||||||
|
value='',
|
||||||
|
uid=[0],
|
||||||
|
),
|
||||||
|
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=[],
|
||||||
|
),
|
||||||
|
]
|
||||||
|
|
||||||
|
outputs = [
|
||||||
|
desc.File(
|
||||||
|
name='outSfMData',
|
||||||
|
label='Output SfMData File',
|
||||||
|
description='Path to the output sfmdata file',
|
||||||
|
value=desc.Node.internalFolder + 'sfmData.sfm',
|
||||||
|
uid=[],
|
||||||
|
)
|
||||||
|
]
|
Loading…
Add table
Add a link
Reference in a new issue