mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-05-10 07:36:52 +02:00
Merge branch 'develop' of https://github.com/alicevision/meshroom into dev/panoramaFisheye
This commit is contained in:
commit
0cd9e1fdc2
1 changed files with 88 additions and 7 deletions
|
@ -17,15 +17,27 @@ Convert or apply filtering to the input images.
|
|||
desc.File(
|
||||
name='input',
|
||||
label='Input',
|
||||
description='SfMData file.',
|
||||
description='SfMData file input, image filenames or regex(es) on the image file path.\nsupported regex: \'#\' matches a single digit, \'@\' one or more digits, \'?\' one character and \'*\' zero or more.',
|
||||
value='',
|
||||
uid=[0],
|
||||
),
|
||||
desc.ListAttribute(
|
||||
elementDesc=desc.File(
|
||||
name="imagesFolder",
|
||||
label="Images Folder",
|
||||
description="",
|
||||
value="",
|
||||
uid=[0],
|
||||
),
|
||||
name="inputFolders",
|
||||
label="Images input Folders",
|
||||
description='Use images from specific folder(s).',
|
||||
),
|
||||
desc.ChoiceParam(
|
||||
name='extension',
|
||||
label='File Extension',
|
||||
description='File Extension. If empty, use the input file type.',
|
||||
value='exr',
|
||||
label='Output File Extension',
|
||||
description='Output Image File Extension.',
|
||||
value='',
|
||||
values=['', 'exr', 'jpg', 'tiff', 'png'],
|
||||
exclusive=True,
|
||||
uid=[0],
|
||||
|
@ -52,9 +64,9 @@ Convert or apply filtering to the input images.
|
|||
uid=[0],
|
||||
),
|
||||
desc.FloatParam(
|
||||
name='downscale',
|
||||
label='Downscale',
|
||||
description='Downscale.',
|
||||
name='scaleFactor',
|
||||
label='ScaleFactor',
|
||||
description='Scale Factor.',
|
||||
value=1.0,
|
||||
range=(0.0, 1.0, 0.01),
|
||||
uid=[0],
|
||||
|
@ -75,6 +87,13 @@ Convert or apply filtering to the input images.
|
|||
range=(0, 10, 1),
|
||||
uid=[0],
|
||||
),
|
||||
desc.BoolParam(
|
||||
name='fillHoles',
|
||||
label='Fill holes',
|
||||
description='Fill holes.',
|
||||
value=False,
|
||||
uid=[0],
|
||||
),
|
||||
desc.IntParam(
|
||||
name='sharpenWidth',
|
||||
label='Sharpen Width',
|
||||
|
@ -99,6 +118,60 @@ Convert or apply filtering to the input images.
|
|||
range=(0.0, 1.0, 0.01),
|
||||
uid=[0],
|
||||
),
|
||||
desc.BoolParam(
|
||||
name='bilateralFilter',
|
||||
label='Bilateral Filter',
|
||||
description='Bilateral Filter.',
|
||||
value=False,
|
||||
uid=[0],
|
||||
),
|
||||
desc.IntParam(
|
||||
name='bilateralFilterDistance',
|
||||
label='Bilateral Filter Distance',
|
||||
description='Diameter of each pixel neighborhood that is used during bilateral filtering.\nCould be very slow for large filters, so it is recommended to use 5.',
|
||||
value=0,
|
||||
range=(0, 9, 1),
|
||||
uid=[0],
|
||||
),
|
||||
desc.FloatParam(
|
||||
name='bilateralFilterSigmaSpace',
|
||||
label='Bilateral Filter Sigma Space',
|
||||
description='Bilateral Filter sigma in the coordinate space.',
|
||||
value=0.0,
|
||||
range=(0.0, 150.0, 0.01),
|
||||
uid=[0],
|
||||
),
|
||||
desc.FloatParam(
|
||||
name='bilateralFilterSigmaColor',
|
||||
label='Bilateral Filter Sigma Color Space',
|
||||
description='Bilateral Filter sigma in the color space.',
|
||||
value=0.0,
|
||||
range=(0.0, 150.0, 0.01),
|
||||
uid=[0],
|
||||
),
|
||||
desc.BoolParam(
|
||||
name='claheFilter',
|
||||
label='Clahe Filter',
|
||||
description='Use Contrast Limited Adaptive Histogram Equalization (CLAHE) Filter.',
|
||||
value=False,
|
||||
uid=[0],
|
||||
),
|
||||
desc.FloatParam(
|
||||
name='claheClipLimit',
|
||||
label='Clahe Clip Limit.',
|
||||
description='Sets Threshold For Contrast Limiting.',
|
||||
value=4.0,
|
||||
range=(0.0, 8.0, 1.0),
|
||||
uid=[0],
|
||||
),
|
||||
desc.IntParam(
|
||||
name='claheTileGridSize',
|
||||
label='Clahe Tile Grid Size.',
|
||||
description='Sets Size Of Grid For Histogram Equalization. Input Image Will Be Divided Into Equally Sized Rectangular Tiles.',
|
||||
value=8,
|
||||
range=(4, 64, 4),
|
||||
uid=[0],
|
||||
),
|
||||
desc.ChoiceParam(
|
||||
name='verboseLevel',
|
||||
label='Verbose Level',
|
||||
|
@ -118,4 +191,12 @@ Convert or apply filtering to the input images.
|
|||
value=desc.Node.internalFolder + 'sfmData.abc',
|
||||
uid=[],
|
||||
),
|
||||
desc.File(
|
||||
name='outputFolder',
|
||||
label='Output Images Folder',
|
||||
description='Output Images Folder.',
|
||||
value=desc.Node.internalFolder,
|
||||
group='', # do not export on the command line
|
||||
uid=[],
|
||||
),
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue