Skip to content

Commit

Permalink
Merge pull request #1026 from alicevision/dev/graphcutCompositing
Browse files Browse the repository at this point in the history
[nodes] PanoramaCompositing: add a new graphcut option to improve seams
  • Loading branch information
fabiencastan authored Sep 4, 2020
2 parents d215aa1 + 11af1cc commit f20db3a
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
4 changes: 2 additions & 2 deletions meshroom/nodes/aliceVision/ImageProcessing.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,8 @@ class ImageProcessing(desc.CommandLineNode):
),
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],
),
Expand Down
12 changes: 10 additions & 2 deletions meshroom/nodes/aliceVision/PanoramaCompositing.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,15 +54,23 @@ class PanoramaCompositing(desc.CommandLineNode):
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]
Expand Down

0 comments on commit f20db3a

Please sign in to comment.