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

Spatially Varying Filter for Leveling Brightness #334

Open
torridgristle opened this issue Dec 4, 2022 · 1 comment
Open

Spatially Varying Filter for Leveling Brightness #334

torridgristle opened this issue Dec 4, 2022 · 1 comment

Comments

@torridgristle
Copy link

The problem:
With astigmatism, bright things bloom out, blur, and glow, obscuring neighboring elements that are darker. When the entire screen is darkened the effect seems to worsen.

Concept for solution:
Darken the brighter things more.

As I understand it, the darkening is an overlayed red image rather than adjusting the color settings of the display, which should allow for different values at different regions of the screen.

If the current screen content can be captured by a program and detect areas that are brighter than their surroundings, then perhaps the overlayed red image could be modified to be darker or more opaque in that area to even out the brightness of the screen. Like tonemapping. With some degree of smoothing between values, either by lerping the current overlay to the new overlay a little bit each time the screen is captured, or something more reactive that works faster to darken and slower to lighten, or the other way around.

I don't know what Android will actually allow though, but I'm pretty sure it's a pipe dream.

@smichel17
Copy link
Member

This sounds cool, but whether it is possible / how to do it is above my current level of Android knowledge. If it is possible, I would guess it would be through an accessibility setting or would require root.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants