Cornea confocal image generation method and system and storage medium

By using position sensor feedback control and galvanometer galvanometer drive longitudinal scanning in the corneal confocal imaging system, the image misalignment problem in resonance galvanometer scanning is solved, and efficient corneal confocal image generation is achieved.

CN120570548APending Publication Date: 2025-09-02HUNAN JIUCHEN INTELLIGENT MEDICAL EQUIP CO LTD +1
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202510822432.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-06-19
Publication Date
2025-09-02

AI Technical Summary

Technical Problem

In corneal confocal imaging, due to the friction, damping and nonlinear effects of the mechanical structure of the resonant galvanometer, the outbound and backhaul scanning speeds are different, resulting in the misalignment of the image, and the frequency drift aggravates the image distortion and cannot be corrected by a simple algorithm.

Method used

The position sensor feedback control method is adopted to collect data separately during outbound and backhaul scanning, and the vertical scanning is driven by the galvanometer galvanometer to switch row positions, image generation is performed based on the outbound and backhaul data, and the odd and even row distortion is corrected.

Benefits of technology

In the non-ideal state of resonance scanning mirror movement, it is realized to overcome image dislocation distortion, realize bidirectional high-speed scanning imaging, and generate clear corneal confocal images.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120570548A_ABST
    Figure CN120570548A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of corneal confocal image generation, and provides a corneal confocal image generation method and system and a storage medium, and the method comprises the steps: controlling a laser to emit a laser beam, and then controlling a resonance galvanometer to drive transverse scanning; starting data acquisition when a laser beam scans a first position sensor during forward scanning, and ending data acquisition when the laser beam scans a second position sensor to obtain forward data; during return stroke scanning, when a laser beam scans a second position sensor, data acquisition is started, and when the laser beam scans a first position sensor, data acquisition is ended, and return stroke data is obtained; and finally, the cornea confocal image is generated based on the outbound data and the return data, real position feedback can be obtained through the first position sensor and the second position sensor in the scanning process to overcome the image dislocation problem, and high-speed two-way image dislocation distortion caused by the non-ideal state of movement of the resonance scanning mirror is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of corneal confocal image generation, and in particular to a corneal confocal image generation method, system and storage medium. Background Art

[0002] Infectious keratitis is the second most common cause of blindness in my country after cataracts, with approximately two million cases of monocular blindness caused by corneal infection each year. Patients with infectious keratitis are prone to recurrent and persistent illness, and the condition is often confused with other conditions, resulting in high misdiagnosis rates and significant treatment difficulties. Corneal confocal microscopy can obtain clear, cellular-level images of all corneal layers, enabling rapid, noninvasive diagnosis of corneal infectious diseases.

[0003] Corneal confocal imaging faces a major challenge: involuntary eye movement. To overcome this, imaging speed must be increased. The solution is to use specialized galvanometer mirrors, resonant and galvanometer, to rapidly scan the imaging surface in both directions, thereby increasing overall imaging speed. A resonant galvanometer mirror is a yaw mechanism that uses the resonance principle for high-speed scanning. Resonance occurs when the frequency of the external driving force matches its natural frequency, enabling efficient, high-speed scanning. During this process, the angular motion of the resonant galvanometer mirror follows the cosine law, with its angular velocity varying with time and reaching maximum values ​​at the peaks and troughs of the cosine waveform. Theoretically, based on a sinusoidal waveform, the forward and return velocities should be the same at the same angular position (e.g., halfway from peak to trough and halfway from trough to peak). However, in practice, the motion of a resonant galvanometer mirror is affected by various factors, including friction, damping, and nonlinear effects of the mechanical structure, resulting in differences in forward and return velocities. This speed difference can cause misalignment between odd and even lines in bidirectional scanning (odd lines on the forward stroke and even lines on the return stroke). In addition, since the frequency of the resonant galvanometer drifts during operation, the odd-even row misalignment and the inherent nonlinear distortion of the resonant galvanometer scanning are superimposed on each other and cannot be corrected by a simple alignment algorithm. Summary of the Invention

[0004] Based on this, it is necessary to address the technical problem of poor corneal confocal image generation effect in the existing technology, and propose a corneal confocal image generation method, a corneal confocal image generation system and a storage medium.

[0005] In a first aspect, a corneal confocal image generation method is provided, which is applied to a corneal confocal image generation system. The corneal confocal image generation system includes a laser, a pinhole, a detector, a detection lens, a spectroscopic module, an XY scanning mechanism, a scanning lens, a first position sensor, a second position sensor, a tube lens, and an objective lens. The corneal confocal image generation method includes:

[0006] In response to a signal generated by a corneal confocal image, the laser is controlled to emit a laser beam, wherein the laser beam passes through a spectroscopic module and enters an XY scanning mechanism. After passing through the XY scanning mechanism, the laser beam sequentially passes through a scanning lens, a tube lens, and an objective lens to be focused on a corneal sample to generate reflected light. The reflected light sequentially passes through the objective lens, the tube lens, the scanning lens, and the XY scanning mechanism to reach the spectroscopic module. The spectroscopic module transmits the reflected light, and the reflected light is focused onto a pinhole through a detection lens. The detector is used to convert the optical signal passing through the pinhole into an electrical signal.

[0007] Controlling the resonant galvanometer in the XY scanning mechanism to drive lateral scanning, wherein the lateral scanning is divided into forward scanning and return scanning within one cycle;

[0008] During the outbound scanning, when the laser beam scans the first position sensor, data collection starts, and when the laser beam scans the second position sensor, data collection ends to obtain the outbound data;

[0009] During the return scan, when the laser beam scans the second position sensor, data collection starts, and when the laser beam scans the first position sensor, data collection ends to obtain return data;

[0010] When the resonant galvanometer mirror completes a forward or return scan, the galvanometer mirror in the XY scanning mechanism drives the longitudinal scan to switch to the scanning position of the next row;

[0011] A corneal confocal image is generated based on the electrical signal of the outbound data and the electrical signal of the return data.

[0012] In the second aspect, a corneal confocal image generation system is provided, comprising a laser, a pinhole, a detector, a detection lens, a spectroscopic module, an XY scanning mechanism, a scanning lens, a first position sensor, a second position sensor, a tube lens, an objective lens and an imaging control system, wherein the imaging control system comprises at least a memory, a processor and a computer program stored in the memory and runnable on the processor, and is characterized in that the processor implements the steps of the above-mentioned corneal confocal image generation method when executing the computer program.

[0013] In a third aspect, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the above-mentioned corneal confocal image generation method are implemented.

[0014] The corneal confocal image generation method proposed in the present invention is applied to a corneal confocal image generation system, which includes a laser, a pinhole and a detector, a detection lens, a spectroscopic module, an XY scanning mechanism, a scanning lens, a first position sensor, a second position sensor, a tube lens, and an objective lens. The corneal confocal image generation method controls the laser to emit a laser beam in response to a corneal confocal image generation signal, wherein the laser beam passes through the spectroscopic module and enters the XY scanning mechanism. After passing through the XY scanning mechanism, the laser beam sequentially passes through the scanning lens, the tube lens, and the objective lens to be focused on a corneal sample to generate reflected light. The reflected light sequentially passes through the objective lens, the tube lens, the scanning lens, and the XY scanning mechanism to reach the spectroscopic module. The spectroscopic module transmits the reflected light, and the reflected light is focused onto the pinhole through the detection lens. The detector is used to convert the optical signal on the pinhole plane into an electrical signal, and then control the resonant galvanometer in the XY scanning mechanism to drive lateral scanning. Among them, within one cycle, the lateral scanning is divided into forward scanning and return scanning; during the forward scanning, when the laser beam scans the first position sensor, data collection starts, and when the laser beam scans the second position sensor, data collection ends, and the forward data is obtained; during the return scanning, when the laser beam scans the second position sensor, data collection starts, and when the laser beam scans the first position sensor, data collection ends, and the return data is obtained; when the resonant galvanometer mirror completes an forward or return scan, the galvanometer galvanometer mirror in the XY scanning mechanism drives the longitudinal scanning to switch to the scanning position of the next row, and finally generates a corneal confocal image based on the electrical signal of the forward data and the electrical signal of the return data. The present invention can overcome the image misalignment problem by obtaining real position feedback through the first position sensor and the second position sensor during the scanning process, and solve the high-speed bidirectional image misalignment distortion caused by the non-ideal state of the resonant scanning mirror movement, thereby realizing bidirectional high-speed scanning imaging. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0016] in:

[0017] Figure 1 Schematic diagram of the structure of a corneal confocal image generation system of a corneal confocal image generation method according to one embodiment;

[0018] Figure 2 is a flow chart of a method for generating a corneal confocal image in one embodiment;

[0019] Figure 3 is a waveform of a bidirectional scanning process of a method for generating a corneal confocal image in one embodiment;

[0020] Figure 4 A schematic diagram of a bidirectional scanning image of a method for generating a corneal confocal image in one embodiment;

[0021] Figure 5 Schematic diagram of a sampling enable control signal based on position sensor feedback in a method for generating a corneal confocal image in one embodiment;

[0022] Figure 6 The corresponding relationship between the outbound image pixels and the sampling sequence of the corneal confocal image generation method in one embodiment;

[0023] Figure 7 1 is a correspondence between the return line image pixels and the sampling sequence of a corneal confocal image generation method in one embodiment. DETAILED DESCRIPTION

[0024] Unless otherwise defined, all technical and scientific terms used herein have the same meanings as commonly understood by those skilled in the art to which this application belongs. The terms used in the specification of the application are for the purpose of describing specific embodiments only and are not intended to limit this application. The terms "including" and "having" and any variations thereof in the specification and claims of this application and the above-mentioned drawings are intended to cover non-exclusive inclusions. The terms "first", "second", etc. in the specification and claims of this application or the above-mentioned drawings are used to distinguish different objects, not to describe a specific order.

[0025] References herein to "embodiments" mean that a particular feature, structure, or characteristic described in connection with the embodiments may be included in at least one embodiment of the present application. The appearance of this phrase in various places in the specification does not necessarily refer to the same embodiment, nor does it constitute an independent or alternative embodiment that is mutually exclusive of other embodiments. It is understood, both explicitly and implicitly, by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0026] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of them. All other embodiments obtained by ordinary technicians in this field based on the embodiments of the present invention without making any creative efforts shall fall within the scope of protection of the present invention.

[0027] The corneal confocal image generation method provided by the embodiment of the present invention can be applied in the following aspects: Figure 1The corneal confocal image generation system includes: 1. Laser: illumination light source; 2. Pinhole and detector: receive light signals from the sample, convert them into electrical signals and then provide them to the imaging control system for data acquisition; 3. Detection lens: focus the light from the sample to the detector; 4. Spectroscopic module: realize reflection of illumination light and transmission of light from the sample; 5. XY scanning mechanism: drive the scanning spot to traverse the sample imaging area; 6. Scanning lens: correct image distortion caused by partial scanning; 7. Position sensor: the position sensor includes a first position sensor and a second position sensor, the first position sensor and the second position sensor are arranged between the scanning lens and the tube lens, and the first position sensor and the second position sensor are arranged in parallel on both sides of the laser beam scanning interval; during the scanning imaging process, when the laser triggers the photoelectric position sensor, the change of its output high and low levels indicates that the resonant galvanometer scans to that position; 8. Tube lens: cooperates with the infinity-corrected objective lens; 9. Objective lens: realizes illumination of the cornea and collection of signals from the cornea. 10. Objective lens drive: realize the movement of the focal plane of the objective lens of the full corneal thickness, and the position during imaging is controlled by the imaging control system; 11. Imaging control system: The imaging control system can be a computer device. The functions of the imaging control system include: (1) controlling other components in the system, including lasers, detectors, XY scanning mechanisms, objective lens drives, etc. (2) receiving signals from position sensors and controlling sampling enable signals. (3) receiving electrical signals from detectors and reconstructing scanned images. During the imaging process, the imaging control system generates resonant galvanometer waveforms, galvanometer waveforms, and line synchronization signals (such as Figure 3As shown) to enable the corneal confocal system to point scan and image. Specifically, the imaging control system generates a signal in response to the corneal confocal image, and controls the laser to emit a laser beam, wherein the laser beam passes through the spectroscopic module and enters the XY scanning mechanism. After passing through the XY scanning mechanism, the laser beam sequentially passes through the scanning lens, the tube lens, and the objective lens to focus on the corneal sample to generate reflected light. The reflected light sequentially passes through the objective lens, the tube lens, the scanning lens, and the XY scanning mechanism to reach the spectroscopic module. The spectroscopic module transmits the reflected light, and the reflected light is focused on the pinhole through the detection lens. The detector is used to convert the light signal passing through the pinhole into an electrical signal, and then control the resonant galvanometer in the XY scanning mechanism to drive the lateral scanning, wherein the lateral scanning is divided into outbound and return scanning within one cycle; during the outbound scanning, when the laser beam scans the first position sensor, data acquisition is started. When the laser beam scans the second position sensor, data collection ends and the outbound data is obtained; during the return scan, when the laser beam scans the second position sensor, data collection starts, and when the laser beam scans the first position sensor, data collection ends and the return data is obtained; when the resonant galvanometer mirror completes an outbound or return scan, the galvanometer mirror in the XY scanning mechanism drives the longitudinal scan to switch to the scanning position of the next row, and finally generates a corneal confocal image based on the electrical signal of the outbound data and the electrical signal of the return data. The image misalignment problem can be overcome by obtaining real position feedback through the first position sensor and the second position sensor during the scanning process, and the high-speed bidirectional image misalignment distortion caused by the non-ideal state of the resonant scanning mirror movement is solved, thereby realizing bidirectional high-speed scanning imaging. The present invention is described in detail below through specific embodiments.

[0028] See also Figure 2 As shown, Figure 2 This is a flow chart of a corneal confocal image generation method provided in one embodiment of the present invention. The corneal confocal image generation method is applied to a corneal confocal image generation system. The corneal confocal image generation system includes a laser, a pinhole, a detector, a detection lens, a spectroscopic module, an XY scanning mechanism, a scanning lens, a first position sensor, a second position sensor, a tube lens, and an objective lens. The corneal confocal image generation method provided in this embodiment includes:

[0029] Step S101: In response to a signal generated by a corneal confocal image, controlling the laser to emit a laser beam, wherein the laser beam passes through a spectroscopic module and enters an XY scanning mechanism. After passing through the XY scanning mechanism, the laser beam sequentially passes through a scanning lens, a tube lens, and an objective lens to be focused on a corneal sample to generate reflected light. The reflected light sequentially passes through the objective lens, the tube lens, the scanning lens, and the XY scanning mechanism to reach the spectroscopic module. The spectroscopic module transmits the reflected light, and the reflected light is focused onto a pinhole through a detection lens. The detector is used to convert the optical signal passing through the pinhole into an electrical signal.

[0030] In this embodiment, the corneal confocal image generation signal can be generated by user triggering, such as the corneal confocal image generation system includes an imaging control system, the user can manipulate the imaging control system to generate the corneal confocal image generation signal, and then the imaging control system responds to the corneal confocal image generation signal, thereby controlling the laser to emit a laser beam.

[0031] Step S102: controlling the resonant galvanometer in the XY scanning mechanism to drive lateral scanning, wherein the lateral scanning is divided into forward scanning and return scanning within one cycle;

[0032] Specifically, the XY scanning mechanism includes a resonant galvanometer and a galvanometer. The resonant galvanometer drives the horizontal scan, and its displacement and time conform to the law of the cosine function. In one cycle, it can be divided into two scanning parts: the forward scan and the return scan. The galvanometer is used to drive the longitudinal scan. When the resonant waveform completes a forward (return) scan, its position switches to the position of the next row, such as Figure 3 As shown in Figure 1, it is the waveform of the bidirectional scanning process. Figure 4 , Figure 4 It is a schematic diagram of a bidirectional scanning image, showing the process of bidirectional scanning, where the blue lines can be the image lines obtained by the point scanning imaging of the outgoing (returning) process of the resonant galvanometer, and the red lines are the image lines obtained by the point scanning imaging in the returning direction.

