Skip to content

Commit

Permalink
[HDR calibration & merging] Update parameter set
Browse files Browse the repository at this point in the history
  • Loading branch information
demoulinv committed Jan 5, 2023
1 parent d94a3ae commit 3a03abb
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
8 changes: 0 additions & 8 deletions meshroom/nodes/aliceVision/LdrToHdrCalibration.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,14 +66,6 @@ class LdrToHdrCalibration(desc.AVCommandLineNode):
range=(0, 10, 1),
uid=[0],
),
desc.FloatParam(
name='meanTargetedLumaForMerging',
label='Targeted Luminance For Merging',
description='Expected mean luminance of the HDR images used to compute the final panorama',
value=0.4,
range=(0.0, 1.0, 0.01),
uid=[0],
),
desc.BoolParam(
name='byPass',
label='Bypass',
Expand Down
9 changes: 9 additions & 0 deletions meshroom/nodes/aliceVision/LdrToHdrMerge.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,15 @@ class LdrToHdrMerge(desc.AVCommandLineNode):
uid=[0],
enabled= lambda node: (node.nbBrackets.value != 1 and node.offsetRefBracketIndexEnabled.value),
),
desc.FloatParam(
name='meanTargetedLumaForMerging',
label='Targeted Luminance For Merging',
description='Expected mean luminance of the HDR images used to compute the final panorama',
value=0.4,
range=(0.0, 1.0, 0.01),
uid=[0],
enabled= lambda node: (node.nbBrackets.value != 1 and not node.offsetRefBracketIndexEnabled.value),
),
desc.BoolParam(
name='byPass',
label='Bypass',
Expand Down

0 comments on commit 3a03abb

Please sign in to comment.