mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-09 01:19:36 +08:00
Improve function name in warp example
This commit is contained in:
@@ -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):
|
||||
|
||||
|
||||
Reference in New Issue
Block a user