Afifi Mahmoud, Punnappurath Abhijith, Finlayson Graham, Brown Michael S
J Opt Soc Am A Opt Image Sci Vis. 2019 Jan 1;36(1):71-78. doi: 10.1364/JOSAA.36.000071.
Illumination estimation is the key routine in a camera's onboard auto-white-balance (AWB) function. Illumination estimation algorithms estimate the color of the scene's illumination from an image in the form of an R, G, B vector in the sensor's raw-RGB color space. While learning-based methods have demonstrated impressive performance for illumination estimation, cameras still rely on simple statistical-based algorithms that are less accurate but capable of executing quickly on the camera's hardware. An effective strategy to improve the accuracy of these fast statistical-based algorithms is to apply a post-estimate bias-correction function to transform the estimated R, G, B vector such that it lies closer to the correct solution. Recent work by Finlayson [Interface Focus8, 20180008 (2018)2042-889810.1098/rsfs.2018.0008] showed that a bias-correction function can be formulated as a projective transform because the magnitude of the R, G, B illumination vector does not matter to the AWB procedure. This paper builds on this finding and shows that further improvements can be obtained by using an as-projective-as-possible (APAP) projective transform that locally adapts the projective transform to the input R, G, B vector. We demonstrate the effectiveness of the proposed APAP bias correction on several well-known statistical illumination estimation methods. We also describe a fast lookup method that allows the APAP transform to be performed with only a few lookup operations.
光照估计是相机板载自动白平衡(AWB)功能的关键程序。光照估计算法从传感器原始RGB颜色空间中以R、G、B向量形式的图像来估计场景光照的颜色。虽然基于学习的方法在光照估计方面表现出了令人印象深刻的性能,但相机仍依赖于简单的基于统计的算法,这些算法准确性较低,但能够在相机硬件上快速执行。提高这些快速基于统计的算法准确性的有效策略是应用后估计偏差校正函数来变换估计的R、G、B向量,使其更接近正确解。芬利森[《界面聚焦》8, 20180008 (2018)2042 - 889810.1098/rsfs.2018.0008]最近的工作表明,偏差校正函数可以被制定为射影变换,因为R、G、B光照向量的大小对AWB过程并不重要。本文基于这一发现展开,表明通过使用尽可能射影(APAP)的射影变换可以获得进一步的改进,该变换能使射影变换根据输入的R、G、B向量进行局部调整。我们在几种著名的统计光照估计方法上证明了所提出的APAP偏差校正的有效性。我们还描述了一种快速查找方法,该方法允许仅通过几次查找操作来执行APAP变换。