skimage 0.17.2

To remove in the future –– skimage.color.colorconv

Functions for converting between color spaces.

The "central" color space in this module is RGB, more specifically the linear sRGB color space using D65 as a white-point . This represents a standard monitor (w/o gamma correction). For a good FAQ on color spaces see .

The API consists of functions to convert to and from RGB as defined above, as well as a generic function to convert to and from any supported color space (which is done through RGB in most cases).

Supported color spaces

author

Nicolas Pinto (rgb2hsv)

author

Ralf Gommers (hsv2rgb)

author

Travis Oliphant (XYZ and RGB CIE functions)

author

Matt Terry (lab2lch)

author

Alex Izvorski (yuv2rgb, rgb2yuv and related)

license

modified BSD

References

            <Unimplemented 'footnote' '.. [1] Official specification of sRGB, IEC 61966-2-1:1999.'>
           
            <Unimplemented 'footnote' '.. [2] http://www.poynton.com/ColorFAQ.html'>
           
            <Unimplemented 'footnote' '.. [3] https://en.wikipedia.org/wiki/HSL_and_HSV'>
           
            <Unimplemented 'footnote' '.. [4] https://en.wikipedia.org/wiki/CIE_1931_color_space'>
           

Examples

See :

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/color/colorconv.py#0
type: <class 'module'>
Commit: