Apply numpy doc style for deprecation warning

This commit is contained in:
Johannes Schönberger
2012-08-27 13:35:36 +02:00
parent f4a3b44355
commit 9a46111e76
+5 -2
View File
@@ -349,8 +349,11 @@ def swirl(image, center=None, strength=1, radius=100, rotation=0,
def homography(image, H, output_shape=None, order=1,
mode='constant', cval=0.):
"""
.. deprecated::
0.7
.. note:: Deprecated in skimage 0.7
`homography` will be removed in skimage 0.8, it is replaced by
`warp` because the latter provides the same functionality::
warp(image, ProjectiveTransform(H))
Perform a projective transformation (homography) on an image.