Skip to content

Commit 436e4b8

Browse files
authored
Merge pull request #105 from 3DOM-FBK/dev
templates for affine matching in preselction and new metashape export
2 parents 65e0b48 + cc432f3 commit 436e4b8

File tree

5 files changed

+552
-2
lines changed

5 files changed

+552
-2
lines changed

demo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"pipeline": "superpoint+lightglue", # ["superpoint+lightglue", "superpoint+lightglue_fast", "superpoint+superglue", "superpoint+kornia_matcher", "disk+lightglue", "aliked+lightglue", "orb+kornia_matcher", "sift+kornia_matcher", "loftr", "se2loftr", "roma", "srif", "keynetaffnethardnet+kornia_matcher", "dedode+kornia_matcher"]
1818
"strategy": "bruteforce", # ["matching_lowres", "bruteforce", "sequential", "retrieval", "custom_pairs", "covisibility"]
1919
"quality": "medium", # ["lowest", "low", "medium", "high", "highest"]
20-
"tiling": "none", # ["none", "preselection", "grid", "exhaustive"]
20+
"tiling": "preselection", # ["none", "preselection", "grid", "exhaustive", "preselection_affine_transform"]
2121
"camera_options": "./assets/example_cyprus/cameras.yaml",
2222
"openmvg": None,
2323
"force": True, # Remove existing features and matches

src/deep_image_matching/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
# Minimum number of matches per tile
6767
"min_matches_per_tile": 10,
6868
# Use geomertic verification for each tile pair (if tiling is used)
69-
"geometric_verification_per_tile": True,
69+
"geometric_verification_per_tile": False,
7070
"gv_threshold_in_tiles_matching": 4,
7171
# Geometric verification method and parameters:
7272
# GeometricVerification.NONE (no geometric verification),

src/deep_image_matching/constants.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ class TileSelection(Enum):
4242
EXHAUSTIVE = 1
4343
GRID = 2
4444
PRESELECTION = 3
45+
PRESELECTION_AFFINE_TRANSFORM = 4
4546

4647

4748
class GeometricVerification(Enum):

0 commit comments

Comments
 (0)