[nodes][aliceVision] hdr: change descriptions and label parameters

This commit is contained in:
Anouk Liberge 2019-08-07 15:19:43 +02:00
parent 158f026019
commit 6d377e1b7d

View file

@ -33,7 +33,7 @@ class LDRToHDR(desc.CommandLineNode):
" * linear \n"
" * robertson \n"
" * debevec \n"
" * beta: grossberg",
" * grossberg",
values=['linear', 'robertson', 'debevec', 'grossberg'],
value='linear',
exclusive=True,
@ -49,14 +49,18 @@ class LDRToHDR(desc.CommandLineNode):
desc.StringParam(
name='targetExposureImage',
label='Target Exposure Image',
description="LDR image at the target exposure for the output HDR image to be centered.",
description="LDR image(s) name(s) at the target exposure for the output HDR image(s) to be centered.",
value='',
uid=[0],
),
desc.ChoiceParam(
name='calibrationWeight',
label='Calibration Weight',
description="Weight function type (default, gaussian, triangle, plateau).",
description="Weight function used to calibrate camera response \n"
" * default \n"
" * gaussian \n"
" * triangle \n""
" * plateau",
value='default',
values=['default', 'gaussian', 'triangle', 'plateau'],
exclusive=True,
@ -65,16 +69,19 @@ class LDRToHDR(desc.CommandLineNode):
desc.ChoiceParam(
name='fusionWeight',
label='Fusion Weight',
description="Weight function used to fuse all LDR images together (gaussian, triangle, plateau).",
description="Weight function used to fuse all LDR images together \n""
" * gaussian \n"
" * triangle \n"
" * plateau",
value='gaussian',
values=['gaussian', 'triangle', 'plateau'],
exclusive=True,
uid=[0],
),
desc.FloatParam(
name='oversaturatedCorrection',
label='Oversaturated Correction',
description="Oversaturated correction for pixels oversaturated in all images: \n"
name='expandDynamicRange',
label='Expand Dynamic Range',
description="Correction of clamped high values in dynamic range: \n"
" - use 0 for no correction \n"
" - use 0.5 for interior lighting \n"
" - use 1 for outdoor lighting",
@ -82,13 +89,6 @@ class LDRToHDR(desc.CommandLineNode):
range=(0, 1, 0.1),
uid=[0],
),
desc.File(
name='recoverPath',
label='Recover Path',
description="Path to write recovered LDR image at the target exposure by applying inverse response on HDR image.",
value='',
uid=[0],
),
desc.ChoiceParam(
name='verboseLevel',
label='Verbose Level',
@ -98,6 +98,14 @@ class LDRToHDR(desc.CommandLineNode):
exclusive=True,
uid=[],
),
desc.File(
name='recoverPath',
label='Output Recovered Files',
description="(debug) Folder for recovered LDR images at target exposures.",
advanced=True,
value='',
uid=[],
),
]
outputs = [
@ -112,7 +120,7 @@ class LDRToHDR(desc.CommandLineNode):
name='outputResponse',
label='Output Response',
description="Output response function path.",
value=desc.Node.internalFolder + 'response.ods',
value=desc.Node.internalFolder + 'response.csv',
uid=[],
),
]