[go: up one dir, main page]

CN115670371A - Pupil measuring system and method - Google Patents

Pupil measuring system and method Download PDF

Info

Publication number
CN115670371A
CN115670371A CN202211330643.3A CN202211330643A CN115670371A CN 115670371 A CN115670371 A CN 115670371A CN 202211330643 A CN202211330643 A CN 202211330643A CN 115670371 A CN115670371 A CN 115670371A
Authority
CN
China
Prior art keywords
pupil
image
light
measurement
processing module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211330643.3A
Other languages
Chinese (zh)
Inventor
赵振清
宋莹莹
覃勤朴
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xuanwu Hospital
Original Assignee
Xuanwu Hospital
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xuanwu Hospital filed Critical Xuanwu Hospital
Priority to CN202211330643.3A priority Critical patent/CN115670371A/en
Publication of CN115670371A publication Critical patent/CN115670371A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Eye Examination Apparatus (AREA)

Abstract

The invention relates to a pupil measuring system and a pupil measuring method. The multifunctional pupil measuring system at least comprises a control unit, an image acquisition unit and a display unit. The control unit generates a measurement instruction and sends the measurement instruction to the image acquisition unit. The image acquisition unit applies light stimulation to the pupil and continuously acquires pupil images sent to the control unit. The control unit measures the size of the pupil and the light reaction speed by performing data processing on the pupil image. The invention obtains the actual size of the pupil of the person to be measured through the pupil image, and then measures the size and the light reaction speed of the pupil by processing the pupil image through the control unit, thereby eliminating the error caused by the subjective judgment of the measuring person. The light stimulation applied to the pupils of the tested personnel in the process of measuring the pupil light reaction speed is obtained by the same light source, thereby eliminating the error caused by the non-uniform light source in the existing measuring process and avoiding missing the observation of the state of an illness.

Description

一种瞳孔测量系统及方法A pupil measurement system and method

技术领域technical field

本发明涉及医疗器械技术领域,尤其涉及一种瞳孔测量系统及方法。The invention relates to the technical field of medical devices, in particular to a pupil measurement system and method.

背景技术Background technique

通过测量瞳孔检查患者生命体征与健康状态正逐渐成为临床重要的检测方法之一。瞳孔变化是临床观察的一项重要指标,有助于昏迷、惊厥、休克、中毒等患者的病情判断。尤其是对颅脑病变的患者,可以判断颅内病变的部位。动态、及时、有效的观察瞳孔变化,不仅可以发现疾病的先兆,抓住最佳救治时机,而且可以预防并发症的发生,因此需要客观记录瞳孔的大小。临床上,通常通过手电笔照射眼球,然后目测瞳孔大小,医务人员进行自主判断,从而确定患者瞳孔的大小。这种方式对瞳孔的观察主要靠医务人员的主观评判,没有量化指标,缺乏临床经验的医务人员无法做出准确判断。Checking the patient's vital signs and health status by measuring the pupil is gradually becoming one of the most important clinical detection methods. Pupil change is an important indicator of clinical observation, which is helpful for judging the condition of patients such as coma, convulsions, shock, and poisoning. Especially for patients with craniocerebral lesions, it can determine the location of intracranial lesions. Dynamic, timely, and effective observation of pupillary changes can not only detect the precursors of diseases, seize the best time for treatment, but also prevent complications. Therefore, it is necessary to objectively record the pupillary size. Clinically, the eyeball is usually irradiated with a flashlight, and then the size of the pupil is visually measured, and the medical staff makes independent judgments to determine the size of the patient's pupil. The observation of pupils in this way mainly depends on the subjective judgment of medical staff. Without quantitative indicators, medical staff who lack clinical experience cannot make accurate judgments.

公开号为CN109793494A的中国专利提供了一种便于瞳孔观察测量的瞳孔笔,包括第一笔体,所述第一笔体上端活动安装有第二笔体,所述第一笔体内部一侧与第二笔体内部一侧均活动安装有锂电池,所述第二笔体顶端活动安装有安装头,所述第一笔体与第二笔体外部另一侧均开设有凹槽,所述第一笔体外部的凹槽内部一侧开设有滑轨。该专利的技术方案通过在第一笔体外部一侧的凹槽内部一侧通过滑轨活动安装有滑块,且滑块在远离滑轨的一侧通过铰链活动安装有伸缩杆,且伸缩杆在远离铰链的一端通过对比头活动安装有对比镜,这样便于在观察瞳孔时通过对比镜来对瞳孔进行对比。该专利的技术方案实质上只是提供了一种测量参考工具,在测量瞳孔大小时仍然需要医务人员的主观评判,医务人员的主观因素或操作误差易导致读数不准确,不能给临床提供准确的治疗参考。The Chinese patent with the publication number CN109793494A provides a pupil pen that is convenient for pupil observation and measurement, including a first pen body, a second pen body is movably installed on the upper end of the first pen body, and one side of the first pen body is connected to the inner side of the first pen body. A lithium battery is movably installed on one side of the second pen body, and a mounting head is movably installed on the top of the second pen body, and grooves are opened on the other side of the first pen body and the second pen body. A sliding rail is provided on one side of the groove outside the first writing body. The technical solution of this patent is that a slider is movably installed on the inner side of the groove on the outer side of the first pen body through a slide rail, and a telescopic rod is movably installed on the side far away from the slide rail through a hinge, and the telescopic rod A contrast mirror is movably installed at the end away from the hinge through the contrast head, so that the pupils can be compared through the contrast mirror when observing the pupils. In essence, the technical solution of this patent only provides a measurement reference tool. When measuring pupil size, the subjective judgment of medical staff is still required. Subjective factors or operational errors of medical staff may easily lead to inaccurate readings, which cannot provide accurate clinical treatment. refer to.

本发明提供一种瞳孔测量系统及方法来测量瞳孔的大小,并且还可以评估瞳孔的反应性。The present invention provides a pupil measurement system and method to measure pupil size and also evaluate pupil reactivity.

此外,一方面由于对本领域技术人员的理解存在差异;另一方面由于申请人做出本发明时研究了大量文献和专利,但篇幅所限并未详细罗列所有的细节与内容,然而这绝非本发明不具备这些现有技术的特征,相反本发明已经具备现有技术的所有特征,而且申请人保留在背景技术中增加相关现有技术之权利。In addition, on the one hand, due to differences in the understanding of those skilled in the art; The present invention does not possess the characteristics of these prior art, on the contrary, the present invention already possesses all the characteristics of the prior art, and the applicant reserves the right to add relevant prior art to the background technology.

发明内容Contents of the invention

当患者出现脑疝、颅高压增高、濒死、重型大脑损伤时,瞳孔往往呈放大状态,因此可根据患者瞳孔的大小,判断患者的病情。现有的瞳孔大小判定的方法主要有:主观判断法和视觉电生理检查法。主观判断法通过普通的瞳孔光线笔直接照射瞳孔,由医务人员判定瞳孔大小,主观性强、误差较大;视觉电生理检查法,包括眼电图(EOG)、视网膜电图(ERG)及视觉诱发电位(VEP)等,虽然视觉电生理检查法能够避免医务人员的主观因素带来的误差,但是检测极直接接触人眼容易引起人体自我防御而造成瞳孔过度的收缩,检测数据不精确。When a patient suffers from brain herniation, increased intracranial hypertension, near death, or severe brain injury, the pupil is often dilated. Therefore, the patient's condition can be judged according to the size of the patient's pupil. The existing methods for judging pupil size mainly include: subjective judgment method and visual electrophysiological examination method. The subjective judgment method directly irradiates the pupil with an ordinary pupil light pen, and the pupil size is judged by medical staff, which is highly subjective and has large errors; visual electrophysiological examination methods include electrooculogram (EOG), electroretinogram (ERG) and visual Evoked potential (VEP), etc., although the visual electrophysiological examination method can avoid the error caused by the subjective factors of medical personnel, but the detection is very direct contact with the human eye, which is likely to cause the body's self-defense and cause excessive pupillary contraction, and the detection data is inaccurate.

因此,如何在保证瞳孔大小测量数据准确的同时,降低检测设备对人眼带来的刺激是本发明希望解决的技术问题。Therefore, how to reduce the stimulation of the detection equipment to the human eye while ensuring the accuracy of the pupil size measurement data is the technical problem that the present invention hopes to solve.

针对现有技术之不足,本发明提供了一种瞳孔测量系统。所述多功能瞳孔测量系统至少包括控制单元、图像采集单元和显示单元。所述控制单元生成测量指令并发送至所述图像采集单元。响应于所述测量指令之收到,所述图像采集单元向瞳孔施加光刺激并连续采集发送至所述控制单元的瞳孔图像。所述控制单元通过对所述瞳孔图像进行数据处理来测量瞳孔的大小和光反应速度。优选地,所述图像采集单元连续采集的瞳孔图像至少包括所述瞳孔受到光刺激前的瞳孔图像和所述瞳孔受到光刺激后瞳孔大小变化最大的瞳孔图像。所述控制单元基于所述瞳孔受到光刺激前后的瞳孔图像确定瞳孔的大小变化量和变化用时确定所述瞳孔的光反应速度。Aiming at the deficiencies of the prior art, the invention provides a pupil measuring system. The multifunctional pupil measurement system at least includes a control unit, an image acquisition unit and a display unit. The control unit generates measurement instructions and sends them to the image acquisition unit. In response to receiving the measurement instruction, the image acquisition unit applies light stimulation to the pupil and continuously acquires pupil images sent to the control unit. The control unit measures the size of the pupil and the light reaction speed by performing data processing on the pupil image. Preferably, the pupil images continuously collected by the image acquisition unit at least include a pupil image before the pupil is stimulated by light and a pupil image in which the pupil size changes the most after the pupil is stimulated by light. The control unit determines the amount of change in the size of the pupil based on the pupil images before and after the pupil is stimulated by light and determines the light reaction speed of the pupil during the change.

优选地,本发明通过瞳孔图像获取被测人员瞳孔的实际大小,然后通过所述控制单元对所述瞳孔图像进行数据处理来测量瞳孔的大小和光反应速度,从而排除了测量人员主观判断带来的误差。优选地,本发明通过将所述被测人员瞳孔受到光刺激前的瞳孔图像和受到光刺激后瞳孔大小变化最大的瞳孔图像进行对比,再结合两幅图像的时间间隔确定被测人员瞳孔的光反应速度,并且由于所述被测人员瞳孔受到光刺激前的瞳孔图像和受到光刺激后瞳孔大小变化最大的瞳孔图像是由同一瞳孔测量系统连续测量得出的,在测量过程中对所述被测人员瞳孔施加的光刺激由同一光源得出,从而消除了现有测量过程中(特别是人工测量中)因测量时的光源不统一(有的光源亮度过高,有的光源亮度过低)导致的误差,避免遗漏病情观察。Preferably, the present invention obtains the actual size of the pupil of the measured person through the pupil image, and then uses the control unit to perform data processing on the pupil image to measure the size of the pupil and the speed of light reaction, thereby eliminating the possibility of the subjective judgment of the measurement personnel. error. Preferably, the present invention compares the pupil image before the subject's pupil is subjected to light stimulation with the pupil image whose pupil size changes the most after being subjected to light stimulation, and then determines the light intensity of the subject's pupil in combination with the time interval between the two images. reaction speed, and since the pupil image of the subject’s pupil before being subjected to light stimulation and the pupil image with the largest change in pupil size after being subjected to light stimulation are continuously measured by the same pupil measurement system, during the measurement process, the measured The light stimulus applied by the pupil of the tester is obtained from the same light source, thus eliminating the inconsistency of the light source (some light sources are too bright and some light sources are too low) in the existing measurement process (especially in manual measurement) The resulting errors avoid missing observations.

根据一种优选实施方式,所述图像采集单元至少包括光源、摄像头和透镜组件。所述摄像头与所述光源同轴设置,所述透镜组件位于所述光源和所述摄像头之间。优选地,所述透镜组件相对于所述摄像头和所述光源成同轴定位。响应于所述测量指令之收到,所述图像采集单元的所述光源发射光束至被测人员瞳孔,被测人员的瞳孔反射所述光束。所述反射光束穿过所述透镜组件并汇聚在所述摄像头上,从而允许所述摄像头捕获在光束照射下的被测人员瞳孔的图像。According to a preferred embodiment, the image acquisition unit includes at least a light source, a camera and a lens assembly. The camera is arranged coaxially with the light source, and the lens assembly is located between the light source and the camera. Preferably, said lens assembly is positioned coaxially with respect to said camera and said light source. In response to receiving the measurement instruction, the light source of the image acquisition unit emits a light beam to the pupil of the measured person, and the pupil of the measured person reflects the light beam. The reflected light beam passes through the lens assembly and converges on the camera, thereby allowing the camera to capture an image of the pupil of the person under test irradiated by the light beam.

优选地,所述光源被配置为将光束发射到被测人员眼睛上。所述光束可以是红外光,也可以是可见光。所述摄像头被配置为捕获从被测人员眼睛反射的光。所述透镜组件被配置为将经被测人员眼睛反射的光聚焦到所述摄像头上。Preferably, the light source is configured to emit light beams onto the eyes of the person under test. The light beam can be infrared light or visible light. The camera is configured to capture light reflected from the eyes of the person under test. The lens assembly is configured to focus the light reflected from the eyes of the person under test onto the camera head.

优选地,本发明通过所述光源将光束发射到被测人员眼睛上,再利用所述摄像头捕获经被测人员眼睛反射的光,以获得被测人员瞳孔的图像。在获取被测人员瞳孔图像的过程中,没有任何检测极直接接触人眼,尤其是没有任何检测极直接接触眼球,从而避免在测量瞳孔时因人体自我防御而造成瞳孔过度的收缩,确保测量数据的准确性。Preferably, the present invention uses the light source to emit light beams to the eyes of the tested person, and then uses the camera to capture the light reflected by the tested person's eyes to obtain an image of the tested person's pupil. In the process of obtaining the pupil image of the person under test, no detection pole directly contacts the human eye, especially no detection pole directly contacts the eyeball, so as to avoid excessive pupil contraction caused by the human body's self-defense when measuring the pupil, and ensure the measurement data accuracy.

根据一种优选实施方式,所述控制单元至少包括处理模块和储存模块。According to a preferred embodiment, the control unit includes at least a processing module and a storage module.

所述处理模块分别与所述储存模块、所述图像采集单元和所述显示单元通信数据连接。所述图像采集单元将采集到的所述瞳孔图像发送至所述处理模块。The processing module is respectively connected with the storage module, the image acquisition unit and the display unit for data communication. The image acquisition unit sends the acquired pupil image to the processing module.

响应于所述瞳孔图像之收到,所述处理模块对所述瞳孔图像依次进行灰度转换、二值化处理、边缘检测和边缘圆弧拟合、再根据像素/真实比率值对所得测量数据进行比例转换得到测量结果,并将所述测量结果发送至所述显示单元进行展示。In response to the receipt of the pupil image, the processing module sequentially performs grayscale conversion, binarization processing, edge detection and edge arc fitting on the pupil image, and then compares the obtained measurement data according to the pixel/true ratio value The measurement result is obtained by performing ratio conversion, and the measurement result is sent to the display unit for display.

所述储存模块用以对所述瞳孔图像和所述测量结果进行储存,所述处理模块能够从所述储存模块中调取所述瞳孔图像和/或所述测量结果发送至所述显示单元进行展示。The storage module is used to store the pupil image and the measurement result, and the processing module can retrieve the pupil image and/or send the measurement result to the display unit for further processing. exhibit.

优选地,所述显示单元至少包括显示屏。优选地,本发明可以通过显示屏展示测量结果和所述图像采集单元采集的所述瞳孔图像。Preferably, the display unit includes at least a display screen. Preferably, the present invention can display the measurement result and the pupil image collected by the image collection unit through a display screen.

优选地,由于所述储存模块可以对所述瞳孔图像和所述测量结果进行储存,在需要使用瞳孔数据进行诊断的情况下,医务人员可以通过控制单元生成查询指令并发送至所述储存模块。响应于所述查询指令之收到,所述储存模块调取与相应瞳孔数据对应的所述瞳孔图像和/或所述测量结果发送至所述显示单元进行展示,从而避免了医务人员在诊断中重复进行瞳孔测量工作。Preferably, since the storage module can store the pupil image and the measurement result, in the case of using the pupil data for diagnosis, the medical staff can generate a query command through the control unit and send it to the storage module. In response to the receipt of the query instruction, the storage module retrieves the pupil image corresponding to the corresponding pupil data and/or sends the measurement result to the display unit for display, thus avoiding medical personnel from Repeat the pupillometric exercise.

优选地,由于所述储存模块可以对所述瞳孔图像和所述测量结果进行储存,医务人员在诊断中,可以通过查询历史瞳孔图像和测量结果并将历史瞳孔数据与当前瞳孔图像和历史测量结果进行比较,以分析患者的病情变化。Preferably, since the storage module can store the pupil images and the measurement results, medical personnel can query the historical pupil images and measurement results and compare the historical pupil data with the current pupil images and historical measurement results during diagnosis. A comparison is made to analyze changes in the patient's condition.

根据一种优选实施方式,所述处理模块还能够对所述瞳孔的大小和所述光反应速度进行分级。优选地,所述处理模块基于分级结果产生相应的提示指令并将所述提示指令发送至所述显示单元。According to a preferred implementation manner, the processing module can also grade the pupil size and the light reaction speed. Preferably, the processing module generates a corresponding prompt instruction based on the classification result and sends the prompt instruction to the display unit.

优选地,所述处理模块通过将测量出的瞳孔大小与预设瞳孔大小阈值进行比较,从而对所述瞳孔的大小进行分级。优选地,预设瞳孔大小阈值可以包括第一瞳孔大小阈值和大于第一瞳孔大小阈值的第二瞳孔大小阈值。优选地,第一瞳孔大小阈值和第二瞳孔大小阈值将瞳孔大小划分为三级,分别是:瞳孔大小小于第一瞳孔大小阈值的小级;瞳孔大小大于第一瞳孔大小阈值且小于第二瞳孔大小阈值的中级;瞳孔大小大于第二瞳孔大小阈值的大级。Preferably, the processing module grades the pupil size by comparing the measured pupil size with a preset pupil size threshold. Preferably, the preset pupil size threshold may include a first pupil size threshold and a second pupil size threshold greater than the first pupil size threshold. Preferably, the pupil size is divided into three grades by the first pupil size threshold and the second pupil size threshold, which are respectively: the pupil size is smaller than the first pupil size threshold; the pupil size is larger than the first pupil size threshold and smaller than the second pupil size Medium for the size threshold; large for pupil sizes larger than the second pupil size threshold.

优选地,所述处理模块通过将测量出的所述瞳孔的光反应速度与预设瞳孔光反应速度阈值进行比较,从而对所述瞳孔的光反应速度进行分级。优选地,预设瞳孔光反应速度阈值可以包括第一瞳孔光反应速度阈值和大于第一瞳孔光反应速度阈值的第二瞳孔光反应速度阈值。优选地,第一瞳孔光反应速度阈值和第二瞳孔光反应速度阈值将瞳孔光反应速度划分为三级,分别是:瞳孔光反应速度小于第一瞳孔光反应速度阈值的慢级;瞳孔光反应速度大于第一瞳孔光反应速度阈值且小于第二瞳孔光反应速度阈值的中级;瞳孔光反应速度大于第二瞳孔光反应速度阈值的快级。Preferably, the processing module grades the pupil light reaction speed by comparing the measured pupil light reaction speed with a preset pupil light reaction speed threshold. Preferably, the preset pupillary light reaction speed threshold may include a first pupillary light reaction speed threshold and a second pupillary light reaction speed threshold greater than the first pupillary light reaction speed threshold. Preferably, the pupil light reaction speed threshold is divided into three levels by the first pupil light reaction speed threshold and the second pupil light reaction speed threshold, which are respectively: the slow level whose pupil light reaction speed is less than the first pupil light reaction speed threshold; the pupil light reaction speed The speed is greater than the first pupil light reaction speed threshold and less than the middle level of the second pupil light reaction speed threshold; the pupil light reaction speed is greater than the second pupil light reaction speed threshold of the fast level.

优选地,所述显示单元还包括指示灯。优选地,所述指示灯可以包括红、绿、蓝三种颜色。优选地,绿色指示灯代表瞳孔大小的小级或瞳孔光反应速度的慢级。优选地,蓝色指示灯代表瞳孔大小的中级或瞳孔光反应速度的中级。优选地,红色指示灯代表瞳孔大小的大级或瞳孔光反应速度的快级。Preferably, the display unit further includes an indicator light. Preferably, the indicator light may include three colors of red, green and blue. Preferably, the green light represents small steps in pupil size or slow steps in pupillary light response speed. Preferably, the blue indicator light represents the middle grade of pupil size or the middle grade of pupil light response speed. Preferably, the red indicator light represents a large level of pupil size or a fast level of pupillary light reaction speed.

