mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-06-11 07:11:52 +02:00
[nodes] expose image storageDataType on some nodes
This commit is contained in:
parent
f9a6f7de68
commit
03f45be0ee
3 changed files with 39 additions and 0 deletions
|
@ -140,6 +140,19 @@ class LdrToHdrMerge(desc.CommandLineNode):
|
||||||
uid=[0],
|
uid=[0],
|
||||||
enabled= lambda node: node.byPass.enabled and not node.byPass.value and node.highlightCorrectionFactor.value != 0,
|
enabled= lambda node: node.byPass.enabled and not node.byPass.value and node.highlightCorrectionFactor.value != 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'],
|
||||||
|
exclusive=True,
|
||||||
|
uid=[0],
|
||||||
|
),
|
||||||
desc.ChoiceParam(
|
desc.ChoiceParam(
|
||||||
name='verboseLevel',
|
name='verboseLevel',
|
||||||
label='Verbose Level',
|
label='Verbose Level',
|
||||||
|
|
|
@ -64,6 +64,19 @@ Multiple cameras are contributing to the low frequencies and only the best one c
|
||||||
value=True,
|
value=True,
|
||||||
uid=[0],
|
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'],
|
||||||
|
exclusive=True,
|
||||||
|
uid=[0],
|
||||||
|
),
|
||||||
desc.ChoiceParam(
|
desc.ChoiceParam(
|
||||||
name='overlayType',
|
name='overlayType',
|
||||||
label='Overlay Type',
|
label='Overlay Type',
|
||||||
|
|
|
@ -56,6 +56,19 @@ Compute the image warping for each input image in the panorama coordinate system
|
||||||
enabled=lambda node: (node.estimateResolution.value),
|
enabled=lambda node: (node.estimateResolution.value),
|
||||||
uid=[0]
|
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'],
|
||||||
|
exclusive=True,
|
||||||
|
uid=[0],
|
||||||
|
),
|
||||||
desc.ChoiceParam(
|
desc.ChoiceParam(
|
||||||
name='verboseLevel',
|
name='verboseLevel',
|
||||||
label='Verbose Level',
|
label='Verbose Level',
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue