rgb2luv

rgb2luv

skimage.color.rgb2luv(rgb) [source]

RGB to CIE-Luv color space conversion.

Parameters:

rgb : (M, N, [P,] 3) array_like

The 3 or 4 dimensional image in RGB format. Final dimension denotes channels.

Returns:

out : (M, N, [P,] 3) ndarray

The image in CIE Luv format. Same dimensions as input.

Raises:

ValueError

If rgb is not a 3-D or 4-D array of shape (M, N, [P,] 3).

Notes

This function uses rgb2xyz and xyz2luv.

doc_scikit_image
2017-01-12 17:23:16
Comments
Leave a Comment

Please login to continue.