From 5184be85b12b8f6489d050734562f5c06c511dff 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 3150f41b..afe8f18f 100644 --- a/skimage/_shared/interpolation.pyx +++ b/skimage/_shared/interpolation.pyx @@ -17,7 +17,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. @@ -46,7 +46,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. @@ -105,7 +105,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. @@ -181,7 +181,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.