skimage2.color.yuv2rgb#

skimage2.color.yuv2rgb(yuv, *, channel_axis=-1)[source]#

YUV to RGB color space conversion.

Parameters:
yuvarray_like of shape (…, C=3, …)

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

Returns:
outndarray of shape (…, C=3, …)

The image in RGB format. Same dimensions as input.

Raises:
ValueError

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

References