[nodes] Use utilitary constants for most common ChoiceParams

This commit is contained in:
Candice Bentéjac 2024-02-08 16:05:33 +01:00
parent b8d14fe6be
commit 0f6ad22d11
73 changed files with 195 additions and 109 deletions

View file

@ -1,6 +1,7 @@
__version__ = "1.0"
from meshroom.core import desc
from meshroom.core.utils import VERBOSE_LEVEL
class ApplyCalibration(desc.AVCommandLineNode):
commandLine = 'aliceVision_applyCalibration {allParams}'
@ -30,8 +31,8 @@ Overwrite intrinsics with a calibrated intrinsic.
name="verboseLevel",
label="Verbose Level",
description="Verbosity level (fatal, error, warning, info, debug, trace).",
values=VERBOSE_LEVEL,
value="info",
values=["fatal", "error", "warning", "info", "debug", "trace"],
exclusive=True,
uid=[],
),

View file

@ -1,6 +1,7 @@
__version__ = "1.0"
from meshroom.core import desc
from meshroom.core.utils import VERBOSE_LEVEL
class CameraCalibration(desc.AVCommandLineNode):
@ -127,8 +128,8 @@ class CameraCalibration(desc.AVCommandLineNode):
name="verboseLevel",
label="Verbose Level",
description="Verbosity level (fatal, error, warning, info, debug, trace).",
values=VERBOSE_LEVEL,
value="info",
values=["fatal", "error", "warning", "info", "debug", "trace"],
exclusive=True,
uid=[],
),

View file

@ -8,6 +8,7 @@ import tempfile
import logging
from meshroom.core import desc, Version
from meshroom.core.utils import RAW_COLOR_INTERPRETATION, VERBOSE_LEVEL
from meshroom.multiview import FilesByType, findFilesByTypeInFolder
Viewpoint = [
@ -260,8 +261,8 @@ The needed metadata are:
" - LibRawWhiteBalancing: Use internal white balancing from libraw.\n"
" - DCPLinearProcessing: Use DCP color profile.\n"
" - DCPMetadata: Same as None with DCP info added in metadata.",
values=RAW_COLOR_INTERPRETATION,
value="DCPLinearProcessing" if os.environ.get("ALICEVISION_COLOR_PROFILE_DB", "") else "LibRawWhiteBalancing",
values=["None", "LibRawNoWhiteBalancing", "LibRawWhiteBalancing", "DCPLinearProcessing", "DCPMetadata"],
exclusive=True,
uid=[0],
),
@ -313,8 +314,8 @@ The needed metadata are:
name="verboseLevel",
label="Verbose Level",
description="Verbosity level (fatal, error, warning, info, debug, trace).",
values=VERBOSE_LEVEL,
value="info",
values=["fatal", "error", "warning", "info", "debug", "trace"],
exclusive=True,
uid=[],
),

View file

@ -2,6 +2,7 @@ __version__ = "1.0"
import os
from meshroom.core import desc
from meshroom.core.utils import DESCRIBER_TYPES, VERBOSE_LEVEL
class CameraLocalization(desc.AVCommandLineNode):
@ -44,8 +45,8 @@ class CameraLocalization(desc.AVCommandLineNode):
name="matchDescTypes",
label="Match Desc Types",
description="Describer types to use for the matching.",
values=DESCRIBER_TYPES,
value=["dspsift"],
values=["sift", "sift_float", "sift_upright", "dspsift", "akaze", "akaze_liop", "akaze_mldb", "cctag3", "cctag4", "sift_ocv", "akaze_ocv"],
exclusive=False,
uid=[0],
joinChar=",",
@ -210,8 +211,8 @@ class CameraLocalization(desc.AVCommandLineNode):
name="verboseLevel",
label="Verbose Level",
description="Verbosity level (fatal, error, warning, info, debug, trace).",
values=VERBOSE_LEVEL,
value="info",
values=["fatal", "error", "warning", "info", "debug", "trace"],
exclusive=True,
uid=[],
),

View file

@ -2,6 +2,7 @@ __version__ = "1.0"
import os
from meshroom.core import desc
from meshroom.core.utils import DESCRIBER_TYPES, VERBOSE_LEVEL
class CameraRigCalibration(desc.AVCommandLineNode):
@ -52,8 +53,8 @@ class CameraRigCalibration(desc.AVCommandLineNode):
name="matchDescTypes",
label="Match Describer Types",
description="The describer types to use for the matching.",
values=DESCRIBER_TYPES,
value=["dspsift"],
values=["sift", "sift_float", "sift_upright", "dspsift", "akaze", "akaze_liop", "akaze_mldb", "cctag3", "cctag4", "sift_ocv", "akaze_ocv"],
exclusive=False,
uid=[0],
joinChar=",",
@ -169,8 +170,8 @@ class CameraRigCalibration(desc.AVCommandLineNode):
name="verboseLevel",
label="Verbose Level",
description="Verbosity level (fatal, error, warning, info, debug, trace).",
values=VERBOSE_LEVEL,
value="info",
values=["fatal", "error", "warning", "info", "debug", "trace"],
exclusive=True,
uid=[],
),

View file

@ -2,6 +2,7 @@ __version__ = "1.0"
import os
from meshroom.core import desc
from meshroom.core.utils import DESCRIBER_TYPES, VERBOSE_LEVEL
class CameraRigLocalization(desc.AVCommandLineNode):
@ -51,8 +52,8 @@ class CameraRigLocalization(desc.AVCommandLineNode):
name="matchDescTypes",
label="Match Describer Types",
description="The describer types to use for the matching.",
values=DESCRIBER_TYPES,
value=["dspsift"],
values=["sift", "sift_float", "sift_upright", "dspsift", "akaze", "akaze_liop", "akaze_mldb", "cctag3", "cctag4", "sift_ocv", "akaze_ocv"],
exclusive=False,
uid=[0],
joinChar=",",
@ -176,8 +177,8 @@ class CameraRigLocalization(desc.AVCommandLineNode):
name="verboseLevel",
label="Verbose Level",
description="Verbosity level (fatal, error, warning, info, debug, trace).",
values=VERBOSE_LEVEL,
value="info",
values=["fatal", "error", "warning", "info", "debug", "trace"],
exclusive=True,
uid=[],
),

View file

@ -1,6 +1,7 @@
__version__ = '1.0'
from meshroom.core import desc
from meshroom.core.utils import VERBOSE_LEVEL
class CheckerboardCalibration(desc.AVCommandLineNode):
@ -39,8 +40,8 @@ Estimate the camera intrinsics and extrinsincs on a set of checkerboard images.
name="verboseLevel",
label="Verbose Level",
description="Verbosity level (fatal, error, warning, info, debug, trace).",
values=VERBOSE_LEVEL,
value="info",
values=["fatal", "error", "warning", "info", "debug", "trace"],
exclusive=True,
uid=[],
),

View file

