mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-26 13:37:17 +08:00
fix and improve comments, doc strings, variable names for consistency reasons
This commit is contained in:
@@ -152,7 +152,7 @@ def homography(image, H, output_shape=None, order=1,
|
||||
"""
|
||||
import warnings
|
||||
warnings.warn('the homography function is deprecated; '
|
||||
'use the `warp` and `tform` function instead',
|
||||
'use the `warp` and `ProjectiveTransform` class instead',
|
||||
category=DeprecationWarning)
|
||||
|
||||
tform = ProjectiveTransform(H)
|
||||
|
||||
Reference in New Issue
Block a user