[nodes] ImageMatching: add option FrustumOrVocabularyTree

This commit is contained in:
Fabien Castan 2020-03-26 20:51:37 +01:00
parent bb683b6e32
commit 6a62644a68
2 changed files with 14 additions and 3 deletions

View file

@ -152,7 +152,8 @@ def hdriPipeline(graph):
imageMatching = graph.addNewNode('ImageMatching',
input=panoramaInit.outSfMDataFilename,
featuresFolders=[featureExtraction.output])
featuresFolders=[featureExtraction.output],
method='FrustumOrVocabularyTree')
featureMatching = graph.addNewNode('FeatureMatching',
input=imageMatching.input,
featuresFolders=imageMatching.featuresFolders,

View file

@ -25,6 +25,8 @@ Combines sequential approach with Voc Tree to enable connections between keyfram
Export all image pairs.
* **Frustum**
If images have known poses, computes the intersection between cameras frustums to create the list of image pairs.
* **FrustumOrVocabularyTree**
If images have known poses, use frustum intersection else use VocabularuTree.
## Online
[https://alicevision.org/#photogrammetry/image_matching](https://alicevision.org/#photogrammetry/image_matching)
@ -53,9 +55,17 @@ If images have known poses, computes the intersection between cameras frustums t
desc.ChoiceParam(
name='method',
label='Method',
description='Method used to select the image pairs to match.',
description='Method used to select the image pairs to match:\n'
' * VocabularyTree: It uses image retrieval techniques to find images that share some content without the cost of resolving all \n'
'feature matches in details. Each image is represented in a compact image descriptor which allows to compute the distance between all \n'
'images descriptors very efficiently. If your scene contains less than "Voc Tree: Minimal Number of Images", all image pairs will be selected.\n'
' * Sequential: If your input is a video sequence, you can use this option to link images between them over time.\n'
' * SequentialAndVocabularyTree: Combines sequential approach with VocTree to enable connections between keyframes at different times.\n'
' * Exhaustive: Export all image pairs.\n'
' * Frustum: If images have known poses, computes the intersection between cameras frustums to create the list of image pairs.\n'
' * FrustumOrVocabularyTree: If images have known poses, use frustum intersection else use VocabularuTree.\n',
value='VocabularyTree',
values=['VocabularyTree', 'Sequential', 'SequentialAndVocabularyTree','Exhaustive','Frustum'],
values=['VocabularyTree', 'Sequential', 'SequentialAndVocabularyTree', 'Exhaustive', 'Frustum', 'FrustumOrVocabularyTree'],
exclusive=True,
uid=[0],
),