intensity_range(image, range_values='image', clip_negative=False)
Input image.
The image intensity range is configured by this parameter. The possible values for this parameter are enumerated below.
'image'
Return image min/max as the range.
'dtype'
Return min/max of the image's dtype as the range.
dtype-name
Return intensity range based on desired dtype
. Must be valid key in :None:None:`DTYPE_RANGE`
. Note: :None:None:`image`
is ignored for this range type.
2-tuple
Return :None:None:`range_values`
as min/max intensities. Note that there's no reason to use this function if you just want to specify the intensity range explicitly. This option is included for functions that use intensity_range
to support all desired range types.
If True, clip the negative range (i.e. return 0 for min intensity) even if the image dtype allows negative values.
Return image intensity range (min, max) based on desired value type.
The following pages refer to to this document either explicitly or contain code examples using this.
skimage.draw._random_shapes._generate_random_colors
skimage.exposure.exposure.intensity_range
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