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

Oversaturated colors on P3 monitors #308

Open
hyungsongnam opened this issue Jul 2, 2022 · 5 comments
Open

Oversaturated colors on P3 monitors #308

hyungsongnam opened this issue Jul 2, 2022 · 5 comments

Comments

@hyungsongnam
Copy link

hyungsongnam commented Jul 2, 2022

Hello,

I recently purchased a modern monitor capable of displaying more colors than sRGB.
I'm using this monitor with macOS, and now the colors of images in Fiji look oversaturated.
When I export the image to TIF from Fiji and open it in Photoshop or macOS Preview, the colors do not look oversaturated.
Please see attached image - usually the oversaturated colors don't show in browsers, but they should be apparent when downloaded and opened in Preview on a wide gamut monitor.
The image on the left is the image as opened in Fiji. The image in the middle is the image exported as TIF and opened in macOS Preview. The image on the right is the exported image assigned a sRGB profile in Photoshop, saved, then opened in Preview.
I suppose this could complicate preparing images for figures because the look of the colors are changing from Fiji to Photoshop and so on. I'm not sure about PC monitors, but most of Apple's Mac products now have P3 monitors?
Is there any way to address this issue?

Thank you.
Sincerely,
Hyung-song Nam, PhD

Screen Shot 2022-07-02 at 10 27 39 PM

@hyungsongnam
Copy link
Author

Got around to this, and tried a couple of things: (1) the "sRGB" preset on the Dell monitor was selected and (2) the sRGB calibration icc files from Dell were installed and selected. With these changes, it looks like the problem is fixed. These are not well documented by Dell, so I don't really know - check out this link.
HN

@hyungsongnam
Copy link
Author

I guess the sRGB monitor preset is exactly what it sounds like.

However, testing the same files on my MacBook Pro's Retina P3 screen, I see the same over-saturated colors in Fiji, but not in Preview or Photoshop. So perhaps at some point this will need to be addressed somehow.

@ctrueden
Copy link
Member

ctrueden commented Oct 1, 2022

Thanks @hyungsongnam for the report and your investigations. I don't have the first idea how to go about troubleshooting this, but here are a couple of questions:

  • Does the same problem happen with plain ImageJ? Or only with ImageJ2/Fiji?
  • "a modern monitor capable of displaying more colors than sRGB" → Which monitor?
  • Have you done any web searching into which sorts of applications have this problem? E.g. other Java apps? Any sort of article on what goes wrong, and how to fix, could be helpful for fixing it in ImageJ/Fiji.

@hyungsongnam
Copy link
Author

hyungsongnam commented Oct 1, 2022

Thank you for your time.

Yes, the same problem happens with plain ImageJ downloaded from the link (see image below).

The external monitor mentioned in the initial post is a Dell U3023E display. Last night, I also tried the same images on the internal monitor of a MacBook Pro (15-inch, 2018), the Retina P3 screen.

I'm guessing this has to do with the implementation of color space and icc profiles - now, this is way out of my area of knowledge, so I definitely do not know what I'm talking about. But there is another program called 'qView' that I'm using with the P3 monitors (i.e., the Dell U3023E and the Retina on the MacBook Pro), and this program also shows over-saturated colors in these monitors, presumably also because this program doesn't correct for the color space and icc profiles.

I've searched for java and color space and found these links:
here and here.

Also, I suppose this is really a base ImageJ issue, but honestly I get confused about where to post about it - is it ImageJ or ImageJ2 that is being developed currently?

Thank you.
Sincerely,
Hyung-song Nam, PhD

Screen Shot 2022-10-01 at 2 47 51 PM

@hyungsongnam
Copy link
Author

hyungsongnam commented Oct 18, 2022

As @ctrueden asked above, I just noticed the Java implementation of FlowJo, the v10.8.1, also shows the similar over-saturated colors when making graphs on the P3 monitors.
Thank you.
Sincerely,
Hyung-song Nam, PhD

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

No branches or pull requests

2 participants