mirror of
https://github.com/wassname/scikit-image.git
synced 2026-09-12 12:50:49 +08:00
Fix: 'inline' not permitted on data declarations
This commit is contained in:
@@ -1,24 +1,24 @@
|
|||||||
|
|
||||||
cdef inline double nearest_neighbour_interpolation(double* image, int rows,
|
cdef double nearest_neighbour_interpolation(double* image, int rows,
|
||||||
int cols, double r,
|
int cols, double r,
|
||||||
double c, char mode,
|
double c, char mode,
|
||||||
double cval)
|
double cval)
|
||||||
|
|
||||||
cdef inline double bilinear_interpolation(double* image, int rows, int cols,
|
cdef double bilinear_interpolation(double* image, int rows, int cols,
|
||||||
double r, double c, char mode,
|
double r, double c, char mode,
|
||||||
double cval)
|
double cval)
|
||||||
|
|
||||||
cdef inline double quadratic_interpolation(double x, double[3] f)
|
cdef double quadratic_interpolation(double x, double[3] f)
|
||||||
cdef inline double biquadratic_interpolation(double* image, int rows, int cols,
|
cdef double biquadratic_interpolation(double* image, int rows, int cols,
|
||||||
double r, double c, char mode,
|
double r, double c, char mode,
|
||||||
double cval)
|
double cval)
|
||||||
|
|
||||||
cdef inline double cubic_interpolation(double x, double[4] f)
|
cdef double cubic_interpolation(double x, double[4] f)
|
||||||
cdef inline double bicubic_interpolation(double* image, int rows, int cols,
|
cdef double bicubic_interpolation(double* image, int rows, int cols,
|
||||||
double r, double c, char mode,
|
double r, double c, char mode,
|
||||||
double cval)
|
double cval)
|
||||||
|
|
||||||
cdef inline double get_pixel(double* image, int rows, int cols, int r, int c,
|
cdef double get_pixel(double* image, int rows, int cols, int r, int c,
|
||||||
char mode, double cval)
|
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)
|
||||||
|
|||||||
Reference in New Issue
Block a user