From e6a7238fabb512d08717f40ca449057a77e12724 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johannes=20Sch=C3=B6nberger?= Date: Sun, 26 May 2013 10:50:00 +0200 Subject: [PATCH] Fix incomplete options for mode of _warp_fast function --- skimage/transform/_warps_cy.pyx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skimage/transform/_warps_cy.pyx b/skimage/transform/_warps_cy.pyx index 968f643a..3ffe9b9b 100644 --- a/skimage/transform/_warps_cy.pyx +++ b/skimage/transform/_warps_cy.pyx @@ -75,7 +75,7 @@ def _warp_fast(cnp.ndarray image, cnp.ndarray H, output_shape=None, int order=1, * 1: Bilinear interpolation (default). * 2: Biquadratic interpolation (default). * 3: Bicubic interpolation. - mode : {'constant', 'reflect', 'wrap'} + mode : {'constant', 'reflect', 'wrap', 'nearest'} How to handle values outside the image borders. cval : string Used in conjunction with mode 'C' (constant), the value