bundles / skimage 0.26.1rc0.dev0 / skimage / color / colorconv / rgb2rgbcie
function
skimage.color.colorconv:rgb2rgbcie
source: /_skimage2/color/colorconv.py:855
Signature
def rgb2rgbcie(rgb, *, channel_axis = -1)Summary
RGB to RGB CIE color space conversion.
Parameters
rgb: (..., C=3, ...) array_likeThe image in RGB format. By default, the final dimension denotes channels.
channel_axis: int, optionalThis parameter indicates which axis of the array corresponds to channels.
Returns
out: (..., C=3, ...) ndarrayThe image in RGB CIE format. Same dimensions as input.
Raises
: ValueErrorIf
rgbis not at least 2-D with shape (..., C=3, ...).
Examples
from skimage import data from skimage.color import rgb2rgbcie img = data.astronaut() img_rgbcie = rgb2rgbcie(img)✓
Aliases
skimage.color.rgb2rgbcie