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

Deuteranopia: strong color tint towards pink in neutral shades of gray #18

Open
suit4 opened this issue Jun 24, 2020 · 3 comments
Open

Comments

@suit4
Copy link

suit4 commented Jun 24, 2020

After testing SD and comparing it to the output of the Photoshop color blindness simulation, we think that neutral grays should look the same in all simulations. The Deuteranopia setting seems to have a strong tint to pink in the neutral grays. See attached image bottom right.

sim_daltonism_vs_photoshop

@michelf
Copy link
Owner

michelf commented Jun 25, 2020

This indeed appears suspicious. The filter algorithm Sim Daltonism uses has been developed a long time ago by the HCIRN (which no longer exists). Others tools based on the same algorithm will exhibit the same pinkish tint for light grays, for instance Coblis. I haven't investigated too much to find a solution, or how correct this is or not.

I could switch to another algorithm. I've been told once the algorithm I use is better than most though, despite its flaws. I certainly welcome opinions (especially scientific opinions) on this topic. If someone wants to share tweaks to the code I'll certainly look at the result too.

@habere-et-dispertire
Copy link

I have seen the same issue. Firefox is using a new algorithm for colour vision deficiency simulations. The matrix transformation work it is based on appears to be freely available and physiologically based:

https://www.inf.ufrgs.br/~oliveira/pubs_files/CVD_Simulation/CVD_Simulation.html
https://bugzilla.mozilla.org/show_bug.cgi?id=1655053

Perhaps this can provide some new direction.

@parkersweb
Copy link

I'm having a similar problem - originally wondered if this was related to the new MacBook Pro screen, or the fact that I'm using OSX Monterrey. Interestingly though using a screenshot of the same page and passing it through jsColorBlindSimulator http://mapeper.github.io/jsColorblindSimulator/ doesn't seem to suffer the same problem?

Original screenshot:
Screenshot 2021-11-03 at 21 53 55

Output of jsColorBlind Simulator using protanopia setting:
Screenshot 2021-11-03 at 22 07 10
(oddly the 'non-commercial only' algorithim is slightly more pink - but not as pink as the one below:

Screenshot of Sim Daltonism output:
Screenshot 2021-11-03 at 21 58 24

Screenshot of Firefox emulation:
Screenshot 2021-11-03 at 22 00 06

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

4 participants