mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-24 13:20:43 +08:00
Add deprecation warning in doc string to homography
This commit is contained in:
@@ -35,8 +35,7 @@ cdef inline _matrix_transform(double x, double y, double* H, double *x_,
|
||||
|
||||
def homography(np.ndarray image, np.ndarray H, output_shape=None, int order=1,
|
||||
mode='constant', double cval=0):
|
||||
"""
|
||||
Projective transformation (homography).
|
||||
"""Projective transformation (homography).
|
||||
|
||||
Perform a projective transformation (homography) of a
|
||||
floating point image, using bi-linear interpolation.
|
||||
|
||||
@@ -74,7 +74,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.):
|
||||
"""Perform a projective transformation (homography) on an image.
|
||||
"""
|
||||
.. deprecated::
|
||||
0.7
|
||||
|
||||
Perform a projective transformation (homography) on an image.
|
||||
|
||||
For each pixel, given its homogeneous coordinate :math:`\mathbf{x}
|
||||
= [x, y, 1]^T`, its target position is calculated by multiplying
|
||||
|
||||
Reference in New Issue
Block a user