Skip to content

Commit

Permalink
[node] colorCheckerCorrection: add a correction method choice paramet…
Browse files Browse the repository at this point in the history
…er and add white balancing method.
  • Loading branch information
demoulinv committed Sep 7, 2023
1 parent cdb1b09 commit 8affa35
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions meshroom/nodes/aliceVision/ColorCheckerCorrection.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,16 @@ class ColorCheckerCorrection(desc.AVCommandLineNode):
value="",
uid=[0],
),
desc.BoolParam(
name="luminanceOnly",
label="Luminance Correction Only",
description="Only correct the luminance level.",
value=True,
desc.ChoiceParam(
name="correctionMethod",
label="Correction Level",
description="Level of correction:\n"
" - luminance: Ajust luminance level only.\n"
" - whiteBalance: Apply white balancing in addition to luminance adjustment.\n"
" - full: Full color correction.",
value="luminance",
values=["luminance", "whiteBalance", "full"],
exclusive=True,
uid=[0],
),
desc.BoolParam(
Expand Down

0 comments on commit 8affa35

Please sign in to comment.