@ -1,6 +1,7 @@
__version__ = "1.0"
from meshroom.core import desc
from meshroom.core.utils import VERBOSE_LEVEL
class CheckerboardDetection(desc.AVCommandLineNode):
@ -44,6 +45,15 @@ The detection method also supports nested calibration grids.
value=False,
uid=[0],
),
desc.ChoiceParam(
name="verboseLevel",
label="Verbose Level",
description="Verbosity level (fatal, error, warning, info, debug, trace).",
values=VERBOSE_LEVEL,
value="info",
exclusive=True,
uid=[],
),
]
outputs = [

View file

@ -1,6 +1,7 @@
__version__ = "1.0"
from meshroom.core import desc
from meshroom.core.utils import EXR_STORAGE_DATA_TYPE, VERBOSE_LEVEL
import os.path
@ -54,8 +55,8 @@ If multiple color charts are submitted, only the first one will be taken in acco
" - half: Use half float (16 bits per channel).\n"
" - halfFinite: Use half float, but clamp values to avoid non-finite values.\n"
" - auto: Use half float if all values can fit, else use full float.",
values=EXR_STORAGE_DATA_TYPE,
value="float",
values=["float", "half", "halfFinite", "auto"],
exclusive=True,
uid=[0],
),
@ -63,8 +64,8 @@ If multiple color charts are submitted, only the first one will be taken in acco
name="verboseLevel",
label="Verbose Level",
description="Verbosity level (fatal, error, warning, info, debug, trace).",
values=VERBOSE_LEVEL,
value="info",
values=["fatal", "error", "warning", "info", "debug", "trace"],
exclusive=True,
uid=[],
),

View file

@ -1,6 +1,7 @@
__version__ = "1.0"
from meshroom.core import desc
from meshroom.core.utils import VERBOSE_LEVEL
import os.path
@ -55,8 +56,8 @@ Dev notes:
name="verboseLevel",
label="Verbose Level",
description="Verbosity level (fatal, error, warning, info, debug, trace).",
values=VERBOSE_LEVEL,
value="info",
values=["fatal", "error", "warning", "info", "debug", "trace"],
exclusive=True,
uid=[],
),

View file

@ -1,6 +1,7 @@
__version__ = "1.0"
from meshroom.core import desc
from meshroom.core.utils import VERBOSE_LEVEL
class ConvertMesh(desc.AVCommandLineNode):
@ -31,8 +32,8 @@ class ConvertMesh(desc.AVCommandLineNode):
name="verboseLevel",
label="Verbose Level",
description="Verbosity level (fatal, error, warning, info, debug, trace).",
values=VERBOSE_LEVEL,
value="info",
values=["fatal", "error", "warning", "info", "debug", "trace"],
exclusive=True,
uid=[],
),

View file

@ -1,6 +1,7 @@
__version__ = "2.0"
from meshroom.core import desc
from meshroom.core.utils import DESCRIBER_TYPES, VERBOSE_LEVEL
class ConvertSfMFormat(desc.AVCommandLineNode):
@ -35,8 +36,8 @@ It can also be used to remove specific parts of from an SfM scene (like filter a
name="describerTypes",
label="Describer Types",
description="Describer types to keep.",
values=DESCRIBER_TYPES,
value=["dspsift"],
values=["sift", "sift_float", "sift_upright", "dspsift", "akaze", "akaze_liop", "akaze_mldb", "cctag3", "cctag4", "sift_ocv", "akaze_ocv", "tag16h5", "unknown"],
exclusive=False,
uid=[0],
joinChar=",",
@ -92,8 +93,8 @@ It can also be used to remove specific parts of from an SfM scene (like filter a
name="verboseLevel",
label="Verbose Level",
description="Verbosity level (fatal, error, warning, info, debug, trace).",
values=VERBOSE_LEVEL,
value="info",
values=["fatal", "error", "warning", "info", "debug", "trace"],
exclusive=True,
uid=[],
),

View file

@ -1,6 +1,7 @@
__version__ = "5.0"
from meshroom.core import desc
from meshroom.core.utils import VERBOSE_LEVEL
class DepthMap(desc.AVCommandLineNode):
@ -594,8 +595,8 @@ Use a downscale factor of one (full-resolution) only if the quality of the input
name="verboseLevel",
label="Verbose Level",
description="Verbosity level (fatal, error, warning, info, debug, trace).",
values=VERBOSE_LEVEL,
value="info",
values=["fatal", "error", "warning", "info", "debug", "trace"],
exclusive=True,
uid=[],
),

View file

@ -1,6 +1,7 @@
__version__ = "4.0"
from meshroom.core import desc
from meshroom.core.utils import VERBOSE_LEVEL
class DepthMapFilter(desc.AVCommandLineNode):
@ -113,8 +114,8 @@ This allows to filter unstable points before starting the fusion of all depth ma
name="verboseLevel",
label="Verbose Level",
description="Verbosity level (fatal, error, warning, info, debug, trace).",
values=VERBOSE_LEVEL,
value="info",
values=["fatal", "error", "warning", "info", "debug", "trace"],
exclusive=True,
uid=[],
),

View file

@ -1,6 +1,7 @@
__version__ = '3.0'
from meshroom.core import desc
from meshroom.core.utils import VERBOSE_LEVEL
class DistortionCalibration(desc.AVCommandLineNode):
@ -40,8 +41,8 @@ Calibration of a camera/lens couple distortion using a full screen checkerboard.
name="verboseLevel",
label="Verbose Level",
description="Verbosity level (fatal, error, warning, info, debug, trace).",
values=VERBOSE_LEVEL,
value="info",
values=["fatal", "error", "warning", "info", "debug", "trace"],
exclusive=True,
uid=[],
),

View file

@ -1,6 +1,7 @@
__version__ = "2.0"
from meshroom.core import desc
from meshroom.core.utils import VERBOSE_LEVEL
class ExportAnimatedCamera(desc.AVCommandLineNode):
@ -80,8 +81,8 @@ Based on the input image filenames, it will recognize the input video sequence t
name="verboseLevel",
label="Verbose Level",
description="Verbosity level (fatal, error, warning, info, debug, trace).",
values=VERBOSE_LEVEL,
value="info",
values=["fatal", "error", "warning", "info", "debug", "trace"],
exclusive=True,
uid=[],
),

View file

@ -1,6 +1,7 @@
__version__ = "1.0"
from meshroom.core import desc
from meshroom.core.utils import VERBOSE_LEVEL
class ExportColoredPointCloud(desc.AVCommandLineNode):
@ -22,8 +23,8 @@ class ExportColoredPointCloud(desc.AVCommandLineNode):
name="verboseLevel",
label="Verbose Level",
description="Verbosity level (fatal, error, warning, info, debug, trace).",
values=VERBOSE_LEVEL,
value="info",
values=["fatal", "error", "warning", "info", "debug", "trace"],
exclusive=True,
uid=[],
),

View file

