mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-05-21 13:06:28 +02:00
[multiview] split pipeline creation into several functions
* add 'sfmPipeline', 'mvsPipeline' and 'photogrammetryPipeline' instantiating nodes in an existing graph * rename main function (creating a new Graph) 'photogrammetry' + create a Publish node if 'output' is specified
This commit is contained in:
parent
8ed0d0a7a2
commit
b596bdffca
4 changed files with 121 additions and 43 deletions
|
@ -4,15 +4,15 @@ import meshroom.multiview
|
|||
|
||||
|
||||
def test_multiviewPipeline():
|
||||
graph1 = meshroom.multiview.photogrammetryPipeline(inputImages=['/non/existing/fileA'])
|
||||
graph2 = meshroom.multiview.photogrammetryPipeline(inputImages=[])
|
||||
graph2b = meshroom.multiview.photogrammetryPipeline(inputImages=[])
|
||||
graph3 = meshroom.multiview.photogrammetryPipeline(inputImages=['/non/existing/file1', '/non/existing/file2'])
|
||||
graph4 = meshroom.multiview.photogrammetryPipeline(inputViewpoints=[
|
||||
graph1 = meshroom.multiview.photogrammetry(inputImages=['/non/existing/fileA'])
|
||||
graph2 = meshroom.multiview.photogrammetry(inputImages=[])
|
||||
graph2b = meshroom.multiview.photogrammetry(inputImages=[])
|
||||
graph3 = meshroom.multiview.photogrammetry(inputImages=['/non/existing/file1', '/non/existing/file2'])
|
||||
graph4 = meshroom.multiview.photogrammetry(inputViewpoints=[
|
||||
{'path': '/non/existing/file1', 'intrinsicId': 50},
|
||||
{'path': '/non/existing/file2', 'intrinsicId': 55}
|
||||
])
|
||||
graph4b = meshroom.multiview.photogrammetryPipeline(inputViewpoints=[
|
||||
graph4b = meshroom.multiview.photogrammetry(inputViewpoints=[
|
||||
{'path': '/non/existing/file1', 'intrinsicId': 50},
|
||||
{'path': '/non/existing/file2', 'intrinsicId': 55}
|
||||
])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue