Fast way to convert rgb to lab in python
Question: Is there a quick way to convert RGB to LAB in Python3 using D50 sRGB?

[Python-Colormath](https://github.com/gtaylor/python-colormath) too slow

[skimage](http://scikit-image.org/docs/0.9.x/api/skimage.color.html#xyz2lab)
use D65


Answer: For now, the white reference in skimage cannot be passed as a parameter (pull
request welcome), but here is a workaround:

    
    
    from skimage import color
    color.colorconv.lab_ref_white = np.array([0.96422, 1.0, 0.82521])
    lab = color.rgb2lab(image)
    

