You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug Report] Perspective-depth conversion ignores camera intrinsic skew #9236
orthogonalize_perspective_depth uses focal lengths and principal points but ignores the skew entry K[0, 1]. For a conventional upper-triangular calibration matrix with nonzero skew, the normalized camera ray is consequently wrong. This also affects unproject_depth(..., is_ortho=False), which relies on this conversion.
Expected: orthogonal depth equals perspective range times the normalized ray's optical-axis component. The existing calculation is correct for zero-skew intrinsics but fails this check for nonzero skew.
System Info
main at 3dbc052, macOS ARM64, Python 3.12, PyTorch 2.12.0. CPU reproduction without Isaac Sim.
Additional context
Recover the normalized y coordinate first, then subtract the skew contribution when recovering x. No matrix inverse or additional dependency is needed. A batched regression uses an independent NumPy linear-system reference for both skewed and zero-skew intrinsics. It fails on main and passes after the correction; the full math test file reports 123 passed, 3 skipped.
Activity