mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-06-14 00:31:58 +02:00
[nodes] Masking: Add parameter to specify the extension of the masks
Add the `maskExtension` parameter to specify the extension (by default, "png") of the masks that are to be loaded.
This commit is contained in:
parent
6af1607b35
commit
f9d8a1da02
2 changed files with 20 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
__version__ = "1.0"
|
__version__ = "1.1"
|
||||||
|
|
||||||
from meshroom.core import desc
|
from meshroom.core import desc
|
||||||
|
|
||||||
|
@ -47,6 +47,15 @@ Decimate triangles based on image masks.
|
||||||
label="Masks Folders",
|
label="Masks Folders",
|
||||||
description="Use masks from specific folder(s). Filename should be the same or the image UID.",
|
description="Use masks from specific folder(s). Filename should be the same or the image UID.",
|
||||||
),
|
),
|
||||||
|
desc.ChoiceParam(
|
||||||
|
name="maskExtension",
|
||||||
|
label="Mask Extension",
|
||||||
|
description="File extension for the masks to use.",
|
||||||
|
value="png",
|
||||||
|
values=["exr", "jpg", "png"],
|
||||||
|
exclusive=True,
|
||||||
|
uid=[0]
|
||||||
|
),
|
||||||
desc.IntParam(
|
desc.IntParam(
|
||||||
name="threshold",
|
name="threshold",
|
||||||
label="Threshold",
|
label="Threshold",
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
__version__ = "3.0"
|
__version__ = "3.1"
|
||||||
|
|
||||||
from meshroom.core import desc
|
from meshroom.core import desc
|
||||||
|
|
||||||
|
@ -46,6 +46,15 @@ This node export undistorted images so the depth map and texturing can be comput
|
||||||
label="Masks Folders",
|
label="Masks Folders",
|
||||||
description="Use masks from specific folder(s). Filename should be the same or the image UID.",
|
description="Use masks from specific folder(s). Filename should be the same or the image UID.",
|
||||||
),
|
),
|
||||||
|
desc.ChoiceParam(
|
||||||
|
name="maskExtension",
|
||||||
|
label="Mask Extension",
|
||||||
|
description="File extension for the masks to use.",
|
||||||
|
value="png",
|
||||||
|
values=["exr", "jpg", "png"],
|
||||||
|
exclusive=True,
|
||||||
|
uid=[0]
|
||||||
|
),
|
||||||
desc.ChoiceParam(
|
desc.ChoiceParam(
|
||||||
name="outputFileType",
|
name="outputFileType",
|
||||||
label="Output File Type",
|
label="Output File Type",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue