skimage 0.17.2

ParametersReturnsBackRef
_output_dtype(dtype_or_range)

The dtype is determined according to the following rules: - if dtype_or_range is a dtype, that is the output dtype. - if dtype_or_range is a dtype string, that is the dtype used, unless it is not a NumPy data type (e.g. 'uint12' for 12-bit unsigned integers), in which case the data type that can contain it will be used (e.g. uint16 in this case). - if dtype_or_range is a pair of values, the output data type will be float.

Parameters

dtype_or_range : type, string, or 2-tuple of int/float

The desired range for the output, expressed as either a NumPy dtype or as a (min, max) pair of numbers.

Returns

out_dtype : type

The data type appropriate for the desired output.

Determine the output dtype for rescale_intensity.

Examples

See :

Back References

The following pages refer to to this document either explicitly or contain code examples using this.

skimage.filters.rank.generic

Local connectivity graph

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


File: /skimage/exposure/exposure.py#269
type: <class 'function'>
Commit: