ios - AVCaptureDevice.setExposureTargetBias() doesn't affect exposure as expected -
the documentation isn't clear on this, kind of implies value send function measured in stops. results not expected, in bright scenes. exposure not increase same number of stops value send setexposuretargetbias(). larger number bigger discrepancy. calculating exposure using following
let shutter = float(avcapturedevice.exposureduration.value)/float(avcapturedevice.exposureduration.timescale) let aperture = avcapturedevice.lensaperture let iso = avcapturedevice.iso let exposure = log2f(aperture*aperture/(shutter*iso/100))
in theory if exposure increases 1 stop value of variable exposure increase 1. not seeing when increase exposure bias 1 though
Comments
Post a Comment