Skip to content

Conversation

@lpanaf
Copy link
Collaborator

@lpanaf lpanaf commented Dec 17, 2024

fix the 0 focal length in view graph calibration and load only valid image pair

@lpanaf lpanaf requested a review from ahojnnes December 17, 2024 15:30
for (const auto& [camera_id, camera] : cameras) {
focals_[camera_id] = camera.Focal();
// Avoid zero focal length
if (focals_[camera_id] < 1e-3) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Why and when does this happen?

Copy link
Collaborator Author

@lpanaf lpanaf Dec 17, 2024

Choose a reason for hiding this comment

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

I double checked, surprisingly, the camera with 0 focal length even has prior focal length..

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