π Geometric Computer Vision Library for Spatial AI
Python artificial-intelligencecomputer-visiondeep-learninghacktoberfestimage-processingmachine-learningneural-networkpythonpytorchroboticsspatial-ai
add warning into warp_projective docs
edgarribae913689dd2b1
diff --git a/kornia/geometry/transform/projwarp.py b/kornia/geometry/transform/projwarp.pyindex df2453e89..c58cda2cc 100644--- a/kornia/geometry/transform/projwarp.py+++ b/kornia/geometry/transform/projwarp.py@@ -21,6 +21,9 @@ def warp_projective(src: torch.Tensor,align_corners: bool = True) -> torch.Tensor:r"""Applies a projective transformation a to 3d tensor.+ .. warning::+ This API signature it is experimental and might suffer some changes in the future.+Args:src (torch.Tensor): input tensor of shape :math:`(B, C, D, H, W)`.M (torch.Tensor): projective transformation matrix of shape :math:`(B, 3, 4)`.@@ -62,6 +65,9 @@ def warp_projective(src: torch.Tensor,def projection_from_Rt(rmat: torch.Tensor, tvec: torch.Tensor) -> torch.Tensor:r"""Compute the projection matrix from Rotation and translation.+ .. warning::+ This API signature it is experimental and might suffer some changes in the future.+Concatenates the batch of rotations and translations such that :math:`P = [R | t]`.Args:@@ -81,6 +87,9 @@ def projection_from_Rt(rmat: torch.Tensor, tvec: torch.Tensor) -> torch.Tensor:def get_projective_transform(center: torch.Tensor, angles: torch.Tensor, scales: torch.Tensor) -> torch.Tensor:r"""Calculates the projection matrix for a 3D rotation.+ .. warning::+ This API signature it is experimental and might suffer some changes in the future.+The function computes the projection matrix given the center and angles per axis.Args: