





技术领域technical field
本发明涉及眼科医疗设备领域,特别涉及一种斜视与眼球震颤头位检测方法、装置及系统。The invention relates to the field of ophthalmic medical equipment, in particular to a head position detection method, device and system for strabismus and nystagmus.
背景技术Background technique
临床上,目前斜视与眼球震颤头位检测的常用定性检查手段为肉眼观察法,通过该方法仅能够知道大致头部位置,而不能准确获悉角度值。常用定量检查手段为刻度尺测量法,即应用角度刻度尺测量头部在三个轴方向的位置。该方法检查不便,且检查结果受人为因素影响大。Clinically, the currently commonly used qualitative inspection method for head position detection of strabismus and nystagmus is naked eye observation, through which only the approximate head position can be known, but the angle value cannot be accurately known. The commonly used quantitative inspection method is the scale measurement method, that is, the angle scale is used to measure the position of the head in the three axis directions. This method is inconvenient for inspection, and the inspection results are greatly affected by human factors.
现有技术提供了一些头位检测设备。例如,一种头戴式垂直头位转角及水平头位转角的检测装置,该装置的重量影响佩戴者头部自然状态下的头位,测量存在较大误差,且该设备不具备面部转动角度(即面转角)检查功能。又例如,一种头戴式代偿头位测量仪,其重量同样影响佩戴者头部自然状态下的头位,导致测量数值不准确,且人为读取数值,读取不便,数值变动大。再例如,一种自动测量代偿头位装置,佩戴测量不便,设备庞大,对自然头位有较大影响,导致测量数值不准确。进一步地,上述设备均未对头部零点矫正,即没有确定测量基准,因次头位测量不准确,难以应用到临床。The prior art provides some head position detection devices. For example, a head-mounted detection device for vertical head position angle and horizontal head position angle, the weight of the device affects the head position of the wearer's head in the natural state, there is a large error in the measurement, and the device does not have a face rotation angle (ie face corner) check function. For another example, the weight of a head-mounted compensatory head position measuring instrument also affects the head position of the wearer's head in a natural state, resulting in inaccurate measurement values, and manual reading of the values, which is inconvenient to read, and the values vary greatly. For another example, a device for automatically measuring compensatory head position is inconvenient to wear and measure, and the equipment is huge, which has a great impact on the natural head position, resulting in inaccurate measurement values. Further, none of the above-mentioned devices corrects the zero point of the head, that is, the measurement benchmark is not determined, and the measurement of the head position is inaccurate, so it is difficult to apply to the clinic.
发明内容SUMMARY OF THE INVENTION
根据本发明实施例提供的一种斜视与眼球震颤头位检测方法、装置及系统,解决头位测量不准确的问题。According to the method, device and system for head position detection of strabismus and nystagmus provided by the embodiments of the present invention, the problem of inaccurate head position measurement is solved.
根据本发明实施例提供的一种斜视与眼球震颤头位检测方法,包括:A method for detecting strabismus and nystagmus head position provided according to an embodiment of the present invention includes:
从架设于受试者前方的智能摄像机,获取所述智能摄像机采集的所述受试者在医师引导下注视视标期间的头部视频图像;From a smart camera erected in front of the subject, obtain a head video image of the subject during the period of gazing at the optotype under the guidance of a physician, collected by the smart camera;
通过对所述头部视频图像进行分析,确定所述受试者头部是否处于标准位置;Determine whether the subject's head is in a standard position by analyzing the head video image;
当确定所述受试者头部处于标准位置时,将佩戴在所述受试者头部的头位检测仪采集的所述受试者头部处于标准位置时的头位数据作为标准头位数据;When it is determined that the subject's head is in the standard position, the head position data collected by the head position detector worn on the subject's head when the subject's head is in the standard position is taken as the standard head position data;
从所述头位检测仪,获取所述头位检测仪采集的所述受试者头部处于习惯位置时的习惯头位数据;obtaining, from the head position detector, the habitual head position data collected by the head position detector when the subject's head is in a habitual position;
根据所述标准头位数据和所述习惯头位数据,确定所述受试者的头位偏差数据。According to the standard head position data and the habitual head position data, the head position deviation data of the subject is determined.
优选地,所述的通过对所述头部视频图像进行分析,确定所述受试者头部是否处于标准位置包括:Preferably, determining whether the subject's head is in a standard position by analyzing the head video image includes:
通过对所述头部视频图像进行人脸识别,确定所述受试者头部视频图像的包括面部特征点、眼部特征点、鼻部特征点、耳部特征点的五官特征点;By performing face recognition on the head video image, determine the facial feature points of the subject's head video image including facial feature points, eye feature points, nose feature points, and ear feature points;
根据所述受试者头部视频图像的五官特征点,确定所述受试者面部是否左右偏转、头部是否左右倾斜、下颌是否抬起或回收;According to the facial features of the subject's head video image, determine whether the subject's face is deflected left and right, whether the head is tilted left and right, and whether the lower jaw is raised or retracted;
若确定所述受试者面部未左右偏转、头部未左右倾斜、下颌未抬起或回收,则确定所述受试者头部处于标准位置。。If it is determined that the subject's face is not deflected left and right, the head is not tilted left and right, and the lower jaw is not lifted or retracted, then it is determined that the subject's head is in a standard position. .
优选地,所述的从所述头位检测仪,获取所述头位检测仪采集的所述受试者头部处于习惯位置时的习惯头位数据包括:Preferably, the obtaining, from the head position detector, the habitual head position data collected by the head position detector when the subject's head is in a habitual position includes:
从所述头位检测仪获取所述受试者头部处于习惯位置时的一组习惯头位数据,并计算该组习惯头位数据的均方差,若所述均方差小于预设阈值,则将该组习惯头位数据作为有效数据;Obtain a set of habitual head position data when the subject's head is in a habitual position from the head position detector, and calculate the mean square error of the set of habitual head position data. If the mean square deviation is less than a preset threshold, then Use the set of custom header data as valid data;
重复上述步骤,得到多组有效数据,并计算所述多组有效数据的平均值作为所述受试者的习惯头位数据。The above steps are repeated to obtain multiple sets of valid data, and the average value of the multiple sets of valid data is calculated as the subject's habitual head position data.
优选地,所述标准头位数据包括所述受试者头部处于标准位置时的肩倾角、下颌角和面转角,所述习惯头位数据包括所述受试者头部处于习惯位置时的肩倾角、下颌角和面转角,所述的根据所述标准头位数据和所述习惯头位数据,确定所述受试者的头位偏差数据包括:Preferably, the standard head position data includes shoulder inclination angle, mandibular angle and face rotation angle when the subject's head is in a standard position, and the habitual head position data includes when the subject's head is in a habitual position The shoulder inclination angle, the mandibular angle and the face rotation angle, according to the standard head position data and the habitual head position data, the head position deviation data of the subject is determined to include:
将所述受试者头部处于标准位置时的肩倾角、下颌角和面转角分别与所述受试者头部处于习惯位置时的肩倾角、下颌角和面转角相减,得到所述受试者的头位偏差数据。The shoulder inclination angle, the mandibular angle and the face rotation angle when the subject's head is in the standard position are respectively subtracted from the shoulder inclination angle, the mandibular angle and the face rotation angle when the subject's head is in the habitual position to obtain the subject. The head position deviation data of the subjects.
根据本发明实施例提供的存储介质,其存储用于实现斜视与眼球震颤头位检测方法的程序。According to the storage medium provided by the embodiment of the present invention, the program for realizing the head position detection method for strabismus and nystagmus is stored.
根据本发明另一实施例提供的一种斜视与眼球震颤头位检测方法,包括:A method for detecting strabismus and nystagmus head position provided according to another embodiment of the present invention includes:
利用架设于受试者前方的智能摄像机,采集所述受试者在医师引导下注视视标期间的头部视频图像;Utilize the intelligent camera erected in front of the subject to collect the head video image of the subject during the period of staring at the optotype under the guidance of the physician;
通过对所述头部视频图像进行分析,确定所述受试者头部是否处于标准位置;Determine whether the subject's head is in a standard position by analyzing the head video image;
若确定所述受试者头部处于标准位置,则将佩戴在所述受试者头部的头位检测仪采集的所述受试者头部处于标准位置时的头位数据作为标准头位数据;If it is determined that the subject's head is in the standard position, the head position data collected by the head position detector worn on the subject's head when the subject's head is in the standard position is taken as the standard head position data;
利用所述头位检测仪,采集所述受试者头部处于习惯位置时的习惯头位数据;Using the head position detector, collect habitual head position data when the subject's head is in a habitual position;
根据所述标准头位数据和所述习惯头位数据,确定所述受试者的头位偏差数据。According to the standard head position data and the habitual head position data, the head position deviation data of the subject is determined.
根据本发明实施例提供的一种斜视与眼球震颤头位检测装置,包括:A device for detecting strabismus and nystagmus head position provided according to an embodiment of the present invention includes:
图像采集模块,用于从架设于受试者前方的智能摄像机,获取所述智能摄像机采集的所述受试者在医师引导下注视视标期间的头部视频图像;an image acquisition module, configured to acquire, from an intelligent camera erected in front of the subject, a head video image of the subject during the period of gazing at the optotype under the guidance of a physician, collected by the intelligent camera;
图像处理模块,用于通过对所述头部视频图像进行分析,确定所述受试者头部是否处于标准位置;an image processing module for determining whether the subject's head is in a standard position by analyzing the head video image;
数据处理模块,用于当确定所述受试者头部处于标准位置时,将佩戴在所述受试者头部的头位检测仪采集的所述受试者头部处于标准位置时的头位数据作为标准头位数据,然后从所述头位检测仪,获取所述头位检测仪采集的所述受试者头部处于习惯位置时的习惯头位数据,并根据所述标准头位数据和所述习惯头位数据,确定所述受试者的头位偏差数据。The data processing module is used for, when it is determined that the subject's head is in the standard position, the head position of the subject when the subject's head is in the standard position collected by the head position detector worn on the subject's head. Then, from the head position detector, obtain the habitual head position data collected by the head position detector when the subject's head is in a habitual position, and according to the standard head position data and the habitual head position data, determine head position deviation data for the subject.
优选地,所述图像处理模块通过对所述头部视频图像进行人脸识别,确定所述受试者头部视频图像的包括面部特征点、眼部特征点、鼻部特征点、耳部特征点的五官特征点,根据所述受试者头部视频图像的五官特征点,确定所述受试者面部是否左右偏转、头部是否左右倾斜、下颌是否抬起或回收,若确定所述受试者面部未左右偏转、头部未左右倾斜、下颌未抬起或回收,则确定所述受试者头部处于标准位置。Preferably, by performing face recognition on the head video image, the image processing module determines that the subject's head video image includes facial feature points, eye feature points, nose feature points, and ear features. According to the facial feature points of the subject's head video image, it is determined whether the subject's face is deflected left and right, whether the head is tilted left and right, and whether the lower jaw is raised or retracted. If the subject's face is not deflected left and right, the head is not tilted left and right, and the mandible is not raised or retracted, it is determined that the subject's head is in a standard position.
优选地,所述数据处理模块从所述头位检测仪获取所述受试者头部处于习惯位置时的一组习惯头位数据,并计算该组习惯头位数据的均方差,若所述均方差小于预设阈值,则将该组习惯头位数据作为有效数据,重复上述步骤,得到多组有效数据,并计算所述多组有效数据的平均值作为习惯头位数据。Preferably, the data processing module obtains a set of habitual head position data when the subject's head is in a habitual position from the head position detector, and calculates the mean square error of the set of habitual head position data, if the If the mean square error is less than the preset threshold, the set of customary header data is used as valid data, the above steps are repeated to obtain multiple sets of valid data, and the average value of the multiple sets of valid data is calculated as the customary header data.
优选地,所述标准头位数据包括所述受试者头部处于标准位置时的肩倾角、下颌角和面转角,所述习惯头位数据包括所述受试者头部处于习惯位置时的肩倾角、下颌角和面转角,所述数据处理模块将所述受试者头部处于标准位置时的肩倾角、下颌角和面转角分别与所述受试者头部处于习惯位置时的肩倾角、下颌角和面转角相减,得到所述受试者的头位偏差数据。Preferably, the standard head position data includes shoulder inclination angle, mandibular angle and face rotation angle when the subject's head is in a standard position, and the habitual head position data includes when the subject's head is in a habitual position Shoulder inclination angle, mandibular angle and face rotation angle, the data processing module compares the shoulder inclination angle, mandibular angle and face rotation angle when the subject's head is in a standard position with the shoulder angle when the subject's head is in a habitual position, respectively. The inclination angle, the mandibular angle and the face rotation angle were subtracted to obtain the head position deviation data of the subject.
根据本发明实施例提供的一种斜视与眼球震颤头位检测系统,包括:A head position detection system for strabismus and nystagmus provided according to an embodiment of the present invention includes:
架设于受试者前方的智能摄像机,用于采集所述受试者在医师引导下注视视标期间的头部视频图像;An intelligent camera erected in front of the subject is used to collect the head video image of the subject during the period of staring at the optotype under the guidance of a physician;
佩戴在所述受试者头部的头位检测仪,用于采集所述受试者的头位数据;a head position detector worn on the subject's head for collecting the subject's head position data;
头位检测装置,用于通过对所述头部视频图像进行分析,确定所述受试者头部是否处于标准位置,若确定所述受试者头部处于标准位置,则将所述头位检测仪采集的所述受试者头部处于标准位置时的头位数据作为标准头位数据,然后获取所述头位检测仪采集的所述受试者头部处于习惯位置时的头位数据,并根据所述标准头位数据和所述习惯头位数据,确定所述受试者的头位偏差数据。A head position detection device is used to determine whether the subject's head is in a standard position by analyzing the head video image, and if it is determined that the subject's head is in a standard position, the head position The head position data when the subject's head is in a standard position collected by the detector is taken as the standard head position data, and then the head position data collected by the head position detector when the subject's head is in a habitual position are acquired , and according to the standard head position data and the habitual head position data, determine the head position deviation data of the subject.
本发明实施例提供的技术方案具有如下有益效果:The technical solutions provided by the embodiments of the present invention have the following beneficial effects:
本发明实施例能够提高头位检测准确性,适用于临床上对斜视与眼球震颤患者的头位检查。The embodiment of the present invention can improve the accuracy of head position detection, and is suitable for clinical head position inspection of patients with strabismus and nystagmus.
附图说明Description of drawings
图1是本发明实施例提供的斜视与眼球震颤头位检测方法流程图;1 is a flowchart of a method for detecting strabismus and nystagmus head position provided by an embodiment of the present invention;
图2是本发明实施例提供的斜视与眼球震颤头位检测装置框图;2 is a block diagram of a device for detecting strabismus and nystagmus head position provided by an embodiment of the present invention;
图3是本发明另一实施例提供的斜视与眼球震颤头位检测方法流程图;3 is a flowchart of a method for detecting strabismus and nystagmus head position provided by another embodiment of the present invention;
图4是本发明实施例提供的斜视与眼球震颤头位检测系统框图;4 is a block diagram of a strabismus and nystagmus head position detection system provided by an embodiment of the present invention;
图5是本发明实施例提供的斜视与眼球震颤头位检测系统的架构图;5 is a structural diagram of a strabismus and nystagmus head position detection system provided by an embodiment of the present invention;
图6是图5所示系统的斜视与眼球震颤头位检测过程实施流程图。FIG. 6 is a flow chart of the implementation of the strabismus and nystagmus head position detection process of the system shown in FIG. 5 .
具体实施方式Detailed ways
以下结合附图对本发明的优选实施例进行详细说明,应当理解,以下所说明的优选实施例仅用于说明和解释本发明,并不用于限定本发明。The preferred embodiments of the present invention will be described in detail below with reference to the accompanying drawings. It should be understood that the preferred embodiments described below are only used to illustrate and explain the present invention, but not to limit the present invention.
图1是本发明实施例提供的斜视与眼球震颤头位检测方法流程图,如图1所示,步骤包括:1 is a flowchart of a method for detecting strabismus and nystagmus head position provided by an embodiment of the present invention. As shown in FIG. 1 , the steps include:
步骤S101:从架设于受试者前方的智能摄像机,获取所述智能摄像机采集的所述受试者在医师引导下注视视标期间的头部视频图像。Step S101 : From a smart camera erected in front of the subject, acquire a head video image of the subject during the period when the subject is gazing at the optotype under the guidance of a physician and collected by the smart camera.
步骤S102:通过对所述头部视频图像进行分析,确定所述受试者头部是否处于标准位置。Step S102: Determine whether the subject's head is in a standard position by analyzing the head video image.
步骤S102包括:通过对所述头部视频图像进行人脸识别,确定所述受试者头部视频图像的包括面部特征点、眼部特征点、鼻部特征点、耳部特征点的五官特征点,根据所述受试者头部视频图像的五官特征点,确定所述受试者面部是否左右偏转、头部是否左右倾斜、下颌是否抬起或回收,若确定所述受试者面部未左右偏转、头部未左右倾斜、下颌未抬起或回收,则确定所述受试者头部处于标准位置。Step S102 includes: by performing face recognition on the head video image, determining the facial features of the subject's head video image including facial feature points, eye feature points, nose feature points, and ear feature points point, according to the facial features of the subject's head video image, determine whether the subject's face is deflected left and right, whether the head is tilted left and right, whether the lower jaw is lifted or retracted, if it is determined that the subject's face is not The subject's head is determined to be in a standard position if it is deflected from side to side, the head is not tilted from side to side, and the lower jaw is not lifted or retracted.
其中,根据面部特征点,确定所述受试者面部是否左右对称,若对称,说明面部未左右偏转。Wherein, according to the facial feature points, it is determined whether the subject's face is left-right symmetrical, and if it is symmetrical, it means that the face is not deflected from left to right.
其中,利用所述受试者头部视频图像的眼部特征点,确定双眼连线,利用所述受试者头部视频图像的鼻部特征点,确定鼻骨线;然后将双眼连线和鼻骨线作为坐标轴,建立坐标系,并对比所建立的坐标系与预设坐标系,若两个坐标系的相应坐标轴平行甚至重合,例如双眼连线与预设坐标系的X轴平行或重合,则确定所述受试者头部未左右倾斜。Wherein, use the eye feature points of the subject's head video image to determine the eye line, and use the nose feature points of the subject's head video image to determine the nasal bone line; then connect the eyes to the nasal bone line. The line is used as the coordinate axis to establish a coordinate system, and compare the established coordinate system with the preset coordinate system. If the corresponding coordinate axes of the two coordinate systems are parallel or even coincident, for example, the line connecting the eyes is parallel or coincident with the X-axis of the preset coordinate system. , then it is determined that the subject's head is not tilted left and right.
其中,利用所述双耳特征点与所述双眼连线的位置关系,确定所述受试者下颌是否抬起或回收,一般可以设置一个参考范围,如果耳部特征点在该参考范围内,则认为受试者下颌未抬起或回收。Wherein, using the positional relationship between the binaural feature points and the line connecting the eyes to determine whether the subject's lower jaw is lifted or retracted, a reference range can generally be set. If the ear feature points are within the reference range, The subject's jaw was considered not lifted or retracted.
步骤S103:当确定所述受试者头部处于标准位置时,将佩戴在所述受试者头部的头位检测仪采集的所述受试者头部处于标准位置时的头位数据作为标准头位数据。Step S103: when it is determined that the subject's head is in the standard position, the head position data collected by the head position detector worn on the subject's head when the subject's head is in the standard position are used as Standard header data.
步骤S104:从所述头位检测仪,获取所述头位检测仪采集的所述受试者头部处于习惯位置时的习惯头位数据。Step S104: From the head position detector, acquire habitual head position data collected by the head position detector when the subject's head is in a habitual position.
步骤S104包括:从所述头位检测仪获取所述受试者头部处于习惯位置时的一组习惯头位数据,并计算该组习惯头位数据的均方差,若所述均方差小于预设阈值,则将该组习惯头位数据作为有效数据;重复上述步骤,得到多组有效数据,并计算所述多组有效数据的平均值作为所述受试者的习惯头位数据。Step S104 includes: acquiring a group of habitual head position data from the head position detector when the subject's head is in a habitual position, and calculating the mean square error of the group of habitual head position data, if the mean square error is less than a predetermined value. Setting a threshold, the set of habitual head position data is regarded as valid data; the above steps are repeated to obtain multiple sets of valid data, and the average value of the multiple sets of valid data is calculated as the subject's habitual head position data.
需要说明的是,可以进一步根据经验数据设置头位数据补偿表,即按照所述头位数据补偿表,对所述习惯头位数据进行补偿,得到补偿后的习惯头位数据,用于步骤S105计算头位偏差。It should be noted that a header data compensation table may be further set according to the empirical data, that is, according to the header data compensation table, the habitual header data is compensated to obtain the compensated custom header data, which is used in step S105 Calculate the head position deviation.
步骤S105:根据所述标准头位数据和所述习惯头位数据,确定所述受试者的头位偏差数据。Step S105: Determine the head position deviation data of the subject according to the standard head position data and the habitual head position data.
其中,所述标准头位数据包括所述受试者头部处于标准位置时的肩倾角、下颌角和面转角;所述习惯头位数据包括所述受试者头部处于习惯位置时的肩倾角、下颌角和面转角。Wherein, the standard head position data includes shoulder inclination angle, mandibular angle and face rotation angle when the subject's head is in a standard position; the habitual head position data includes the shoulder angle when the subject's head is in a habitual position Inclination, Mandibular Angle and Facial Rotation.
步骤S105包括:将所述受试者头部处于标准位置时的肩倾角、下颌角和面转角分别与所述受试者头部处于习惯位置时的肩倾角、下颌角和面转角相减,得到所述受试者的头位偏差数据。Step S105 includes: subtracting the shoulder inclination angle, the mandibular angle and the face rotation angle when the subject's head is in the standard position and the shoulder inclination angle, the mandibular angle and the face rotation angle when the subject's head is in the habitual position, respectively, Head deviation data for the subject is obtained.
本领域普通技术人员可以理解,实现上述实施例方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,所述的程序可以存储于计算机可读取存储介质中,该程序在执行时,包括步骤S101至步骤S105。其中,所述的存储介质可以为ROM/RAM、磁碟、光盘等。Those of ordinary skill in the art can understand that all or part of the steps in the methods of the above embodiments can be completed by instructing relevant hardware through a program, and the program can be stored in a computer-readable storage medium, and the program can be executed when the program is executed. , including steps S101 to S105. Wherein, the storage medium may be ROM/RAM, magnetic disk, optical disk and the like.
图2是本发明实施例提供的斜视与眼球震颤头位检测装置框图,如图2所示,包括:Fig. 2 is a block diagram of a strabismus and nystagmus head position detection device provided by an embodiment of the present invention, as shown in Fig. 2, including:
图像采集模块11,用于从架设于受试者前方的智能摄像机,获取所述智能摄像机采集的所述受试者在医师引导下注视视标期间的头部视频图像。The
图像处理模块12,用于通过对所述头部视频图像进行分析,确定所述受试者头部是否处于标准位置。具体地说,所述图像处理模块12通过对所述头部视频图像进行人脸识别,确定所述受试者头部视频图像的包括面部特征点、眼部特征点、鼻部特征点、耳部特征点的五官特征点,根据所述受试者头部视频图像的五官特征点,确定所述受试者面部是否左右偏转、头部是否左右倾斜、下颌是否抬起或回收,若确定所述受试者面部未左右偏转、头部未左右倾斜、下颌未抬起或回收,则确定所述受试者头部处于标准位置。The
数据处理模块13,用于当确定所述受试者头部处于标准位置时,将佩戴在所述受试者头部的头位检测仪采集的所述受试者头部处于标准位置时的头位数据作为标准头位数据,然后从所述头位检测仪,获取所述头位检测仪采集的所述受试者头部处于习惯位置时的习惯头位数据,并根据所述标准头位数据和所述习惯头位数据,确定所述受试者的头位偏差数据。其中,数据处理模块13从所述头位检测仪获取所述受试者头部处于习惯位置时的一组习惯头位数据,并计算该组习惯头位数据的均方差,若所述均方差小于预设阈值,则将该组习惯头位数据作为有效数据,重复上述步骤,得到多组有效数据,并计算所述多组有效数据的平均值作为习惯头位数据。所述标准头位数据包括所述受试者头部处于标准位置时的肩倾角、下颌角和面转角,所述习惯头位数据包括所述受试者头部处于习惯位置时的肩倾角、下颌角和面转角,所述数据处理模块13将所述受试者头部处于标准位置时的肩倾角、下颌角和面转角分别与所述受试者头部处于习惯位置时的肩倾角、下颌角和面转角相减,得到所述受试者的头位偏差数据。The
图3是本发明另一实施例提供的斜视与眼球震颤头位检测方法流程图,如图3所示,步骤包括:3 is a flowchart of a method for detecting strabismus and nystagmus head position provided by another embodiment of the present invention. As shown in FIG. 3 , the steps include:
步骤S201:利用架设于受试者前方的智能摄像机,采集所述受试者在医师引导下注视视标期间的头部视频图像,包括受试者头部处于各种不同位置的图像。Step S201: Using an intelligent camera erected in front of the subject, collect video images of the subject's head during the period when the subject is gazing at the optotype under the guidance of a physician, including images of the subject's head in various positions.
步骤S202:通过对所述头部视频图像进行分析,确定所述受试者头部是否处于标准位置,具体地说,利用对所述头部视频图像进行人脸识别而得到的包括面部特征点、眼部特征点、鼻部特征点、耳部特征点的五官特征点,确定所述受试者面部未左右偏转、头部未左右倾斜、下颌未抬起或回收时,说明所述受试者头部处于标准位置。Step S202: Determine whether the subject's head is in a standard position by analyzing the head video image, specifically, using facial feature points obtained by performing face recognition on the head video image. , facial feature points of eye feature points, nose feature points, and ear feature points, when it is determined that the subject's face is not deflected left and right, the head is not tilted left and right, and the mandible is not raised or retracted, it indicates that the subject The head is in the standard position.
步骤S203:若确定所述受试者头部处于标准位置,则将佩戴在所述受试者头部的头位检测仪采集的所述受试者头部处于标准位置时的头位数据作为标准头位数据。Step S203: If it is determined that the subject's head is in the standard position, the head position data collected by the head position detector worn on the subject's head when the subject's head is in the standard position are used as Standard header data.
步骤S204:利用所述头位检测仪,采集所述受试者头部处于习惯位置时的习惯头位数据。Step S204: Using the head position detector, collect habitual head position data when the subject's head is in a habitual position.
为了得到稳定的习惯头位数据,可以从所述头位检测仪获取所述受试者头部处于习惯位置时的一组习惯头位数据,并计算该组习惯头位数据的均方差,若所述均方差小于预设阈值,则将该组习惯头位数据作为有效数据;重复上述步骤,得到多组有效数据,并计算所述多组有效数据的平均值作为所述受试者的习惯头位数据。In order to obtain stable habitual head position data, a set of habitual head position data when the subject's head is in the habitual position can be obtained from the head position detector, and the mean square error of the set of habitual head position data can be calculated. If the mean square error is less than the preset threshold, the set of habitual head position data is used as valid data; the above steps are repeated to obtain multiple sets of valid data, and the average value of the multiple sets of valid data is calculated as the subject's habit header data.
进一步地,可以设置头位数据补偿表,即按照所述头位数据补偿表,对所述习惯头位数据进行补偿,得到补偿后的习惯头位数据,用于步骤S105计算头位偏差,以提高数据可靠性。Further, a head position data compensation table may be set, that is, according to the head position data compensation table, the habitual head position data is compensated to obtain the compensated custom head position data, which is used to calculate the head position deviation in step S105, to Improve data reliability.
步骤S205:根据所述标准头位数据和所述习惯头位数据,确定所述受试者的头位偏差数据。Step S205: Determine the head position deviation data of the subject according to the standard head position data and the habitual head position data.
也就是说,受试者目视正前方视标,利用头位检测仪,采集头位“正”时的标准头位数据和头位自然时的正常头位数据,并计算两种头位的头位偏差。That is to say, the subject looks directly at the front sight, and uses the head position detector to collect the standard head position data when the head position is "positive" and the normal head position data when the head position is natural, and calculate the difference between the two head positions. Head position deviation.
图4是本发明实施例提供的斜视与眼球震颤头位检测系统框图,如图4所示,包括:4 is a block diagram of a strabismus and nystagmus head position detection system provided by an embodiment of the present invention, as shown in FIG. 4 , including:
智能摄像机20,架设于受试者前方,具体位于受试者前方2-3米处,用于采集所述受试者在医师引导下注视视标期间的头部视频图像,例如所述受试者在医师引导下通过上下左右摆动头部注视视标期间,通过其摄像组件,采集受试者的头部视频图像,所采集的头部视频图像通过其无线通讯模块,以无线方式实时发送至头位检测装置10。The
头位检测仪30,佩戴在受试者头部,具体位于受试者头部上额处,用于采集受试者的头位数据。具体地说,头位检测仪30通过对其角度传感器采集的数据进行处理,得到受试者摆动头部期间头部到达不同位置时的头位数据,并通过其无线通讯模块,以无线方式实时发送至头位检测装置10。The
头位检测装置10,设置在能够与头位检测仪30和智能摄像机20无线通讯的任意位置,用于通过对所述头部视频图像进行分析,确定所述受试者头部是否处于标准位置,若确定所述受试者头部处于标准位置,则将所述头位检测仪采集的所述受试者头部处于标准位置时的头位数据作为标准头位数据,然后获取所述头位检测仪采集的所述受试者头部处于习惯位置时的头位数据,并根据所述标准头位数据和所述习惯头位数据,确定所述受试者的头位偏差数据。头位检测装置10包括图2的图像采集模块11、图像处理模块12和数据处理模块13,并能够实现图2所述的相应功能。也就是说,头位检测装置20分别与智能摄像机20和头位检测仪30进行无线通讯,获取受试者头部视频图像和相应头位数据,通过识别受试者头部视频图像,确定包括面部特征点、眼部特征点、鼻部特征点、耳部特征点的五官特征点,根据所述受试者头部视频图像的五官特征点,确定所述受试者面部是否左右偏转、头部是否左右倾斜、下颌是否抬起或回收,若确定所述受试者面部未左右偏转、头部未左右倾斜、下颌未抬起或回收,则确定所述受试者头部处于标准位置,将此时对应的从头位检测仪获得的头位数据作为标准头位数据,最后以该标准头位数据为基准,确定受试者头部位于习惯位置时的头位数据与该基准之间的偏差。The head
所述系统可以附带一个用于确定头位检测仪中传感器的准确度的物理矫正仪,该物理矫正仪可以为传统气泡式水平尺和角度尺,也可以是其它用于矫正的仪器。在所述系统被长期使用后,可以利用物理矫正仪确定头位检测仪的测量准确度,例如,如果头位检测仪采集的数据与水平尺的参照数据不同,则说明头位检测仪中的传感器测量不准确,需要及时更换。The system can be attached with a physical aligner for determining the accuracy of the sensor in the head position detector, and the physical aligner can be a traditional bubble level and angle, or other aligners. After the system is used for a long time, the measurement accuracy of the head position detector can be determined by using a physical aligner. For example, if the data collected by the head position detector is different from the reference data of the level, it means that the head position detector The sensor measurement is not accurate and needs to be replaced in time.
所述系统的检测步骤包括:The detection steps of the system include:
步骤1:医师引导受试者注视视标,使受试者头部上下左右摆动。受试者头部趋近并到达“正”位(即标准位置)。Step 1: The physician guides the subject to gaze at the optotype, and the subject's head swings up and down, left and right. The subject's head approaches and reaches the "positive" position (ie, the standard position).
步骤2:头位检测仪30采集受试者头部摆动期间的受试者头部位置,具体包括肩倾角、下颌角、面转角,并发送至头位检测装置10,同时智能摄像机20采集受试者头部摆动期间的受试者头部视频图像,并发送至头位检测装置10。Step 2: The
步骤3:头位检测装置10进行图像识别,得到五官特征点,并根据五官特征点,确定受试者头部处于标准位置时,将相应的肩倾角、下颌角、面转角作为受试者头位“正”时的标准头位数据。Step 3: The head
上述步骤1至步骤3为确定测量基准的步骤。The above steps 1 to 3 are steps for determining the measurement reference.
步骤4:使受试者头位处于自然状态,即习惯状态。Step 4: Make the subject's head position in a natural state, that is, a habitual state.
步骤5:头位检测仪30在受试者头部处于习惯状态时,获取受试者头部处于习惯位置时的肩倾角、下颌角、面转角,并发送至头位检测装置10。Step 5: When the subject's head is in the habitual state, the
步骤6:头位检测装置10分别比较步骤5中的肩倾角、下颌角、面转角与标准的肩倾角、下颌角、面转角,得到相对头位数据。Step 6: The head
上述步骤5至步骤6为测量步骤。The above steps 5 to 6 are measurement steps.
图5是本发明实施例提供的斜视与眼球震颤头位检测系统的架构图,目前斜视及眼球震颤患者在临床检查时,通常采用传统的观察法和估算法来计算和确定患者头部的位置和眼球的振颤频率,此种方法经验性较为重要,更多需要凭借医师的经验水平,并且在测量中存在较大的误差,如图5所示,本发明实施例提供的斜视与眼球振颤头位检测系统通过给患者佩戴小型化的测量设备(即头位检测仪),并通过物联网技术在电脑端的管理软件(即电脑管理系统,实现上述头位检测装置的功能)上记录和评价患者的头位角度及眼球振颤频率,为医师精准医疗提供有力的保障。5 is a schematic diagram of a head position detection system for strabismus and nystagmus provided by an embodiment of the present invention. Currently, patients with strabismus and nystagmus usually use traditional observation methods and estimation methods to calculate and determine the position of the patient’s head during clinical examination. and eyeball vibration frequency, this method is more important empirically, more needs to rely on the experience level of the doctor, and there is a large error in the measurement, as shown in FIG. 5, the strabismus and eyeball vibration provided by the embodiment of the present invention The vibration head position detection system uses a miniaturized measuring device (ie a head position detector) for the patient, and records and records on the computer-side management software (ie, a computer management system, which realizes the function of the above head position detection device) through the Internet of Things technology. Evaluate the patient's head angle and nystagmus frequency to provide a strong guarantee for physicians' precision medicine.
图6是图5所示系统的斜视与眼球震颤头位检测过程实施流程图,如图6所示,本发明是集患者头位检测仪、电脑管理系统及视频识别系统(即视频摄像机)于一体的患者斜视与眼球震颤头位检测系统。斜视及眼球震颤头位检测系统包括患者头部位置检测、患者头部位置校零(即头部“正”位或标准位置)、系统采集及处理三个部分。检测过程首先为患者安装或佩带头部位置检测模块(即头位检测仪),并在距离患者2-3米的距离架设视频摄像设备(即视频摄像机),让患者放松并完成一次视力检查过程,从而通过头部设备和视频设备向电脑管理软件上传输检测数据,并通过管理软件进行数据处理和信息记录。Fig. 6 is the implementation flow chart of the strabismus and nystagmus head position detection process of the system shown in Fig. 5, as shown in Fig. 6, the present invention is a combination of a patient head position detector, a computer management system and a video recognition system (ie a video camera) in Integrated patient strabismus and nystagmus head position detection system. The head position detection system for strabismus and nystagmus includes three parts: the detection of the patient's head position, the zero calibration of the patient's head position (ie, the "positive" position of the head or the standard position), and the system acquisition and processing. The detection process first installs or wears a head position detection module (ie a head position detector) for the patient, and sets up a video camera device (ie a video camera) at a distance of 2-3 meters from the patient, allowing the patient to relax and complete a visual inspection process , so as to transmit the detection data to the computer management software through the head device and the video device, and perform data processing and information recording through the management software.
头位检测仪是一个小型化、轻便的设备,安装于患者的头部的上额,与患者的额头紧密贴合,头位检测仪通过位置传感器(例如多轴角度传感器)对患者的头部位置进行测量,位置传感器测量的多角度数据通过四元数拟合的方式计算出患者头部位置的肩倾角、下颌角、面转角的度数,并通过Zigbee技术将角度数据向电脑管理系统进行无线传输。在头位检测仪的测量过程中,需要确定患者头位起始点的位置(即头部“正”位或标准位置),头位的零点确定是通过智能摄像机实现的,患者佩带头位检测仪后,医师利用视标引导受试者注视,引导出该受试者习惯头位,在此过程中智能摄像头通过对患者的头位信息进行计算,算法大致为:将患者的头部近似成一个圆形刚体,通过视频识别技术,若判断双眼线与鼻骨线形成的坐标系的绝对位置与智能相机预设零点位置吻合,面部左右对称,双耳特征位置与双眼连线位置处于参考范围,则确定头部位置校零工作完成,记录此时的头位角度数据。当系统校对零点工作完成后,开始测量患者的相对头位角度数据,测量的头位数据会以20HZ的频率上传到电脑管理系统中,电脑管理软件接受测量数据,并建立患者的个人检测记录,当检测头位趋于稳定时,记录检测数据并保存在管理系统中,算法大致为:接收10秒钟的头位信息数据,大约200个数据,并通过滤波算法对数值进行计算,当数值的均方差小于0.1时,记录有效数据。以此反复2-3次,并计算平均值,最终可以通过这一套斜视与眼球震颤检测仪比较精准的测量出患者的头位数据。通过将得到的头位数据与头部位置校零时记录的头位数据比较,得到相对头位数据,也就是说,所述相对头位数据是以标准头位为基准,患者习惯状态下的头位相对于该标准头位的头位角度数据。The head position detector is a miniaturized and lightweight device, which is installed on the forehead of the patient's head and fits closely with the patient's forehead. The position is measured, and the multi-angle data measured by the position sensor calculates the shoulder inclination angle, mandibular angle, and face rotation angle of the patient's head position by means of quaternion fitting, and transmits the angle data to the computer management system through Zigbee technology. transmission. During the measurement process of the head position detector, it is necessary to determine the position of the starting point of the patient's head position (that is, the "positive" position or the standard position of the head), and the zero point determination of the head position is realized by a smart camera. After that, the doctor uses the optotype to guide the subject's gaze and guide the subject's habitual head position. During this process, the intelligent camera calculates the patient's head position information. The algorithm is roughly as follows: approximate the patient's head into a Circular rigid body, through video recognition technology, if it is judged that the absolute position of the coordinate system formed by the eye line and the nasal bone line is consistent with the preset zero point position of the smart camera, the face is left and right symmetrical, and the binaural feature position and the position of the eye line are within the reference range, then Make sure that the zero calibration of the head position is completed, and record the head angle data at this time. When the zero point calibration of the system is completed, the relative head angle data of the patient will be measured. The measured head position data will be uploaded to the computer management system at a frequency of 20HZ. The computer management software will receive the measurement data and establish the patient's personal test record. When the detection head position tends to be stable, record the detection data and save it in the management system. The algorithm is roughly: receive 10 seconds of head position information data, about 200 data, and calculate the value through the filtering algorithm. When the mean square error is less than 0.1, valid data are recorded. Repeat this 2-3 times and calculate the average value. Finally, the patient's head position data can be accurately measured by this set of strabismus and nystagmus detectors. The relative head position data is obtained by comparing the obtained head position data with the head position data recorded when the head position is zeroed. The head angle data of the head position relative to the standard head position.
综上所述,本发明的实施例具有以下技术效果:To sum up, the embodiments of the present invention have the following technical effects:
本发明实施例对受试者自然头位影响小,不仅能够提高数据精准度,还能够缩短检测时间。The embodiment of the present invention has little influence on the natural head position of the subject, which can not only improve the data accuracy, but also shorten the detection time.
尽管上文对本发明进行了详细说明,但是本发明不限于此,本技术领域技术人员可以根据本发明的原理进行各种修改。因此,凡按照本发明原理所作的修改,都应当理解为落入本发明的保护范围。Although the present invention has been described in detail above, the present invention is not limited thereto, and various modifications can be made by those skilled in the art in accordance with the principles of the present invention. Therefore, all modifications made in accordance with the principles of the present invention should be understood as falling within the protection scope of the present invention.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201611203009.8ACN106618580B (en) | 2016-12-23 | 2016-12-23 | Strabismus and nystagmus head position detection method, device and system |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201611203009.8ACN106618580B (en) | 2016-12-23 | 2016-12-23 | Strabismus and nystagmus head position detection method, device and system |
| Publication Number | Publication Date |
|---|---|
| CN106618580A CN106618580A (en) | 2017-05-10 |
| CN106618580Btrue CN106618580B (en) | 2020-09-15 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201611203009.8AActiveCN106618580B (en) | 2016-12-23 | 2016-12-23 | Strabismus and nystagmus head position detection method, device and system |
| Country | Link |
|---|---|
| CN (1) | CN106618580B (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107822638B (en)* | 2017-11-06 | 2020-10-30 | 郑州市第二人民医院 | Strabismus and nystagmus head position detection device and method |
| JP7286767B2 (en)* | 2018-11-20 | 2023-06-05 | エシロール・アンテルナシオナル | Device and method for placing phoropter head in horizontal position |
| CN116035563B (en)* | 2023-03-27 | 2023-06-09 | 北京大学第三医院(北京大学第三临床医学院) | Photographic measurement system for abnormal head position |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US5094521A (en)* | 1990-11-07 | 1992-03-10 | Vision Research Laboratories | Apparatus for evaluating eye alignment |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP4946672B2 (en)* | 2007-07-04 | 2012-06-06 | オムロン株式会社 | Aside look detection device and method, and program |
| CN201150530Y (en)* | 2008-01-03 | 2008-11-19 | 宫华青 | Head position slant automatic measuring instruments |
| CN201664297U (en)* | 2010-04-16 | 2010-12-08 | 李雯霖 | Portable nystagmus compensatory head posture twisting angle measuring instrument |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US5094521A (en)* | 1990-11-07 | 1992-03-10 | Vision Research Laboratories | Apparatus for evaluating eye alignment |
| Publication number | Publication date |
|---|---|
| CN106618580A (en) | 2017-05-10 |
| Publication | Publication Date | Title |
|---|---|---|
| EP3688474B1 (en) | Sensor calibration considering subject-dependent variables and/or body positions | |
| JP6077720B2 (en) | Method for determining at least one value of a parameter for customizing a vision compensation device | |
| US8690326B2 (en) | Method and systems for measuring interpupillary distance | |
| CN106618580B (en) | Strabismus and nystagmus head position detection method, device and system | |
| CN103919557A (en) | Nystagmus parameter feature acquisition method and device for diagnosing benign paroxysmal positional vertigo | |
| CN107924073A (en) | Determine ophthalmic len regards far point | |
| CN111528786B (en) | System and method for detecting head position of strabismus compensation | |
| CN110507281A (en) | An eyepiece type pupil light reflex automatic detection device | |
| CN113554609B (en) | Neck dystonia identification system based on vision | |
| CN113034608B (en) | Corneal surface morphology measuring device and method | |
| US20160282215A1 (en) | Standing position evaluation apparatus, standing position evaluation method, and non-transitory computer readable medium | |
| Wang et al. | An intelligent wearable device for human’s cervical vertebra posture monitoring | |
| US11029754B2 (en) | Calibration method, portable device, and computer-readable storage medium | |
| CN107014592B (en) | Safety glasses visual field detection system and detection method | |
| KR20200134022A (en) | Apparatus, method and system for measuring exophthalmos using 3D depth camera | |
| CN109620142B (en) | A system and method for measuring cervical spine mobility based on machine vision | |
| JP2023549865A (en) | Method and system for measuring binocular distance for children | |
| CN106725305A (en) | Pain scale evaluation method and system based on human body attitude angle | |
| CN110037648A (en) | A kind of equipment and label localization method of measurement exophthalmos amount | |
| CN105011899A (en) | Method for calculating eye curvature radius and pupil diameter of laboratory animal | |
| CN108742510B (en) | Oblique vision and horizontal torsion angle detector suitable for children with low age | |
| TWI563970B (en) | Visual line detection device and method for the same | |
| JP2012139272A (en) | Measuring device and measuring method for motor function of face surface and measuring aid | |
| CN217772315U (en) | Real-time eyeball biological data measuring device | |
| Kutilek et al. | Methods of measurement and evaluation of eye, head and shoulders position in neurological practice |
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant | ||
| TR01 | Transfer of patent right | ||
| TR01 | Transfer of patent right | Effective date of registration:20211201 Address after:100034 Beijing city Xicheng District Xishiku Street No. 8 Patentee after:PEKING UNIVERSITY FIRST Hospital Address before:100034 Beijing city Xicheng District Xishiku Street No. 8 Patentee before:PEKING UNIVERSITY FIRST Hospital Patentee before:Beijing Fengying Technology Co., Ltd |