You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
print(f"Percentage of cells with non zero density: {covered_area}%")
92
+
#print(f"Percentage of cells with non zero density: {covered_area}%")
83
93
84
94
density_grid_normalized=zoom(
85
95
density_grid_normalized,
@@ -107,20 +117,25 @@ def ComupteMetrics(
107
117
parser=argparse.ArgumentParser(
108
118
description="Export pairs in a txt file from a COLMAP database."
109
119
)
110
-
parser.add_argument("-d", "--database", type=Path, required=True, help="Path to COLMAP database.")
111
-
parser.add_argument("-m", "--min_n_matches", type=int, required=True, help="Min number of matches that a pair should have after geometric verification.")
112
-
parser.add_argument("-o", "--output", type=Path, required=True, help="Path to output folder.")
120
+
#parser.add_argument("-d", "--database", type=Path, required=True, help="Path to COLMAP database.")
121
+
#parser.add_argument("-m", "--min_n_matches", type=int, required=True, help="Min number of matches that a pair should have after geometric verification.")
122
+
#parser.add_argument("-o", "--output", type=Path, required=True, help="Path to output folder.")
113
123
parser.add_argument("-l", "--model", type=Path, required=True, help="Path to model folder.")
# Minimum number of inliers matches and minumum inlier ratio per pair
51
51
"min_inliers_per_pair": 15,
52
-
"min_inlier_ratio_per_pair": 0.25,
52
+
"min_inlier_ratio_per_pair": 0.15,
53
53
# Even if the features are extracted by tiles, you can try to match the features of the entire image first (if the number of features is not too high and they can fit into memory). Default is False.
54
54
"try_match_full_images": False,
55
55
"preselection_pipeline": "superpoint+lightglue",
@@ -66,7 +66,7 @@
66
66
"name": "superpoint",
67
67
"nms_radius": 3,
68
68
"keypoint_threshold": 0.0005,
69
-
"max_keypoints": 4096,
69
+
"max_keypoints": 2048,
70
70
},
71
71
"matcher": {
72
72
# Refer to https://github.com/cvg/LightGlue/tree/main for the meaning of the parameters
0 commit comments