Improve function name in warp example

This commit is contained in:
Johannes Schönberger
2014-03-13 18:40:08 -04:00
parent ece0f30af3
commit 1f5ec3e8ed
+2 -2
View File
@@ -1043,10 +1043,10 @@ def warp(image, inverse_map=None, map_args={}, output_shape=None, order=1,
Use a callable (slow):
>>> def shift_bottom(xy):
>>> def shift_down(xy):
... xy[:, 1] -= 10
... return xy
>>> warped = warp(image, shift_bottom)
>>> warped = warp(image, shift_down)
Use a transformation matrix to warp an image (fast):