根据一种优选实施方式,所述处理模块通过图像分割的方式对灰度转换后的瞳孔图像进行二值化处理,获得瞳孔图像的二值化图像。优选地,所述处理模块选取图像灰度直方图中双峰之间的最小频率值所对应的灰度值作为分割灰度阈值,生成瞳孔的二值化图像。优选地,所述处理模块将图像中灰度值小于分割灰度阈值的像素点作为瞳孔像素点,反之作为背景像素点,并根据瞳孔像素点与背景像素点对图像中的瞳孔图像与背景图像进行二值化分割。According to a preferred implementation manner, the processing module performs binarization processing on the pupil image after the gray scale conversion by means of image segmentation to obtain a binarized image of the pupil image. Preferably, the processing module selects the gray value corresponding to the minimum frequency value between the two peaks in the gray histogram of the image as the segmentation gray threshold to generate a binarized image of the pupil. Preferably, the processing module regards the pixels whose gray value in the image is smaller than the segmentation gray threshold as pupil pixels, otherwise as background pixels, and compares the pupil image and the background image in the image according to the pupil pixels and the background pixels Perform binary segmentation.

根据一种优选实施方式,所述处理模块通过边缘检测函数来获取瞳孔二值化图像的边缘像素点;所述处理模块通过圆弧拟合函数,通过输入边缘像素图像输出最佳圆弧拟合的半径值。According to a preferred embodiment, the processing module obtains the edge pixel points of the pupil binary image through the edge detection function; the processing module outputs the best arc fitting through the input edge pixel image through the arc fitting function the radius value.

根据一种优选实施方式,所述处理模块通过获取摄像头在测量位置采集的参照物的图像像素信息以及该参照物的真实尺寸信息,计算该参照物的像素宽度与真实宽度的比值作为像素/真实比率值。According to a preferred embodiment, the processing module calculates the ratio of the pixel width of the reference object to the real width as the pixel/real ratio value.

本发明还提供一种瞳孔测量方法。所述瞳孔测量方法至少包括:The invention also provides a pupil measurement method. The pupil measurement method at least includes:

向瞳孔施加光刺激并连续采集所述瞳孔的图像;applying a light stimulus to the pupil and continuously acquiring images of the pupil;

基于所述瞳孔图像来测量瞳孔的大小和光反应速度;measuring pupil size and light response velocity based on the pupil image;

其中,连续采集的瞳孔图像至少包括所述瞳孔受到光刺激前的瞳孔图像和所述瞳孔受到光刺激后瞳孔大小变化最大的瞳孔图像;Wherein, the continuously collected pupil images include at least the pupil image before the pupil is stimulated by light and the pupil image with the largest change in pupil size after the pupil is stimulated by light;

基于所述瞳孔受到光刺激前后的瞳孔图像确定瞳孔的大小变化量和变化用时确定所述瞳孔的光反应速度。Determining the amount of change in the size of the pupil and the change time based on the pupil images before and after the pupil is stimulated by light to determine the light response speed of the pupil.

根据一种优选实施方式,所述瞳孔测量方法还包括:According to a preferred embodiment, the pupil measurement method also includes:

对所述瞳孔图像依次进行灰度转换、二值化处理、边缘检测和边缘圆弧拟合、再根据像素/真实比率值对所得测量数据进行比例转换得到测量结果,并对所述测量结果进行可视化展示。Carrying out grayscale conversion, binarization processing, edge detection, and edge arc fitting on the pupil image in sequence, and then performing proportional conversion on the obtained measurement data according to the pixel/true ratio value to obtain a measurement result, and performing a measurement on the measurement result Visual display.

具体地,通过图像分割的方式对灰度转换后的瞳孔图像进行二值化处理,获得瞳孔图像的二值化图像。Specifically, binarization processing is performed on the gray-scale converted pupil image by means of image segmentation to obtain a binarized image of the pupil image.

优选地,所述的图像分割采用直方图双峰法,选取双峰之间的最小频率值所对应的灰度值作为分割灰度阈值,生成瞳孔的二值化图像。Preferably, the image segmentation adopts the histogram bimodal method, and the gray value corresponding to the minimum frequency value between the two peaks is selected as the segmentation gray threshold to generate a binarized image of the pupil.

优选地,所述生成瞳孔的二值化图像方法为将图像中灰度值小于分割灰度阈值的像素点作为瞳孔像素点,反之作为背景像素点,并根据瞳孔像素点与背景像素点对图像中的瞳孔图像与背景图像进行二值化分割。Preferably, the method for generating the binarized image of the pupil is to use the pixels whose grayscale value in the image is smaller than the segmentation grayscale threshold as pupil pixels, otherwise as background pixels, and compare the image according to the pupil pixels and the background pixels The pupil image in and the background image are binarized and segmented.

本发明还提供一种多功能瞳孔观察笔。所述多功能瞳孔观察笔搭载有本发明提供的瞳孔测量系统。优选地,所述多功能瞳孔观察笔在笔体上设置有用于进行针刺觉检查的刺针。优选地,所述多功能瞳孔观察笔在满足医务人员的书写需求和瞳孔测量需求的同时还可以作为针刺觉检查工具满足常规性的针刺觉检查需求。The invention also provides a multifunctional pupil observation pen. The multifunctional pupil observation pen is equipped with the pupil measurement system provided by the present invention. Preferably, the multifunctional pupil observation pen is provided with a puncture needle on the pen body for needle prick test. Preferably, the multi-functional pupil observation pen can meet the needs of conventional pinprick sensation inspection as a pinprick sensation inspection tool while meeting the writing needs and pupil measurement requirements of medical personnel.

附图说明Description of drawings

图1是本发明提供的一种优选实施方式的瞳孔测量系统的各单元简化模块连接关系示意图;Fig. 1 is a schematic diagram of the simplified module connection relationship of each unit of the pupil measurement system of a preferred embodiment provided by the present invention;

图2是本发明提供的一种优选实施方式的图像采集单元的简化示意图;Fig. 2 is a simplified schematic diagram of an image acquisition unit in a preferred embodiment provided by the present invention;

图3是本发明提供的一种优选实施方式的瞳孔测量系统的拓扑图;Fig. 3 is a topological diagram of a pupil measurement system of a preferred embodiment provided by the present invention;

图4是本发明提供的一种优选实施方式的多功能瞳孔观察笔的简化示意图;Fig. 4 is a simplified schematic diagram of a preferred embodiment of the multifunctional pupil observation pen provided by the present invention;

图5是本发明提供的一种优选实施方式的多功能瞳孔观察笔的简化模块连接关系示意图。Fig. 5 is a schematic diagram of a simplified module connection relationship of a multifunctional pupil observing pen according to a preferred embodiment of the present invention.

附图标记列表List of reference signs

100:瞳孔测量系统;110:控制单元;111:处理模块;112:储存模块;120:图像采集单元;121:光源;122:摄像头;123:透镜组件;130:显示单元;131:显示屏;132:指示灯;200:多功能瞳孔观察笔;210:笔体;220:刺针;230:检测头;231:控制按钮;232:处理芯片组件;240:笔尖。100: pupil measurement system; 110: control unit; 111: processing module; 112: storage module; 120: image acquisition unit; 121: light source; 122: camera; 123: lens assembly; 130: display unit; 131: display screen; 132: indicator light; 200: multifunctional pupil observation pen; 210: pen body; 220: needle; 230: detection head; 231: control button; 232: processing chip component; 240: pen tip.

具体实施方式Detailed ways

下面结合附图1至5进行详细说明。Detailed description will be given below in conjunction with accompanying drawings 1 to 5 .

实施例1Example 1

本实施例提供一种瞳孔测量系统100。参见图1,优选地,多功能瞳孔测量系统100可以包括控制单元110、图像采集单元120和显示单元130。图像采集单元120可以包括光源121、摄像头122和透镜组件123。控制单元110可以包括处理模块111和储存模块112。显示单元130可以包括显示屏131和指示灯132。This embodiment provides a pupil measurement system 100 . Referring to FIG. 1 , preferably, the multifunctional pupil measurement system 100 may include a control unit 110 , an image acquisition unit 120 and a display unit 130 . The image acquisition unit 120 may include a light source 121 , a camera 122 and a lens assembly 123 . The control unit 110 may include a processing module 111 and a storage module 112 . The display unit 130 may include a display screen 131 and an indicator light 132 .

控制单元110生成测量指令并发送至图像采集单元120。响应于测量指令之收到,图像采集单元120向瞳孔施加光刺激并连续采集发送至控制单元110的瞳孔图像。控制单元110通过对瞳孔图像进行数据处理来测量瞳孔的大小和光反应速度。优选地,图像采集单元120连续采集的瞳孔图像可以包括瞳孔受到光刺激前的瞳孔图像和瞳孔受到光刺激后瞳孔大小变化最大的瞳孔图像。控制单元110基于瞳孔受到光刺激前后的瞳孔图像确定瞳孔的大小变化量和变化用时确定瞳孔的光反应速度。The control unit 110 generates a measurement instruction and sends it to the image acquisition unit 120 . In response to receiving the measurement instruction, the image acquisition unit 120 applies light stimulation to the pupil and continuously acquires pupil images sent to the control unit 110 . The control unit 110 measures the size of the pupil and the light reaction speed by performing data processing on the pupil image. Preferably, the pupil images continuously collected by the image acquisition unit 120 may include a pupil image before the pupil is stimulated by light and a pupil image in which the pupil size changes the most after the pupil is stimulated by light. The control unit 110 determines the amount of change in the size of the pupil and the time taken for the change to determine the light reaction speed of the pupil based on the pupil images before and after the pupil is stimulated by light.

优选地,本发明通过瞳孔图像获取被测人员瞳孔的实际大小,然后通过控制单元110对瞳孔图像进行数据处理来测量瞳孔的大小和光反应速度,从而排除了测量人员主观判断带来的误差。优选地,本发明通过将被测人员瞳孔受到光刺激前的瞳孔图像和受到光刺激后瞳孔大小变化最大的瞳孔图像进行对比,再结合两幅图像的时间间隔确定被测人员瞳孔的光反应速度,并且由于被测人员瞳孔受到光刺激前的瞳孔图像和受到光刺激后瞳孔大小变化最大的瞳孔图像是由同一瞳孔测量系统连续测量得出的,在测量过程中对被测人员瞳孔施加的光刺激由同一光源得出,从而消除了现有测量过程中(特别是人工测量中)因测量时的光源不统一(有的光源亮度过高,有的光源亮度过低)导致的误差,避免遗漏病情观察。Preferably, the present invention acquires the actual size of the pupil of the measured person through the pupil image, and then performs data processing on the pupil image through the control unit 110 to measure the size of the pupil and the light reaction speed, thereby eliminating the error caused by the subjective judgment of the measurer. Preferably, the present invention compares the pupil image before the subject's pupil is subjected to light stimulation with the pupil image whose pupil size changes the most after being subjected to light stimulation, and then combines the time interval between the two images to determine the light reaction speed of the subject's pupil , and since the pupil image of the subject's pupil before being subjected to light stimulation and the pupil image of the pupil with the largest change in pupil size after being subjected to light stimulation are continuously measured by the same pupil measurement system, the light applied to the subject's pupil during the measurement process The stimulus is obtained from the same light source, thus eliminating the error caused by the non-uniform light source (some light source brightness is too high, and some light source brightness is too low) in the existing measurement process (especially in manual measurement) to avoid omissions Condition observation.

