mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-05-18 11:36:27 +02:00
[nodes] ImageMatching: Add methods and option nbNeighbors
This commit is contained in:
parent
b075945266
commit
c1cedd50a3
1 changed files with 19 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
__version__ = "1.0"
|
||||
__version__ = "1.1"
|
||||
|
||||
import os
|
||||
from meshroom.core import desc
|
||||
|
@ -28,6 +28,15 @@ class ImageMatching(desc.CommandLineNode):
|
|||
label="Features Folders",
|
||||
description="Folder(s) containing the extracted features and descriptors."
|
||||
),
|
||||
desc.ChoiceParam(
|
||||
name='method',
|
||||
label='Method',
|
||||
description='Method used to select the image pairs to match.',
|
||||
value='VocabularyTree',
|
||||
values=['VocabularyTree', 'Sequential', 'SequentialAndVocabularyTree','Exhaustive','Frustum'],
|
||||
exclusive=True,
|
||||
uid=[0],
|
||||
),
|
||||
desc.File(
|
||||
name='tree',
|
||||
label='Tree',
|
||||
|
@ -70,6 +79,15 @@ class ImageMatching(desc.CommandLineNode):
|
|||
uid=[0],
|
||||
advanced=True,
|
||||
),
|
||||
desc.IntParam(
|
||||
name='nbNeighbors',
|
||||
label='Nb Neighbors',
|
||||
description='The number of neighbors to retrieve for each image (If 0 it will retrieve all the neighbors).',
|
||||
value=50,
|
||||
range=(0, 1000, 1),
|
||||
uid=[0],
|
||||
advanced=True,
|
||||
),
|
||||
desc.ChoiceParam(
|
||||
name='verboseLevel',
|
||||
label='Verbose Level',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue