8000 Add fixed extrinsics in rig config by anmatako · Pull Request #1144 · colmap/colmap · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Add fixed extrinsics in rig config #1144

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

Merged
merged 4 commits into from
Feb 27, 2021
Merged

Conversation

anmatako
Copy link
Contributor

The rig config can now support fields for relative extrinsics and use these values instead of estimating relative poses from the reconstruction. To use the new behavior the rig config must contain the new "location" and "orientation" properties and the flag estimate_rig_relative_poses must be false (--estimate_rig_relative_poses 0) when calling rig_bundle_adjuster

@ahojnnes ahojnnes merged commit 51f36e3 into colmap:dev Feb 27, 2021
@anmatako anmatako deleted the public/rig-ba branch February 27, 2021 21:14
auto rel_tvec_node = camera.second.get_child_optional("rel_tvec");
if (rel_tvec_node) {
for (const auto& node : rel_tvec_node.get()) {
rel_tvec[index] = node.second.get_value<double>();

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You missed the ++ after index 🙂 Same for loading rel_qvec below.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch on that one; I'll post a fix.

lucasthahn pushed a commit to tne-ai/colmap that referenced this pull request Aug 17, 2022
* Add fixed extrinsics in rig config

* Renamed rig config fields

* Update CMakeLists.txt

* Update colmap.cc

Co-authored-by: Antonios Matakos <anmatako@dss.microsoft.us>
Co-authored-by: Johannes Schönberger <jsch@demuc.de>
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

Successfully merging this pull request may close these issues.

3 participants
0