skimage2.color.rgbcie2rgb#

skimage2.color.rgbcie2rgb(rgbcie, *, channel_axis=-1)[source]#

RGB CIE to RGB color space conversion.

Parameters:
rgbcie(…, C=3, …) array_like

The image in RGB CIE format. By default, the final dimension denotes channels.

channel_axisint, optional

This parameter indicates which axis of the array corresponds to channels.

Added in version 0.19: channel_axis was added in 0.19.

Returns:
out(…, C=3, …) ndarray

The image in RGB format. Same dimensions as input.

Raises:
ValueError

If rgbcie is not at least 2-D with shape (…, C=3, …).

References

Examples

>>> from _skimage2 import data
>>> from _skimage2.color import rgb2rgbcie, rgbcie2rgb
>>> img = data.astronaut()
>>> img_rgbcie = rgb2rgbcie(img)
>>> img_rgb = rgbcie2rgb(img_rgbcie)