mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-08-03 16:58:24 +02:00
[nodes] M-P: Harmonize and improve labels and descriptions
Use CamelCase for all labels, always end descriptions with periods, and replace the mixed use of single and double quotes with double quotes only.
This commit is contained in:
parent
3146dcface
commit
41280dc22a
19 changed files with 920 additions and 906 deletions
|
@ -24,106 +24,106 @@ Multiple cameras are contributing to the low frequencies and only the best one c
|
|||
|
||||
inputs = [
|
||||
desc.File(
|
||||
name='input',
|
||||
label='Input SfMData',
|
||||
description="Input SfMData.",
|
||||
value='',
|
||||
name="input",
|
||||
label="Input SfMData",
|
||||
description="Input SfMData file.",
|
||||
value="",
|
||||
uid=[0],
|
||||
),
|
||||
desc.File(
|
||||
name='warpingFolder',
|
||||
label='Warping Folder',
|
||||
description="Panorama Warping results",
|
||||
value='',
|
||||
name="warpingFolder",
|
||||
label="Warping Folder",
|
||||
description="Panorama warping results folder.",
|
||||
value="",
|
||||
uid=[0],
|
||||
),
|
||||
desc.File(
|
||||
name='labels',
|
||||
label='Labels image',
|
||||
description="Panorama Seams results",
|
||||
value='',
|
||||
name="labels",
|
||||
label="Labels Images",
|
||||
description="Panorama seams results images.",
|
||||
value="",
|
||||
uid=[0],
|
||||
),
|
||||
desc.ChoiceParam(
|
||||
name='compositerType',
|
||||
label='Compositer Type',
|
||||
description='Which compositer should be used to blend images:\n'
|
||||
' * multiband: high quality transition by fusing images by frequency bands\n'
|
||||
' * replace: debug option with straight transitions\n'
|
||||
' * alpha: debug option with linear transitions\n',
|
||||
value='multiband',
|
||||
values=['replace', 'alpha', 'multiband'],
|
||||
name="compositerType",
|
||||
label="Compositer Type",
|
||||
description="Which compositer should be used to blend images:\n"
|
||||
" - multiband: high quality transition by fusing images by frequency bands.\n"
|
||||
" - replace: debug option with straight transitions.\n"
|
||||
" - alpha: debug option with linear transitions.",
|
||||
value="multiband",
|
||||
values=["replace", "alpha", "multiband"],
|
||||
exclusive=True,
|
||||
uid=[0]
|
||||
),
|
||||
desc.IntParam(
|
||||
name='forceMinPyramidLevels',
|
||||
label='Min Pyramid Levels',
|
||||
description='Force the minimal number of levels in the pyramid for multiband compositer.',
|
||||
name="forceMinPyramidLevels",
|
||||
label="Min Pyramid Levels",
|
||||
description="Force the minimal number of levels in the pyramid for multiband compositer.",
|
||||
value=0,
|
||||
range=(0, 16, 1),
|
||||
uid=[0],
|
||||
enabled=lambda node: node.compositerType.value and node.compositerType.value == 'multiband',
|
||||
enabled=lambda node: node.compositerType.value and node.compositerType.value == "multiband",
|
||||
),
|
||||
desc.IntParam(
|
||||
name='maxThreads',
|
||||
label='Max Nb Threads',
|
||||
description='Specifies the maximum number of threads to run simultaneously.',
|
||||
name="maxThreads",
|
||||
label="Max Nb Threads",
|
||||
description="Specifies the maximum number of threads to run simultaneously.",
|
||||
value=4,
|
||||
range=(0, 48, 1),
|
||||
uid=[],
|
||||
advanced=True,
|
||||
),
|
||||
desc.BoolParam(
|
||||
name='useTiling',
|
||||
label='Use tiling',
|
||||
description='''Enable tiling mode for parallelization''',
|
||||
name="useTiling",
|
||||
label="Use Tiling",
|
||||
description="Enable tiling mode for parallelization.",
|
||||
value=True,
|
||||
uid=[0],
|
||||
),
|
||||
desc.ChoiceParam(
|
||||
name='storageDataType',
|
||||
label='Storage Data Type',
|
||||
description='Storage image data type:\n'
|
||||
' * float: Use full floating point (32 bits per channel)\n'
|
||||
' * half: Use half float (16 bits per channel)\n'
|
||||
' * halfFinite: Use half float, but clamp values to avoid non-finite values\n'
|
||||
' * auto: Use half float if all values can fit, else use full float\n',
|
||||
value='float',
|
||||
values=['float', 'half', 'halfFinite', 'auto'],
|
||||
name="storageDataType",
|
||||
label="Storage Data Type",
|
||||
description="Storage image data type:\n"
|
||||
" - float: Use full floating point (32 bits per channel).\n"
|
||||
" - half: Use half float (16 bits per channel).\n"
|
||||
" - halfFinite: Use half float, but clamp values to avoid non-finite values.\n"
|
||||
" - auto: Use half float if all values can fit, else use full float.",
|
||||
value="float",
|
||||
values=["float", "half", "halfFinite", "auto"],
|
||||
exclusive=True,
|
||||
uid=[0],
|
||||
),
|
||||
desc.ChoiceParam(
|
||||
name='overlayType',
|
||||
label='Overlay Type',
|
||||
description='Overlay on top of panorama to analyze transitions:\n'
|
||||
' * none: no overlay\n'
|
||||
' * borders: display image borders\n'
|
||||
' * seams: display transitions between images\n'
|
||||
' * all: display borders and seams\n',
|
||||
value='none',
|
||||
values=['none', 'borders', 'seams', 'all'],
|
||||
name="overlayType",
|
||||
label="Overlay Type",
|
||||
description="Overlay on top of panorama to analyze transitions:\n"
|
||||
" - none: no overlay.\n"
|
||||
" - borders: display image borders.\n"
|
||||
" - seams: display transitions between images.\n"
|
||||
" - all: display borders and seams.",
|
||||
value="none",
|
||||
values=["none", "borders", "seams", "all"],
|
||||
exclusive=True,
|
||||
advanced=True,
|
||||
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'],
|
||||
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='output',
|
||||
label='Folder',
|
||||
description='',
|
||||
name="output",
|
||||
label="Folder",
|
||||
description="Output folder containing the composited panorama.",
|
||||
value=desc.Node.internalFolder,
|
||||
uid=[],
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue