ahojnnes · GitHub

@ahojnnes

Copy link Copy Markdown

Contributor

Fixing the unrelated issue of correctly initializing the PRNG in our synthetic scene generator revealed issues with homography pose estimation. Out of the 4 decomposed solutions, the cheirality check can only eliminate 2 and we would randomly pick one of them. I added a reprojection check to resolve the ambiguity. This PR addresses both issues jointly. Previously, on synthetically generated image pairs, half of the pairs would fail to correctly estimate the relative pose from the homography. Now, we achieve 100% success rate. I also added more test coverage.

ahojnnes

ahojnnes

@ahojnnes

ahojnnes

B1ueber2y

Copy link Copy Markdown

Contributor

Choose a reason for hiding this comment

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

Thanks. LGTM

sarlinpe

Copy link Copy Markdown

Member

Choose a reason for hiding this comment

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

Thank you very much!

@ahojnnes

@ahojnnes

ahojnnes deleted the user/jsch/two-view-geometry-fixes branch

April 7, 2025 15:14

Merged

Read the original on github.com ↗