Skip to content

Commit

Permalink
[Nodes] Add rec709 option as output color space in ImageProcessing, P…
Browse files Browse the repository at this point in the history
…anoramaPostProcessing and Texturing nodes. In ImageProcessing rec709 option is also added as working color space.
  • Loading branch information
demoulinv committed Apr 13, 2023
1 parent f83db77 commit 5e3b8a8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions meshroom/nodes/aliceVision/ImageProcessing.py
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ class ImageProcessing(desc.AVCommandLineNode):
label='Output Color Space',
description='Allows you to choose the color space of the output image.',
value='AUTO',
values=['AUTO', 'sRGB', 'Linear', 'ACES2065-1', 'ACEScg', 'no_conversion'],
values=['AUTO', 'sRGB', 'rec709', 'Linear', 'ACES2065-1', 'ACEScg', 'no_conversion'],
exclusive=True,
uid=[0],
),
Expand All @@ -393,7 +393,7 @@ class ImageProcessing(desc.AVCommandLineNode):
label='Working Color Space',
description='Allows you to choose the color space in which the data are processed.',
value='Linear',
values=['sRGB', 'Linear', 'ACES2065-1', 'ACEScg', 'no_conversion'],
values=['sRGB', 'rec709', 'Linear', 'ACES2065-1', 'ACEScg', 'no_conversion'],
exclusive=True,
uid=[0],
enabled=lambda node: not node.applyDcpMetadata.value,
Expand Down
2 changes: 1 addition & 1 deletion meshroom/nodes/aliceVision/PanoramaPostProcessing.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class PanoramaPostProcessing(desc.CommandLineNode):
label='Output Color Space',
description='Allows you to choose the color space of the output image.',
value='Linear',
values=['sRGB', 'Linear', 'ACES2065-1', 'ACEScg'],
values=['sRGB', 'rec709', 'Linear', 'ACES2065-1', 'ACEScg'],
exclusive=True,
uid=[0],
),
Expand Down
2 changes: 1 addition & 1 deletion meshroom/nodes/aliceVision/Texturing.py
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ class Texturing(desc.AVCommandLineNode):
label='Output Color Space',
description="Color space for the output texture files.",
value='AUTO',
values=('sRGB', 'Linear', 'ACES2065-1', 'ACEScg', 'AUTO'),
values=('sRGB', 'rec709', 'Linear', 'ACES2065-1', 'ACEScg', 'AUTO'),
exclusive=True,
uid=[0],
),
Expand Down

0 comments on commit 5e3b8a8

Please sign in to comment.