diff --git a/skimage/filter/rank/percentile_cy.pyx b/skimage/filter/rank/percentile_cy.pyx index 31afd53a..ffa5e1b0 100644 --- a/skimage/filter/rank/percentile_cy.pyx +++ b/skimage/filter/rank/percentile_cy.pyx @@ -268,7 +268,8 @@ def _percentile(dtype_t[:, ::1] image, char[:, ::1] selem, char[:, ::1] mask, dtype_t_out[:, ::1] out, - char shift_x, char shift_y, double p0, Py_ssize_t max_bin): + char shift_x, char shift_y, double p0, double p1, + Py_ssize_t max_bin): _core(_kernel_percentile[dtype_t], image, selem, mask, out, shift_x, shift_y, p0, 1, 0, 0, max_bin) @@ -289,7 +290,8 @@ def _threshold(dtype_t[:, ::1] image, char[:, ::1] selem, char[:, ::1] mask, dtype_t_out[:, ::1] out, - char shift_x, char shift_y, double p0, Py_ssize_t max_bin): + char shift_x, char shift_y, double p0, double p1, + Py_ssize_t max_bin): _core(_kernel_threshold[dtype_t], image, selem, mask, out, shift_x, shift_y, p0, 1, 0, 0, max_bin)