mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-04-29 18:27:23 +02:00
[nodes] ImageProcessing: add new option to fix non finite pixels
This commit is contained in:
parent
4e5446a7ce
commit
6ad8ed0396
2 changed files with 10 additions and 1 deletions
|
@ -249,6 +249,7 @@ def panoramaHdrPipeline(graph):
|
||||||
|
|
||||||
imageProcessing = graph.addNewNode('ImageProcessing',
|
imageProcessing = graph.addNewNode('ImageProcessing',
|
||||||
input=panoramaCompositing.output,
|
input=panoramaCompositing.output,
|
||||||
|
fixNonFinite=True,
|
||||||
fillHoles=True,
|
fillHoles=True,
|
||||||
extension='exr')
|
extension='exr')
|
||||||
|
|
||||||
|
|
|
@ -86,6 +86,13 @@ Convert or apply filtering to the input images.
|
||||||
value=False,
|
value=False,
|
||||||
uid=[0],
|
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(
|
desc.BoolParam(
|
||||||
name='exposureCompensation',
|
name='exposureCompensation',
|
||||||
label='Exposure Compensation',
|
label='Exposure Compensation',
|
||||||
|
@ -120,7 +127,8 @@ Convert or apply filtering to the input images.
|
||||||
desc.BoolParam(
|
desc.BoolParam(
|
||||||
name='fillHoles',
|
name='fillHoles',
|
||||||
label='Fill Holes',
|
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,
|
value=False,
|
||||||
uid=[0],
|
uid=[0],
|
||||||
),
|
),
|
||||||
|
|
Loading…
Add table
Reference in a new issue