Merge pull request #464 from alicevision/dev_texturing_multiband

Multi-band blending texturing
This commit is contained in:
Fabien Castan 2019-06-21 00:14:46 +02:00 committed by GitHub
commit cc476d40ed
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 33 additions and 9 deletions

View file

@ -86,23 +86,45 @@ class Texturing(desc.CommandLineNode):
name='padding',
label='Padding',
description='''Texture edge padding size in pixel''',
value=15,
range=(0, 100, 1),
value=5,
range=(0, 20, 1),
uid=[0],
advanced=True,
),
desc.BoolParam(
name='useScore',
label='Use Score',
description='Use triangles scores for multiband blending.',
value=True,
uid=[0],
advanced=True,
),
desc.IntParam(
name='maxNbImagesForFusion',
label='Max Number of Images For Fusion',
description='''Max number of images to combine to create the final texture''',
value=3,
range=(0, 10, 1),
name='multiBandDownscale',
label='Multi Band Downscale',
description='''Width of frequency bands for multiband blending''',
value=4,
range=(0, 8, 2),
uid=[0],
advanced=True,
),
desc.GroupAttribute(
name="multiBandNbContrib",
label="MultiBand contributions",
groupDesc=[
desc.IntParam(name="high", label="High Freq", description="High Frequency Band", value=1, uid=[0], range=None),
desc.IntParam(name="midHigh", label="Mid-High Freq", description="Mid-High Frequency Band", value=5, uid=[0], range=None),
desc.IntParam(name="midLow", label="Mid-Low Freq", description="Mid-Low Frequency Band", value=10, uid=[0], range=None),
desc.IntParam(name="low", label="Low Freq", description="Low Frequency Band", value=0, uid=[0], range=None),
],
description='''Number of contributions per frequency band for multiband blending (each frequency band also contributes to lower bands)''',
advanced=True,
),
desc.FloatParam(
name='bestScoreThreshold',
label='Best Score Threshold',
description='''(0.0 to disable filtering based on threshold to relative best score)''',
value=0.0,
value=0.1,
range=(0.0, 1.0, 0.01),
uid=[0],
advanced=True,