luv2xyz

luv2xyz

skimage.color.luv2xyz(luv, illuminant='D65', observer='2') [source]

CIE-Luv to XYZ color space conversion.

Parameters:

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

The 3 or 4 dimensional image in CIE-Luv format. Final dimension denotes channels.

illuminant : {“A”, “D50”, “D55”, “D65”, “D75”, “E”}, optional

The name of the illuminant (the function is NOT case sensitive).

observer : {“2”, “10”}, optional

The aperture angle of the observer.

Returns:

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

The image in XYZ format. Same dimensions as input.

Raises:

ValueError

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

ValueError

If either the illuminant or the observer angle are not supported or unknown.

Notes

XYZ conversion weights use observer=2A. Reference whitepoint for D65 Illuminant, with XYZ tristimulus values of (95.047, 100., 108.883). See function ‘get_xyz_coords’ for a list of supported illuminants.

References

[R46] http://www.easyrgb.com/index.php?X=MATH&H=16#text16
[R47] http://en.wikipedia.org/wiki/CIELUV
doc_scikit_image
2017-01-12 17:21:54
Comments
Leave a Comment

Please login to continue.