You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like the Daltonization code in https://github.com/DaltonLens/DaltonLens/blob/master/Dalton/Filters.cpp#L275 is always using the Protanopia matrix to add the error back into the image. I think it should be changing the matrix for Deuteranopia to shift away from the green channel and for Tritanopia to shift away from the blue channel.
I'll do it if I find time, meanwhile I'm doing the similar thing here so it was helpful to confirm that the error correction matrix should differ for each CVD type!
It looks like the Daltonization code in https://github.com/DaltonLens/DaltonLens/blob/master/Dalton/Filters.cpp#L275 is always using the Protanopia matrix to add the error back into the image. I think it should be changing the matrix for Deuteranopia to shift away from the green channel and for Tritanopia to shift away from the blue channel.
See for example the matrixes in https://source.chromium.org/chromium/chromium/src/+/main:ui/accessibility/extensions/colorenhancer/src/cvd.js;l=106?q=cvd.js showing matrixes for correcting in red, green and blue.
The text was updated successfully, but these errors were encountered: