Skip to content

Commit

Permalink
[nodes] ImageMatching: Add methods and option nbNeighbors
Browse files Browse the repository at this point in the history
  • Loading branch information
Theo committed Jan 29, 2020
1 parent b075945 commit c1cedd5
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion meshroom/nodes/aliceVision/ImageMatching.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "1.0"
__version__ = "1.1"

import os
from meshroom.core import desc
Expand Down Expand Up @@ -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',
Expand Down Expand Up @@ -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',
Expand Down

0 comments on commit c1cedd5

Please sign in to comment.