mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-05-19 20:16:30 +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
|
import os
|
||||||
from meshroom.core import desc
|
from meshroom.core import desc
|
||||||
|
@ -28,6 +28,15 @@ class ImageMatching(desc.CommandLineNode):
|
||||||
label="Features Folders",
|
label="Features Folders",
|
||||||
description="Folder(s) containing the extracted features and descriptors."
|
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(
|
desc.File(
|
||||||
name='tree',
|
name='tree',
|
||||||
label='Tree',
|
label='Tree',
|
||||||
|
@ -70,6 +79,15 @@ class ImageMatching(desc.CommandLineNode):
|
||||||
uid=[0],
|
uid=[0],
|
||||||
advanced=True,
|
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(
|
desc.ChoiceParam(
|
||||||
name='verboseLevel',
|
name='verboseLevel',
|
||||||
label='Verbose Level',
|
label='Verbose Level',
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue