rgb2rgbcie

rgb2rgbcie

skimage.color.rgb2rgbcie(rgb) [source]

RGB to RGB CIE color space conversion.

Parameters:

rgb : array_like

The image in RGB format, in a 3-D array of shape (.., .., 3).

Returns:

out : ndarray

The image in RGB CIE format, in a 3-D array of shape (.., .., 3).

Raises:

ValueError

If rgb is not a 3-D array of shape (.., .., 3).

References

[R52] http://en.wikipedia.org/wiki/CIE_1931_color_space

Examples

>>> from skimage import data
>>> from skimage.color import rgb2rgbcie
>>> img = data.astronaut()
>>> img_rgbcie = rgb2rgbcie(img)
doc_scikit_image
2017-01-12 17:23:17
Comments
Leave a Comment

Please login to continue.