threshold_minmax

Stoner.Image.imagefuncs.threshold_minmax(im, threshmin=0.1, threshmax=0.9)[source]

Return a boolean array which is thresholded between threshmin and threshmax.

(ie True if value is between threshmin and threshmax)