Skip to content

Propagate stereo pixel noise to the back-projected point - #2959

Merged
dellaert merged 1 commit into
borglab:developfrom
avinashresearch1:avi/stereo-backproject-covariance
Dec 2, 2026
Merged

dellaert merged 1 commit into
borglab:developfrom
avinashresearch1:avi/stereo-backproject-covariance

Conversation

@avinashresearch1

@avinashresearch1 avinashresearch1 commented Nov 29, 2026 •

Copy link
Copy Markdown
Contributor

Add StereoCamera::backprojectWithCovariance, which back-projects a stereo measurement and returns the point with its first-order covariance H * Sigma_z * H^T, where H is the Jacobian of backproject2 with respect to the measurement, evaluated at the measurement. One overload takes the 3x3 covariance of (uL, uR, v) and the other an isotropic pixel sigma. The point and its covariance are both in the world frame.

Wrap both overloads for Python, test them in C++ and Python against the closed form of Holmes, Dümbgen and Barfoot (T-RO 2024, App. E), and document the method in StereoCamera.ipynb. Correct the backproject2 doc comment and notebook section, which described H2 as the derivative with respect to the point rather than the measurement.

Addresses #2957

Add StereoCamera::backprojectWithCovariance, which back-projects a stereo
measurement and returns the point with its first-order covariance
H * Sigma_z * H^T, where H is the Jacobian of backproject2 with respect to
the measurement, evaluated at the measurement. One overload takes the 3x3
covariance of (uL, uR, v) and the other an isotropic pixel sigma. The point
and its covariance are both in the world frame.

Wrap both overloads for Python, test them in C++ and Python against the
closed form of Holmes, Dümbgen and Barfoot (T-RO 2024, App. E), and
document the method in StereoCamera.ipynb. Correct the backproject2 doc
comment and notebook section, which described H2 as the derivative with
respect to the point rather than the measurement.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

@dellaert dellaert left a comment

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.

Nice!

@dellaert
dellaert merged commit ea29c32 into borglab:develop Dec 2, 2026
9 checks passed
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.

2 participants