tfio.experimental.color.rgb_to_lab

Convert a RGB image to CIE LAB.

input A 3-D ([H, W, 3]) or 4-D ([N, H, W, 3]) Tensor.
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.
name A name for the operation (optional).

A 3-D ([H, W, 3]) or 4-D ([N, H, W, 3]) Tensor.