diff --git a/skimage/filter/rank/_percentile.py b/skimage/filter/rank/_percentile.py index c9f4fc98..b87ef5b2 100644 --- a/skimage/filter/rank/_percentile.py +++ b/skimage/filter/rank/_percentile.py @@ -316,6 +316,7 @@ def pop_percentile(image, selem, out=None, mask=None, shift_x=False, image, selem, out=out, mask=mask, shift_x=shift_x, shift_y=shift_y, p0=p0, p1=p1) + def sum_percentile(image, selem, out=None, mask=None, shift_x=False, shift_y=False, p0=0, p1=1): """Return the local sum of pixels. @@ -354,6 +355,7 @@ def sum_percentile(image, selem, out=None, mask=None, shift_x=False, image, selem, out=out, mask=mask, shift_x=shift_x, shift_y=shift_y, p0=p0, p1=p1) + def threshold_percentile(image, selem, out=None, mask=None, shift_x=False, shift_y=False, p0=0): """Local threshold of an image.