girder / large_image

Python modules to work with large multiresolution images.
http://girder.github.io/large_image/
Apache License 2.0
193 stars 43 forks source link

More default channel colors #1229

Open manthey opened 1 year ago

manthey commented 1 year ago

We currently have a few default channel colors. We should add more based on channel names.

We should add: gray/grey => #fff, red/green/blue => #f00/#0f0/#00f

We can also add various fluorescence channels. In general, these colors should be the closest color we have in the current present list to the color of the emission wavelength of that fluorescence method. For instance, the CD* channels are listed here: https://www.abcam.com/primary-antibodies/human-cd-antigen-guide and here: https://en.wikipedia.org/wiki/List_of_human_clusters_of_differentiation. Their emission wavelengths can be looked up by searching for them via something like "CD4 emission wavelength". I found some of them here: https://www.aatbio.com/fluorescence-excitation-emission-spectrum-graph-viewer . Besides the CD antigens, we've seen a few others (see some of the example files).

We want to only have fairly "primary" colors, rather than very specific colors per channel; the reason for this is to attempt to avoid near-duplicates.

manthey commented 1 year ago

When someone gets around to working on this, we can get a list of all the channel names we've extracted from our various test files as a reference of names we might want to research.