@ -1,6 +1,7 @@
__version__ = "1.0"
from meshroom.core import desc
from meshroom.core.utils import VERBOSE_LEVEL
class ExportDistortion(desc.AVCommandLineNode):
commandLine = 'aliceVision_exportDistortion {allParams}'
@ -41,6 +42,15 @@ It also allows to export an undistorted image of the lens grids for validation.
value=True,
uid=[0],
),
desc.ChoiceParam(
name="verboseLevel",
label="Verbose Level",
description="Verbosity level (fatal, error, warning, info, debug, trace).",
values=VERBOSE_LEVEL,
value="info",
exclusive=True,
uid=[],
),
]
outputs = [

View file

@ -1,6 +1,7 @@
__version__ = "1.1"
from meshroom.core import desc
from meshroom.core.utils import DESCRIBER_TYPES, VERBOSE_LEVEL
class ExportMatches(desc.AVCommandLineNode):
@ -23,8 +24,8 @@ class ExportMatches(desc.AVCommandLineNode):
name="describerTypes",
label="Describer Types",
description="Describer types used to describe an image.",
values=DESCRIBER_TYPES,
value=["dspsift"],
values=["sift", "sift_float", "sift_upright", "dspsift", "akaze", "akaze_liop", "akaze_mldb", "cctag3", "cctag4", "sift_ocv", "akaze_ocv"],
exclusive=False,
uid=[0],
joinChar=",",
@ -57,8 +58,8 @@ class ExportMatches(desc.AVCommandLineNode):
name="verboseLevel",
label="Verbose Level",
description="Verbosity level (fatal, error, warning, info, debug, trace).",
values=VERBOSE_LEVEL,
value="info",
values=["fatal", "error", "warning", "info", "debug", "trace"],
exclusive=True,
uid=[],
),

View file

@ -1,6 +1,7 @@
__version__ = "1.0"
from meshroom.core import desc
from meshroom.core.utils import VERBOSE_LEVEL
class ExportMaya(desc.AVCommandLineNode):
@ -26,8 +27,8 @@ MeshroomMaya contains a user interface to browse all cameras.
name="verboseLevel",
label="Verbose Level",
description="Verbosity level (fatal, error, warning, info, debug, trace).",
values=VERBOSE_LEVEL,
value="info",
values=["fatal", "error", "warning", "info", "debug", "trace"],
exclusive=True,
uid=[],
),

View file

@ -1,7 +1,7 @@
__version__ = "1.3"
from meshroom.core import desc
from meshroom.core.utils import COLORSPACES
from meshroom.core.utils import COLORSPACES, DESCRIBER_TYPES, VERBOSE_LEVEL
class FeatureExtraction(desc.AVCommandLineNode):
@ -66,8 +66,8 @@ It is robust to motion-blur, depth-of-field, occlusion. Be careful to have enoug
name="describerTypes",
label="Describer Types",
description="Describer types used to describe an image.",
values=DESCRIBER_TYPES,
value=["dspsift"],
values=["sift", "sift_float", "sift_upright", "dspsift", "akaze", "akaze_liop", "akaze_mldb", "cctag3", "cctag4", "sift_ocv", "akaze_ocv", "tag16h5"],
exclusive=False,
uid=[0],
joinChar=",",
@ -167,8 +167,8 @@ It is robust to motion-blur, depth-of-field, occlusion. Be careful to have enoug
name="verboseLevel",
label="Verbose Level",
description="Verbosity level (fatal, error, warning, info, debug, trace).",
values=VERBOSE_LEVEL,
value="info",
values=["fatal", "error", "warning", "info", "debug", "trace"],
exclusive=True,
uid=[],
)

View file

@ -1,6 +1,7 @@
__version__ = "2.0"
from meshroom.core import desc
from meshroom.core.utils import DESCRIBER_TYPES, VERBOSE_LEVEL
class FeatureMatching(desc.AVCommandLineNode):
@ -63,8 +64,8 @@ then it checks the number of features that validates this model and iterate thro
name="describerTypes",
label="Describer Types",
description="Describer types used to describe an image.",
values=DESCRIBER_TYPES,
value=["dspsift"],
values=["sift", "sift_float", "sift_upright", "dspsift", "akaze", "akaze_liop", "akaze_mldb", "cctag3", "cctag4", "sift_ocv", "akaze_ocv", "tag16h5"],
exclusive=False,
uid=[0],
joinChar=",",
@ -213,8 +214,8 @@ then it checks the number of features that validates this model and iterate thro
name="verboseLevel",
label="Verbose Level",
description="Verbosity level (fatal, error, warning, info, debug, trace).",
values=VERBOSE_LEVEL,
value="info",
values=["fatal", "error", "warning", "info", "debug", "trace"],
exclusive=True,
uid=[],
)

View file

@ -1,6 +1,7 @@
__version__ = "1.1"
from meshroom.core import desc
from meshroom.core.utils import DESCRIBER_TYPES, VERBOSE_LEVEL
class FeatureRepeatability(desc.AVCommandLineNode):
@ -26,8 +27,8 @@ Compare feature/descriptor matching repeatability on some dataset with known hom
name="describerTypes",
label="Describer Types",
description="Describer types used to describe an image.",
values=DESCRIBER_TYPES,
value=["sift"],
values=["sift", "sift_float", "sift_upright", "dspsift", "akaze", "akaze_liop", "akaze_mldb", "cctag3", "cctag4", "sift_ocv", "akaze_ocv"],
exclusive=False,
uid=[0],
joinChar=",",
@ -115,8 +116,8 @@ Compare feature/descriptor matching repeatability on some dataset with known hom
name="verboseLevel",
label="Verbose Level",
description="Verbosity level (fatal, error, warning, info, debug, trace).",
values=VERBOSE_LEVEL,
value="info",
values=["fatal", "error", "warning", "info", "debug", "trace"],
exclusive=True,
uid=[],
)

View file

@ -4,6 +4,7 @@ import json
import os
from meshroom.core import desc
from meshroom.core.utils import DESCRIBER_TYPES, VERBOSE_LEVEL
class GlobalSfM(desc.AVCommandLineNode):
@ -52,9 +53,8 @@ It is known to be faster but less robust to challenging datasets than the Increm
name="describerTypes",
label="Describer Types",
description="Describer types used to describe an image.",
values=DESCRIBER_TYPES,
value=["dspsift"],
values=["sift", "sift_float", "sift_upright", "dspsift", "akaze", "akaze_liop", "akaze_mldb", "cctag3", "cctag4",
"sift_ocv", "akaze_ocv"],
exclusive=False,
uid=[0],
joinChar=",",
@ -95,8 +95,8 @@ It is known to be faster but less robust to challenging datasets than the Increm
name="verboseLevel",
label="Verbose Level",
description="Verbosity level (fatal, error, warning, info, debug, trace).",
values=VERBOSE_LEVEL,
value="info",
values=["fatal", "error", "warning", "info", "debug", "trace"],
exclusive=True,
uid=[],
)

View file

@ -1,6 +1,7 @@
__version__ = "3.0"
from meshroom.core import desc
from meshroom.core.utils import VERBOSE_LEVEL
class ImageMasking(desc.AVCommandLineNode):
@ -134,8 +135,8 @@ class ImageMasking(desc.AVCommandLineNode):
name="verboseLevel",
label="Verbose Level",
description="Verbosity level (fatal, error, warning, info, debug, trace).",
values=VERBOSE_LEVEL,
value="info",
values=["fatal", "error", "warning", "info", "debug", "trace"],
exclusive=True,
uid=[],
)

View file

@ -2,6 +2,7 @@ __version__ = "2.0"
import os
from meshroom.core import desc
from meshroom.core.utils import VERBOSE_LEVEL
class ImageMatching(desc.AVCommandLineNode):
@ -133,8 +134,8 @@ If images have known poses, use frustum intersection else use VocabularuTree.
name="verboseLevel",
label="Verbose Level",
description="Verbosity level (fatal, error, warning, info, debug, trace).",
values=VERBOSE_LEVEL,
value="info",
values=["fatal", "error", "warning", "info", "debug", "trace"],
exclusive=True,
uid=[],
)

View file

