Skip to content

Commit

Permalink
avoid the inconsistency between the exported 3d point and 3d point in…
Browse files Browse the repository at this point in the history
… images (#151)
  • Loading branch information
lpanaf authored Dec 17, 2024
1 parent db294c1 commit 18a70ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion glomap/io/colmap_converter.cc
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ void ConvertGlomapToColmap(const std::unordered_map<camera_t, Camera>& cameras,
colmap_point.track.AddElement(colmap_track_el);
}

if (colmap_point.track.Length() < min_supports) continue;
if (track.observations.size() < min_supports) continue;

colmap_point.track.Compress();
reconstruction.AddPoint3D(track_id, std::move(colmap_point));
Expand Down

0 comments on commit 18a70ee

Please sign in to comment.