参见图2,优选地,摄像头122与光源121同轴设置,透镜组件123位于光源121和摄像头122之间。优选地,透镜组件123相对于摄像头122和光源121成同轴定位。响应于测量指令之收到,图像采集单元120的光源121发射光束至被测人员瞳孔,被测人员的瞳孔反射光束。反射光束穿过透镜组件123并汇聚在摄像头122上,从而允许摄像头122捕获在光束照射下的被测人员瞳孔的图像。Referring to FIG. 2 , preferably, the camera 122 is arranged coaxially with the light source 121 , and the lens assembly 123 is located between the light source 121 and the camera 122 . Preferably, the lens assembly 123 is positioned coaxially with respect to the camera 122 and the light source 121 . In response to receiving the measurement instruction, the light source 121 of the image acquisition unit 120 emits a light beam to the pupil of the person under test, and the pupil of the person under test reflects the light beam. The reflected light beam passes through the lens assembly 123 and converges on the camera 122, thereby allowing the camera 122 to capture the image of the pupil of the person under test irradiated by the light beam.

优选地,光源121被配置为将光束发射到被测人员眼睛上。光束可以是红外光,也可以是可见光。摄像头122被配置为捕获从被测人员眼睛反射的光。透镜组件123被配置为将经被测人员眼睛反射的光聚焦到摄像头122上。Preferably, the light source 121 is configured to emit light beams onto the eyes of the person under test. The light beam can be infrared light or visible light. The camera 122 is configured to capture light reflected from the eye of the person under test. The lens assembly 123 is configured to focus the light reflected from the eyes of the person under test onto the camera 122 .

优选地,本发明通过光源121将光束发射到被测人员眼睛上,再利用摄像头122捕获经被测人员眼睛反射的光,以获得被测人员瞳孔的图像。在获取被测人员瞳孔图像的过程中,没有任何检测极直接接触人眼,尤其是没有任何检测极直接接触眼球,从而避免在测量瞳孔时因人体自我防御而造成瞳孔过度的收缩,确保测量数据的准确性。Preferably, in the present invention, the light source 121 emits light beams to the eyes of the person under test, and the camera 122 is used to capture the light reflected by the eyes of the person under test, so as to obtain an image of the pupil of the person under test. In the process of obtaining the pupil image of the person under test, no detection pole directly contacts the human eye, especially no detection pole directly contacts the eyeball, so as to avoid excessive pupil contraction caused by the human body's self-defense when measuring the pupil, and ensure the measurement data accuracy.

优选地,处理模块111分别与储存模块112、图像采集单元120和显示单元130通信数据连接。图像采集单元120将采集到的瞳孔图像发送至处理模块111。Preferably, the processing module 111 is respectively connected to the storage module 112 , the image acquisition unit 120 and the display unit 130 for data communication. The image acquisition unit 120 sends the acquired pupil image to the processing module 111 .

响应于瞳孔图像之收到,处理模块111对瞳孔图像依次进行灰度转换、二值化处理、边缘检测和边缘圆弧拟合、再根据像素/真实比率值对所得测量数据进行比例转换得到测量结果,并将测量结果发送至显示单元130进行展示。In response to the receipt of the pupil image, the processing module 111 sequentially performs grayscale conversion, binarization processing, edge detection and edge arc fitting on the pupil image, and then scales the obtained measurement data according to the pixel/true ratio value to obtain a measurement result, and send the measurement result to the display unit 130 for presentation.

储存模块112用以对瞳孔图像和测量结果进行储存,处理模块111能够从储存模块112中调取瞳孔图像和/或测量结果发送至显示单元130进行展示。The storage module 112 is used to store the pupil images and measurement results, and the processing module 111 can retrieve the pupil images and/or measurement results from the storage module 112 and send them to the display unit 130 for display.

优选地,显示单元130可以包括显示屏131。优选地,本发明可以通过显示屏131展示测量结果和图像采集单元120采集的瞳孔图像。Preferably, the display unit 130 may include a display screen 131 . Preferably, the present invention can display the measurement result and the pupil image collected by the image collection unit 120 through the display screen 131 .

优选地,由于储存模块112可以对瞳孔图像和测量结果进行储存,在需要使用瞳孔数据进行诊断的情况下,医务人员可以通过控制单元110生成查询指令并发送至储存模块112。响应于查询指令之收到,储存模块112调取与相应瞳孔数据对应的瞳孔图像和/或测量结果发送至显示单元130进行展示,从而避免了医务人员在诊断中重复进行瞳孔测量工作。Preferably, since the storage module 112 can store pupil images and measurement results, in the case of using pupil data for diagnosis, medical personnel can generate query instructions through the control unit 110 and send them to the storage module 112 . In response to receiving the query instruction, the storage module 112 retrieves the pupil image corresponding to the corresponding pupil data and/or sends the measurement result to the display unit 130 for display, thereby avoiding medical personnel from repeatedly performing pupil measurement work during diagnosis.

优选地,由于储存模块112可以对瞳孔图像和测量结果进行储存,医务人员在诊断中,可以通过查询历史瞳孔图像和测量结果并将历史瞳孔数据与当前瞳孔图像和历史测量结果进行比较,以分析患者的病情变化。Preferably, since the storage module 112 can store pupil images and measurement results, medical personnel can query historical pupil images and measurement results and compare historical pupil data with current pupil images and historical measurement results to analyze Changes in the patient's condition.

优选地,处理模块111还能够对瞳孔的大小和光反应速度进行分级。优选地,处理模块111基于分级结果产生相应的提示指令并将提示指令发送至显示单元130。Preferably, the processing module 111 is also capable of grading the pupil size and the light reaction speed. Preferably, the processing module 111 generates a corresponding prompt instruction based on the classification result and sends the prompt instruction to the display unit 130 .

优选地,处理模块111通过将测量出的瞳孔大小与预设瞳孔大小阈值进行比较,从而对瞳孔的大小进行分级。优选地,预设瞳孔大小阈值可以包括第一瞳孔大小阈值和大于第一瞳孔大小阈值的第二瞳孔大小阈值。优选地,第一瞳孔大小阈值和第二瞳孔大小阈值将瞳孔大小划分为三级,分别是:瞳孔大小小于第一瞳孔大小阈值的小级;瞳孔大小大于第一瞳孔大小阈值且小于第二瞳孔大小阈值的中级;瞳孔大小大于第二瞳孔大小阈值的大级。Preferably, the processing module 111 classifies the pupil size by comparing the measured pupil size with a preset pupil size threshold. Preferably, the preset pupil size threshold may include a first pupil size threshold and a second pupil size threshold greater than the first pupil size threshold. Preferably, the pupil size is divided into three grades by the first pupil size threshold and the second pupil size threshold, which are respectively: the pupil size is smaller than the first pupil size threshold; the pupil size is larger than the first pupil size threshold and smaller than the second pupil size Medium for the size threshold; large for pupil sizes larger than the second pupil size threshold.

优选地,处理模块111通过将测量出的瞳孔的光反应速度与预设瞳孔光反应速度阈值进行比较,从而对瞳孔的光反应速度进行分级。优选地,预设瞳孔光反应速度阈值可以包括第一瞳孔光反应速度阈值和大于第一瞳孔光反应速度阈值的第二瞳孔光反应速度阈值。优选地,第一瞳孔光反应速度阈值和第二瞳孔光反应速度阈值将瞳孔光反应速度划分为三级,分别是:瞳孔光反应速度小于第一瞳孔光反应速度阈值的慢级;瞳孔光反应速度大于第一瞳孔光反应速度阈值且小于第二瞳孔光反应速度阈值的中级;瞳孔光反应速度大于第二瞳孔光反应速度阈值的快级。Preferably, the processing module 111 grades the pupil light reaction speed by comparing the measured pupil light reaction speed with a preset pupil light reaction speed threshold. Preferably, the preset pupillary light reaction speed threshold may include a first pupillary light reaction speed threshold and a second pupillary light reaction speed threshold greater than the first pupillary light reaction speed threshold. Preferably, the pupil light reaction speed threshold is divided into three levels by the first pupil light reaction speed threshold and the second pupil light reaction speed threshold, which are respectively: the slow level whose pupil light reaction speed is less than the first pupil light reaction speed threshold; the pupil light reaction speed The speed is greater than the first pupil light reaction speed threshold and less than the middle level of the second pupil light reaction speed threshold; the pupil light reaction speed is greater than the second pupil light reaction speed threshold of the fast level.

优选地,显示单元130还包括指示灯132。优选地,指示灯132可以包括红、绿、蓝三种颜色。优选地,绿色指示灯代表瞳孔大小的小级或瞳孔光反应速度的慢级。优选地,蓝色指示灯代表瞳孔大小的中级或瞳孔光反应速度的中级。优选地,红色指示灯代表瞳孔大小的大级或瞳孔光反应速度的快级。Preferably, the display unit 130 further includes an indicator light 132 . Preferably, the indicator light 132 may include three colors of red, green and blue. Preferably, the green light represents small steps in pupil size or slow steps in pupillary light response speed. Preferably, the blue indicator light represents the middle grade of pupil size or the middle grade of pupil light response speed. Preferably, the red indicator light represents a large level of pupil size or a fast level of pupillary light reaction speed.

参见图3,优选地,控制单元110生成测量指令并发送至光源121和摄像头122。光源121发射光束至被测人员瞳孔,被测人员的瞳孔反射光束。反射光束穿过透镜组件123并汇聚在摄像头122上,从而允许摄像头122捕获在光束照射下的被测人员瞳孔的图像。优选地,摄像头122从接收到测量指令起开始连续采集被测人员瞳孔的图像并将采集到的图像传输至处理模块111。Referring to FIG. 3 , preferably, the control unit 110 generates a measurement command and sends it to the light source 121 and the camera 122 . The light source 121 emits light beams to the pupils of the person under test, and the pupils of the person under test reflect the light beams. The reflected light beam passes through the lens assembly 123 and converges on the camera 122, thereby allowing the camera 122 to capture the image of the pupil of the person under test irradiated by the light beam. Preferably, the camera 122 starts to continuously collect images of the pupils of the person under test after receiving the measurement instruction, and transmits the collected images to the processing module 111 .

