π Geometric Computer Vision Library for Spatial AI
Python artificial-intelligencecomputer-visiondeep-learninghacktoberfestimage-processingmachine-learningneural-networkpythonpytorchroboticsspatial-ai
fix typo error in warp_perspective docs formula
Siyeong974bb1e0ac26
diff --git a/torchgeometry/core/imgwarp.py b/torchgeometry/core/imgwarp.pyindex b2a34e88e..136633708 100644--- a/torchgeometry/core/imgwarp.py+++ b/torchgeometry/core/imgwarp.py@@ -68,7 +68,7 @@ def warp_perspective(src, M, dsize, flags='bilinear', border_mode=None,.. math::\text{dst} (x, y) = \text{src} \left(- \frac{M_{11} x + M_{12} y + M_{33}}{M_{31} x + M_{32} y + M_{33}} ,+ \frac{M_{11} x + M_{12} y + M_{13}}{M_{31} x + M_{32} y + M_{33}} ,\frac{M_{21} x + M_{22} y + M_{23}}{M_{31} x + M_{32} y + M_{33}}\right )