Development of Context-Sensitive Formulas to Obtain Constant Luminance Perception for a Foreground Object in Front of Backgrounds of Varying Luminance

Ergun Akleman,Bekir Tevfik Akgun,Adil Alpkocak
2024-02-28
Abstract:In this article, we present a framework for developing context-sensitive luminance correction formulas that can produce constant luminance perception for foreground objects. Our formulas make the foreground object slightly translucent to mix with the blurred version of the background. This mix can quickly produce any desired illusion of luminance in foreground objects based on the luminance of the background. The translucency formula has only one parameter; the relative size of the foreground object, which is a number between zero and one. We have identified the general structure of the translucency formulas as a power function of the relative size of the foreground object. We have implemented a web-based interactive program in Shadertoy. Using this program, we determined the coefficients of the polynomial exponents of the power function. To intuitively control the coefficients of the polynomial functions, we have used a Bézier form. Our final translucency formula uses a quadratic polynomial and requires only three coefficients. We also identified a simpler affine formula, which requires only two coefficients. We made our program publicly available in Shadertoy so that anyone can access and improve it. In this article, we also explain how to intuitively change the polynomial part of the formula. Using our explanation, users change the polynomial part of the formula to obtain their own perceptively constant luminance. This can be used as a crowd-sourcing experiment for further improvement of the formula.
Graphics,Computer Vision and Pattern Recognition
What problem does this paper attempt to address?
The problem that this paper attempts to solve is: **How to develop context - sensitive formulas to obtain a constant brightness perception of foreground objects under different background brightness levels**. ### Specific problem description: 1. **Inconsistency in brightness perception**: - Under different background brightness levels, the brightness perception of foreground objects will be different. For example, against a high - brightness background, a foreground object may appear darker; while against a low - brightness background, a foreground object may appear brighter. This perceptual difference will affect the visual effect and user experience. 2. **The need to achieve constant brightness perception**: - The author hopes to develop a method so that foreground objects can maintain a consistent brightness perception under different background brightness levels. Specifically, this goal is achieved by making the foreground object slightly transparent and mixing it with the blurred background. 3. **Establishment of a mathematical model**: - To achieve the above - mentioned goals, the author proposes a transparency formula based on the relative size of the foreground object. The form of this formula is \(y = s\cdot f(s)\), where \(s\in[0, 1]\) represents the relative size of the foreground object, \(f(s)\) is a polynomial function, and \(y\) represents the transparency (or opacity) of the foreground object. 4. **Parameter adjustment and verification**: - The author adjusts the coefficients in the formula through an interactive Shadertoy program and verifies its effectiveness. Users can test the influence of different parameters on brightness perception by changing the coefficients of the polynomial. ### Main contributions: 1. **Proposing a new brightness correction formula**: - This formula can maintain a constant brightness perception of foreground objects under different background brightness levels and only depends on the relative size of the foreground object. 2. **Developing an interactive tool**: - An interactive program is implemented through Shadertoy, allowing users to adjust the parameters in the formula to further optimize the brightness perception effect. 3. **Exploring different forms of polynomials**: - The author not only uses quadratic polynomials but also explores the effects of higher - order polynomials, providing a flexible adjustment method. 4. **Proposing a simplified formula**: - It is found that for some cases, a simpler affine formula (such as \(y = a_0(1 - s)+a_1s\)) can be used to achieve a similar effect. 5. **Research on cultural differences**: - Recognizing that there may be differences in brightness perception under different cultural backgrounds, it is recommended to further study these differences through crowdsourcing experiments. In conclusion, this paper aims to solve the problem of inconsistent brightness perception of foreground objects under different background brightness levels by developing context - sensitive brightness correction formulas and provides an interactive tool to verify and optimize these formulas.