mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-04-29 10:17:27 +02:00
[nodes] MVS: export data per node folder
This commit is contained in:
parent
a82fdb5b88
commit
c26bb5be7a
4 changed files with 43 additions and 0 deletions
|
@ -50,8 +50,11 @@ def photogrammetryPipeline(output='', inputFolder='', inputImages=[], inputViewp
|
|||
depthMap = graph.addNewNode('DepthMap',
|
||||
ini=cameraConnection.ini)
|
||||
depthMapFilter = graph.addNewNode('DepthMapFilter',
|
||||
depthMapFolder=depthMap.output,
|
||||
ini=depthMap.ini)
|
||||
meshing = graph.addNewNode('Meshing',
|
||||
depthMapFolder=depthMapFilter.depthMapFolder,
|
||||
depthMapFilterFolder=depthMapFilter.output,
|
||||
ini=depthMapFilter.ini)
|
||||
texturing = graph.addNewNode('Texturing',
|
||||
ini=meshing.ini,
|
||||
|
|
|
@ -18,3 +18,12 @@ class DepthMap(desc.CommandLineNode):
|
|||
),
|
||||
]
|
||||
|
||||
outputs = [
|
||||
desc.File(
|
||||
name='output',
|
||||
label='Output',
|
||||
description='Output folder for generated depth maps.',
|
||||
value='{cache}/{nodeType}/{uid0}/',
|
||||
uid=[],
|
||||
),
|
||||
]
|
||||
|
|
|
@ -16,4 +16,21 @@ class DepthMapFilter(desc.CommandLineNode):
|
|||
value='',
|
||||
uid=[0],
|
||||
),
|
||||
desc.File(
|
||||
name="depthMapFolder",
|
||||
label='Depth Map Folder',
|
||||
description='Input depth map folder',
|
||||
value='',
|
||||
uid=[0],
|
||||
),
|
||||
]
|
||||
|
||||
outputs = [
|
||||
desc.File(
|
||||
name='output',
|
||||
label='Output',
|
||||
description='Output folder for generated depth maps.',
|
||||
value='{cache}/{nodeType}/{uid0}/',
|
||||
uid=[],
|
||||
),
|
||||
]
|
||||
|
|
|
@ -40,6 +40,20 @@ class Meshing(desc.CommandLineNode):
|
|||
exclusive=True,
|
||||
uid=[0],
|
||||
),
|
||||
desc.File(
|
||||
name="depthMapFolder",
|
||||
label='Depth Maps Folder',
|
||||
description='Input depth maps folder',
|
||||
value='',
|
||||
uid=[0],
|
||||
),
|
||||
desc.File(
|
||||
name="depthMapFilterFolder",
|
||||
label='Filtered Depth Maps Folder',
|
||||
description='Input filtered depth maps folder',
|
||||
value='',
|
||||
uid=[0],
|
||||
),
|
||||
]
|
||||
|
||||
outputs = [
|
||||
|
|
Loading…
Add table
Reference in a new issue