Skip to content

Commit d2fed16

Browse files
committed
avoid the inconsistency between the exported 3d point and 3d point in images
1 parent db294c1 commit d2fed16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

glomap/io/colmap_converter.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ void ConvertGlomapToColmap(const std::unordered_map<camera_t, Camera>& cameras,
8181
colmap_point.track.AddElement(colmap_track_el);
8282
}
8383

84-
if (colmap_point.track.Length() < min_supports) continue;
84+
if (track.observations.size() < min_supports) continue;
8585

8686
colmap_point.track.Compress();
8787
reconstruction.AddPoint3D(track_id, std::move(colmap_point));

0 commit comments

Comments
 (0)