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\'{e}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.
翻译:本文提出了一种开发情境敏感亮度校正公式的框架,该公式可使前景物体产生恒常亮度感知。我们的公式通过赋予前景物体轻微透明度,使其与背景的模糊版本混合。这种混合能基于背景亮度,快速在前景物体中生成所需的任意亮度错觉。透明度公式仅包含一个参数:前景物体的相对大小,其数值介于0到1之间。我们确定透明度公式的通用结构为前景物体相对大小的幂函数。已在Shadertoy中实现基于Web的交互式程序。利用该程序,我们确定了幂函数多项式指数项的系数。为直观控制多项式函数的系数,我们采用了贝塞尔形式。最终透明度公式使用二次多项式,仅需三个系数。我们还识别出更简单的仿射公式,仅需两个系数。已将该程序公开于Shadertoy平台,供任何人访问和改进。本文还阐释了如何直观修改公式的多项式部分。用户根据我们的说明调整公式的多项式部分,即可获得自感知恒常亮度。这可用作众包实验,以进一步优化公式。