rgbcie2rgb

rgbcie2rgb

skimage.color.rgbcie2rgb(rgbcie) [source]

RGB CIE to RGB color space conversion.

Parameters:

rgbcie : array_like

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

Returns:

out : ndarray

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

Raises:

ValueError

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

References

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

Examples

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

Please login to continue.