整理了AE计算的一些参数和计算公式,方便查找。
TouchSA:
TouchSALuma= TouchROILuma
FaceSATarget= [set param] trigger: lux
TouchSAAdjRatioTouch= TouchSATarget / TouchSALuma
TouchSAAdjRatioHigh= [set param 250] / TouchHighPCTLLuma
TouchSAAdjRatioLow= [set param 5] / TouchLowPCTLLuma
TouchSAAdjRatioMin= Min(TouchSAAdjRatioTouch, [set param(tr:lux+TouchSAAdjRatioHigh)])
TouchSAAdjRatioMin= Max(TouchSAAdjRatioTouch * [set param 0.4], TouchSAAdjRatioMin)
TouchSAAdjRatioMax= Max(TouchSAAdjRatioTouch, [set param(tr:lux+TouchSAAdjRatioLow)])
TouchSAAdjRatioMax= Min(TouchSAAdjRatioTouch * [set param 1.5], TouchSAAdjRatioMax)
TouchSAAdjRatioSel= TouchSAAdjRatioMin * [setparam(tr:lux+TouchSAAdjRatioTouch)] + TouchSAAdjRatioMax * [set param(tr:lux+TouchSAAdjRatioTouch)]
TouchSAAdjRatioFSATgt= TouchSAAdjRatioSel * FrameSALuma / FrameSATarget
TouchSAAdjRatio= [set param(tr:lux+TouchSAAdjRatioFSATgt)]*FrameSATarget/FrameSALuma
FaceSA:
FaceSALuma= FaceSALumaSelection
FaceSATarget= [set param] trigger: lux
FaceSALumaScale= FaceROILuma1000000/TriggerCtrlSafeExp
FaceSALumaStorage= DominantFaceROI>0 ? FaceSALumaScale : (DominantFaceROI==0 ? 0 :FaceSALumaStorage)
FaceSALumaSelection = (FaceSALumaStorageTriggerCtrlSafeExp)/1000000
FaceSAWeightSelection= DominantFaceROI == 0 ? 0 : (DominantFaceROI>0 ? DominantFaceROI :FaceSAWeightSelection)
FaceSAAdjRatioFace= FaceSATarget / FaceSALuma
FaceSAAdjRatioHigh= [set param] / FaceHighPCTLLuma
FaceSAAdjRatioLow= [set param] / FaceLowPCTLLuma
FaceSAAdjRatioMin= Max(FaceSAAdjRatioFace * [set param], Min(FaceSAAdjRatioFace, [set param]))
FaceSAAdjRatioMax= Max(FaceSAAdjRatioFace,[set param])
FaceSAAdjRatioMax= Min(FaceSAAdjRatioFace * [set param] ,FaceSAAdjRatioMax)
FaceSAAdjRatioSel= FaceSAAdjRatioMin * [set param] + FaceSAAdjRatioMax * [set param]
FaceSAAdjRatioFSATgt= FaceSAAdjRatioSel * FrameSALuma / FrameSATarget
FaceSAAdjRatio= [set param] * FrameSATarget / FrameSALuma
DominantFaceROI:在ROItable中控制,和AEC9一样