[0033] Since a position sensor is added to the main image plane of the corneal confocal imaging system, and the data sampling is controlled by the imaging control system, such as Figure 5 As shown, it represents the sampling enable control signal based on the position sensor feedback.

[0034] Step S103: During the outbound scan, when the laser beam scans the first position sensor, data collection starts, and when the laser beam scans the second position sensor, data collection ends, thereby obtaining outbound data;

[0035] In one embodiment, the outbound data is represented by S1[n], where n ranges from 1 to N1, S1[n] represents the nth outbound data, and N1 is the maximum value of the outbound data.

[0036] Step S104: During the return scan, when the laser beam scans the second position sensor, data collection starts, and when the laser beam scans the first position sensor, data collection ends, thereby obtaining return data;

[0037] In one embodiment, the return data is represented as S2[n], where n ranges from 1 to N2, S2[n] represents the nth return data, and N2 is the maximum value of the return data.

[0038] Step S105: When the resonant galvanometer mirror completes a forward or return scan, the galvanometer mirror in the XY scanning mechanism drives the longitudinal scan to switch to the scanning position of the next row;

[0039] Step S106: Generate a corneal confocal image based on the electrical signal of the outbound data and the electrical signal of the return data.

[0040] In one embodiment, distortion correction is performed based on the electrical signal of the outbound data to determine the first intensity value of the odd rows; distortion correction is performed based on the electrical signal of the return data to determine the second intensity value of the even rows; the first intensity value based on the odd rows and the second intensity value based on the even rows are merged to obtain a corneal confocal image. It should be noted that cosine nonlinear distortion correction can be performed on the outbound data and the return data respectively to obtain odd and even row image data. Finally, the odd and even row data are merged to generate a complete corneal confocal image after one scan. The correspondence between the row pixels on the outbound and return images and the sampling sequence is as follows: Figure 6 and Figure 7 As shown, Figure 6 is the correspondence between the outbound image pixels and the sampling sequence, Figure 7 It is the correspondence between the return line image pixels and the sampling sequence.

[0041] The first intensity value is expressed as follows:

[0042]

[0043] in, Expressed as the intensity value corresponding to the pixel coordinate x1 of the odd row, X max The number of pixels in a row, the value range of x1 is 1 to X max , l1 is the row number of the odd row, is the sampling point position in the sampling sequence S1 calculated by the pixel coordinate x1 of the odd row, N1 is the number of sampling points in the odd row, The rounded value is

[0044] The second intensity value is expressed as follows:

[0045]

[0046]

[0047] in, Expressed as the intensity value corresponding to the pixel coordinate x2 of the even row, X max The number of pixels in a row, the value range of x2 is 1 to X max , l2 is the row number of the even row, is the sampling point position in the sampling sequence S2 calculated by the pixel coordinate x2 of the even row, N2 is the number of sampling points in the even row, The rounded value is

[0048] In one embodiment, a corneal confocal image generation system is provided, and the imaging control system of the corneal confocal image generation system can be a server. The imaging control system includes a processor, a memory, a network interface and a database connected via a system bus. The processor of the imaging control system is used to provide computing and control capabilities. The memory of the imaging control system includes non-volatile and / or volatile storage media and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the imaging control system is used to communicate with an external client via a network connection. When the computer program is executed by the processor, it implements the functions or steps of the server side of a corneal confocal image generation method.

[0049] In one embodiment, a corneal confocal image generation system is provided, in which the imaging control system in the corneal confocal image generation system can be a client. The imaging control system in the corneal confocal image generation system includes a processor, a memory, a network interface, a display screen, and an input system connected via a system bus. The processor of the imaging control system is used to provide computing and control capabilities. The memory of the imaging control system includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the imaging control system is used to communicate with an external server via a network connection. When the computer program is executed by the processor, it implements the functions or steps on the client side of a corneal confocal image generation method.

[0050] In one embodiment, a corneal confocal image generation system is provided. The imaging control system in the corneal confocal image generation system includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the following steps are implemented:

[0051] In response to a signal generated by a corneal confocal image, the laser is controlled to emit a laser beam, wherein the laser beam passes through a spectroscopic module and enters an XY scanning mechanism. After passing through the XY scanning mechanism, the laser beam sequentially passes through a scanning lens, a tube lens, and an objective lens to be focused on a corneal sample to generate reflected light. The reflected light sequentially passes through the objective lens, the tube lens, the scanning lens, and the XY scanning mechanism to reach the spectroscopic module. The spectroscopic module transmits the reflected light, and the reflected light is focused onto a pinhole through a detection lens. The detector is used to convert the optical signal passing through the pinhole into an electrical signal.

[0052] Controlling the resonant galvanometer in the XY scanning mechanism to drive lateral scanning, wherein the lateral scanning is divided into forward scanning and return scanning within one cycle;

[0053] During the outbound scanning, when the laser beam scans the first position sensor, data collection starts, and when the laser beam scans the second position sensor, data collection ends to obtain the outbound data;

[0054] During the return scan, when the laser beam scans the second position sensor, data collection starts, and when the laser beam scans the first position sensor, data collection ends to obtain return data;

[0055] When the resonant galvanometer mirror completes a forward or return scan, the galvanometer mirror in the XY scanning mechanism drives the longitudinal scan to switch to the scanning position of the next row;

[0056] A corneal confocal image is generated based on the electrical signal of the outbound data and the electrical signal of the return data.

[0057] The present invention can overcome the image misalignment problem by obtaining real position feedback through the first position sensor and the second position sensor during the scanning process, solve the high-speed bidirectional image misalignment and distortion caused by the non-ideal state of the resonant scanning mirror movement, and thus realize bidirectional high-speed scanning imaging.

[0058] In one embodiment, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the following steps are implemented:

[0059] In response to a signal generated by a corneal confocal image, the laser is controlled to emit a laser beam, wherein the laser beam passes through a spectroscopic module and enters an XY scanning mechanism. After passing through the XY scanning mechanism, the laser beam sequentially passes through a scanning lens, a tube lens, and an objective lens to be focused on a corneal sample to generate reflected light. The reflected light sequentially passes through the objective lens, the tube lens, the scanning lens, and the XY scanning mechanism to reach the spectroscopic module. The spectroscopic module transmits the reflected light, and the reflected light is focused onto a pinhole through a detection lens. The detector is used to convert the optical signal passing through the pinhole into an electrical signal.

[0060] Controlling the resonant galvanometer in the XY scanning mechanism to drive lateral scanning, wherein the lateral scanning is divided into forward scanning and return scanning within one cycle;

[0061] During the outbound scanning, when the laser beam scans the first position sensor, data collection starts, and when the laser beam scans the second position sensor, data collection ends to obtain the outbound data;

[0062] During the return scan, when the laser beam scans the second position sensor, data collection starts, and when the laser beam scans the first position sensor, data collection ends to obtain return data;

[0063] When the resonant galvanometer mirror completes a forward or return scan, the galvanometer mirror in the XY scanning mechanism drives the longitudinal scan to switch to the scanning position of the next row;

[0064] A corneal confocal image is generated based on the electrical signal of the outbound data and the electrical signal of the return data.

[0065] The present invention can overcome the image misalignment problem by obtaining real position feedback through the first position sensor and the second position sensor during the scanning process, solve the high-speed bidirectional image misalignment and distortion caused by the non-ideal state of the resonant scanning mirror movement, and thus realize bidirectional high-speed scanning imaging.

[0066] It should be noted that the functions or steps that can be implemented by the computer-readable storage medium or the corneal confocal image generation system can be found in the corresponding descriptions of the server side and the client side in the aforementioned method embodiment. To avoid repetition, they will not be described one by one here.

[0067] Those skilled in the art will appreciate that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing the relevant hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchl ink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0068] Those skilled in the art will clearly understand that for the sake of convenience and brevity in description, only the division of the above-mentioned functional units and modules is used as an example. In actual applications, the above-mentioned functions can be distributed and completed by different functional units and modules as needed, that is, the internal structure of the system can be divided into different functional units or modules to complete all or part of the functions described above.