优选地,处理模块111对瞳孔图像依次进行灰度转换、二值化处理、边缘检测和边缘圆弧拟合、再根据像素/真实比率值对所得测量数据进行比例转换得到测量结果,并将测量结果发送至显示屏131进行展示,同时处理模块111对测量结果进行分级并将分级结果发送至指示灯132进行展示。Preferably, the processing module 111 sequentially performs grayscale conversion, binarization processing, edge detection and edge arc fitting on the pupil image, and then converts the obtained measurement data according to the pixel/true ratio value to obtain the measurement result, and measures The results are sent to the display screen 131 for display, while the processing module 111 grades the measurement results and sends the graded results to the indicator light 132 for display.

优选地,由于储存模块112可以对瞳孔图像和测量结果进行储存,医务人员可以通过查询历史瞳孔图像和测量结果并将历史瞳孔数据与当前瞳孔图像和历史测量结果进行比较,以分析患者的病情变化。当医务人员查询历史瞳孔图像和测量结果时,控制单元110生成查询指令并发送至储存模块112。响应于查询指令之收到,储存模块112调取与相应瞳孔数据对应的瞳孔图像和/或测量结果发送至显示单元130进行展示。Preferably, since the storage module 112 can store pupil images and measurement results, medical personnel can analyze the patient's condition changes by querying historical pupil images and measurement results and comparing historical pupil data with current pupil images and historical measurement results . When the medical staff inquires about the historical pupil images and measurement results, the control unit 110 generates an inquiry instruction and sends it to the storage module 112 . In response to receiving the query instruction, the storage module 112 retrieves the pupil image and/or the measurement result corresponding to the corresponding pupil data and sends them to the display unit 130 for display.

优选地,处理模块111通过图像分割的方式对灰度转换后的瞳孔图像进行二值化处理,获得瞳孔图像的二值化图像。优选地,处理模块111选取图像灰度直方图中双峰之间的最小频率值所对应的灰度值作为分割灰度阈值,生成瞳孔的二值化图像。优选地,处理模块111将图像中灰度值小于分割灰度阈值的像素点作为瞳孔像素点,反之作为背景像素点,并根据瞳孔像素点与背景像素点对图像中的瞳孔图像与背景图像进行二值化分割。Preferably, the processing module 111 performs binarization processing on the pupil image after the gray scale conversion by means of image segmentation to obtain a binarized image of the pupil image. Preferably, the processing module 111 selects the gray value corresponding to the minimum frequency value between the two peaks in the gray histogram of the image as the segmentation gray threshold to generate a binarized image of the pupil. Preferably, the processing module 111 uses pixels whose grayscale value is less than the segmentation grayscale threshold in the image as pupil pixels, otherwise as background pixels, and performs a process on the pupil image and the background image in the image according to the pupil pixels and the background pixels. Binary segmentation.

优选地,处理模块111通过边缘检测函数来获取瞳孔二值化图像的边缘像素点;处理模块111通过圆弧拟合函数,通过输入边缘像素图像输出最佳圆弧拟合的半径值。Preferably, the processing module 111 obtains the edge pixel points of the pupil binarized image through the edge detection function; the processing module 111 outputs the radius value of the best arc fitting through the input edge pixel image through the arc fitting function.

优选地,处理模块111通过获取摄像头122在测量位置采集的参照物的图像像素信息以及该参照物的真实尺寸信息,计算该参照物的像素宽度与真实宽度的比值作为像素/真实比率值。Preferably, the processing module 111 calculates the ratio of the pixel width of the reference object to the real width as the pixel/real ratio value by acquiring the image pixel information of the reference object collected by the camera 122 at the measurement position and the real size information of the reference object.

实施例2Example 2

本实施例是对实施例1的进一步改进,重复的内容不再赘述。This embodiment is a further improvement on Embodiment 1, and repeated content will not be repeated here.

本实施例提供一种瞳孔测量方法。瞳孔测量方法至少包括:This embodiment provides a pupil measurement method. Pupillometry methods include at least:

向瞳孔施加光刺激并连续采集瞳孔的图像;applying a light stimulus to the pupil and continuously acquiring images of the pupil;

基于瞳孔图像来测量瞳孔的大小和光反应速度;Measure pupil size and light response speed based on the pupil image;

其中,连续采集的瞳孔图像至少包括瞳孔受到光刺激前的瞳孔图像和瞳孔受到光刺激后瞳孔大小变化最大的瞳孔图像;Wherein, the continuously collected pupil images at least include the pupil image before the pupil is stimulated by light and the pupil image with the largest change in pupil size after the pupil is stimulated by light;

基于瞳孔受到光刺激前后的瞳孔图像确定瞳孔的大小变化量和变化用时确定瞳孔的光反应速度。Based on the pupil images before and after the pupil is stimulated by light, the amount of change in pupil size and the change time are determined to determine the light reaction speed of the pupil.

优选地,瞳孔测量方法还包括:Preferably, the pupil measurement method also includes:

对瞳孔图像依次进行灰度转换、二值化处理、边缘检测和边缘圆弧拟合、再根据像素/真实比率值对所得测量数据进行比例转换得到测量结果,并对测量结果进行可视化展示。Gray-scale conversion, binarization processing, edge detection and edge arc fitting are performed on the pupil image in turn, and then the measured data is scaled according to the pixel/true ratio value to obtain the measurement results, and the measurement results are displayed visually.

具体地,通过图像分割的方式对灰度转换后的瞳孔图像进行二值化处理,获得瞳孔图像的二值化图像。Specifically, binarization processing is performed on the gray-scale converted pupil image by means of image segmentation to obtain a binarized image of the pupil image.

优选地,图像分割采用直方图双峰法,选取双峰之间的最小频率值所对应的灰度值作为分割灰度阈值,生成瞳孔的二值化图像。Preferably, the histogram bimodal method is used for image segmentation, and the gray value corresponding to the minimum frequency value between the two peaks is selected as the gray threshold for segmentation to generate a binarized image of the pupil.

优选地,生成瞳孔的二值化图像方法为将图像中灰度值小于分割灰度阈值的像素点作为瞳孔像素点,反之作为背景像素点,并根据瞳孔像素点与背景像素点对图像中的瞳孔图像与背景图像进行二值化分割。Preferably, the method for generating the binarized image of the pupil is to use the pixels whose gray value in the image is smaller than the segmentation gray threshold as the pupil pixels, otherwise as the background pixels, and according to the comparison between the pupil pixels and the background pixels in the image The pupil image and the background image are binarized and segmented.

优选地,本实施例通过边缘检测函数来获取瞳孔二值化图像的边缘像素点;处理模块111通过圆弧拟合函数,通过输入边缘像素图像输出最佳圆弧拟合的半径值。Preferably, in this embodiment, the edge pixel points of the binarized pupil image are obtained through the edge detection function; the processing module 111 outputs the radius value of the best arc fitting through the input edge pixel image through the arc fitting function.

优选地,本实施例通过在测量位置采集的参照物的图像像素信息以及该参照物的真实尺寸信息,计算该参照物的像素宽度与真实宽度的比值作为像素/真实比率值。Preferably, in this embodiment, the ratio of the pixel width of the reference object to the real width is calculated as the pixel/real ratio value by using the image pixel information of the reference object collected at the measurement position and the real size information of the reference object.

优选地,本实施例通过图像采集单元120采集的瞳孔图像。优选地,图像采集单元120可以包括光源121、摄像头122和透镜组件123。参见图2,优选地,摄像头122与光源121同轴设置,透镜组件123位于光源121和摄像头122之间。优选地,透镜组件123相对于摄像头122和光源121成同轴定位。响应于测量指令之收到,图像采集单元120的光源121发射光束至被测人员瞳孔,被测人员的瞳孔反射光束。反射光束穿过透镜组件123并汇聚在摄像头122上,从而允许摄像头122捕获在光束照射下的被测人员瞳孔的图像。Preferably, the pupil image collected by the image collection unit 120 in this embodiment. Preferably, the image acquisition unit 120 may include a light source 121 , a camera 122 and a lens assembly 123 . Referring to FIG. 2 , preferably, the camera 122 is arranged coaxially with the light source 121 , and the lens assembly 123 is located between the light source 121 and the camera 122 . Preferably, the lens assembly 123 is positioned coaxially with respect to the camera 122 and the light source 121 . In response to receiving the measurement instruction, the light source 121 of the image acquisition unit 120 emits a light beam to the pupil of the person under test, and the pupil of the person under test reflects the light beam. The reflected light beam passes through the lens assembly 123 and converges on the camera 122, thereby allowing the camera 122 to capture the image of the pupil of the person under test irradiated by the light beam.

优选地,光源121被配置为将光束发射到被测人员眼睛上。光束可以是红外光,也可以是可见光。摄像头122被配置为捕获从被测人员眼睛反射的光。透镜组件123被配置为将经被测人员眼睛反射的光聚焦到摄像头122上。Preferably, the light source 121 is configured to emit light beams onto the eyes of the person under test. The light beam can be infrared light or visible light. The camera 122 is configured to capture light reflected from the eye of the person under test. The lens assembly 123 is configured to focus the light reflected from the eyes of the person under test onto the camera 122 .

优选地,本发明通过光源121将光束发射到被测人员眼睛上,再利用摄像头122捕获经被测人员眼睛反射的光,以获得被测人员瞳孔的图像。在获取被测人员瞳孔图像的过程中,没有任何检测极直接接触人眼,尤其是没有任何检测极直接接触眼球,从而避免在测量瞳孔时因人体自我防御而造成瞳孔过度的收缩,确保测量数据的准确性。Preferably, in the present invention, the light source 121 emits light beams to the eyes of the person under test, and the camera 122 is used to capture the light reflected by the eyes of the person under test, so as to obtain an image of the pupil of the person under test. In the process of obtaining the pupil image of the person under test, no detection pole directly contacts the human eye, especially no detection pole directly contacts the eyeball, so as to avoid excessive pupil contraction caused by the human body's self-defense when measuring the pupil, and ensure the measurement data accuracy.

优选地,本实施例可以对瞳孔图像和测量结果进行储存,医务人员在诊断中,可以通过查询历史瞳孔图像和测量结果并将历史瞳孔数据与当前瞳孔图像和历史测量结果进行比较,以分析患者的病情变化。Preferably, this embodiment can store pupil images and measurement results. During diagnosis, medical personnel can query historical pupil images and measurement results and compare historical pupil data with current pupil images and historical measurement results to analyze patient changes in condition.

优选地,本实施例还能够对瞳孔的大小和光反应速度进行分级。Preferably, this embodiment can also grade the pupil size and light reaction speed.

优选地,本实施例通过将测量出的瞳孔大小与预设瞳孔大小阈值进行比较,从而对瞳孔的大小进行分级。优选地,预设瞳孔大小阈值可以包括第一瞳孔大小阈值和大于第一瞳孔大小阈值的第二瞳孔大小阈值。优选地,第一瞳孔大小阈值和第二瞳孔大小阈值将瞳孔大小划分为三级,分别是:瞳孔大小小于第一瞳孔大小阈值的小级;瞳孔大小大于第一瞳孔大小阈值且小于第二瞳孔大小阈值的中级;瞳孔大小大于第二瞳孔大小阈值的大级。Preferably, in this embodiment, the pupil size is graded by comparing the measured pupil size with a preset pupil size threshold. Preferably, the preset pupil size threshold may include a first pupil size threshold and a second pupil size threshold greater than the first pupil size threshold. Preferably, the pupil size is divided into three grades by the first pupil size threshold and the second pupil size threshold, which are respectively: the pupil size is smaller than the first pupil size threshold; the pupil size is larger than the first pupil size threshold and smaller than the second pupil size Medium for the size threshold; large for pupil sizes larger than the second pupil size threshold.

优选地,本实施例通过将测量出的瞳孔的光反应速度与预设瞳孔光反应速度阈值进行比较,从而对瞳孔的光反应速度进行分级。优选地,预设瞳孔光反应速度阈值可以包括第一瞳孔光反应速度阈值和大于第一瞳孔光反应速度阈值的第二瞳孔光反应速度阈值。优选地,第一瞳孔光反应速度阈值和第二瞳孔光反应速度阈值将瞳孔光反应速度划分为三级,分别是:瞳孔光反应速度小于第一瞳孔光反应速度阈值的慢级;瞳孔光反应速度大于第一瞳孔光反应速度阈值且小于第二瞳孔光反应速度阈值的中级;瞳孔光反应速度大于第二瞳孔光反应速度阈值的快级。Preferably, in this embodiment, the pupil light reaction speed is graded by comparing the measured pupil light reaction speed with a preset pupil light reaction speed threshold. Preferably, the preset pupillary light reaction speed threshold may include a first pupillary light reaction speed threshold and a second pupillary light reaction speed threshold greater than the first pupillary light reaction speed threshold. Preferably, the pupil light reaction speed threshold is divided into three levels by the first pupil light reaction speed threshold and the second pupil light reaction speed threshold, which are respectively: the slow level whose pupil light reaction speed is less than the first pupil light reaction speed threshold; the pupil light reaction speed The speed is greater than the first pupil light reaction speed threshold and less than the middle level of the second pupil light reaction speed threshold; the pupil light reaction speed is greater than the second pupil light reaction speed threshold of the fast level.

优选地,本实施例通过红、绿、蓝三种颜色的指示灯132表示瞳孔大小和/或瞳孔光反应速度的分级结果。优选地,绿色指示灯代表瞳孔大小的小级或瞳孔光反应速度的慢级。优选地,蓝色指示灯代表瞳孔大小的中级或瞳孔光反应速度的中级。优选地,红色指示灯代表瞳孔大小的大级或瞳孔光反应速度的快级。Preferably, in this embodiment, the indicator lights 132 in three colors of red, green and blue indicate the grading results of pupil size and/or pupil light reaction speed. Preferably, the green light represents small steps in pupil size or slow steps in pupillary light response speed. Preferably, the blue indicator light represents the middle grade of pupil size or the middle grade of pupil light response speed. Preferably, the red indicator light represents a large level of pupil size or a fast level of pupillary light reaction speed.

实施例3Example 3

本实施例是对实施例1和实施例2的进一步改进,重复的内容不再赘述。This embodiment is a further improvement on Embodiment 1 and Embodiment 2, and repeated content will not be repeated here.

本实施例提供一种多功能瞳孔观察笔200。多功能瞳孔观察笔200搭载有本发明提供的瞳孔测量系统100。优选地,多功能瞳孔观察笔200在笔体210上设置有用于进行针刺觉检查的刺针220。优选地,多功能瞳孔观察笔200在满足医务人员的书写需求和瞳孔测量需求的同时还可以作为针刺觉检查工具满足常规性的针刺觉检查需求。This embodiment provides a multifunctional pupil observation pen 200 . The multifunctional pupil observation pen 200 is equipped with the pupil measurement system 100 provided by the present invention. Preferably, the multifunctional pupil observation pen 200 is provided with a puncture needle 220 on the pen body 210 for performing a needle prick test. Preferably, the multi-functional pupil observation pen 200 can also be used as a needle-prick test tool to meet the regular need for needle-prick test while meeting the writing needs and pupil measurement needs of medical personnel.

参见图4,优选地,多功能瞳孔观察笔200至少包括笔体210。笔体210的一端连接笔尖240另一端连接检测头230。优选地,检测头230表面设置有显示屏131、指示灯132和控制按钮231。优选地,显示屏131、指示灯132和控制按钮231设置在检测头230的同一侧表面。优选地,在笔体210中部设置有用于进行针刺觉检查的刺针220。优选地,刺针220以可绕连接点旋转的方式将其一端连接在笔体210上。Referring to FIG. 4 , preferably, the multifunctional pupil observation pen 200 includes at least a pen body 210 . One end of the pen body 210 is connected to the nib 240 and the other end is connected to the detection head 230 . Preferably, the surface of the detection head 230 is provided with a display screen 131 , an indicator light 132 and a control button 231 . Preferably, the display screen 131 , the indicator light 132 and the control button 231 are arranged on the same side surface of the detection head 230 . Preferably, in the middle of the pen body 210, a puncturing needle 220 for performing a needle prick test is arranged. Preferably, one end of the needle 220 is connected to the pen body 210 in a manner that can rotate around the connection point.

优选地,医务人员将刺针220旋转至与笔体210垂直位置,再以笔体210充当握把使刺针220的自由端与患者接触,从而进行针刺觉检查。Preferably, the medical personnel rotate the puncturing needle 220 to a position perpendicular to the pen body 210 , and then use the pen body 210 as a handle to make the free end of the puncturing needle 220 contact the patient, so as to perform the needle prick test.

优选地,医务人员将刺针220旋转使其与笔体210重合,从而可以将笔体210和刺针220握住充当笔杆进行书写。Preferably, the medical staff rotates the puncturing needle 220 so that it coincides with the pen body 210, so that the pen body 210 and the puncturing needle 220 can be held as a pen holder for writing.

参见图5,优选地,实施例1中的瞳孔测量系统100搭载在检测头230上。优选地,检测头230中设置有作为瞳孔测量系统100控制单元110的处理芯片组件232。优选地,控制单元110包括处理模块111和储存模块112。优选地,处理芯片组件232分别与光源121、摄像头122、显示屏131、指示灯132以及控制按钮231电信号连接。优选地,医务人员可以通过控制按钮231使检测头230进行瞳孔大小或瞳孔光反应速度的测量。Referring to FIG. 5 , preferably, the pupil measurement system 100 in Embodiment 1 is mounted on a detection head 230 . Preferably, the detection head 230 is provided with a processing chip component 232 serving as the control unit 110 of the pupil measurement system 100 . Preferably, the control unit 110 includes a processing module 111 and a storage module 112 . Preferably, the processing chip assembly 232 is electrically connected to the light source 121 , the camera 122 , the display screen 131 , the indicator light 132 and the control button 231 respectively. Preferably, the medical staff can use the control button 231 to make the detection head 230 measure the pupil size or pupil light reaction speed.

优选地,控制单元110生成测量指令并发送至光源121和摄像头122。光源121发射光束至被测人员瞳孔,被测人员的瞳孔反射光束。反射光束穿过透镜组件123并汇聚在摄像头122上,从而允许摄像头122捕获在光束照射下的被测人员瞳孔的图像。优选地,摄像头122从接收到测量指令起开始连续采集被测人员瞳孔的图像。Preferably, the control unit 110 generates a measurement command and sends it to the light source 121 and the camera 122 . The light source 121 emits light beams to the pupils of the person under test, and the pupils of the person under test reflect the light beams. The reflected light beam passes through the lens assembly 123 and converges on the camera 122, thereby allowing the camera 122 to capture the image of the pupil of the person under test irradiated by the light beam. Preferably, the camera 122 starts to continuously collect images of the pupils of the measured person after receiving the measurement instruction.

优选地,处理模块111对瞳孔图像依次进行灰度转换、二值化处理、边缘检测和边缘圆弧拟合、再根据像素/真实比率值对所得测量数据进行比例转换得到测量结果,并将测量结果发送至显示屏131进行展示,同时处理模块111对测量结果进行分级并将分级结果发送至指示灯132进行展示。Preferably, the processing module 111 sequentially performs grayscale conversion, binarization processing, edge detection and edge arc fitting on the pupil image, and then converts the obtained measurement data according to the pixel/true ratio value to obtain the measurement result, and measures The results are sent to the display screen 131 for display, while the processing module 111 grades the measurement results and sends the graded results to the indicator light 132 for display.

根据一种优选实施方式,光源和摄像头被配置为相对于左右眼彼此独立且能够差时作用光刺激至对应单眼对象的结构和/或系统控制设计。为实现此,装置至少可以被配置为相互独立的两个实体,或者,至少光源、摄像头以及相应的遮光部分按照相对双眼的方式彼此独立地设计。基础地,可以针对双眼分别分割两个暗室,暗室由遮光部分构成,遮光部分可以由一些不透光的材料构成,例如利用塑料件以及橡胶件合围构成空腔空间,由于所选择材料不透光,因此空腔内形成基本无光的环境,有助于保持瞳孔的扩散,橡胶件被用于接触至患者眼周皮肤,以减小摩擦、形成缓冲。至少两套光源和摄像头被配置在两个暗室内,并且两者能够被分别控制地作用于患者的双眼。在检查瞳孔时,常常需要预先使得患者瞳孔扩散至最大限度,然后才能进行与光刺激有关的后续检查,常用的瞳孔扩散方法有药剂法,即使用特殊药剂使得患者瞳孔能够扩散,还有使用自然扩散,即使得患者视野内光线尽量降低甚至于无光,使得患者瞳孔自然扩散至最大。但无论如何,在患者瞳孔扩散之后,环境内应当尽量保证低亮度甚至于无光,以防止患者瞳孔受到环境光影响而产生非期望地收缩,因此本方案的暗室有助于形成上述的无光环境。According to a preferred embodiment, the light source and the camera are configured as structures and/or system control designs that are independent of each other with respect to the left and right eyes and that can differentially act on optical stimulation to the corresponding monocular object. To achieve this, the device can be configured as two independent entities at least, or at least the light source, the camera and the corresponding light-shielding part are designed independently of each other in a manner relative to the eyes. Basically, two darkrooms can be divided for both eyes. The darkroom is composed of a light-shielding part, and the light-shielding part can be made of some opaque materials, such as plastic parts and rubber parts to form a cavity space, because the selected material is opaque , so a basically dark environment is formed in the cavity, which helps to keep the pupils diffused, and rubber parts are used to contact the skin around the eyes of the patient to reduce friction and form a buffer. At least two sets of light sources and cameras are arranged in two darkrooms, and the two can be separately controlled to act on the patient's eyes. When checking the pupil, it is often necessary to make the patient’s pupil dilate to the maximum in advance, and then proceed to the follow-up examination related to light stimulation. Diffusion means that the light in the patient's field of view is minimized or even eliminated, so that the patient's pupils naturally diffuse to the maximum. But in any case, after the patient's pupil dilates, the environment should be as low-brightness or even dark as possible to prevent the patient's pupil from being affected by the ambient light and causing undesired contraction. environment.

