Variable-sized, circular bokeh depth of field effects

Variable-sized, circular bokeh depth of field effects
复制标题

可变大小的圆形散景景深效果

DOI:
10.1201/9781003059325-13
复制
发表时间:
2014
期刊:
Signal Process.
影响因子:
--
通讯作者:
Howard J. Hamilton
Howard J. Hamilton
中科院分区:
--
文献类型:
--
作者:
J. Moersch;Howard J. Hamilton

文献摘要

被引文献

相似文献

我们提出了灵活的线性时间区域聚集(FLAG)模糊算法,具有可变大小的圆形散景,用于在光栅化图像上产生景深效果。该算法是可分离的(因此是线性的)。散景可以是任何凸形,包括圆形。目标是通过3D图形系统实时渲染的后期处理图像来创建高质量的散景模糊效果。仅给定深度和颜色信息作为输入,该方法执行三遍。混乱通道的圆圈计算每个像素的模糊半径,并为下一个通道打包输入缓冲区。水平通道对每一行像素进行采样,并输出一个包含模糊信息的3D纹理。垂直通道在这个3D纹理上执行垂直聚集,以产生最终的模糊图像。该算法的时间复杂度相对于混乱圈的最大半径是线性的,优于朴素算法的二次复杂度。空间复杂度与混乱圈的最大半径成线性关系。实验结果表明,该算法可以生成具有可变大小圆散点的高质量模糊图像。该算法的实现版本在实践中始终比实现的原始算法更快。虽然以前的一些算法已经提供了线性性能缩放和可变大小的散点,但该算法在提供这些功能的同时,还允许在允许的模糊形状(包括任何凸形状)中具有更大的灵活性。
We propose the Flexible Linear-time Area Gather (FLAG) blur algorithm with a variable-sized, circular bokeh for producing depth of field effects on rasterized images. The algorithm is separable (and thus linear). Bokehs can be of any convex shape including circles. The goal is to create a high quality bokeh blur effect by post processing images rendered in real-time by a 3D graphics system. Given only depth and colour information as input, the method performs three passes. The circle of confusion pass calculates the radius of the blur at each pixel and packs the input buffer for the next pass. The horizontal pass samples pixels across each row and outputs a 3D texture packed with blur information. The vertical pass performs a vertical gather on this 3D texture to produce the final blurred image. The time complexity of the algorithm is linear with respect to the maximum radius of the circle of confusion, which compares favorably with the naive algorithm, which is quadratic. The space complexity is linear with respect to the maximum radius of the circle of confusion. The results of our experiments show that the algorithm generates high quality blurred images with variable-sized circular bokehs. The implemented version of the proposed algorithm is consistently faster in practice than the implemented naive algorithm. Although some previous algorithms have provided linear performance scaling and variable sized bokehs, the proposed algorithm provides these while also permitting more flexibility in the allowed blur shapes, including any convex shape.