Skip to content

🐍 Geometric Computer Vision Library for Spatial AI

fixed doc of `reproject_disparity_to_3D` to reflect how it expects `disparity_tensor` (#1678)

nitaifingerhut3eebf6ab4b15
diff --git a/kornia/geometry/camera/stereo.py b/kornia/geometry/camera/stereo.py
index 0a4776b8e..0e82339fe 100644
--- a/kornia/geometry/camera/stereo.py
+++ b/kornia/geometry/camera/stereo.py
@@ -276,7 +276,7 @@ def reproject_disparity_to_3D(disparity_tensor: torch.Tensor, Q_matrix: torch.Te
r"""Reproject the disparity tensor to a 3D point cloud.
Args:
- disparity_tensor: Disparity tensor of shape :math:`(B, 1, H, W)`.
+ disparity_tensor: Disparity tensor of shape :math:`(B, H, W, 1)`.
Q_matrix: Tensor of Q matrices of shapes :math:`(B, 4, 4)`.
Returns: