[scikit-image] Converting RGB values from pandas dataframe to LAB

2017-03-03 Thread Michael O'Brien
Hi all, I was hoping the community may be able to help me. I want to convert rgb values to their L*A*B* value but I'm not sure of the best way to do so so the setup will scale when the dataframe size increases. I saw on stackoverflow that skimage's conversion method http://scikit-image.org/docs/d

Re: [scikit-image] Converting RGB values from pandas dataframe to LAB

2017-03-05 Thread Michael O'Brien
306 -0.517359 > 2 0.0196080.0 0.015686 0.332169 1.741216 -1.523564 > > > > Just make sure your RGB values are in the right data type and range for > scikit-image: > http://scikit-image.org/docs/dev/user_guide/data_types.html

[scikit-image] color.lab2rgb output differs from colormine.org

2017-03-27 Thread Michael O'Brien
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.890865

Re: [scikit-image] color.lab2rgb output differs from colormine.org

2017-03-27 Thread Michael O'Brien
g colors scaled as floats between > 0 and 1 while colormine.org is returning 8 bit integers scaled 0-255. > > Try multiplying by 255 and comparing the outputs. > > On Mar 27, 2017 7:02 AM, "Michael O'Brien" wrote: > > Hi all, > > > If I use the following arra

Re: [scikit-image] color.lab2rgb output differs from colormine.org

2017-03-27 Thread Michael O'Brien
safe? On Mon, 27 Mar 2017 at 14:36 Michael O'Brien wrote: > I'm not sure what illuminant colormine uses but if you multiple by 255 you > get 151,154,141 which it getting closer to what I expect (greenish colour) > with 105,119,70 still being much closer > > On Mon, 27