is_low_contrast(image, fraction_threshold=0.05, lower_percentile=1, upper_percentile=99, method='linear')
The image under test.
The low contrast fraction threshold. An image is considered low- contrast when its range of brightness spans less than this fraction of its data type's full range.
Disregard values below this percentile when computing image contrast.
Disregard values above this percentile when computing image contrast.
The contrast determination method. Right now the only available option is "linear".
True when the image is determined to be low contrast.
Determine if an image is low contrast.
>>> image = np.linspace(0, 0.04, 100)This example is valid syntax, but we were not able to check execution
... is_low_contrast(image) True
>>> image[-1] = 1This example is valid syntax, but we were not able to check execution
... is_low_contrast(image) True
>>> is_low_contrast(image, upper_percentile=100) FalseSee :
The following pages refer to to this document either explicitly or contain code examples using this.
skimage.viewer.widgets.core.Slider
skimage.exposure.exposure.is_low_contrast
Hover to see nodes names; edges to Self not shown, Caped at 50 nodes.
Using a canvas is more power efficient and can get hundred of nodes ; but does not allow hyperlinks; , arrows or text (beyond on hover)
SVG is more flexible but power hungry; and does not scale well to 50 + nodes.
All aboves nodes referred to, (or are referred from) current nodes; Edges from Self to other have been omitted (or all nodes would be connected to the central node "self" which is not useful). Nodes are colored by the library they belong to, and scaled with the number of references pointing them