[nodes] ImageProcessing: add new option to fix non finite pixels

This commit is contained in:
Fabien Castan 2020-09-11 13:04:16 +02:00
parent 4e5446a7ce
commit 6ad8ed0396
2 changed files with 10 additions and 1 deletions

View file

@ -249,6 +249,7 @@ def panoramaHdrPipeline(graph):
imageProcessing = graph.addNewNode('ImageProcessing',
input=panoramaCompositing.output,
fixNonFinite=True,
fillHoles=True,
extension='exr')

View file

@ -86,6 +86,13 @@ Convert or apply filtering to the input images.
value=False,
uid=[0],
),
desc.BoolParam(
name='fixNonFinite',
label='Fix Non-Finite',
description='Fix non-finite pixels based on neighboring pixels average.',
value=False,
uid=[0],
),
desc.BoolParam(
name='exposureCompensation',
label='Exposure Compensation',
@ -120,7 +127,8 @@ Convert or apply filtering to the input images.
desc.BoolParam(
name='fillHoles',
label='Fill Holes',
description='Fill holes based on the alpha channel.',
description='Fill holes based on the alpha channel.\n'
'Note: It will enable fixNonFinite, as it is required for the image pyramid construction used to fill holes.',
value=False,
uid=[0],
),