diff --git a/skimage/transform/_project.pyx b/skimage/transform/_project.pyx index 4df6e001..201785ad 100644 --- a/skimage/transform/_project.pyx +++ b/skimage/transform/_project.pyx @@ -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. diff --git a/skimage/transform/_warps.py b/skimage/transform/_warps.py index f09f7944..4c499d6b 100644 --- a/skimage/transform/_warps.py +++ b/skimage/transform/_warps.py @@ -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