diff --git a/skimage/_shared/geometry.pxd b/skimage/_shared/geometry.pxd index b228b23a..afdc6b5b 100644 --- a/skimage/_shared/geometry.pxd +++ b/skimage/_shared/geometry.pxd @@ -1,6 +1,5 @@ - -cdef inline unsigned char point_in_polygon(int nr_verts, double *xp, double *yp, - double x, double y) +cdef unsigned char point_in_polygon(int nr_verts, double *xp, double *yp, + double x, double y) cdef void points_in_polygon(int nr_verts, double *xp, double *yp, int nr_points, double *x, double *y, diff --git a/skimage/_shared/interpolation.pxd b/skimage/_shared/interpolation.pxd index ef880109..f43ff25e 100644 --- a/skimage/_shared/interpolation.pxd +++ b/skimage/_shared/interpolation.pxd @@ -1,24 +1,24 @@ -cdef inline double nearest_neighbour_interpolation(double* image, int rows, - int cols, double r, - double c, char mode, - double cval) +cdef double nearest_neighbour_interpolation(double* image, int rows, + int cols, double r, + double c, char mode, + double cval) -cdef inline double bilinear_interpolation(double* image, int rows, int cols, - double r, double c, char mode, - double cval) +cdef double bilinear_interpolation(double* image, int rows, int cols, + double r, double c, char mode, + double cval) -cdef inline double quadratic_interpolation(double x, double[3] f) -cdef inline double biquadratic_interpolation(double* image, int rows, int cols, - double r, double c, char mode, - double cval) +cdef double quadratic_interpolation(double x, double[3] f) +cdef double biquadratic_interpolation(double* image, int rows, int cols, + double r, double c, char mode, + double cval) -cdef inline double cubic_interpolation(double x, double[4] f) -cdef inline double bicubic_interpolation(double* image, int rows, int cols, - double r, double c, char mode, - double cval) +cdef double cubic_interpolation(double x, double[4] f) +cdef double bicubic_interpolation(double* image, int rows, int cols, + double r, double c, char mode, + double cval) -cdef inline double get_pixel(double* image, int rows, int cols, int r, int c, - char mode, double cval) +cdef double get_pixel(double* image, int rows, int cols, int r, int c, + char mode, double cval) -cdef inline int coord_map(int dim, int coord, char mode) +cdef int coord_map(int dim, int coord, char mode)