mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-08-02 16:28:51 +02:00
[nodes] LdrToHdr: enable highlights boolean option
This commit is contained in:
parent
ee37d6a14d
commit
7769cd47bf
1 changed files with 11 additions and 2 deletions
|
@ -104,6 +104,15 @@ class LdrToHdrMerge(desc.CommandLineNode):
|
|||
advanced=True,
|
||||
enabled= lambda node: node.byPass.enabled and not node.byPass.value,
|
||||
),
|
||||
desc.BoolParam(
|
||||
name='enableHighlight',
|
||||
label='Enable Highlight',
|
||||
description="Enable highlights correction.",
|
||||
value=True,
|
||||
uid=[0],
|
||||
group='user', # not used directly on the command line
|
||||
enabled= lambda node: node.byPass.enabled and not node.byPass.value,
|
||||
),
|
||||
desc.FloatParam(
|
||||
name='highlightCorrectionFactor',
|
||||
label='Highlights Correction',
|
||||
|
@ -115,7 +124,7 @@ class LdrToHdrMerge(desc.CommandLineNode):
|
|||
value=1.0,
|
||||
range=(0.0, 1.0, 0.01),
|
||||
uid=[0],
|
||||
enabled= lambda node: node.byPass.enabled and not node.byPass.value,
|
||||
enabled= lambda node: node.enableHighlight.enabled and node.enableHighlight.value,
|
||||
),
|
||||
desc.FloatParam(
|
||||
name='highlightTargetLux',
|
||||
|
@ -138,7 +147,7 @@ class LdrToHdrMerge(desc.CommandLineNode):
|
|||
value=120000.0,
|
||||
range=(1000.0, 150000.0, 1.0),
|
||||
uid=[0],
|
||||
enabled= lambda node: node.byPass.enabled and not node.byPass.value and node.highlightCorrectionFactor.value != 0,
|
||||
enabled= lambda node: node.enableHighlight.enabled and node.enableHighlight.value and node.highlightCorrectionFactor.value != 0,
|
||||
),
|
||||
desc.ChoiceParam(
|
||||
name='storageDataType',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue