[nodes] CameraInit,ImageProcessing: Add parameters related to color profiles management

This commit is contained in:
demoulinv 2022-06-21 15:57:31 +02:00 committed by Fabien Castan
parent 1b65283fb0
commit c0fc6c76a1
2 changed files with 56 additions and 4 deletions

View file

@ -162,6 +162,13 @@ The metadata needed are:
value='${ALICEVISION_SENSOR_DB}',
uid=[],
),
desc.File(
name='colorProfileDatabase',
label='Color Profile Database',
description='''Color Profile database directory path.''',
value='${ALICEVISION_COLOR_PROFILE_DB}',
uid=[],
),
desc.FloatParam(
name='defaultFieldOfView',
label='Default Field Of View',
@ -197,10 +204,19 @@ The metadata needed are:
joinChar=',',
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(
name='useInternalWhiteBalance',
label='Apply internal white balance',
description='Apply image white balance (Only for raw images)',
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],
),