This is a development version (0.26.1rc0.dev0) and may be unstable.Go to latest (0.26.1rc0.dev0+git20260530.b607368ff)
{ } Raw JSON

bundles / skimage 0.26.1rc0.dev0 / skimage / color / colorconv / rgbcie2rgb

function

skimage.color.colorconv:rgbcie2rgb

source: /_skimage2/color/colorconv.py:895

Signature

def rgbcie2rgb(rgbcie, *, channel_axis = -1)

Summary

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_axis : int, optional

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

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, ...).

Examples

from skimage import data
from skimage.color import rgb2rgbcie, rgbcie2rgb
img = data.astronaut()
img_rgbcie = rgb2rgbcie(img)
img_rgb = rgbcie2rgb(img_rgbcie)
✓

Aliases

  • skimage.color.rgbcie2rgb