RankCode#

Cython code for the basic rank filters.

autolevel(source, selem, sink, max_bin, p, q)#
autolevel_masked(source, selem, mask, sink, max_bin, p, q)#
bottomhat(source, selem, sink, max_bin, p, q)#
bottomhat_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)#
entropy(source, selem, sink, max_bin, p, q)#
entropy_masked(source, selem, mask, sink, max_bin, p, q)#
equalize(source, selem, sink, max_bin, p, q)#
equalize_masked(source, selem, mask, sink, max_bin, p, q)#
geometric_mean(source, selem, sink, max_bin, p, q)#
geometric_mean_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)#
histogram(source, selem, sink, max_bin, p, q)#
histogram_masked(source, selem, mask, sink, max_bin, p, q)#
maximum(source, selem, sink, max_bin, p, q)#
maximum_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)#
median(source, selem, sink, max_bin, p, q)#
median_masked(source, selem, mask, sink, max_bin, p, q)#
minimum(source, selem, sink, max_bin, p, q)#
minimum_masked(source, selem, mask, sink, max_bin, p, q)#
minmax(source, selem, sink, max_bin, p, q)#
minmax_masked(source, selem, mask, sink, max_bin, p, q)#
modal(source, selem, sink, max_bin, p, q)#
modal_masked(source, selem, mask, sink, max_bin, p, q)#
noise_filter(source, selem, sink, max_bin, p, q)#
noise_filter_masked(source, selem, mask, sink, max_bin, p, q)#
otsu(source, selem, sink, max_bin, p, q)#
otsu_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)#
std(source, selem, sink, max_bin, p, q)#
std_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_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)#
tophat(source, selem, sink, max_bin, p, q)#
tophat_masked(source, selem, mask, sink, max_bin, p, q)#