{ } Raw JSON

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

function

skimage.color.colorconv:ydbdr2rgb

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

Signature

def ydbdr2rgb(ydbdr, *, channel_axis = -1)

Summary

YDbDr to RGB color space conversion.

Parameters

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

The image in YDbDr 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 ydbdr is not at least 2-D with shape (..., C=3, ...).

Notes

This is the color space commonly used by video codecs, also called the reversible color transform in JPEG2000.

Aliases

  • skimage.color.ydbdr2rgb