PercentileCode#

Cython code for the percentile rank filters.

autolevel(source, selem, sink, max_bin, p, q)#
autolevel_masked(source, selem, mask, sink, max_bin, p, q)#
enhance_contrast(source, selem, sink, max_bin, p, q)#
enhance_contrast_masked(source, selem, mask, sink, max_bin, p, q)#
gradient(source, selem, sink, max_bin, p, q)#
gradient_masked(source, selem, mask, sink, max_bin, p, q)#
mean(source, selem, sink, max_bin, p, q)#
mean_masked(source, selem, mask, sink, max_bin, p, q)#
percentile(source, selem, sink, max_bin, p, q)#
percentile_masked(source, selem, mask, sink, max_bin, p, q)#
pop(source, selem, sink, max_bin, p, q)#
pop_masked(source, selem, mask, sink, max_bin, p, q)#
subtract_mean(source, selem, sink, max_bin, p, q)#
subtract_mean_masked(source, selem, mask, sink, max_bin, p, q)#
sum(source, selem, sink, max_bin, p, q)#
sum_above(source, selem, sink, max_bin, p, q)#
sum_above_masked(source, selem, mask, sink, max_bin, p, q)#
sum_masked(source, selem, mask, sink, max_bin, p, q)#
threshold(source, selem, sink, max_bin, p, q)#
threshold_masked(source, selem, mask, sink, max_bin, p, q)#