获取合适的视差信息是立体图像得到舒适观看的重要条件。为达到上述目的,提出了一种立体图像视差检测和控制方案。首先分析2种人眼视觉生理学限制的数学模型,并结合人眼跟踪技术获取生理视差容限。然后使用OpenGL图像绘制引擎获取显示场景的极值深度信息,进而计算出画面视差范围。最终通过比对虚拟场景的视差与观察者的生理视差容限,确定场景视差正确性并加以修正。实验证明,方案可以实时地进行视差控制,为立体图像生成提供了可靠依据。
An appropriate stereo parallax is one of the key conditions for comfortable watch of stereo images.To meet the condition,a program of three-dimensional image parallax testing and control is proposed in this paper.Based on two physiological limitations,the range of the maximum horizontal difference was derived.Then using OpenGL and user track algorithm,the correctness of stereo parallax was measured.In this paper,a real-time stereo parallax controlling technology is put forward to get a stereoscopic pair within appropriate parallax.Finally,by comparing the virtual scene parallax and the viewer’s parallax tolerance,the correctness of stereo parallax is confirmed.Experimental results show that the method can controll the parallax in real time,and provide a reliable basis for the three-dimensional image generation.