Merge pull request #1026 from alicevision/dev/graphcutCompositing

[nodes] PanoramaCompositing: add a new graphcut option to improve seams
This commit is contained in:
Fabien Castan 2020-09-04 17:02:07 +02:00 committed by GitHub
commit f20db3abe3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 4 deletions

View file

@ -119,8 +119,8 @@ Convert or apply filtering to the input images.
),
desc.BoolParam(
name='fillHoles',
label='Fill holes',
description='Fill holes.',
label='Fill Holes',
description='Fill holes based on the alpha channel.',
value=False,
uid=[0],
),

View file

@ -54,15 +54,23 @@ Multiple cameras are contributing to the low frequencies and only the best one c
exclusive=True,
uid=[0]
),
desc.BoolParam(
name='useGraphCut',
label='Use Smart Seams',
description='Use a graphcut algorithm to optmize seams for better transitions between images.',
value=True,
uid=[0],
),
desc.ChoiceParam(
name='overlayType',
label='Overlay Type',
description='Overlay on top of panorama to analyze transitions:\n'
' * none: no overlay\n'
' * borders: display image borders\n'
' * seams: display transitions between images\n',
' * seams: display transitions between images\n'
' * all: display borders and seams\n',
value='none',
values=['none', 'borders', 'seams'],
values=['none', 'borders', 'seams', 'all'],
exclusive=True,
advanced=True,
uid=[0]