摘要
在透镜成像模型产生模糊圈计算的基础上,利用镜头景深效果模拟改进算法实时地模拟出景深效果。本算法利用GPU的可编程性和高效计算性质,根据镜头的光圈,聚焦等计算出的模糊因子来决定像素的扩散程度,建立扩散模型。这个扩散模型是根据镜头光圈特性确定的,获得扩散模型后计算出扩散算子,利用此算子去遍历计算整个图像,并在模糊因子的判断值下进行融合,最终模拟出真实的镜头景深效果。
Based on the calculation of confusion circle generated by the lens imaging model,this paper utilizes the improved algorithm about depth of field simulation to simulate the real-time depth of field effect.This algorithm utilizes the programmability and high efficiency of GPU to carry out the computation.While the fuzzy factors are calculated according to the lens aperture,focus,and etc,by which the diffusion degree can be determined and the diffusion model can be established.Then calculate the operator and utilize it to traverse the entire image and carry out the fusion according to the judgment value of the fuzzy factor,ultimately simulating the real depth of field effect of lens.
出处
《吉林师范大学学报(自然科学版)》
2012年第2期100-102,共3页
Journal of Jilin Normal University:Natural Science Edition
关键词
景深
虚拟相机
镜头
真实性
depth of field
virtual camera
lens
authenticity