π Geometric Computer Vision Library for Spatial AI
Python artificial-intelligencecomputer-visiondeep-learninghacktoberfestimage-processingmachine-learningneural-networkpythonpytorchroboticsspatial-ai
Fixed doc typo
Jian S8e9186e125b7
diff --git a/kornia/geometry/transform/imgwarp.py b/kornia/geometry/transform/imgwarp.pyindex 9044c331e..d19718dc3 100644--- a/kornia/geometry/transform/imgwarp.py+++ b/kornia/geometry/transform/imgwarp.py@@ -518,11 +518,11 @@ def get_shear_matrix3d(m = S_{xy}n = S_{xz}o = S_{yx}- p = S_{xy}S_{yx} + S_{yz}- q = S_{xz}S_{yx}+ p = S_{xy}S_{yx} + 1+ q = S_{xz}S_{yx} + S_{yz}r = S_{zx} + S_{yx}S_{zy}- s = S_{xy}S_{zx} + (S_{xy}S_{yx} + S_{yz})S_{zy}- t = S_{xz}S_{zx} + S_{xz}S_{yx}S_{zy} + 1+ s = S_{xy}S_{zx} + (S_{xy}S_{yx} + 1)S_{zy}+ t = S_{xz}S_{zx} + (S_{xz}S_{yx} + S_{yz})S_{zy} + 1Returns:torch.Tensor: params to be passed to the affine transformation.