imagej / imagej2

Open scientific N-dimensional image processing :microscope: :sparkler:
https://imagej.net/
BSD 2-Clause "Simplified" License
1.17k stars 332 forks source link

Oversaturated colors on P3 monitors #308

Open hyungsongnam opened 2 years ago

hyungsongnam commented 2 years ago

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 commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

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:

hyungsongnam commented 1 year ago

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 commented 1 year ago

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