mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-05-23 14:06:28 +02:00
[multiview] Update the SfM pipeline & augmentation for multiple inputs
This commit is contained in:
parent
f4b3364275
commit
b0d8cf208b
1 changed files with 8 additions and 9 deletions
|
@ -81,16 +81,15 @@ def sfmPipeline(graph):
|
|||
input=cameraInit.output)
|
||||
imageMatching = graph.addNewNode('ImageMatching',
|
||||
input=featureExtraction.input,
|
||||
featuresFolder=featureExtraction.output,
|
||||
)
|
||||
featuresFolders=[featureExtraction.output])
|
||||
featureMatching = graph.addNewNode('FeatureMatching',
|
||||
input=imageMatching.input,
|
||||
featuresFolder=imageMatching.featuresFolder,
|
||||
featuresFolders=imageMatching.featuresFolders,
|
||||
imagePairsList=imageMatching.output)
|
||||
structureFromMotion = graph.addNewNode('StructureFromMotion',
|
||||
input=featureMatching.input,
|
||||
featuresFolder=featureMatching.featuresFolder,
|
||||
matchesFolder=featureMatching.output)
|
||||
featuresFolders=featureMatching.featuresFolders,
|
||||
matchesFolders=[featureMatching.output])
|
||||
return [
|
||||
cameraInit,
|
||||
featureExtraction,
|
||||
|
@ -163,16 +162,16 @@ def sfmAugmentation(graph, sourceSfm, withMVS=False):
|
|||
input=cameraInit.output)
|
||||
imageMatchingMulti = graph.addNewNode('ImageMatchingMultiSfM',
|
||||
input=featureExtraction.input,
|
||||
featuresFolder=featureExtraction.output
|
||||
featuresFolders=[featureExtraction.output]
|
||||
)
|
||||
featureMatching = graph.addNewNode('FeatureMatching',
|
||||
input=imageMatchingMulti.outputCombinedSfM,
|
||||
featuresFolder=imageMatchingMulti.featuresFolder,
|
||||
featuresFolders=imageMatchingMulti.featuresFolders,
|
||||
imagePairsList=imageMatchingMulti.output)
|
||||
structureFromMotion = graph.addNewNode('StructureFromMotion',
|
||||
input=featureMatching.input,
|
||||
featuresFolder=featureMatching.featuresFolder,
|
||||
matchesFolder=featureMatching.output)
|
||||
featuresFolders=featureMatching.featuresFolders,
|
||||
matchesFolders=[featureMatching.output])
|
||||
graph.addEdge(sourceSfm.output, imageMatchingMulti.inputB)
|
||||
|
||||
sfmNodes = [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue