Algorithm design for a gun simulator based on image processing

Yu Liu, Ping Wei, Jun Ke

科研成果: 书/报告/会议事项章节会议稿件同行评审

摘要

In this paper, an algorithm is designed for shooting games under strong background light. Six LEDs are uniformly distributed on the edge of a game machine screen. They are located at the four corners and in the middle of the top and the bottom edges. Three LEDs are enlightened in the odd frames, and the other three are enlightened in the even frames. A simulator is furnished with one camera, which is used to obtain the image of the LEDs by applying inter-frame difference between the even and odd frames. In the resulting images, six LED are six bright spots. To obtain the LEDs™ coordinates rapidly, we proposed a method based on the area of the bright spots. After calibrating the camera based on a pinhole model, four equations can be found using the relationship between the image coordinate system and the world coordinate system with perspective transformation. The center point of the image of LEDs is supposed to be at the virtual shooting point. The perspective transformation matrix is applied to the coordinate of the center point. Then we can obtain the virtual shooting point™s coordinate in the world coordinate system. When a game player shoots a target about two meters away, using the method discussed in this paper, the calculated coordinate error is less than ten mm. We can obtain 65 coordinate results per second, which meets the requirement of a real-time system. It proves the algorithm is reliable and effective.

源语言英语
主期刊名2015 International Conference on Optical Instruments and Technology
主期刊副标题Optoelectronic Imaging and Processing Technology, OIT 2015
编辑Guangming Shi, Bormin Huang, Xuelong Li
出版商SPIE
ISBN(电子版)9781628418033
DOI
出版状态已出版 - 2015
活动2015 International Conference on Optical Instruments and Technology: Optoelectronic Imaging and Processing Technology, OIT 2015 - Beijing, 中国
期限: 17 5月 201519 5月 2015

出版系列

姓名Proceedings of SPIE - The International Society for Optical Engineering
9622
ISSN(印刷版)0277-786X
ISSN(电子版)1996-756X

会议

会议2015 International Conference on Optical Instruments and Technology: Optoelectronic Imaging and Processing Technology, OIT 2015
国家/地区中国
Beijing
时期17/05/1519/05/15

指纹

探究 'Algorithm design for a gun simulator based on image processing' 的科研主题。它们共同构成独一无二的指纹。

引用此