{ } Raw JSON

bundles / skimage 0.26.1rc0.dev0+git20260530.b607368ff / skimage / color / colorconv / ypbpr2rgb

function

skimage.color.colorconv:ypbpr2rgb

source: /dev/scikit-image/src/skimage/color/colorconv.py:2204

Signature

def ypbpr2rgb(ypbpr, *, channel_axis = -1)

Summary

YPbPr to RGB color space conversion.

Parameters

ypbpr : array_like of shape (..., C=3, ...)

The image in YPbPr 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 : ndarray of shape (..., C=3, ...)

The image in RGB format. Same dimensions as input.

Raises

: ValueError

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

Aliases

  • skimage.color.ypbpr2rgb