skimage2.color.ypbpr2rgb#
- skimage2.color.ypbpr2rgb(ypbpr, *, channel_axis=-1)[source]#
YPbPr to RGB color space conversion.
- Parameters:
- ypbprarray_like of shape (…, C=3, …)
The image in YPbPr format. By default, the final dimension denotes channels.
- channel_axisint, optional
This parameter indicates which axis of the array corresponds to channels.
Added in version 0.19:
channel_axiswas added in 0.19.
- Returns:
- outndarray of shape (…, C=3, …)
The image in RGB format. Same dimensions as input.
- Raises:
- ValueError
If
ypbpris not at least 2-D with shape (…, C=3, …).
References