mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-07-30 14:58:37 +02:00
[nodes] StereoPhotometry: Update nodes' parameters and descriptions
This commit is contained in:
parent
578d1abbf4
commit
f0f5b205bf
4 changed files with 188 additions and 84 deletions
|
@ -1,4 +1,4 @@
|
|||
__version__ = "3.0"
|
||||
__version__ = "1.0"
|
||||
|
||||
from meshroom.core import desc
|
||||
|
||||
|
@ -11,44 +11,53 @@ TODO.
|
|||
'''
|
||||
|
||||
inputs = [
|
||||
desc.File(
|
||||
name='inputJSON',
|
||||
label='Sphere detection file',
|
||||
description='Input file containing spheres centers and radius.',
|
||||
value='',
|
||||
uid=[0],
|
||||
),
|
||||
desc.File(
|
||||
name='inputPath',
|
||||
label='SfmData',
|
||||
label='SfMData',
|
||||
description='Input file. Could be SfMData file or folder.',
|
||||
value='',
|
||||
uid=[0],
|
||||
uid=[0]
|
||||
),
|
||||
desc.File(
|
||||
name='inputJSON',
|
||||
label='Sphere Detection File',
|
||||
description='Input JSON file containing spheres centers and radius.',
|
||||
value='',
|
||||
uid=[0]
|
||||
),
|
||||
desc.BoolParam(
|
||||
name='saveAsModel',
|
||||
label='Save as model',
|
||||
description='Check if this calibration file will be used with other datasets',
|
||||
label='Save As Model',
|
||||
description='Check if this calibration file will be used with other datasets.',
|
||||
value=False,
|
||||
uid=[0],
|
||||
uid=[0]
|
||||
),
|
||||
desc.ChoiceParam(
|
||||
name='method',
|
||||
label='Calibration method',
|
||||
description='Method used for light calibration. Use brightestPoint for shiny sphere and whiteSphere for white matte sphere',
|
||||
label='Calibration Method',
|
||||
description='Method used for light calibration. Use "brightestPoint" for shiny spheres and "whiteSphere" for white matte spheres.',
|
||||
values=['brightestPoint', 'whiteSphere'],
|
||||
value='brightestPoint',
|
||||
exclusive=True,
|
||||
uid=[0],
|
||||
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='outputFile',
|
||||
label='Output light file',
|
||||
label='Light File',
|
||||
description='Light information will be written here.',
|
||||
value=desc.Node.internalFolder +'/lights.json' ,
|
||||
uid=[],
|
||||
uid=[]
|
||||
)
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue