Skip to content

Commit

Permalink
Merge pull request #1983 from alicevision/dev/adjustExposureAndFormat
Browse files Browse the repository at this point in the history
Exposure and format adjustment
  • Loading branch information
mugulmd authored Jun 2, 2023
2 parents d9b5c5e + 7c5e26a commit ff56fe3
Showing 1 changed file with 33 additions and 2 deletions.
35 changes: 33 additions & 2 deletions meshroom/nodes/aliceVision/ImageProcessing.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "3.0"
__version__ = "3.1"

from meshroom.core import desc

Expand Down Expand Up @@ -104,10 +104,25 @@ class ImageProcessing(desc.AVCommandLineNode):
desc.BoolParam(
name='exposureCompensation',
label='Exposure Compensation',
description='Exposure Compensation',
description='Exposure compensation (only valid for sfmData)',
value=False,
uid=[0],
),
desc.BoolParam(
name='rawAutoBright',
label='RAW Auto Bright',
description='Enable automatic exposure adjustment for RAW images',
value=False,
uid=[0],
),
desc.FloatParam(
name='rawExposureAdjust',
label='RAW Exposure Adjustment',
description='Manual exposure adjustment in fstops for RAW images',
value=0.0,
range=(-2.0, 3.0, 0.125),
uid=[0],
),
desc.GroupAttribute(name="lensCorrection", label="Lens Correction", description="Automatic lens correction settings.", joinChar=":", groupDesc=[
desc.BoolParam(
name='lensCorrectionEnabled',
Expand Down Expand Up @@ -150,6 +165,22 @@ class ImageProcessing(desc.AVCommandLineNode):
range=(0.0, 1.0, 0.01),
uid=[0],
),
desc.IntParam(
name='maxWidth',
label='Max Width',
description='Maximal width of the output images (0: ignored).',
value=0,
range=(0, 10000, 1),
uid=[0],
),
desc.IntParam(
name='maxHeight',
label='Max Height',
description='Maximal height of the output images (0: ignored).',
value=0,
range=(0, 10000, 1),
uid=[0],
),
desc.FloatParam(
name='contrast',
label='Contrast',
Expand Down

0 comments on commit ff56fe3

Please sign in to comment.