5 ms·
Funny, I just watched a Scipy conference talk/video about this - it's about finding a new default color map for matplotlib [1] CIE LAB is basically a ~30 year
by icegreentea 11y ago
Funny, I just watched a Scipy conference talk/video about this - it's about finding a new default color map for matplotlib [1]
CIE LAB is basically a ~30 year old model based on human perception - basically it takes into account white point adjustment and the non-linear human brightness response, and thats about it. There are newer (and faaar more complicated) models like CIECAM02.
[1] https://www.youtube.com/watch?v=xAoljeRJ3lU https://www.youtube.com/watch?v=xAoljeRJ3lU
- leni536 11y agoAs I see CIE LAB is not a something "inferior model" to these more complicated models. It just has a more simple viewing conditions model and a more limited regime of validity. It seems somewhat complicated to properly apply CIECAM02. In the case of matplotlib, one should change the line colors depending on the background color being used. Not talking about adapted whitepoint and surrounding too where you at best can make an educated guess. They seem to solve the Euclidean distance problem by embedding in a field with more dimensions. However I'm really happy for these efforts of matplotlib. It is by far my favorite data visualization library. There could be cases where this kind of accuracy is necessary: doctors often diagnose using visual inspection of different camera images (X-Ray, CT, MR). The optimal visualization of these camera images using well crafted colormaps in the right colorspace could save lives.