What illuminant standard is colormine.org using? Looks like scikit-image is
using D65.

https://github.com/scikit-image/scikit-image/blob/1c4646c25c9e1158bf7134973119705b2ee29a8b/skimage/color/colorconv.py


On Mon, Mar 27, 2017 at 9:01 AM, Michael O'Brien <mob....@gmail.com> wrote:

> Hi all,
>
>
> If I use the following array of LAB values
> array([[[ 48.07851346, -14.69400135, 25.2170507 ],
>  [ 63.21232753, -3.65444198, 6.67734193],
>  [ 45.80027308, -2.47952304, 11.5073341 ],
>  [ 46.84900559, -10.37025167, 19.92527996],
>  [ 44.92476952, 19.36861848, 2.97238555],
>  [ 35.50132805, 5.89086564, 1.95259827]]])
> and use the following code to pass the array to lab2rgb
> rgbcolours =color.lab2rgb(ClusterColours.values[np.newaxis])
> I get the array
> array([[[ 0.40929448, 0.47071505, 0.27701891],
>  [ 0.59383913, 0.60611158, 0.55329837],
>  [ 0.4393785 , 0.4276561 , 0.34999225],
>  [ 0.4159481 , 0.4516056 , 0.3026519 ],
>  [ 0.54449997, 0.36963636, 0.4001209 ],
>  [ 0.36970012, 0.3145826 , 0.315974 ]]])
> but on colormine.org if I enter the 1st of the LAB values I get 105,119,70 
> for RGB and not colours so close to black
>
> Where am I going wrong?
>
>
> _______________________________________________
> scikit-image mailing list
> scikit-image@python.org
> https://mail.python.org/mailman/listinfo/scikit-image
>
>
_______________________________________________
scikit-image mailing list
scikit-image@python.org
https://mail.python.org/mailman/listinfo/scikit-image

Reply via email to