以下代码定义了支持24EV,16个节点,64倍模拟增益,8倍数字增益以及4倍ispdgain增益,最大曝光行为5000的 EV计算。以及根据当前计算的EV值和设定的白平衡不同亮度下的权重值进行插值的逻辑。
/*=============================================================================
* test_ev24_16node_interp.c
*
* 24EV scale, 16-node interpolation test (standalone file).
*
* 1) Extract the 16 node values of the 24EV scale:
* - log-domain Q8 EV value of each node (EV_q8 = k * 384, 256 = 1 EV)
* - double precision EV value (EV_q8 / 256.0)
* plus the AWB brightness WEIGHT table (16 ascending node weights,
* 0~100 scale) stored in Q8 at the nodes.
*
* 2) Generate 100 RANDOM AE parameter sets:
* - again [256, 16384] (1x ~ 64x, 256 = 1x)
* - dgain
本文介绍在自动曝光系统中对数域LV/EV值的定点化计算方法,包括量化精度控制、查表优化及溢出处理;重点阐述基于多源传感器数据的EV加权插值逻辑,支持动态权重配置与实时性约束,适用于嵌入式图像信号处理器(ISP)中的曝光控制模块。
订阅专栏 解锁全文
361

被折叠的 条评论
为什么被折叠?



