Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there a function directly for 3d reconstruction? #161

Open
lemonci opened this issue Feb 4, 2025 · 1 comment
Open

Is there a function directly for 3d reconstruction? #161

lemonci opened this issue Feb 4, 2025 · 1 comment

Comments

@lemonci
Copy link

lemonci commented Feb 4, 2025

If I have already known the camera poses (from a simulator) of the images, is there anyway for 3d reconstruction directly from glomap (a function equal to colmap point_triangulator )? I tried the latter one but the result was not so good. Thanks.

@StonerLing
Copy link

Actually GLOMAP use the triangulation function of COLMAP:

bool RetriangulateTracks(const TriangulatorOptions& options,
const colmap::Database& database,
std::unordered_map<camera_t, Camera>& cameras,
std::unordered_map<image_t, Image>& images,
std::unordered_map<track_t, Track>& tracks) {
// Following code adapted from COLMAP
auto database_cache =
colmap::DatabaseCache::Create(database,
options.min_num_matches,
false, // ignore_watermarks
{} // reconstruct all possible images
);

And in my opinion, precise camera poses and keypoint tracks are enough for colmap point_triangulator.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants