Android HdrViewfinder Sample
This demo implements a real-time high-dynamic-range camera viewfinder, by alternating the sensor's exposure time between two exposure values on even and odd frames, and then compositing together the latest two frames whenever a new frame is captured.
RenderScript,1080P的图像用ScriptIntrinsicYuvToRGB大约6ms左右。
相对GL shader而言开更easy
example:https://github.com/googlesamples/android-HdrViewfinder
本文介绍了一种通过交替传感器曝光时间并在捕获新帧时合成最新两帧来实现实时高动态范围摄像预览的方法。使用RenderScript进行图像处理,相较于GL shader提供了更简易的操作方式。

565

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



