针对计算机成像模型在使用过程中存在的不足,提出了对该模型进行完善与改进的方法。首先根据数字变焦原理,推导出放大倍率与视锥角的关系公式,实现了视景通道的变焦功能,该方法计算量小,效果逼真;其次,提出了一种镜头对焦过程的仿真方法,它充分利用粒子系统技术模拟对焦成像由模糊到清晰的过程,不仅获得更真实的图像效果,且满足实时性要求。上述改进后模型与实际摄像系统原理基本一致,增强了仿真系统视觉效果逼真性与沉浸感。由于该方法在工程上极易实现,可以在虚拟现实系统中广泛应用。
A way that could be improved was brought forward on the pin-hole camera model in allusion to the problems of the insufficient cue of depth. The relation formulas of the magnification and aspect angle were concluded according to the principles of digital zoom and the zooming function of visual channels was realized. The implementation of this method is simple and the effect is realistic. Besides,a simulation method for the course of adjusting focus was proposed,which brought blurry images into focus by particle system. Both vivid images and real time requirement could be achieved. The ameliorated model runs in the same way as the real camera system on the theory,thus enhancing the fidelity and immersion of visual effects. It is so easy to implement in project that this approach can be used universally in VR systems.