31 Dec
2013
31 Dec
'13
6:54 a.m.
It's late, so it didn't occur to me that the imshow source-code is probably a good way to figure this one out... If anyone knows it offhand, that would save me some trouble. Otherwise, I'll hunt it down tomorrow :) On Tuesday, December 31, 2013 1:37:43 AM UTC-5, Adam Hughes wrote:
I noticed recently that matplotlib.colors limits RGB values to a range (0 - 1), while in scikit image, RGB values can be much larger. For example:
*test = np.zeros( (500,500,3) )*
*test[:,:,0]=50* *test[:,:,1]=19* *test[:,:,2]=25*
*imshow(test); *
Produces a teal background. I was curious how the color teal is derived from this? I tried normalizing to 255 and and 50 but neither seemed to produce the same teal color.
Thanks.