Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RGB images sent to ImageJ should use composite mode to preserve color #278

Open
ctrueden opened this issue Jul 26, 2023 · 0 comments
Open
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@ctrueden
Copy link
Member

  • Open a JPG in napari
  • Send it to ImageJ using the advanced transfer button, fixing the dimensions to be correct (YXC)
  • Observe that even though the dimensions are correct, the image is still in grayscale, with one channel at a time

ImageJ has a special CompositeImage class to composite multiple channels together at once, and ImageJ2 provides a hint for that, which IIRC is Dataset#setRGBMerged(true). It's unfortunate if napari-imagej needs to end up calling that—this might actually be a bugfix in PyImageJ or even in imagej-legacy somewhere—but I'm documenting the issue here because it's easy to reproduce using napari-imagej.

@gselzer gselzer self-assigned this Jul 26, 2023
@gselzer gselzer added the enhancement New feature or request label Jul 26, 2023
@gselzer gselzer added this to the 0.2.0 milestone Jul 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
napari-imagej plugin
Awaiting triage
Development

No branches or pull requests

2 participants