Skip to content

Commit

Permalink
[nodes] LightingEstimation Add multiple options
Browse files Browse the repository at this point in the history
- lightingEstimationMode
- lightingColor
- albedoEstimationName
- albedoEstimationFilterSize
  • Loading branch information
gregoire-dl committed Feb 12, 2019
1 parent 300ac48 commit 8ed4d3b
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions meshroom/nodes/aliceVision/LightingEstimation.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,45 @@ class LightingEstimation(desc.CommandLineNode):
value='',
uid=[0],
),
desc.ChoiceParam(
name='lightingEstimationMode',
label='Lighting Estimation Mode',
description='Lighting Estimation Mode.',
value='global',
values=['global', 'per_image'],
exclusive=True,
uid=[0],
advanced=True,
),
desc.ChoiceParam(
name='lightingColor',
label='Lighting Color Mode',
description='Lighting Color Mode.',
value='rgb',
values=['RGB', 'Luminance'],
exclusive=True,
uid=[0],
advanced=True,
),
desc.ChoiceParam(
name='albedoEstimationName',
label='Albedo Estimation Name',
description='Albedo estimation method used for light estimation.',
value='constant',
values=['constant', 'picture', 'median_filter', 'blur_filter'],
exclusive=True,
uid=[0],
advanced=True,
),
desc.IntParam(
name='albedoEstimationFilterSize',
label='Albedo Estimation Filter Size',
description='Albedo filter size for estimation method using filter.',
value=3,
range=(0, 100, 1),
uid=[0],
advanced=True,
),
]

outputs = [
Expand Down

0 comments on commit 8ed4d3b

Please sign in to comment.