Skip to content

Feature: simple automatic channel colors - #92

Open
BrianWhitneyAI wants to merge 8 commits into
mainfrom
feature/simple-channel-colors
Open

BrianWhitneyAI wants to merge 8 commits into
mainfrom
feature/simple-channel-colors

Conversation

@BrianWhitneyAI

@BrianWhitneyAI BrianWhitneyAI commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

Resolves AllenCell/data-management-working-group#23

Simpler alternative to #47. Opt-in via OmeZarrConverter(auto_channel_colors=True) (default False, which keeps derived channels white). When enabled and the user does not supply channels, assigns OME-Zarr channel display colors:

  • Brightfield channels are white, detected from OME contrast_method / illumination_type, or from channel-name tokens (e.g. brightfield, bf, tl, dic, phase, pgc).
  • Fluorescent channels by count: 1 = green, or white (grayscale) when the image has no brightfield channel; 2 = green, magenta; 3 = cyan, yellow, magenta.
  • With 3 or more channels, colors follow ascending laser (excitation) wavelength when every channel has one, otherwise channel order.
  • More than 3 fluorescent channels cycle cyan, yellow, magenta (open question pending examples of 7-channel images).

🤖 Generated with Claude Code

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants