From 14b6a55adea7676c9af902c058e9ff5acc55e938 Mon Sep 17 00:00:00 2001 From: cgohlke Date: Sat, 29 Sep 2012 16:01:11 -0700 Subject: [PATCH] Document correct parameter types --- skimage/_shared/interpolation.pyx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/skimage/_shared/interpolation.pyx b/skimage/_shared/interpolation.pyx index 0922173d..e0fd0067 100644 --- a/skimage/_shared/interpolation.pyx +++ b/skimage/_shared/interpolation.pyx @@ -21,7 +21,7 @@ cdef inline double nearest_neighbour_interpolation(double* image, int rows, Input image. rows, cols : int Shape of image. - r, c : int + r, c : double Position at which to interpolate. mode : {'C', 'W', 'R', 'N'} Wrapping mode. Constant, Wrap, Reflect or Nearest. @@ -50,7 +50,7 @@ cdef inline double bilinear_interpolation(double* image, int rows, int cols, Input image. rows, cols : int Shape of image. - r, c : int + r, c : double Position at which to interpolate. mode : {'C', 'W', 'R', 'N'} Wrapping mode. Constant, Wrap, Reflect or Nearest. @@ -109,7 +109,7 @@ cdef inline double biquadratic_interpolation(double* image, int rows, int cols, Input image. rows, cols : int Shape of image. - r, c : int + r, c : double Position at which to interpolate. mode : {'C', 'W', 'R', 'N'} Wrapping mode. Constant, Wrap, Reflect or Nearest. @@ -185,7 +185,7 @@ cdef inline double bicubic_interpolation(double* image, int rows, int cols, Input image. rows, cols : int Shape of image. - r, c : int + r, c : double Position at which to interpolate. mode : {'C', 'W', 'R', 'N'} Wrapping mode. Constant, Wrap, Reflect or Nearest.