@ -2,6 +2,7 @@ __version__ = "1.0"
import os
from meshroom.core import desc
from meshroom.core.utils import VERBOSE_LEVEL
class ImageMatchingMultiSfM(desc.AVCommandLineNode):
@ -136,8 +137,8 @@ Thanks to this node, the FeatureMatching node will only compute the matches betw
name="verboseLevel",
label="Verbose Level",
description="Verbosity level (fatal, error, warning, info, debug, trace).",
values=VERBOSE_LEVEL,
value="info",
values=["fatal", "error", "warning", "info", "debug", "trace"],
exclusive=True,
uid=[],
)

View file

@ -1,7 +1,7 @@
__version__ = "3.3"
from meshroom.core import desc
from meshroom.core.utils import COLORSPACES
from meshroom.core.utils import COLORSPACES, EXR_STORAGE_DATA_TYPE, RAW_COLOR_INTERPRETATION, VERBOSE_LEVEL
import os.path
@ -527,8 +527,8 @@ Convert or apply filtering to the input images.
name="rawColorInterpretation",
label="RAW Color Interpretation",
description="Allows you to choose how RAW data are color processed.",
values=RAW_COLOR_INTERPRETATION,
value="DCPLinearProcessing" if os.environ.get("ALICEVISION_COLOR_PROFILE_DB", "") else "LibRawWhiteBalancing",
values=["None", "LibRawNoWhiteBalancing", "LibRawWhiteBalancing", "DCPLinearProcessing", "DCPMetadata", "Auto"],
exclusive=True,
uid=[0],
),
@ -636,8 +636,8 @@ Convert or apply filtering to the input images.
" - half: Use half float (16 bits per channel).\n"
" - halfFinite: Use half float, but clamp values to avoid non-finite values.\n"
" - auto: Use half float if all values can fit, else use full float.",
values=EXR_STORAGE_DATA_TYPE,
value="float",
values=["float", "half", "halfFinite", "auto"],
exclusive=True,
uid=[0],
),
@ -686,8 +686,8 @@ Convert or apply filtering to the input images.
name="verboseLevel",
label="Verbose Level",
description="Verbosity level (fatal, error, warning, info, debug, trace).",
values=VERBOSE_LEVEL,
value="info",
values=["fatal", "error", "warning", "info", "debug", "trace"],
exclusive=True,
uid=[],
)

View file

@ -1,6 +1,7 @@
__version__ = "1.2"
from meshroom.core import desc
from meshroom.core.utils import VERBOSE_LEVEL
class ImageSegmentation(desc.AVCommandLineNode):
@ -75,8 +76,8 @@ Generate a mask with segmented labels for each pixel.
name="verboseLevel",
label="Verbose Level",
description="Verbosity level (fatal, error, warning, info, debug, trace).",
values=VERBOSE_LEVEL,
value="info",
values=["fatal", "error", "warning", "info", "debug", "trace"],
exclusive=True,
uid=[],
)

View file

@ -1,6 +1,7 @@
__version__ = "1.0"
from meshroom.core import desc
from meshroom.core.utils import VERBOSE_LEVEL
class ImportE57(desc.AVCommandLineNode):
@ -37,8 +38,8 @@ Import an E57 file and generate an SfMData.
name="verboseLevel",
label="Verbose Level",
description="Verbosity level (fatal, error, warning, info, debug, trace).",
values=VERBOSE_LEVEL,
value="info",
values=["fatal", "error", "warning", "info", "debug", "trace"],
exclusive=True,
uid=[],
)

View file

@ -1,6 +1,7 @@
__version__ = "1.0"
from meshroom.core import desc
from meshroom.core.utils import VERBOSE_LEVEL
class ImportKnownPoses(desc.AVCommandLineNode):
@ -30,8 +31,8 @@ class ImportKnownPoses(desc.AVCommandLineNode):
name="verboseLevel",
label="Verbose Level",
description="Verbosity level (fatal, error, warning, info, debug, trace).",
values=VERBOSE_LEVEL,
value="info",
values=["fatal", "error", "warning", "info", "debug", "trace"],
exclusive=True,
uid=[],
)

View file

@ -2,6 +2,7 @@ __version__ = "5.0"
import os
from meshroom.core import desc
from meshroom.core.utils import EXR_STORAGE_DATA_TYPE, VERBOSE_LEVEL
# List of supported video extensions (provided by OpenImageIO)
videoExts = [".avi", ".mov", ".mp4", ".m4a", ".m4v", ".3gp", ".3g2", ".mj2", ".m4v", ".mpg"]
@ -314,8 +315,8 @@ You can extract frames at regular interval by configuring only the min/maxFrameS
" - half: Use half float (16 bits per channel).\n"
" - halfFinite: Use half float, but clamp values to avoid non-finite values.\n"
" - auto: Use half float if all values can fit, else use full float.",
values=EXR_STORAGE_DATA_TYPE,
value="float",
values=["float", "half", "halfFinite", "auto"],
exclusive=True,
uid=[0],
enabled=lambda node: node.outputExtension.value == "exr",
@ -409,8 +410,8 @@ You can extract frames at regular interval by configuring only the min/maxFrameS
name="verboseLevel",
label="Verbose Level",
description="Verbosity level (fatal, error, warning, info, debug, trace).",
values=VERBOSE_LEVEL,
value="info",
values=["fatal", "error", "warning", "info", "debug", "trace"],
exclusive=True,
uid=[],
),

View file

@ -6,7 +6,7 @@ import os
from collections import Counter
from meshroom.core import desc
from meshroom.core.utils import COLORSPACES
from meshroom.core.utils import COLORSPACES, VERBOSE_LEVEL
def findMetadata(d, keys, defaultValue):
v = None
@ -150,8 +150,8 @@ Calibrate LDR to HDR response curve from samples.
name="verboseLevel",
label="Verbose Level",
description="Verbosity level (fatal, error, warning, info, debug, trace).",
values=VERBOSE_LEVEL,
value="info",
values=["fatal", "error", "warning", "info", "debug", "trace"],
exclusive=True,
uid=[],
)

View file

@ -6,7 +6,7 @@ import math
from collections import Counter
from meshroom.core import desc
from meshroom.core.utils import COLORSPACES
from meshroom.core.utils import COLORSPACES, EXR_STORAGE_DATA_TYPE, VERBOSE_LEVEL
def findMetadata(d, keys, defaultValue):
v = None
@ -229,8 +229,8 @@ Merge LDR images into HDR images.
" - half: Use half float (16 bits per channel).\n"
" - halfFinite: Use half float, but clamp values to avoid non-finite values.\n"
" - auto: Use half float if all values can fit, else use full float.",
values=EXR_STORAGE_DATA_TYPE,
value="float",
values=["float", "half", "halfFinite", "auto"],
exclusive=True,
uid=[0],
),
@ -238,8 +238,8 @@ Merge LDR images into HDR images.
name="verboseLevel",
label="Verbose Level",
description="Verbosity level (fatal, error, warning, info, debug, trace).",
values=VERBOSE_LEVEL,
value="info",
values=["fatal", "error", "warning", "info", "debug", "trace"],
exclusive=True,
uid=[],
)

View file

@ -6,7 +6,7 @@ import os
from collections import Counter
from meshroom.core import desc
from meshroom.core.utils import COLORSPACES
from meshroom.core.utils import COLORSPACES, VERBOSE_LEVEL
def findMetadata(d, keys, defaultValue):
@ -175,8 +175,8 @@ Sample pixels from Low range images for HDR creation.
name="verboseLevel",
label="Verbose Level",
description="Verbosity level (fatal, error, warning, info, debug, trace).",
values=VERBOSE_LEVEL,
value="info",
values=["fatal", "error", "warning", "info", "debug", "trace"],
exclusive=True,
uid=[],
)

View file

@ -1,6 +1,7 @@
__version__ = "1.0"
from meshroom.core import desc
from meshroom.core.utils import VERBOSE_LEVEL
class LightingCalibration(desc.CommandLineNode):
@ -47,8 +48,8 @@ Can also be used to calibrate a lighting dome (RTI type).
name="verboseLevel",
label="Verbose Level",
description="Verbosity level (fatal, error, warning, info, debug, trace).",
values=VERBOSE_LEVEL,
value="info",
values=["fatal", "error", "warning", "info", "debug", "trace"],
exclusive=True,
uid=[],
)

View file

@ -1,6 +1,7 @@
__version__ = "1.0"
from meshroom.core import desc
from meshroom.core.utils import VERBOSE_LEVEL
class LightingEstimation(desc.AVCommandLineNode):
@ -76,8 +77,8 @@ class LightingEstimation(desc.AVCommandLineNode):
name="verboseLevel",
label="Verbose Level",
description="Verbosity level (fatal, error, warning, info, debug, trace).",
values=VERBOSE_LEVEL,
value="info",
values=["fatal", "error", "warning", "info", "debug", "trace"],
exclusive=True,
uid=[],
)

View file

@ -1,6 +1,7 @@
__version__ = "1.0"
from meshroom.core import desc
from meshroom.core.utils import VERBOSE_LEVEL
class MergeMeshes(desc.AVCommandLineNode):
@ -59,8 +60,8 @@ Operation types used to merge two meshes:
name="verboseLevel",
label="Verbose Level",
description="Verbosity level (fatal, error, warning, info, debug, trace).",
values=VERBOSE_LEVEL,
value="info",
values=["fatal", "error", "warning", "info", "debug", "trace"],
exclusive=True,
uid=[],
)

View file

@ -1,6 +1,7 @@
__version__ = "1.0"
from meshroom.core import desc
from meshroom.core.utils import VERBOSE_LEVEL
class MeshDecimate(desc.AVCommandLineNode):
@ -67,8 +68,8 @@ This node allows to reduce the density of the Mesh.
name="verboseLevel",
label="Verbose Level",
description="Verbosity level (fatal, error, warning, info, debug, trace).",
values=VERBOSE_LEVEL,
value="info",
values=["fatal", "error", "warning", "info", "debug", "trace"],
exclusive=True,
uid=[],
)

View file

@ -1,6 +1,7 @@
__version__ = "1.0"
from meshroom.core import desc
from meshroom.core.utils import VERBOSE_LEVEL
class MeshDenoising(desc.AVCommandLineNode):
@ -85,8 +86,8 @@ for now, the parameters are difficult to control and vary a lot from one dataset
name="verboseLevel",
label="Verbose Level",
description="Verbosity level (fatal, error, warning, info, debug, trace).",
values=VERBOSE_LEVEL,
value="info",
values=["fatal", "error", "warning", "info", "debug", "trace"],
exclusive=True,
uid=[],
)

View file

@ -1,6 +1,7 @@
__version__ = "3.0"
from meshroom.core import desc
from meshroom.core.utils import VERBOSE_LEVEL
class MeshFiltering(desc.AVCommandLineNode):
@ -115,8 +116,8 @@ This node applies a Laplacian filtering to remove local defects from the raw Mes
name="verboseLevel",
label="Verbose Level",
description="Verbosity level (fatal, error, warning, info, debug, trace).",
values=VERBOSE_LEVEL,
value="info",
values=["fatal", "error", "warning", "info", "debug", "trace"],
exclusive=True,
uid=[],
)

View file

@ -1,6 +1,7 @@
__version__ = "1.1"
from meshroom.core import desc
from meshroom.core.utils import VERBOSE_LEVEL
class MeshMasking(desc.AVCommandLineNode):
@ -99,8 +100,8 @@ Decimate triangles based on image masks.
name="verboseLevel",
label="Verbose Level",
description="Verbosity level (fatal, error, warning, info, debug, trace).",
values=VERBOSE_LEVEL,
value="info",
values=["fatal", "error", "warning", "info", "debug", "trace"],
exclusive=True,
uid=[],
)

View file

@ -1,6 +1,7 @@
__version__ = "1.0"
from meshroom.core import desc
from meshroom.core.utils import VERBOSE_LEVEL
class MeshResampling(desc.AVCommandLineNode):
@ -73,8 +74,8 @@ This node allows to recompute the mesh surface with a new topology and uniform d
name="verboseLevel",
label="Verbose Level",
description="Verbosity level (fatal, error, warning, info, debug, trace).",
values=VERBOSE_LEVEL,
value="info",
values=["fatal", "error", "warning", "info", "debug", "trace"],
exclusive=True,
uid=[],
)

View file

@ -1,6 +1,7 @@
__version__ = "7.0"
from meshroom.core import desc
from meshroom.core.utils import VERBOSE_LEVEL
class Meshing(desc.AVCommandLineNode):
@ -513,8 +514,8 @@ A Graph Cut Max-Flow is applied to optimally cut the volume. This cut represents
name="verboseLevel",
label="Verbose Level",
description="Verbosity level (fatal, error, warning, info, debug, trace).",
values=VERBOSE_LEVEL,
value="info",
values=["fatal", "error", "warning", "info", "debug", "trace"],
exclusive=True,
uid=[],
)

View file

@ -1,6 +1,7 @@
__version__ = "1.0"
from meshroom.core import desc
from meshroom.core.utils import DESCRIBER_TYPES, VERBOSE_LEVEL
class NodalSfM(desc.AVCommandLineNode):
@ -51,7 +52,7 @@ A Structure-From-Motion node specifically designed to handle pure rotation camer
label="Describer Types",
description="Describer types used to describe an image.",
value=["dspsift"],
values=["sift", "sift_float", "sift_upright", "dspsift", "akaze", "akaze_liop", "akaze_mldb", "cctag3", "cctag4", "sift_ocv", "akaze_ocv", "tag16h5"],
values=DESCRIBER_TYPES,
exclusive=False,
uid=[0],
joinChar=",",
@ -60,8 +61,8 @@ A Structure-From-Motion node specifically designed to handle pure rotation camer
name="verboseLevel",
label="Verbose Level",
description="Verbosity level (fatal, error, warning, info, debug, trace).",
values=VERBOSE_LEVEL,
value="info",
values=["fatal", "error", "warning", "info", "debug", "trace"],
exclusive=True,
uid=[],
)

View file

@ -1,6 +1,7 @@
__version__ = "1.0"
from meshroom.core import desc
from meshroom.core.utils import VERBOSE_LEVEL
class NormalIntegration(desc.CommandLineNode):
commandLine = 'aliceVision_normalIntegration {allParams}'
@ -37,8 +38,8 @@ TODO.
name="verboseLevel",
label="Verbose Level",
description="Verbosity level (fatal, error, warning, info, debug, trace).",
values=VERBOSE_LEVEL,
value="info",
values=["fatal", "error", "warning", "info", "debug", "trace"],
exclusive=True,
uid=[],
)

View file

@ -4,6 +4,7 @@ import json
import os
from meshroom.core import desc
from meshroom.core.utils import EXR_STORAGE_DATA_TYPE, VERBOSE_LEVEL
class PanoramaCompositing(desc.AVCommandLineNode):
@ -89,8 +90,8 @@ Multiple cameras are contributing to the low frequencies and only the best one c
" - half: Use half float (16 bits per channel).\n"
" - halfFinite: Use half float, but clamp values to avoid non-finite values.\n"
" - auto: Use half float if all values can fit, else use full float.",
values=EXR_STORAGE_DATA_TYPE,
value="float",
values=["float", "half", "halfFinite", "auto"],
exclusive=True,
uid=[0],
),
@ -112,8 +113,8 @@ Multiple cameras are contributing to the low frequencies and only the best one c
name="verboseLevel",
label="Verbose Level",
description="Verbosity level (fatal, error, warning, info, debug, trace).",
values=VERBOSE_LEVEL,
value="info",
values=["fatal", "error", "warning", "info", "debug", "trace"],
exclusive=True,
uid=[],
)

View file

@ -4,6 +4,7 @@ import json
import os
from meshroom.core import desc
from meshroom.core.utils import DESCRIBER_TYPES, VERBOSE_LEVEL
class PanoramaEstimation(desc.AVCommandLineNode):
@ -51,9 +52,8 @@ Estimate relative camera rotations between input images.
name="describerTypes",
label="Describer Types",
description="Describer types used to describe an image.",
values=DESCRIBER_TYPES,
value=["sift"],
values=["sift", "sift_float", "sift_upright", "dspsift", "akaze", "akaze_liop", "akaze_mldb", "cctag3", "cctag4",
"sift_ocv", "akaze_ocv"],
exclusive=False,
uid=[0],
joinChar=",",
@ -177,8 +177,8 @@ Estimate relative camera rotations between input images.
name="verboseLevel",
label="Verbose Level",
description="Verbosity level (fatal, error, warning, info, debug, trace).",
values=VERBOSE_LEVEL,
value="info",
values=["fatal", "error", "warning", "info", "debug", "trace"],
exclusive=True,
uid=[],
)

View file

@ -1,6 +1,7 @@
__version__ = "2.0"
from meshroom.core import desc
from meshroom.core.utils import VERBOSE_LEVEL
class PanoramaInit(desc.AVCommandLineNode):
@ -144,8 +145,8 @@ This node allows to setup the Panorama:
name="verboseLevel",
label="Verbose Level",
description="Verbosity level (fatal, error, warning, info, debug, trace).",
values=VERBOSE_LEVEL,
value="info",
values=["fatal", "error", "warning", "info", "debug", "trace"],
exclusive=True,
uid=[],
)

View file

@ -4,6 +4,7 @@ import json
import os
from meshroom.core import desc
from meshroom.core.utils import EXR_STORAGE_DATA_TYPE, VERBOSE_LEVEL
class PanoramaMerging(desc.AVCommandLineNode):
@ -57,8 +58,8 @@ Merge all inputs coming from the PanoramaCompositing node.
" - half: Use half float (16 bits per channel).\n"
" - halfFinite: Use half float, but clamp values to avoid non-finite values.\n"
" - auto: Use half float if all values can fit, else use full float.\n",
values=EXR_STORAGE_DATA_TYPE,
value="float",
values=["float", "half", "halfFinite", "auto"],
exclusive=True,
uid=[0],
),
@ -66,8 +67,8 @@ Merge all inputs coming from the PanoramaCompositing node.
name="verboseLevel",
label="Verbose Level",
description="Verbosity level (fatal, error, warning, info, debug, trace).",
values=VERBOSE_LEVEL,
value="info",
values=["fatal", "error", "warning", "info", "debug", "trace"],
exclusive=True,
uid=[],
)

View file

@ -4,7 +4,7 @@ import json
import os
from meshroom.core import desc
from meshroom.core.utils import COLORSPACES
from meshroom.core.utils import COLORSPACES, VERBOSE_LEVEL
class PanoramaPostProcessing(desc.CommandLineNode):
@ -106,8 +106,8 @@ Post process the panorama.
name="verboseLevel",
label="Verbose Level",
description="Verbosity level (fatal, error, warning, info, debug, trace).",
values=VERBOSE_LEVEL,
value="info",
values=["fatal", "error", "warning", "info", "debug", "trace"],
exclusive=True,
uid=[],
)

View file

@ -1,6 +1,7 @@
__version__ = "1.1"
from meshroom.core import desc
from meshroom.core.utils import VERBOSE_LEVEL
import os.path
@ -26,8 +27,8 @@ Prepare images for Panorama pipeline: ensures that images orientations are coher
name="verboseLevel",
label="Verbose Level",
description="Verbosity level (fatal, error, warning, info, debug, trace).",
values=VERBOSE_LEVEL,
value="info",
values=["fatal", "error", "warning", "info", "debug", "trace"],
exclusive=True,
uid=[],
),

View file

@ -4,6 +4,7 @@ import json
import os
from meshroom.core import desc
from meshroom.core.utils import VERBOSE_LEVEL
class PanoramaSeams(desc.AVCommandLineNode):
@ -51,8 +52,8 @@ Estimate the seams lines between the inputs to provide an optimal compositing in
name="verboseLevel",
label="Verbose Level",
description="Verbosity level (fatal, error, warning, info, debug, trace).",
values=VERBOSE_LEVEL,
value="info",
values=["fatal", "error", "warning", "info", "debug", "trace"],
exclusive=True,
uid=[],
)

View file

@ -4,7 +4,7 @@ import json
import os
from meshroom.core import desc
from meshroom.core.utils import COLORSPACES
from meshroom.core.utils import COLORSPACES, EXR_STORAGE_DATA_TYPE, VERBOSE_LEVEL
class PanoramaWarping(desc.AVCommandLineNode):
@ -83,8 +83,8 @@ Compute the image warping for each input image in the panorama coordinate system
" - half: Use half float (16 bits per channel).\n"
" - halfFinite: Use half float, but clamp values to avoid non-finite values.\n"
" - auto: Use half float if all values can fit, else use full float.",
values=EXR_STORAGE_DATA_TYPE,
value="float",
values=["float", "half", "halfFinite", "auto"],
exclusive=True,
uid=[0],
),
@ -92,8 +92,8 @@ Compute the image warping for each input image in the panorama coordinate system
name="verboseLevel",
label="Verbose Level",
description="Verbosity level (fatal, error, warning, info, debug, trace).",
values=VERBOSE_LEVEL,
value="info",
values=["fatal", "error", "warning", "info", "debug", "trace"],
exclusive=True,
uid=[],
),

View file

@ -1,6 +1,7 @@
__version__ = "1.0"
from meshroom.core import desc
from meshroom.core.utils import VERBOSE_LEVEL
class PhotometricStereo(desc.CommandLineNode):
commandLine = 'aliceVision_photometricStereo {allParams}'
@ -75,8 +76,8 @@ The lighting conditions are assumed to be known.
name="verboseLevel",
label="Verbose Level",
description="Verbosity level (fatal, error, warning, info, debug, trace).",
values=VERBOSE_LEVEL,
value="info",
values=["fatal", "error", "warning", "info", "debug", "trace"],
exclusive=True,
uid=[],
)

View file

@ -1,6 +1,7 @@
__version__ = "3.1"
from meshroom.core import desc
from meshroom.core.utils import VERBOSE_LEVEL
class PrepareDenseScene(desc.AVCommandLineNode):
@ -93,8 +94,8 @@ This node export undistorted images so the depth map and texturing can be comput
name="verboseLevel",
label="Verbose Level",
description="Verbosity level (fatal, error, warning, info, debug, trace).",
values=VERBOSE_LEVEL,
value="info",
values=["fatal", "error", "warning", "info", "debug", "trace"],
exclusive=True,
uid=[],
),

View file

@ -3,6 +3,8 @@ from __future__ import print_function
__version__ = "1.3"
from meshroom.core import desc
from meshroom.core.utils import VERBOSE_LEVEL
import distutils.dir_util as du
import shutil
import glob
@ -42,8 +44,8 @@ This node allows to copy files into a specific folder.
name="verboseLevel",
label="Verbose Level",
description="Verbosity level (fatal, error, warning, info, debug, trace).",
values=VERBOSE_LEVEL,
value="info",
values=["fatal", "error", "warning", "info", "debug", "trace"],
exclusive=True,
uid=[],
),

View file

@ -1,6 +1,7 @@
__version__ = "1.0"
from meshroom.core import desc
from meshroom.core.utils import DESCRIBER_TYPES, VERBOSE_LEVEL
class RelativePoseEstimating(desc.AVCommandLineNode):
commandLine = 'aliceVision_relativePoseEstimating {allParams}'
@ -45,8 +46,8 @@ Estimate relative pose between each pair of views that share tracks.
name="describerTypes",
label="Describer Types",
description="Describer types used to describe an image.",
values=DESCRIBER_TYPES,
value=["dspsift"],
values=["sift", "sift_float", "sift_upright", "dspsift", "akaze", "akaze_liop", "akaze_mldb", "cctag3", "cctag4", "sift_ocv", "akaze_ocv", "tag16h5"],
exclusive=False,
uid=[0],
joinChar=",",
@ -62,8 +63,8 @@ Estimate relative pose between each pair of views that share tracks.
name="verboseLevel",
label="Verbose Level",
description="Verbosity level (fatal, error, warning, info, debug, trace).",
values=VERBOSE_LEVEL,
value="info",
values=["fatal", "error", "warning", "info", "debug", "trace"],
exclusive=True,
uid=[],
)

View file

@ -1,6 +1,7 @@
__version__ = "2.0"
from meshroom.core import desc
from meshroom.core.utils import VERBOSE_LEVEL
import os.path
@ -104,8 +105,8 @@ The alignment can be based on:
name="verboseLevel",
label="Verbose Level",
description="Verbosity level (fatal, error, warning, info, debug, trace).",
values=VERBOSE_LEVEL,
value="info",
values=["fatal", "error", "warning", "info", "debug", "trace"],
exclusive=True,
uid=[],
),

View file

@ -1,6 +1,7 @@
__version__ = "3.0"
from meshroom.core import desc
from meshroom.core.utils import DESCRIBER_TYPES, VERBOSE_LEVEL
class SfMDistances(desc.AVCommandLineNode):
@ -31,8 +32,8 @@ class SfMDistances(desc.AVCommandLineNode):
name="landmarksDescriberTypes",
label="Describer Types",
description="Describer types used to describe an image (only used when using 'landmarks').",
values=DESCRIBER_TYPES,
value=["cctag3"],
values=["sift", "sift_float", "sift_upright", "akaze", "akaze_liop", "akaze_mldb", "cctag3", "cctag4", "sift_ocv", "akaze_ocv"],
exclusive=False,
uid=[0],
joinChar=",",
@ -59,8 +60,8 @@ class SfMDistances(desc.AVCommandLineNode):
name="verboseLevel",
label="Verbose Level",
description="Verbosity level (fatal, error, warning, info, debug, trace).",
values=VERBOSE_LEVEL,
value="info",
values=["fatal", "error", "warning", "info", "debug", "trace"],
exclusive=True,
uid=[],
),

View file

@ -1,6 +1,8 @@
__version__ = "1.0"
from meshroom.core import desc
from meshroom.core.utils import VERBOSE_LEVEL
import os.path
@ -57,8 +59,8 @@ Merges two SfMData files into a single one. Fails if some UID is shared among th
name="verboseLevel",
label="Verbose Level",
description="Verbosity level (fatal, error, warning, info, debug, trace).",
values=VERBOSE_LEVEL,
value="info",
values=["fatal", "error", "warning", "info", "debug", "trace"],
exclusive=True,
uid=[],
)

View file

@ -1,6 +1,7 @@
__version__ = "1.0"
from meshroom.core import desc
from meshroom.core.utils import VERBOSE_LEVEL
class SfMSplitReconstructed(desc.AVCommandLineNode):
@ -26,8 +27,8 @@ class SfMSplitReconstructed(desc.AVCommandLineNode):
name="verboseLevel",
label="Verbose Level",
description="Verbosity level (fatal, error, warning, info, debug, trace).",
values=VERBOSE_LEVEL,
value="info",
values=["fatal", "error", "warning", "info", "debug", "trace"],
exclusive=True,
uid=[],
),

View file

@ -1,6 +1,8 @@
__version__ = "1.0"
from meshroom.core import desc
from meshroom.core.utils import VERBOSE_LEVEL
import os.path
class SfMToRig(desc.AVCommandLineNode):
@ -24,8 +26,8 @@ Assumes the input SfMData describes a set of cameras capturing a scene at a comm
name="verboseLevel",
label="Verbose Level",
description="Verbosity level (fatal, error, warning, info, debug, trace).",
values=VERBOSE_LEVEL,
value="info",
values=["fatal", "error", "warning", "info", "debug", "trace"],
exclusive=True,
uid=[],
)

View file

@ -1,6 +1,7 @@
__version__ = "2.1"
from meshroom.core import desc
from meshroom.core.utils import VERBOSE_LEVEL
import os.path
@ -96,8 +97,8 @@ This node allows to transfer poses and/or intrinsics form one SfM scene onto ano
name="verboseLevel",
label="Verbose Level",
description="Verbosity level (fatal, error, warning, info, debug, trace).",
values=VERBOSE_LEVEL,
value="info",
values=["fatal", "error", "warning", "info", "debug", "trace"],
exclusive=True,
uid=[],
),

View file

@ -1,6 +1,7 @@
__version__ = "3.1"
from meshroom.core import desc
from meshroom.core.utils import DESCRIBER_TYPES, VERBOSE_LEVEL
import os.path
@ -135,8 +136,8 @@ The transformation can be based on:
name="landmarksDescriberTypes",
label="Landmarks Describer Types",
description="Image describer types used to compute the mean of the point cloud (only for 'landmarks' method).",
values=DESCRIBER_TYPES,
value=["sift", "dspsift", "akaze"],
values=["sift", "sift_float", "sift_upright", "dspsift", "akaze", "akaze_liop", "akaze_mldb", "cctag3", "cctag4", "sift_ocv", "akaze_ocv", "tag16h5", "unknown"],
exclusive=False,
uid=[0],
joinChar=",",
@ -190,8 +191,8 @@ The transformation can be based on:
name="verboseLevel",
label="Verbose Level",
description="Verbosity level (fatal, error, warning, info, debug, trace).",
values=VERBOSE_LEVEL,
value="info",
values=["fatal", "error", "warning", "info", "debug", "trace"],
exclusive=True,
uid=[],
),

View file

@ -1,6 +1,7 @@
__version__ = "1.0"
from meshroom.core import desc
from meshroom.core.utils import DESCRIBER_TYPES, VERBOSE_LEVEL
class SfMTriangulation(desc.AVCommandLineNode):
@ -49,8 +50,8 @@ Contrary to the StructureFromMotion node, this node does not infer the camera po
name="describerTypes",
label="Describer Types",
description="Describer types used to describe an image.",
values=DESCRIBER_TYPES,
value=["dspsift"],
values=["sift", "sift_float", "sift_upright", "dspsift", "akaze", "akaze_liop", "akaze_mldb", "cctag3", "cctag4", "sift_ocv", "akaze_ocv", "tag16h5"],
exclusive=False,
uid=[0],
joinChar=",",
@ -143,8 +144,8 @@ Contrary to the StructureFromMotion node, this node does not infer the camera po
name="verboseLevel",
label="Verbose Level",
description="Verbosity level (fatal, error, warning, info, debug, trace).",
values=VERBOSE_LEVEL,
value="info",
values=["fatal", "error", "warning", "info", "debug", "trace"],
exclusive=True,
uid=[],
)

View file

@ -1,6 +1,7 @@
__version__ = "1.0"
from meshroom.core import desc
from meshroom.core.utils import DESCRIBER_TYPES, VERBOSE_LEVEL
class SfMBootStraping(desc.AVCommandLineNode):
@ -49,8 +50,8 @@ class SfMBootStraping(desc.AVCommandLineNode):
name="describerTypes",
label="Describer Types",
description="Describer types used to describe an image.",
values=DESCRIBER_TYPES,
value=["dspsift"],
values=["sift", "sift_float", "sift_upright", "dspsift", "akaze", "akaze_liop", "akaze_mldb", "cctag3", "cctag4", "sift_ocv", "akaze_ocv", "tag16h5"],
exclusive=False,
uid=[0],
joinChar=",",
@ -59,8 +60,8 @@ class SfMBootStraping(desc.AVCommandLineNode):
name="verboseLevel",
label="Verbose Level",
description="Verbosity level (fatal, error, warning, info, debug, trace).",
values=VERBOSE_LEVEL,
value="info",
values=["fatal", "error", "warning", "info", "debug", "trace"],
exclusive=True,
uid=[],
)

View file

@ -1,6 +1,8 @@
__version__ = "1.0"
from meshroom.core import desc
from meshroom.core.utils import VERBOSE_LEVEL
import glob
import os
import json
@ -177,9 +179,9 @@ Upload a textured mesh on Sketchfab.
desc.ChoiceParam(
name="verboseLevel",
label="Verbose Level",
description="Verbosity level (critical, error, warning, info, debug).",
description="Verbosity level (fatal, error, warning, info, debug, trace).",
values=VERBOSE_LEVEL,
value="info",
values=["critical", "error", "warning", "info", "debug"],
exclusive=True,
uid=[],
),

View file

@ -1,6 +1,7 @@
__version__ = "1.0"
from meshroom.core import desc
from meshroom.core.utils import VERBOSE_LEVEL
class SphereDetection(desc.CommandLineNode):
@ -74,8 +75,8 @@ Spheres can be automatically detected or manually defined in the interface.
name="verboseLevel",
label="Verbose Level",
description="Verbosity level (fatal, error, warning, info, debug, trace).",
values=VERBOSE_LEVEL,
value="info",
values=["fatal", "error", "warning", "info", "debug", "trace"],
exclusive=True,
uid=[],
)

View file

@ -1,6 +1,7 @@
__version__ = "3.0"
from meshroom.core import desc
from meshroom.core.utils import VERBOSE_LEVEL
class Split360InputNodeSize(desc.DynamicNodeSize):
@ -124,8 +125,8 @@ class Split360Images(desc.AVCommandLineNode):
name="verboseLevel",
label="Verbose Level",
description="Verbosity level (fatal, error, warning, info, debug, trace).",
values=VERBOSE_LEVEL,
value="info",
values=["fatal", "error", "warning", "info", "debug", "trace"],
exclusive=True,
uid=[],
),

View file

@ -1,6 +1,7 @@
__version__ = "3.3"
from meshroom.core import desc
from meshroom.core.utils import DESCRIBER_TYPES, VERBOSE_LEVEL
class StructureFromMotion(desc.AVCommandLineNode):
@ -97,8 +98,8 @@ It iterates like that, adding cameras and triangulating new 2D features into 3D
name="describerTypes",
label="Describer Types",
description="Describer types used to describe an image.",
values=DESCRIBER_TYPES,
value=["dspsift"],
values=["sift", "sift_float", "sift_upright", "dspsift", "akaze", "akaze_liop", "akaze_mldb", "cctag3", "cctag4", "sift_ocv", "akaze_ocv", "tag16h5"],
exclusive=False,
uid=[0],
joinChar=",",
@ -394,8 +395,8 @@ It iterates like that, adding cameras and triangulating new 2D features into 3D
name="verboseLevel",
label="Verbose Level",
description="Verbosity level (fatal, error, warning, info, debug, trace).",
values=VERBOSE_LEVEL,
value="info",
values=["fatal", "error", "warning", "info", "debug", "trace"],
exclusive=True,
uid=[],
)

View file

@ -1,7 +1,8 @@
__version__ = "6.0"
from meshroom.core import desc, Version
from meshroom.core.utils import COLORSPACES
from meshroom.core.utils import COLORSPACES, VERBOSE_LEVEL
import logging
@ -325,8 +326,8 @@ Many cameras are contributing to the low frequencies and only the best ones cont
name="verboseLevel",
label="Verbose Level",
description="Verbosity level (fatal, error, warning, info, debug, trace).",
values=VERBOSE_LEVEL,
value="info",
values=["fatal", "error", "warning", "info", "debug", "trace"],
exclusive=True,
uid=[],
),

View file

@ -1,6 +1,7 @@
__version__ = "1.0"
from meshroom.core import desc
from meshroom.core.utils import DESCRIBER_TYPES, VERBOSE_LEVEL
class TracksBuilding(desc.AVCommandLineNode):
@ -48,8 +49,8 @@ It fuses all feature matches between image pairs into tracks. Each track represe
name="describerTypes",
label="Describer Types",
description="Describer types used to describe an image.",
values=DESCRIBER_TYPES,
value=["dspsift"],
values=["sift", "sift_float", "sift_upright", "dspsift", "akaze", "akaze_liop", "akaze_mldb", "cctag3", "cctag4", "sift_ocv", "akaze_ocv", "tag16h5"],
exclusive=False,
uid=[0],
joinChar=",",
@ -83,8 +84,8 @@ It fuses all feature matches between image pairs into tracks. Each track represe
name="verboseLevel",
label="Verbose Level",
description="Verbosity level (fatal, error, warning, info, debug, trace).",
values=VERBOSE_LEVEL,
value="info",
values=["fatal", "error", "warning", "info", "debug", "trace"],
exclusive=True,
uid=[],
)