[0069] The embodiments described above are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the various embodiments of the present invention, and should all be included in the scope of protection of the present invention.

Claims

1. A method for generating a corneal confocal image, characterized in that: The invention is applied to a corneal confocal image generation system, which includes a laser, a pinhole, a detector, a detection lens, a spectroscopic module, an XY scanning mechanism, a scanning lens, a first position sensor, a second position sensor, a tube lens, and an objective lens. The corneal confocal image generation method includes: In response to a signal generated by a corneal confocal image, the laser is controlled to emit a laser beam, wherein the laser beam passes through a spectroscopic module and enters an XY scanning mechanism. After passing through the XY scanning mechanism, the laser beam sequentially passes through a scanning lens, a tube lens, and an objective lens to be focused on a corneal sample to generate reflected light. The reflected light sequentially passes through the objective lens, the tube lens, the scanning lens, and the XY scanning mechanism to reach the spectroscopic module. The spectroscopic module transmits the reflected light, and the reflected light is focused onto a pinhole through a detection lens. The detector is used to convert the optical signal passing through the pinhole into an electrical signal. Controlling the resonant galvanometer in the XY scanning mechanism to drive lateral scanning, wherein the lateral scanning is divided into forward scanning and return scanning within one cycle; During the outbound scanning, when the laser beam scans the first position sensor, data collection starts, and when the laser beam scans the second position sensor, data collection ends to obtain the outbound data; During the return scan, when the laser beam scans the second position sensor, data collection starts, and when the laser beam scans the first position sensor, data collection ends to obtain return data; When the resonant galvanometer mirror completes a forward or return scan, the galvanometer mirror in the XY scanning mechanism drives the longitudinal scan to switch to the scanning position of the next row; A corneal confocal image is generated based on the electrical signal of the outbound data and the electrical signal of the return data.

2. The corneal confocal image generation method according to claim 1, characterized in that: The outbound data is represented by S1[n], where n ranges from 1 to N1, S1[n] represents the nth outbound data, and N1 is the maximum value of the outbound data; The return data is represented as S2[n], where the value of n ranges from 1 to N2, S2[n] represents the nth return data, and 2 is the maximum value of the return data.

3. The corneal confocal image generation method according to claim 2, characterized in that: The steps of generating a corneal confocal image based on the electrical signal of the outbound data and the electrical signal of the return data include: Performing distortion correction based on the electrical signal of the outbound data to determine the first intensity value of the odd-numbered rows; Performing distortion correction based on the electrical signal of the return data to determine a second intensity value of the even-numbered row; The first intensity values ​​of the odd-numbered rows and the second intensity values ​​of the even-numbered rows are combined to obtain a corneal confocal image.

4. The method for generating corneal confocal images according to claim 3, wherein: The first intensity value is expressed as follows: in, Expressed as the intensity value corresponding to the pixel coordinate x1 of the odd row, X max The number of pixels in a row, the value range of x1 is 1 to X max , l1 is the row number of the odd row, is the sampling point position in the sampling sequence S1 calculated by the pixel coordinate x1 of the odd row, N1 is the number of sampling points in the odd row, The rounded value is 5. The method for generating corneal confocal images according to claim 3, wherein: The second intensity value is expressed as follows: in, Expressed as the intensity value corresponding to the pixel coordinate x2 of the even row, X max The number of pixels in a row, the value range of x2 is 1 to X max , l2 is the row number of the even row, is the sampling point position in the sampling sequence S2 calculated by the pixel coordinate x2 of the even row, N2 is the number of sampling points in the even row, The rounded value is 6. A corneal confocal image generation system, comprising a laser, a pinhole, a detector, a detection lens, a spectroscopic module, an XY scanning mechanism, a scanning lens, a first position sensor, a second position sensor, a tube lens, an objective lens, and an imaging control system, wherein the imaging control system comprises at least a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the corneal confocal image generation method according to any one of claims 1 to 5 are implemented.

7. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the corneal confocal image generation method according to any one of claims 1 to 5 are implemented.

Citation Information

Cited By

  • Reciprocating scanning method, device and equipment of galvanometer and readable storage medium

    CN121878974A