| In recent years,computer assisted diagnosis and treatment technology has developed gradually and become a hot topic in modern medical service field.Many computer simulation technologies which belong to the category of image recognition in computer vision have become a new research hotspot.Computer simulation of the treatment of human diseases has increased the choice of treatment methods,and also increased the opportunities and challenges for modern medicine.This paper describes the application of existing pupil tracking technology and physical simulation technology in medical simulation diagnosis,including traditional pupil positioning and physical collision between rigid bodies.Based on the existing algorithm and collision processing library,the improved desktop system is deployed in medical equipment to complete the construction of Benign Paroxysmal Positional Vertigo auxiliary diagnosis and treatment system.BPP clinical diagnostic methods depend on the specific deflection test induced respectively has the characteristic of nystagmus,but now these test methods are dependent on the doctor’s experience of clinical diagnosis and treatment,and usually BPPV diagnostic equipment’s own eye shock recorder for the pupil position is not accurate,and the direction of the straightening machine didn’t have space semicircular canal navigation,And lack of tracking of otoliths.In view of the above situation,the research work of this paper is as follows:(1)Study the positioning technology of pupil center.Firstly,the advantages and disadvantages of existing pupil techniques were analyzed,and then the least square method was used to fit each set of points of pupil boundary extraction results,and then the ellipse parameters were verified to exclude,so as to obtain better ellipse fitting effect.After denoising and fitting processing,and the use of closed nystagmus recorder,to remove the adverse factors such as eyelashes,environment interference,so as to obtain more accurate and real-time pupil position.(2)Study the application of otolith motion virtual simulation.Firstly,the 3d display of semicircular canal and otolithoid model is realized by using image engine,and then the physical engine library is bound to make the model have physical characteristics.Then,the attitude sensor is installed on the orthodontic machine to obtain euler Angle direction data,so as to realize the combination of virtual and reality.In the real diagnosis,the invisible location of otolith falling and repeated nystagmus experiments will inevitably cause pain to patients,and the addition of virtual simulation technology can help doctors observe the movement state of semicircular canal and otolith in real time,so as to achieve a higher efficiency of diagnosis.(3)Design and implement the application of auxiliary diagnosis and treatment system.To develop semicrcular canal and otolith virtual simulation technology and pupil tracking desktop system with real-time simulation using QT,VS 2013,Bullet physics library,Blender,etc.Data from the nystagmus recorder will be transmitted to the desktop system in real time,and realtime pupil positioning,while displaying the semicircular canal and otolith movement status.Based on the displayed pupil positioning data and otolith position,doctors can more accurately diagnose the type of BPPV disease,so as to improve the detection rate of BPPV and the utilization rate of medical equipment. |