| Along with unceasing development of virtual reality technology and modernization, we cry for technical renovate to the quondam shooting training system. It can reduce the training cost, satisfies the diversification shooting training request, record the real-time data, and carry on the analysis and processing to design shooter virtual reality training system which is safety and conforms to the practical training request.In order to realize interaction of shooter training system, in software we choose appropriate modeling and scene driver software to simulate flying saucer movement, and the hardware must track the gun's attitude and strike. Installing a laser on the gun which can emit laser bean to simulate bullet movement trail when shooter fires, we can ascertain the straight-line of the laser bean if we obtain two points of the laser bean,to calculate gun's posture and strike.The virtual reality technology software and hardware actuality is firstly introduced, and we propose a system design plan according to the shooter training requirement. Afterwards we make modeling and get virtual flying target using 3D Studio MAX and the MATLAB virtual reality toolbox, introducing operation and setting according to the model building step, and demonstrate the effect pictures. Then the mathematical model, the imaging system composition and the experimental scheme is introduced in the gun localization optical system design. We have obtained image which has two laser faculas formed by laser through thin-film, and carried on the experimental result analysis. Finally the algorithm of ray path, the image processing algorithm and the realization of MATLAB computation are introduced in detail, getting gun's attitude and strike by processing image. The experimental result tallies with the actual situation.We have proposed the scheme of using one CMOS camera to track gun's three-dimensional attitude and completed the experiment frame and the algorithm design. Through the experiment it has proved that the photoelectric detection method can realizes the position track, which is carrying on the preparation and the feasibility confirmation work to realize the shooter virtual reality training system. I hope there is some reference value in the thesis to the people who is carrying on the research of spatial three-dimensional measuring technique and the virtual reality technology. |