在部分针对瞳孔的检测过程中,需要检测瞳孔对光刺激的反馈,也就是瞳孔的收缩情况,基于眼科医学知识,光线对瞳孔具备刺激作用,光线使得瞳孔收缩,且在一般情况下,光线强度与瞳孔收缩程度具备一定正比关系,因此检测瞳孔对光线的反应时间以及收缩程度,更进一步地,检测瞳孔对光强变化的刺激的收缩量变化程度是眼科中比较常见的检查项目,一定程度上可以反映患者瞳孔、眼部相关的生理状态和疾病状况。传统的瞳孔检查为人工检查,即医生手持瞳孔检查设备对人眼照射,然后目测瞳孔收缩,然而此种方式只能检查比较简单的项目,对于较为深层次、较为复杂的检测则不能适用。现有技术也提出过利用视觉识别或者图像识别的方式,借由计算机以及图像获取设备的强大机能来辅助医生判别患者瞳孔图像的收缩程度,一般可以精确到瞳孔直径的毫米级变化程度,但是,正如上面所述,人眼在有光刺激的时候才会产生收缩,这意味着当瞳孔产生收缩时,环境中存在光线,特别地,环境中存在可见光线,并且为防止图像获取设备为获取图像而向人眼发出的光线造成瞳孔产生预期外的收缩,图像获取设备往往仅能借助上述对瞳孔产生刺激的可见光的反射进行瞳孔的成像,这要求图像获取设备的至少进光镜片需要与发送刺激光线的光源以及人眼瞳孔处于同一轴线上,然而由于人眼的晶状体构造,反射的光线会使得图像获取设备的成像产生较大的反光现象,造成图像获取不清晰、图像程序判别困难,很难获取较为准确的瞳孔本底图像。现有技术可能在防反射炫光方面配置一些特殊的算法或者是从物理层面增加一些过滤反光的结构,但是这样无疑增加了设备的制造成本和/或软件算法的开发成本,并且,从算法方面入手减少反光带来的成像残缺或者不清晰的问题,在瞳孔尺寸的微小尺度以及瞬时收缩的时间尺度上,是比较困难的,对处理器的计算能力也有较高的要求,同时由于是“计算摄影”的方式,其获取的检测结果的真实性也有待商榷。基于医学检查要求,光线对人眼的照射在检查瞳孔期间不能产生使得“瞳孔产生较大变化”的问题,例如光强的跳变,会使得患者瞳孔收缩扩散产生跳变,鉴于瞳孔扩散存在滞后性,检测过程将会变得较为困难,难以获得较为准确的检测数据,因此,在此光线照射中如何获得较为准确且真实的瞳孔本底图像且不影响光线对瞳孔的均匀刺激以实现瞳孔的合理诊断是需要解决的问题。In part of the detection process for the pupil, it is necessary to detect the pupil’s feedback to the light stimulus, that is, the contraction of the pupil. Based on ophthalmology medical knowledge, light has a stimulating effect on the pupil, and the light makes the pupil contract. In general, the light intensity It has a certain proportional relationship with the degree of pupillary contraction. Therefore, it is a relatively common inspection item in ophthalmology to detect the reaction time and degree of pupillary contraction to light. It can reflect the physiological status and disease status related to the pupil and eye of the patient. The traditional pupil inspection is manual inspection, that is, the doctor holds the pupil inspection equipment to irradiate the human eye, and then visually observes the pupil constriction. However, this method can only inspect relatively simple items, and is not suitable for deeper and more complex detection. The existing technology also proposes to use visual recognition or image recognition to assist doctors to judge the degree of constriction of the patient's pupil image by virtue of the powerful functions of computers and image acquisition equipment. Generally, it can be accurate to the degree of millimeter-level changes in pupil diameter. However, As mentioned above, the human eye will only contract when there is light stimulation, which means that when the pupil contracts, there is light in the environment, in particular, there is visible light in the environment, and in order to prevent the image acquisition device from acquiring images However, the light emitted to the human eye causes the pupil to shrink unexpectedly, and the image acquisition device can only perform pupil imaging by means of the above-mentioned reflection of the visible light that stimulates the pupil. The light source of the light and the pupil of the human eye are on the same axis. However, due to the lens structure of the human eye, the reflected light will cause a large reflection phenomenon in the imaging of the image acquisition device, resulting in unclear image acquisition and difficult image program identification. Obtain a more accurate pupil background image. The existing technology may configure some special algorithms in terms of anti-reflection glare or add some structures to filter reflections from the physical level, but this will undoubtedly increase the manufacturing cost of the device and/or the development cost of the software algorithm, and, from the aspect of the algorithm It is more difficult to reduce the problem of incomplete or unclear imaging caused by reflections on the tiny scale of pupil size and the time scale of instantaneous contraction, and it also has high requirements for the computing power of the processor. The authenticity of the test results obtained by using the "photography" method is also open to question. Based on the requirements of medical examination, the irradiation of light on the human eye cannot cause the problem of "great changes in the pupil" during the examination of the pupil, such as a jump in light intensity, which will cause the patient's pupil to shrink and expand. In view of the lag in pupillary dilation Therefore, how to obtain a more accurate and real pupil background image without affecting the uniform stimulation of the light to the pupil in order to achieve pupil Proper diagnosis is a problem that needs to be solved.

基于此,本方案给出一种优选实施方式,本实施例下,光源被配置为按照第一频率作用至患者眼部,光源能够发出可见光以促使患者瞳孔收缩。另外配置有光线发出方向至少一部分与光源同向的红外线发射单元,红外线发射单元被配置为按照第二频率作用至患者眼部,其中,第一频率与第二频率配置下的可见光与红外光以满足各自频闪间隙恰好交错的方式分别作用至患者眼部,即可见光的波峰与红外光的波谷在时间维度上是并行的,相位是相反的,其中,两者的振幅可以是相同或不同的。摄像头以第三频率配置电子快门,以捕获与第三频率相关的若干个连续视频帧,帧画面包括单可见光作用、单红外光作用、可见光红外光双重作用以及可见光红外光均不作用的图像。第一频率与第二频率均控制光出射结构的开闭,即“明暗”,第三频率控制摄像头的感光芯片的开闭。优选地,处理器挑选单红外光作用下的帧画面,处理后形成瞳孔的本底图像,进一步处理获得瞳孔的尺寸、变化尺寸和变化时间等等参数,以作为诊断参考提供给医生。优选地,摄像头也可以被配置为以第二频率配置电子快门,并且在红外光照射时,摄像头电子快门处于“开”逻辑,以此可以直接获得红外光照射的瞳孔图像。优选地,第一频率至少大于50Hz,第三频率控制下的摄像头视频帧率至少为24帧,优选地,为30帧,更优选地,为60帧。Based on this, this solution provides a preferred implementation mode. In this embodiment, the light source is configured to act on the patient's eyes according to the first frequency, and the light source can emit visible light to prompt the patient's pupils to constrict. In addition, an infrared emitting unit is configured with at least a part of the light emitting direction in the same direction as the light source. The infrared emitting unit is configured to act on the patient's eyes according to the second frequency, wherein the visible light and the infrared light configured at the first frequency and the second frequency are in the same order as Satisfied that the respective stroboscopic intervals are just staggered to act on the eyes of the patient respectively, that is, the peaks of visible light and the troughs of infrared light are parallel in the time dimension, and the phases are opposite. Among them, the amplitudes of the two can be the same or different . The camera is equipped with an electronic shutter at the third frequency to capture several continuous video frames related to the third frequency. The frame pictures include images with single visible light effect, single infrared light effect, dual effect of visible light and infrared light and no effect of visible light and infrared light. Both the first frequency and the second frequency control the opening and closing of the light emitting structure, that is, "brightness and darkness", and the third frequency controls the opening and closing of the photosensitive chip of the camera. Preferably, the processor selects the frame picture under the action of single infrared light, processes it to form a background image of the pupil, further processes and obtains parameters such as pupil size, change size and change time, and provides it to the doctor as a diagnostic reference. Preferably, the camera can also be configured to configure an electronic shutter with a second frequency, and when the infrared light is irradiated, the electronic shutter of the camera is in the "on" logic, so that the pupil image irradiated by the infrared light can be obtained directly. Preferably, the first frequency is at least greater than 50 Hz, and the video frame rate of the camera controlled by the third frequency is at least 24 frames, preferably 30 frames, more preferably 60 frames.

