Thanks Juan and Michael for your knowledge and time. I did have to convert
my dtype int64 rgb values to uint8 then used went with Juan's suggestion to
use img_as_float to scale them to floating point values within the confines
required by scikit-image and then added a newaxis to make the input np
a
Hi Michael,
You can use the `.values` property to get a NumPy array out of a pandas
DataFrame. After that it’s just a matter of slight reshaping to make skimage
think that it’s a long, thin image. =)
In [1]: x = np.array([[0, 0, 255], [55, 0, 25], [4, 0
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