mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-06-07 05:12:00 +02:00
[nodes] CameraInit,ImageProcessing: Add parameters related to color profiles management
This commit is contained in:
parent
1b65283fb0
commit
c0fc6c76a1
2 changed files with 56 additions and 4 deletions
|
@ -162,6 +162,13 @@ The metadata needed are:
|
||||||
value='${ALICEVISION_SENSOR_DB}',
|
value='${ALICEVISION_SENSOR_DB}',
|
||||||
uid=[],
|
uid=[],
|
||||||
),
|
),
|
||||||
|
desc.File(
|
||||||
|
name='colorProfileDatabase',
|
||||||
|
label='Color Profile Database',
|
||||||
|
description='''Color Profile database directory path.''',
|
||||||
|
value='${ALICEVISION_COLOR_PROFILE_DB}',
|
||||||
|
uid=[],
|
||||||
|
),
|
||||||
desc.FloatParam(
|
desc.FloatParam(
|
||||||
name='defaultFieldOfView',
|
name='defaultFieldOfView',
|
||||||
label='Default Field Of View',
|
label='Default Field Of View',
|
||||||
|
@ -197,10 +204,19 @@ The metadata needed are:
|
||||||
joinChar=',',
|
joinChar=',',
|
||||||
advanced=True,
|
advanced=True,
|
||||||
),
|
),
|
||||||
|
desc.ChoiceParam(
|
||||||
|
name='rawColorInterpretation',
|
||||||
|
label='RAW Color Interpretation',
|
||||||
|
description='Allows you to choose how raw data are color processed.',
|
||||||
|
value='LibRawNoWhiteBalancing',
|
||||||
|
values=['None', 'LibRawNoWhiteBalancing', 'LibRawWhiteBalancing', 'DCPLinearProcessing', 'DCPMetadata'],
|
||||||
|
exclusive=True,
|
||||||
|
uid=[0],
|
||||||
|
),
|
||||||
desc.BoolParam(
|
desc.BoolParam(
|
||||||
name='useInternalWhiteBalance',
|
name='errorOnMissingColorProfile',
|
||||||
label='Apply internal white balance',
|
label='Error On Missing DCP Color Profile',
|
||||||
description='Apply image white balance (Only for raw images)',
|
description='If a color profile database is specified but no color profile is found for at least one image, then an error is thrown',
|
||||||
value=True,
|
value=True,
|
||||||
uid=[0],
|
uid=[0],
|
||||||
),
|
),
|
||||||
|
|
|
@ -301,10 +301,46 @@ Convert or apply filtering to the input images.
|
||||||
label='Output Color Space',
|
label='Output Color Space',
|
||||||
description='Allows you to choose the color space of the output image.',
|
description='Allows you to choose the color space of the output image.',
|
||||||
value='AUTO',
|
value='AUTO',
|
||||||
values=['AUTO', 'sRGB', 'Linear', 'ACES2065-1', 'ACEScg'],
|
values=['AUTO', 'sRGB', 'Linear', 'ACES2065-1', 'ACEScg', 'no_conversion'],
|
||||||
exclusive=True,
|
exclusive=True,
|
||||||
uid=[0],
|
uid=[0],
|
||||||
),
|
),
|
||||||
|
desc.ChoiceParam(
|
||||||
|
name='workingColorSpace',
|
||||||
|
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'],
|
||||||
|
exclusive=True,
|
||||||
|
uid=[0],
|
||||||
|
),
|
||||||
|
|
||||||
|
desc.ChoiceParam(
|
||||||
|
name='rawColorInterpretation',
|
||||||
|
label='RAW Color Interpretation',
|
||||||
|
description='Allows you to choose how raw data are color processed.',
|
||||||
|
value='LibRawNoWhiteBalancing',
|
||||||
|
values=['None', 'LibRawNoWhiteBalancing', 'LibRawWhiteBalancing', 'DCPLinearProcessing', 'DCPMetadata', 'Auto'],
|
||||||
|
exclusive=True,
|
||||||
|
uid=[0],
|
||||||
|
),
|
||||||
|
|
||||||
|
desc.File(
|
||||||
|
name='colorProfileDatabase',
|
||||||
|
label='Color Profile Database',
|
||||||
|
description='''Color Profile database directory path.''',
|
||||||
|
value='${ALICEVISION_COLOR_PROFILE_DB}',
|
||||||
|
uid=[],
|
||||||
|
),
|
||||||
|
|
||||||
|
desc.BoolParam(
|
||||||
|
name='errorOnMissingColorProfile',
|
||||||
|
label='Error On Missing DCP Color Profile',
|
||||||
|
description='If a color profile database is specified but no color profile is found for at least one image, then an error is thrown',
|
||||||
|
value=True,
|
||||||
|
uid=[0],
|
||||||
|
),
|
||||||
|
|
||||||
desc.ChoiceParam(
|
desc.ChoiceParam(
|
||||||
name='storageDataType',
|
name='storageDataType',
|
||||||
label='Storage Data Type for EXR output',
|
label='Storage Data Type for EXR output',
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue