Skip to content

Commit

Permalink
Merge pull request #2610 from alicevision/dev/colorizePointCloud
Browse files Browse the repository at this point in the history
New SfMColorizing Node
  • Loading branch information
fabiencastan authored Dec 10, 2024
2 parents 2d56016 + 34cba32 commit 908312a
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions meshroom/nodes/aliceVision/SfMColorizing.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
__version__ = "1.0"

from meshroom.core import desc
from meshroom.core.utils import VERBOSE_LEVEL

import json

class SfMColorizing(desc.AVCommandLineNode):

commandLine = "aliceVision_sfmColorizing {allParams}"
size = desc.DynamicNodeSize("input")

category = "Utils"
documentation = """
Colorize the pointcloud of a sfmData
"""

inputs = [
desc.File(
name="input",
label="SfMData",
description="Input SfMData file.",
value="",
),
desc.ChoiceParam(
name="verboseLevel",
label="Verbose Level",
description="Verbosity level (fatal, error, warning, info, debug, trace).",
values=VERBOSE_LEVEL,
value="info",
),
]

outputs = [
desc.File(
name="output",
label="SfMData",
description="Path to the output SfM file.",
value=desc.Node.internalFolder + "sfmData.abc",
),
]

0 comments on commit 908312a

Please sign in to comment.