diff --git a/meshroom/multiview.py b/meshroom/multiview.py index f9448f380b..b6c6f02885 100644 --- a/meshroom/multiview.py +++ b/meshroom/multiview.py @@ -249,6 +249,7 @@ def panoramaHdrPipeline(graph): imageProcessing = graph.addNewNode('ImageProcessing', input=panoramaCompositing.output, + fixNonFinite=True, fillHoles=True, extension='exr') diff --git a/meshroom/nodes/aliceVision/ImageProcessing.py b/meshroom/nodes/aliceVision/ImageProcessing.py index 6ae880e9bc..32298d8077 100644 --- a/meshroom/nodes/aliceVision/ImageProcessing.py +++ b/meshroom/nodes/aliceVision/ImageProcessing.py @@ -86,6 +86,13 @@ class ImageProcessing(desc.CommandLineNode): 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 @@ class ImageProcessing(desc.CommandLineNode): 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], ),