fluidimage.works.preproc._toolbox_cv#

Preprocess toolbox#

A toolbox for preprocessing images. Based on OpenCV library. cf. http://www.opencv.org.cn/opencvdoc/2.3.2/html/modules/imgproc/doc/filtering.html

Provides:

members:

Functions

adaptive_threshold([img, window_size, offset])

Adaptive threshold transforms a grayscale image to a binary image.

global_threshold([img, minima, maxima])

Trims pixel intensities which are outside the interval (minima, maxima).

sliding_median([img, weight, window_size])

Subtracts the median calculated within a sliding window from the centre of the window.

sliding_minima([img, weight, window_size, ...])

Subtracts the minimum calculated within a sliding window from the centre of the window.