Fix markup in docs.

This commit is contained in:
Stefan van der Walt
2009-10-04 02:02:51 +02:00
parent 927157e7e5
commit e32dc80c56
+10 -6
View File
@@ -25,15 +25,19 @@ def homography(image, H, output_shape=None, order=1,
with the given matrix, :math:`H`, to give :math:`H \mathbf{x}`.
E.g., to rotate by theta degrees clockwise, the matrix should be
[[cos(theta) -sin(theta) 0]
[sin(theta) cos(theta) 0]
[0 0 1]]
::
[[cos(theta) -sin(theta) 0]
[sin(theta) cos(theta) 0]
[0 0 1]]
or, to translate x by 10 and y by 20,
[[1 0 10]
[0 1 20]
[0 0 1 ]].
::
[[1 0 10]
[0 1 20]
[0 0 1 ]].
Parameters
----------