[nodes] StereoPhotometry: Update nodes' parameters and descriptions

This commit is contained in:
Candice Bentéjac 2023-05-31 12:47:52 +02:00
parent 578d1abbf4
commit f0f5b205bf
4 changed files with 188 additions and 84 deletions

View file

@ -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=[]
)
]