Filters

Preprocessing filters

contrast_stretch(img[, lower_limit, upper_limit])

Simple percentile-based contrast stretching.

gaussian_filter(img[, sigma, truncate, ...])

A simple sliding window gaussian low pass filter.

highpass_filter(img[, sigma, truncate, ...])

A simple sliding window gaussian high pass filter.

intensity_cap(img[, std_mult, keep_dtype])

Set pixels above threshold to threshold.

sobel_filter(img[, keep_dtype])

A simple sobel filter.

threshold_binarization(img[, threshold, ...])

A threshold binarization filter.

variance_normalization_filter(img[, sigma1, ...])

A simple gaussian variance normalization filter.