上述方案实现了在不影响光线对瞳孔的均匀刺激以实现瞳孔的合理诊断的情况下,获取真实的瞳孔本底图像的效果,首先,红外线不会对人眼产生刺激反应,且人眼对红外线吸收能力相对可见光较强,因此瞳孔的收缩扩张反应不针对红外光线的照射而产生,且不会产生较多的反光现象,故而可以基于红外照射下的图像对瞳孔进行成像。并且,在成像过程中,基于对闪烁频率的控制,可见光是不作用在患者瞳孔的,然而这并不会导致患者瞳孔产生跳变,基于人眼的视觉滞留效应,眼球无法对高频率变化的光线作出反应,因此即便在成像期间,患者的瞳孔不会产生期望之外的反应,而是会继续随着可见光的引导而继续做出期望的收缩反馈。上述方案,在不影响正常使用可见光对患者眼部施加可预期的影响以获得可预期的瞳孔收缩反应的情况下,实现了实时获取瞳孔的清晰、完整、无反光的真实图像,无需利用“计算摄影”方式,直接可以处理图像获取真实参数,大幅减小处理器的载荷,使得能够使用简单、相对经济实惠的处理器方案,减小处理延迟,能够更加快速且准确地输出可信结果,对医学诊断瞳孔状态的工作具备显著的改进。The above scheme achieves the effect of obtaining a real pupil background image without affecting the uniform stimulation of the pupil by light to achieve a reasonable diagnosis of the pupil. First, infrared rays will not stimulate the human eye, and the human eye is sensitive to infrared rays The absorption ability is stronger than that of visible light, so the contraction and dilation reaction of the pupil is not generated for the irradiation of infrared light, and there will not be more reflection phenomenon, so the pupil can be imaged based on the image under infrared irradiation. Moreover, in the imaging process, based on the control of the flicker frequency, visible light does not act on the pupil of the patient, but this does not cause the pupil of the patient to jump. Based on the visual retention effect of the human eye, the eyeball cannot respond to high-frequency changes. The light responds, so even during imaging, the patient's pupils do not respond unexpectedly, but continue to respond with the desired constriction as guided by the visible light. The above solution achieves real-time acquisition of a clear, complete and non-reflective real image of the pupil without using "calculation "Photography" method, can directly process images to obtain real parameters, greatly reduce the processor load, make it possible to use a simple, relatively economical processor solution, reduce processing delays, and output credible results more quickly and accurately. The work of medically diagnosing the state of the pupil has significantly improved.

需要注意的是,上述具体实施例是示例性的,本领域技术人员可以在本发明公开内容的启发下想出各种解决方案,而这些解决方案也都属于本发明的公开范围并落入本发明的保护范围之内。本领域技术人员应该明白,本发明说明书及其附图均为说明性而并非构成对权利要求的限制。本发明的保护范围由权利要求及其等同物限定。在全文中,“优选地”所引导的特征仅为一种可选方式,不应理解为必须设置,故此申请人保留随时放弃或删除相关优选特征之权利。本发明说明书包含多项发明构思,诸如“优选地”、“根据一个优选实施方式”或“可选地”均表示相应段落公开了一个独立的构思,申请人保留根据每项发明构思提出分案申请的权利。It should be noted that the above specific embodiments are exemplary, and those skilled in the art can come up with various solutions inspired by the disclosure of the present invention, and these solutions also belong to the scope of the disclosure of the present invention and fall within the scope of this disclosure. within the scope of protection of the invention. Those skilled in the art should understand that the description and drawings of the present invention are illustrative rather than limiting to the claims. The protection scope of the present invention is defined by the claims and their equivalents. Throughout the text, the features introduced by "preferably" are only optional, and should not be interpreted as having to be set. Therefore, the applicant reserves the right to waive or delete relevant preferred features at any time. The description of the present invention contains a number of inventive concepts, such as "preferably", "according to a preferred embodiment" or "optionally" all indicate that the corresponding paragraph discloses an independent concept, and the applicant reserves the right to propose a division based on each inventive concept right to apply.

Claims (10)

1. A pupil measurement system, characterized in that it comprises at least a control unit (110), an image acquisition unit (120) and a display unit (130);
the control unit (110) generates a measurement instruction and sends the measurement instruction to the image acquisition unit (120);
in response to receipt of the measurement instruction, the image acquisition unit (120) applies light stimuli to the pupil and continuously acquires pupil images sent to the control unit (110);
the control unit (110) measures the size of the pupil and the light reaction speed by performing data processing on the pupil image;
the pupil images continuously acquired by the image acquisition unit (120) at least comprise pupil images before the pupils are subjected to light stimulation and pupil images with the largest pupil size change after the pupils are subjected to light stimulation;
the control unit (110) determines the size change amount of the pupil and the light reaction speed of the pupil when the size change amount and the change amount are determined based on the pupil image before and after the pupil is subjected to light stimulation.
2. The system according to claim 1, wherein the image acquisition unit (120) comprises at least a light source (121), a camera (122) and a lens assembly (123);
the camera (122) is coaxially arranged with the light source (121), and the lens assembly (123) is positioned between the light source (121) and the camera (122); wherein the lens assembly (123) is coaxially positioned with respect to the camera (122) and the light source (121);
in response to the receiving of the measurement instruction, the light source (121) of the image acquisition unit (120) emits a light beam to the pupil of the person to be measured, and the pupil of the person to be measured reflects the light beam;
the reflected light beam passes through the lens assembly (123) and is converged on the camera (122), so that the camera (122) is allowed to capture an image of the pupil of the person under test under the irradiation of the light beam.
3. The system according to claim 1 or 2, characterized in that said control unit (110) comprises at least a processing module (111) and a storage module (112);
the processing module (111) is in communication data connection with the storage module (112), the image acquisition unit (120) and the display unit (130) respectively;
the image acquisition unit (120) sends the acquired pupil image to the processing module (111);
in response to the receipt of the pupil image, the processing module (111) sequentially performs gray level conversion, binarization processing, edge detection and edge arc fitting on the pupil image, performs proportional conversion on the obtained measurement data according to a pixel/true ratio value to obtain a measurement result, and sends the measurement result to the display unit (130) for display;
the storage module (112) is used for storing the pupil images and the measurement results, and the processing module (111) can retrieve the pupil images from the storage module (112) and/or send the measurement results to the display unit (130) for displaying.
4. The system according to any one of claims 1 to 3, wherein the processing module (111) is further capable of grading the size of the pupil and the light reaction speed; the processing module (111) generates a corresponding prompt instruction based on the grading result and sends the prompt instruction to the display unit (130).
5. The system according to any one of claims 1 to 4, wherein the processing module (111) performs binarization processing on the pupil image after the gray scale conversion in an image segmentation manner to obtain a binarized image of the pupil image;
the processing module (111) selects a gray value corresponding to a minimum frequency value between two peaks in an image gray histogram as a segmentation gray threshold value to generate a binary image of the pupil;
the processing module (111) takes the pixel points with the gray value smaller than the segmentation gray threshold value in the image as pupil pixel points, and takes the pixel points as background pixel points, otherwise, the pixel points are taken as background pixel points, and the pupil image and the background image in the image are subjected to binarization segmentation according to the pupil pixel points and the background pixel points.
6. The system according to any one of claims 1 to 5, wherein the processing module (111) obtains edge pixel points of the pupil binarized image through an edge detection function; the processing module (111) outputs a radius value of the best arc fit through the input edge pixel image by an arc fit function.
7. The system according to any one of claims 1 to 5, wherein the processing module (111) calculates a ratio of a pixel width of the reference object to a real width as a pixel/real ratio value by acquiring image pixel information of the reference object acquired by the camera (122) at the measurement position and real size information of the reference object.
8. A pupil measurement method, comprising at least:
applying a light stimulus to a pupil and continuously acquiring images of the pupil;
measuring a size and a light reaction speed of a pupil based on the pupil image;
the pupil images which are continuously collected at least comprise pupil images before the pupils are stimulated by light and pupil images with the largest pupil size change after the pupils are stimulated by the light;
and determining the size change quantity of the pupil and the light response speed of the pupil when the size change quantity and the change quantity are determined on the basis of the pupil images before and after the pupil is subjected to light stimulation.
9. The pupil measurement method of claim 8, further comprising:
and sequentially carrying out gray level conversion, binarization processing, edge detection and edge arc fitting on the pupil image, then carrying out proportional conversion on the obtained measurement data according to the pixel/real ratio value to obtain a measurement result, and carrying out visual display on the measurement result.
10. A multifunctional pupil observation pen, characterized in that the multifunctional pupil observation pen is equipped with a pupil measuring system as claimed in claims 1 to 7; the multifunctional pupil observation pen is characterized in that a puncture needle (220) for performing a needle sensation examination is arranged on a pen body (210).
CN202211330643.3A 2022-10-25 2022-10-25 Pupil measuring system and method Pending CN115670371A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211330643.3A CN115670371A (en) 2022-10-25 2022-10-25 Pupil measuring system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211330643.3A CN115670371A (en) 2022-10-25 2022-10-25 Pupil measuring system and method

Publications (1)

Publication Number Publication Date
CN115670371A true CN115670371A (en) 2023-02-03

Family

ID=85045928

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211330643.3A Pending CN115670371A (en) 2022-10-25 2022-10-25 Pupil measuring system and method

Country Status (1)

Country Link
CN (1) CN115670371A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118830803A (en) * 2024-09-10 2024-10-25 天津蓝本数据有限责任公司 Optical testing device based on pupil intelligent monitoring

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118830803A (en) * 2024-09-10 2024-10-25 天津蓝本数据有限责任公司 Optical testing device based on pupil intelligent monitoring

Similar Documents

Publication Publication Date Title
US9380938B2 (en) System and methods for documenting and recording of the pupillary red reflex test and corneal light reflex screening of the eye in infants and young children
US10264965B2 (en) Eye imaging device and method of use
Blumenthal et al. Assessment of the retinal nerve fiber layer in clinical trials of glaucoma neuroprotection
JP6530239B2 (en) Binocular measurement apparatus, binocular measurement method, and binocular measurement program
JP6469387B2 (en) Fundus analyzer
CN205181314U (en) Portable pair of mesh pupil detection device
CN111128382A (en) An artificial intelligence multimodal imaging analysis device
US20210259546A1 (en) Portable system for identifying potential cases of diabetic macular oedema using image processing and artificial intelligence
CN105520713A (en) Binocular pupil light reflex measuring equipment
CN104739366B (en) A kind of portable binocular pupil detector
CN106725282A (en) A kind of small-sized dry eyes testing equipment
US20230233078A1 (en) Vision Screening Device Including Color Imaging
CN115670371A (en) Pupil measuring system and method
Grau et al. Teleglaucoma using a new smartphone-based tool for visual field assessment
CN110680275A (en) Binocular multispectral pupil light reflex quantitative measuring instrument
KR101663376B1 (en) Method and apparatus for mapping retinal vessels
CN209404742U (en) A kind of visual field meter
Garcia et al. Automated pupillometer using edge detection in opencv for pupil size and reactivity assessment
US20240268664A1 (en) Retinal imaging device for assessing ocular tissue
JP2018198968A (en) Fundus analysis device
RU2531132C1 (en) Method for determining complex hand-eye reaction rate of person being tested and device for implementing it
US20210386287A1 (en) Determining refraction using eccentricity in a vision screening system
Zheng et al. VIOMA: Video-based Intelligent Ocular Misalignment Assessment
CN109700431B (en) Device for acquiring meibomian gland image based on double illumination modes, meibomian gland image processing method and system
Ramezani et al. Prediction accuracy of the dynamic structure-function model for glaucoma progression using contrast sensitivity perimetry and confocal scanning laser ophthalmoscopy

Legal Events

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