WO2020215361A1 - Method and system for image stabilization based on improved line scan imaging system - Google Patents

Method and system for image stabilization based on improved line scan imaging system Download PDF

Info

Publication number
WO2020215361A1
WO2020215361A1 PCT/CN2019/085503 CN2019085503W WO2020215361A1 WO 2020215361 A1 WO2020215361 A1 WO 2020215361A1 CN 2019085503 W CN2019085503 W CN 2019085503W WO 2020215361 A1 WO2020215361 A1 WO 2020215361A1
Authority
WO
WIPO (PCT)
Prior art keywords
mirror
fundus
scanning
lso
line scan
Prior art date
Application number
PCT/CN2019/085503
Other languages
French (fr)
Chinese (zh)
Inventor
张�杰
张金莲
Original Assignee
南京博视医疗科技有限公司
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 南京博视医疗科技有限公司 filed Critical 南京博视医疗科技有限公司
Publication of WO2020215361A1 publication Critical patent/WO2020215361A1/en

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B3/00Apparatus for testing the eyes; Instruments for examining the eyes
    • A61B3/10Objective types, i.e. instruments for examining the eyes independent of the patients' perceptions or reactions
    • A61B3/12Objective types, i.e. instruments for examining the eyes independent of the patients' perceptions or reactions for looking at the eye fundus, e.g. ophthalmoscopes
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B3/00Apparatus for testing the eyes; Instruments for examining the eyes
    • A61B3/10Objective types, i.e. instruments for examining the eyes independent of the patients' perceptions or reactions
    • A61B3/14Arrangements specially adapted for eye photography

Definitions

  • the invention relates to laser fundus target tracking and imaging technology, in particular to an image stabilization method and system based on an improved line scan imaging system.
  • the existing target tracking technology based on the Line Scan Ophthalmoscope (LSO) imaging system uses one frame of image as a unit to calculate the amount of movement of the fundus target.
  • LSO Line Scan Ophthalmoscope
  • the control system has a time delay of at least one frame, which results in a decrease in tracking accuracy.
  • the target tracking signal method of the existing LSO is completely digital. When extracting the signal from the image, the lack of optical closed-loop control measures inside the LSO will also cause the calculation of the fundus movement signal to be unreliable.
  • the main purpose of the present invention is to provide an image stabilization method and system based on an improved line scan imaging system, which aims to overcome the inherent optical and control defects of the existing LSO imaging system and greatly improve its clinical application Stability, accuracy, and imaging efficiency in the medium.
  • An image stabilization system based on an improved line scan imaging system, including a line scan fundus camera LSO imaging system.
  • the LSO imaging system also includes an orthogonal galvanometer scanning device for generating an orthogonal scan surface on the fundus.
  • the scanning surface is adjusted to any position in the 360-degree space; and used to combine with the intelligent control algorithm to realize the LSO optical system to perform two-dimensional fundus scanning while simultaneously performing the fundus optical tracking inside the LSO.
  • the orthogonal galvanometer scanning device is a dual-mirror structure composed of a first mirror SM11 and a second mirror SM12, or a MEMS scanning mirror of a micro-electromechanical system that vibrates orthogonally and bidirectionally, or other orthogonal bidirectional vibrating mirrors composition.
  • the orthogonal galvanometer scanning device combined with an intelligent control algorithm realizes that the LSO optical system performs fundus optical tracking inside the LSO while scanning the two-dimensional fundus.
  • the image stabilization system has the following relationship:
  • (x t , y t ) represents the control commands on the first mirror SM11 and the second mirror SM12 at the current sampling moment, which are equivalent to their respective motion offsets;
  • ( ⁇ x t , ⁇ y t ) represents the slave The relative motion of the image target frame and the reference frame recorded by the line scan camera;
  • g represents the gain of the closed-loop control system;
  • (x t+1 ,y t+1 ) represents the existing signal applied to the first mirror SM11 and the second reflection
  • the next set of new commands of the mirror SM12 is equivalent to the movement offset.
  • An image stabilization method based on an improved line scan imaging system includes the following steps:
  • An orthogonal galvanometer scanning device is added to the online scanning fundus camera LSO imaging system.
  • the orthogonal galvanometer scanning device is used to generate an orthogonal scanning surface on the fundus, so that the scanning surface can be adjusted to any position in a 360-degree space ;
  • An image stabilization system based on an improved line scan imaging system, further comprising a rotating device for setting the cylindrical mirror L13 that generates the line light source and the line scan camera coupled with it on a 360-degree space controllable rotating bracket, Make the line controllable light source rotate at any position in 360-degree space.
  • the sawtooth wave is used as the driving signal base of the first mirror SM11 and the second mirror SM12, and the rotation angle is set to ⁇ , and the amplitude due to each mirror is multiplied by the respective base signal, then Equation (1) can be updated as:
  • ⁇ t is the angle imposed by the closed-loop control system on the rotating support;
  • (x t ,y t ) is the translational amount imposed on the first mirror SM11 and the second mirror SM12, (x t ,y t ) It is still superimposed on the translation amount of each mirror used to generate the scanning signal;
  • (x t , y t , ⁇ t ) is the current sampling time on the first mirror SM11 and the second mirror SM12 and the rotating bracket Control instructions, which are equivalent to their respective movement offsets and rotation angles;
  • ( ⁇ x t , ⁇ y t , ⁇ t ) is the relative movement of the image target frame and the reference frame recorded from the line scan camera;
  • g is the closed-loop control system
  • (X t+1 ,y t+1 , ⁇ t+1 ) is the current signal applied to the first mirror SM11 and the second mirror SM12 as well as the cylindrical mirror L13 and the line scan camera coupled
  • An image stabilization method of an image stabilization system based on an improved line scan imaging system includes the following steps:
  • An orthogonal galvanometer scanning device is added to the online scanning fundus camera LSO imaging system.
  • the orthogonal galvanometer scanning device is used to generate an orthogonal scanning surface on the fundus, so that the scanning surface can be adjusted to any position in a 360-degree space ;
  • the present invention is based on an improved image stabilization method and system of a line scan imaging system, and has the following beneficial effects:
  • the closed-loop tracking control system is used to control the line scan imaging system, so as to achieve the purpose of high-speed, stable and precise control.
  • the LSO closed-loop control system can be used to obtain the fundus movement signal, and through the pre-calibrated spatial transformation relationship, to control another one or more optical systems to achieve the corresponding fundus target tracking purpose.
  • each scan line arrives at the host system in each frame of the image
  • a frame of image is divided into multiple sub-frame elements in chronological order, and each sub-frame element contains one or more scan lines .
  • the fundus movement information contained in each sub-frame element is calculated in real time, and then immediately fed back to the tracking device, such as a high-speed tilt mirror and a rotating table. Using this frequency multiplication method can greatly improve the spatial accuracy and time bandwidth of target tracking.
  • Figure 1 is a schematic diagram of the optical structure of a conventional line scan fundus camera
  • Figure 2 is a schematic diagram of a sawtooth wave used to control the scanning mirror SM;
  • FIG. 3 is a schematic diagram of a fundus image obtained according to the optical system of the line scan fundus camera shown in FIG. 1;
  • Figure 4 is a schematic diagram of an existing line scan imaging system, including a main LSO imaging system without optical tracking integrated with a secondary OCT imaging system;
  • Fig. 5 is a schematic diagram of calculating the amount of fundus movement from an image in a frame unit obtained by the image stabilization system based on the line scan imaging system of the present invention
  • FIG. 6 is a schematic diagram of an improved LSO optical system with internal optical tracking according to an embodiment of the present invention.
  • FIG. 7 is a schematic diagram of the working state of two inclined mirrors SM11 and SM12 in the improved LSO optical system shown in FIG. 6;
  • FIG. 8 is a schematic diagram of adjusting the position of the imaging surface in a 360-degree space by changing the offset of the mirrors SM11 and SM12;
  • FIG. 9 is a schematic diagram of the position of the line light source generated by the rotating cylindrical lens L13 and the line scan camera coupled with the rotating device in a 360-degree space;
  • FIG. 10 is a schematic diagram of a state where a rotating cylindrical mirror generates a line light source with an arbitrary rotation angle and a scanning surface related to it;
  • FIG. 11 is a schematic diagram of the principle of integrating a main LSO imaging system with closed-loop optical tracking into another auxiliary imaging system according to an embodiment of the present invention
  • FIG. 12 is a schematic diagram of using frequency doubling technology to reduce the time delay of fundus calculation in an embodiment of the present invention
  • FIG. 13 is a schematic diagram of the scanning (reflecting) mirror SM11 scanning signal and the division mode of sub-frame elements
  • Figure 14 is a schematic diagram of scanning signals and synchronization signals of a line scanning system
  • Figure 15 is a signal that combines a line reference clock and a frame synchronization signal to trigger a line scan camera.
  • FIG. 1 is a schematic diagram of the optical structure of a conventional line scan fundus camera.
  • the light emitted from the point light source L11 is collimated by the lens L12, the surface light source is converted into a line light source through a cylinder lens (Cylinder Lens) L13, and then it is relayed to the collimating lens L14.
  • the installation direction of the cylindrical lens L13 determines the expansion direction of the line light source in space (see Figures 9 and 10 for details), and the lens L12, lens L13, and lens L14 determine to a certain extent the line light source's illumination (expansion) in the fundus size.
  • Part of the light emitted by the lens L14 passes through the beam splitter (BS) and reaches the scanning mirror (Steering Mirror or Scanning Mirror, SM); the other part passes through the beam splitter (BS) to the collimating lens L17, and then passes through a Group filter (FILTER), reach line scan camera (Line Scan Camera).
  • BS beam splitter
  • FILTER Group filter
  • the function of the scanning mirror SM is to generate periodic scanning in the orthogonal direction of the line light source, and the light passes through two collimating zoom lenses L15 and L16 to generate a two-dimensional scanning space at the bottom of the eye (Eye).
  • the motion track of the scanning mirror (SM) generally presents a sawtooth wave as shown in FIG. 2.
  • Figure 2 is a schematic diagram of a sawtooth wave used to control a scanning mirror (SM).
  • the frequency of the sawtooth wave determines the image frame rate of the imaging system, and the amplitude of the sawtooth wave determines the size of the optical field of view in the scanning direction.
  • the center of the sawtooth wave is not always at the zero position of the sawtooth wave.
  • the center offset of the sawtooth wave actually determines the center position of the scanning field of view.
  • users are supported to control the center position of the scanning field of view by adjusting the center offset of the sawtooth wave.
  • the returned signal is reflected from the beam splitter BS to the collimating lens L17 through the same optical path, and then passes through a set of filters (FILTER) to reach the line scan camera ( Line Scan Camera).
  • FILTER filters
  • the signal returned from the fundus may be a reflected signal, a fluorescent signal, or other signals; it may also be a variety of other signals that reach the line scan camera at the same time.
  • FIG. 3 is a schematic diagram of a fundus image obtained according to the optical system of the line scan fundus camera shown in FIG. 1. That is, the schematic diagram of the fundus image obtained by the line scan fundus camera shown in FIG. 1.
  • Fig. 4 is a system schematic diagram of an existing line scan imaging system, including a main LSO imaging system without optical image stabilization (or tracking) and an integrated auxiliary optical coherence tomography (OCT) imaging system.
  • OCT optical coherence tomography
  • the main LSO imaging system is the imaging system shown in Figure 1.
  • the main LSO imaging system is used clinically, it will be equipped with an auxiliary imaging system customized according to the embodiment of the present invention, such as the OCT product Cirrus of Carl Zeiss.
  • the auxiliary imaging system shown in FIG. 4 is an OCT Device.
  • the light emitted from the second point light source L21 reaches the orthogonal scanning mirrors SM21 and SM22 through the collimating system (including the collimating lenses L22 and L23), and then it is focused to the splitting mirror through the focusing lens L24.
  • the Dichotic Mirror DM
  • the DM is also located on the focal plane of the main LSO imaging system.
  • the main and auxiliary (integrated optical) imaging systems shown in FIG. 4 support simultaneous implementation of two-dimensional fundus reflection (or fluorescence) imaging and three-dimensional OCT tomographic imaging.
  • the main LSO imaging system One function of the main LSO imaging system is to provide fundus positioning and navigation for the auxiliary imaging system, and to display the current OCT tomogram in the corresponding position of the fundus two-dimensional space to the current user. Another function of the main LSO imaging system is to calculate fundus/eye movement information (x, y, ⁇ ) obtained from the LSO image by executing a preset algorithm (see below for details). Among them, (x, y) is the amount of translation of fundus movement, and ⁇ is the amount of rotation.
  • (x, y, ⁇ ) is applied to the scanning mirrors SM21 and SM22 of the auxiliary imaging system, and the corresponding spatial positions of the scanning mirrors SM21 and SM22 are adjusted in real time to obtain the tomographic image of the required fundus position.
  • the acquisition of (x, y, ⁇ ) here is completely digital, and is not achieved through the optical closed loop described in equation (1) or equation (2).
  • the main LSO system simply obtains an image similar to Fig. 3 and uses cross-correlation or similar algorithms to calculate digital fundus motion information (x, y, ⁇ ).
  • the acquisition of (x, y, ⁇ ) is entirely digital, not through the optical closed loop described in equation (1) or equation (2).
  • the fundus tracking only occurs on the scanning mirrors SM21 and SM22 of the auxiliary imaging system.
  • the main LSO system does not adjust its own optical parameters to lock the LSO scanning (imaging) position of the fundus accordingly.
  • the accuracy and reliability of the numerical calculation results (x, y, ⁇ ) here are largely dependent on various parameters, including fundus image quality, normal fundus movements including blinking and saccade ) And micro saccade.
  • fundus image quality the amount of movement to be calculated
  • normal fundus movements including blinking and saccade
  • micro saccade the amount of eye movement
  • FIG. 5 is a schematic diagram of an image obtained by calculating the amount of fundus movement from an image in a frame unit.
  • f 1 is the first frame image captured by the LSO, and f 1 is used and defined as a "reference frame” image.
  • the images obtained after the system are f 2 , f 3 , ..., f n , f n+1 , which are defined as "target frame” images.
  • the algorithm program obtains (x k , y k , ⁇ k )
  • it is immediately converted to the scanning mirrors SM21 and SM22 of the auxiliary imaging system through the predetermined spatial mapping relationship, so that the scanning mirrors SM21 and SM22 are locked in the required The position of the fundus scan.
  • the prerequisite for applying the cross correlation algorithm (Cross Correlation) to calculate the amount of eye movement from the image is that the image is needed. As mentioned above, it takes 33-40 milliseconds to acquire a frame of image, plus the time of the algorithm, the (x k , y k , ⁇ k ) obtained from the algorithm is converted into the electronic delay of the control signals of the scanning mirrors SM21 and SM22, and then The scanning mirrors SM21 and SM22 themselves respond to the mechanical delay of the control signal. A complete control cycle, from the start of the eye movement to the scanning mirror SM21 and SM22 tracking the movement, the delay time reaches 40-50 milliseconds is a very common phenomenon. From the above analysis process, it can be seen that among all the factors that can cause delay, the (image) sampling delay of 33-40 milliseconds is usually the dominant latency.
  • the (image) sampling delay of 33-40 milliseconds is usually the dominant latency.
  • one way to shorten the above-mentioned time delay is to greatly increase the frame rate of image output, for example, LSO outputs 200 frames per second, so that the delay of image sampling can be reduced to 5 milliseconds.
  • the side effect of the increase in the frame rate of the imaging system is the rapid increase in the nonlinearity of the imaging laser dose. This is not clinically feasible because the use of laser doses is restricted by safety standards.
  • the existing LSO imaging systems have deficiencies in optics, electronics, and control, so that the present invention is capable of optics, electronics, software, and control based on the systems of Figures 1 and 4 Further improvements and enhancements.
  • Fig. 6 is a schematic diagram of an improved LSO optical system according to an embodiment of the present invention.
  • the two one-dimensional galvanometers (SM11 and SM12) in FIG. 6 can also use a Microelectro Mechanical Systems (MEMS) scanning mirror with orthogonal bidirectional vibration, or other orthogonal scanning reflectors. Mirror replacement.
  • MEMS Microelectro Mechanical Systems
  • Fig. 6 the difference from Fig. 1 is that a tilting (reflecting) mirror is added.
  • the mirror (SM) in Fig. 1 is named the first mirror SM11, and the newly added mirror is named the second mirror SM12 .
  • the working process of the mirrors SM11 and SM12 is shown in FIG. 7.
  • the dual-mirror structure composed of the first mirror SM11 and the second mirror SM12, or a bidirectionally vibrating micro-electromechanical system (MEMS) scanning mirror, or other forms of orthogonal scanning mirror structures can be collectively referred to as orthogonal Galvo scanning device.
  • MEMS micro-electromechanical system
  • FIG. 7 is a schematic diagram of the working state of two inclined mirrors SM11 and SM12 in the improved LSO optical system shown in FIG. 6.
  • a spatial reference coordinate (x, y, z), as shown in Figure 7A.
  • SM1 mirror SM11
  • FIG. 7B a line light source A is incident on the mirror SM11.
  • the rotation axis of the mirror SM11 is on the x-axis of the spatial coordinates, so that the mirror SM11 swings on the y-z plane, and then a two-dimensional scanning surface is generated at the position B.
  • the position of B is directly conjugated to the imaging surface of the fundus.
  • a second tilting (reflecting) mirror SM12 is inserted at the position B in FIG. 7C.
  • the rotation axis of the mirror SM12 is on the z-axis and swings in the x-y plane.
  • the reference coordinates (x, y, z) in FIG. 7A can be defined arbitrarily, as long as the motion axis of the mirror SM11 and the motion axis of the mirror SM12 are orthogonal.
  • the working mode of this double mirror can be realized by the double mirror structure shown in Figure 6, for example, two Cambridge Technology one-dimensional 6210H galvanometers or 6220H galvanometers, or one with two independent orthogonal motions It can be realized by the tilt mirror of the axis, such as PI's S-335.2SH fast tilt mirror (Tip/Tilt Mirror).
  • Fig. 8 is a schematic diagram of adjusting the position of the imaging surface in a 360-degree space by changing the offset of the mirrors SM11 and SM12.
  • the parameter of controlling the mirror SM12 in simple cases is a translation amount to adjust the horizontal position of the imaging surface, which can be used to track the target Movement in the horizontal direction.
  • the mirror SM11 is used for scanning, and on the other hand, for vertical translation of the imaging surface or target tracking (refer to FIG. 2).
  • the LSO optical system can realize the fundus optical tracking inside the LSO while scanning the two-dimensional fundus.
  • the functions of the mirrors SM11 and SM12 combined with the intelligent control algorithm, the LSO optical system can realize the fundus optical tracking inside the LSO while scanning the two-dimensional fundus.
  • Figure 6 constitutes a complete closed-loop control system.
  • the light from the point light source L11 reaches the fundus through the mirrors SM11 and SM12, which is a two-dimensional scanning space.
  • the signal returned from the space where the fundus is scanned is scanned by the mirrors SM11 and SM12 again to reach the photodetector, here is a Line Scan Camera, which is used to record the image signal returned from the fundus.
  • Figure 6 of the present invention can constitute a complete closed-loop control system.
  • (x t , y t ) represents the control commands on the mirrors SM11 and SM12 (equivalent to their respective movement offsets) at the current sampling time
  • ( ⁇ x t , ⁇ y t ) represents the slave
  • g represents the gain of the closed-loop control system
  • (x t+1 ,y t+1 ) represents the existing signal applied to the mirror SM11
  • the next set of new commands of SM12 (equivalent to motion offset).
  • the motion signal from the fundus has been optically compensated by mirrors SM11 and SM12, so the motion signal obtained from the photodetector is always a residual motion signal, which is equation (1) ⁇ ( ⁇ x t , ⁇ y t ).
  • the closed-loop control described above can also compensate for the rotation signal of the eyeball.
  • One method is to install the cylindrical mirror L13 that produces the line light source in Figure 6 and the coupled line scan camera on a 360-degree controllable rotating bracket, so that the line-extended light source can be rotated at any position in the 360-degree space (reference Figure 9).
  • FIG. 9 is a schematic diagram of the position of the line light source generated by the rotating cylindrical mirror L13 in the 360-degree space by the rotating device/mechanism.
  • the axis of the cylindrical mirror and the coupled line scan camera are installed in a controllable rotating mechanism at the coordinate origin O position (Shown by the thick dashed line), it can rotate freely within 360 degrees of the xy plane.
  • the optical axis of the optical system is in the z direction shown in FIG. 9.
  • the plane light source ABCD coming from the right side as shown in Figure 9 is focused into a linear light source A'B' through a cylindrical lens.
  • Cylindrical mirror can also be installed on any rotating mechanism to generate line light source A'B' in any direction.
  • FIG. 10 is a schematic diagram of the state of a linear light source with an arbitrary rotation angle and a scanning surface related to the rotating cylindrical mirror.
  • the scanning surface abcd as shown in the figure is generated from the line light source A'B'.
  • both the scanning (reflecting) mirrors SM11 and SM12 of Figure 6 must participate in the scanning, instead of just being shown in Figure 8 Scanning (reflection) mirror SM11 participates in scanning.
  • Scanning (reflecting) mirrors SM11 and SM12 participate in the scanning technology at the same time.
  • the sawtooth wave shown in Figure 2 is used as the driving signal basis of SM11 and SM12, and then each scanning is performed according to the rotation angle of Figure 10.
  • the (reflective) mirror's due amplitude is multiplied by the respective base signal.
  • the amplitude obtained by the scanning base of the scanning (reflection) mirror SM11 is (A'B'/2)sin( ⁇ )
  • the scanning (reflection) mirror SM12 is obtained by the scanning base
  • the amplitude is (A'B'/2)cos( ⁇ ). It should be pointed out that the definition of this scanning direction and rotation direction is arbitrary.
  • ⁇ t is the angle imposed by the closed-loop control system on the rotating support;
  • (x t , y t ) is the translation amount imposed on the scanning (reflection) mirrors SM11 and SM12, and at the same time, (x t , y t ) is still The amount of translation superimposed on each of the scanning (reflection) mirrors SM11 and SM12 for generating the scanning signal of FIG. 10.
  • (x t , y t , ⁇ t ) are the control commands on the mirrors SM11, SM12 and the cylindrical mirror and the line scan camera rotating bracket (equivalent to their respective Movement offset and rotation angle);
  • ( ⁇ x t , ⁇ y t , ⁇ t ) is the relative movement of the image (target frame) recorded from the line scan camera and the reference image (reference frame);
  • g is the gain of the closed-loop control system ;
  • (X t+1 ,y t+1 , ⁇ t+1 ) is the next set of new commands applied to the mirrors SM11, SM12, cylindrical mirrors and line scan camera rotation brackets (equivalent to motion Offset and rotation angle).
  • Figures 6-10 in the above embodiments describe the main LSO imaging system of the present invention, which integrates an internal fundus optical tracking closed-loop control system, such as the control mode of formula (1) or formula (2).
  • an auxiliary imaging system as shown in Figure 4 is added.
  • the auxiliary imaging system can be an OCT system, or it can be used for other purposes, such as a fundus laser treatment system.
  • the specific technical implementation of these two parts is described in detail in another patent application.
  • FIG. 11 is a schematic diagram of the principle of integrating a main LSO imaging system with closed-loop optical tracking into another auxiliary imaging system according to an embodiment of the present invention.
  • the main LSO imaging system on the left integrates another auxiliary imaging system in the upper part, and the main LSO imaging system on the left has its own closed-loop optical tracking function. Its working principle is as follows:
  • control signals (x, y, ⁇ ) are applied to the scanning (reflection) mirrors SM11, SM12 and the cylindrical mirror L13 of the main LSO system and the rotating bracket of the line scanning camera.
  • the parameters of the control signal are as shown by the dashed line with arrows, which come from the closed-loop control system inside the LSO, and are consistent with formula (1) and formula (2).
  • this group of closed-loop control motion signals has the following advantages: 1) smooth; 2) stable; 3) strong anti-interference.
  • control signals (x', y', ⁇ ') applied to the scanning (reflection) mirrors SM21 and SM22 of the auxiliary system completely inherit the advantages of the above-mentioned closed-loop control signals (x, y, ⁇ ), because (x',y', ⁇ ') is obtained by space transformation (x,y, ⁇ ), as shown in formula (3):
  • the spatial transformation relation f (x', y', ⁇ '; x, y, ⁇ ) of formula (3) is completely determined by the parameters of the optical system.
  • the spatial transformation relationship f(x',y', ⁇ ';x,y, ⁇ ) from the main LSO system to the auxiliary system is measured quickly, efficiently, accurately and fully automatically.
  • the existing data processing technology calculates fundus movement from the LSO image in units of frames.
  • frequency doubling technology is used for calculation.
  • FIG. 12 is a schematic diagram of using frequency doubling technology to reduce the time delay of fundus calculation in an embodiment of the present invention.
  • each frame of image is divided into a plurality of equally spaced sub-frame elements, such as S 1,1 , S 1,2 , S 1,3 ,..., according to the time sequence of the data reached by the scanning camera.
  • S 1,M are all M subframes in the reference frame
  • Sk,1 , Sk,2 , Sk,3 ,..., Sk,M are all M subframes in the kth target frame yuan.
  • the method of the present invention is to scan any frame of image in the scanning direction of SM11 (as mentioned above, usually it is the combination of SM11 and SM12 shown in Figure 10.
  • SM11 as mentioned above, usually it is the combination of SM11 and SM12 shown in Figure 10.
  • SM11 shown in Figure 8 is used here as For reference, the following description is the same.
  • Fig. 12A and Fig. 12B show sub-frame elements in the horizontal direction, indicating that the SM11 is scanned in the vertical direction.
  • the combination of SM11 and SM12 allows the optical system to scan in any direction in a 360-degree space, so the division of sub-frame elements in Figure 12 needs to be adjusted to the corresponding orthogonal direction.
  • the SM11 scanning signal in FIG. 2 and refer to FIG. 13 for the division method of the sub-frame elements.
  • Fig. 13 is a schematic diagram of the scanning (reflecting) mirror SM11 scanning signal and the division of sub-frame elements.
  • the vertical dotted line represents the time (equivalent space) position of each subframe element; the solid thick line represents the sawtooth wave that drives SM11 (or a combination of SM11 and SM12, with the same context) to scan.
  • sawtooth wave has scan area and return area, as shown in Figure 13.
  • the time in the return zone is 0, then the sawtooth wave becomes a triangle wave.
  • a triangular wave can also be used instead of a sawtooth wave as the scanning signal of SM11, as long as the scanning mirrors SM11 and SM12 are not damaged.
  • a Wasatch Photonics line scan camera (OCTOPLUS3) is used, and the camera receives a 16kHz trigger signal. That is, the camera is set to receive 16,000 line signals per second.
  • the 16kHz trigger clock is generated from Xilinx FPGA (SP605), or it can be generated from other chips such as DSP.
  • the SM11 scans each cycle includes 544 lines, of which 512 lines are in the scan area and 32 lines are in the return area. So the frame rate of the image is:
  • the 512 lines of the scanning area are used for imaging, which is the image shown in Figure 12.
  • the data in the backhaul area is automatically discarded by the system.
  • the key point of the embodiment of the present invention is that once 16 lines arrive at the camera, that is, the data of a sub-frame element is ready, the data of the sub-frame element is immediately sent from the camera to the main PC or other computing units, such as CPU, GPU, DSP, FPGA, etc., the processing unit in the embodiment of the present invention uses nVidia graphics processor GTX1050.
  • the algorithm immediately starts, for example, the Cross Correlation algorithm to calculate the position of the subframe element relative to the reference frame. Normally, it is to find the relative position of the target frame subframe element S k,m and the reference frame subframe element S 1,m . However, it may also be to find the relative position of the target frame subframe element S k,m and other reference frame subframe elements S 1,p (p ⁇ m) .
  • the above-mentioned specific algorithm implementation process has been disclosed in US Patent No. 9406133.
  • the best existing device adjusts the frequency of SM11 is the image frame rate of 29.4 Hz, and the device of the present invention adjusts the frequency of SM11 and SM12 to the sampling time of sub-frame element 1000 Hz.
  • This is the frequency multiplication technique mentioned above.
  • the specific number here is only an example in the invention. Different systems and different applications can use different parameters to achieve the above frequency multiplication technology.
  • the present invention adopts the technology of transplanting the Cross Correlation algorithm from the CPU to the nVidia GPU (GTX1050), which brings the advantage of improving the spatial accuracy and 3dB time bandwidth of the tracking system by more than an order of magnitude.
  • the data sampling of the frame element of the line scan system can be gradually realized by the following method (refer to Figure 14).
  • Fig. 14 is a schematic diagram of scanning signals and synchronization signals of a line scanning system.
  • the 16kHz line pulse is the system reference clock generated by the FPGA.
  • the scan signal in Figure 13 (the upper part of Figure 14) and the 29.4Hz frame synchronization signal in the lower part of Figure 14 are all obtained from the 16kHz reference pulse phase-locked .
  • the scan signal and the frame synchronization signal are also completely synchronized.
  • the frame synchronization signal is at a low level; during the backhaul of the scan signal, the frame synchronization signal is at a high level.
  • the generation of these signals can be implemented on FPGA or DSP or other electronic hardware.
  • an FPGA development board SP605 (Spartan 6 chip) of Xilinx is used for implementation.
  • controlling the data output mode of the line scan camera is realized by the user inputting a trigger signal of the line scan camera.
  • This trigger signal must include both the 16kHz reference pulse of Figure 14 and the frame synchronization signal of Figure 14, which is a combination of the two. As shown in Figure 15, it is required by the Wasatch Photonics line scan camera OCTOPLUS3 described above. Synchronous trigger signal.
  • Figure 15 shows a signal that combines a line reference clock and a frame synchronization signal to trigger a line scan camera, but the standard method shown in Figure 15 cannot trigger a line scan camera to send a sub-frame of 1000 Hz Metadata. Only using the 16kHz reference clock of Figure 14 can not guarantee the synchronization of the received image and the scan signal. In order to obtain a 1000 Hz sub-frame elementary image synchronized with the scanning signal, the existing trigger technology is also appropriately improved in the embodiment of the present invention.
  • the trigger signal of the line scan camera only uses the 16kHz reference clock in Figure 14, and the buffer size is 16 lines. This means that the line scan camera regardless of the frame synchronization status, once the line scan camera receives 16 lines of data, it immediately sends it to the PC.
  • the embodiment of the present invention makes an additional synchronization in hardware implementation.
  • any camera has a state to start and end data sampling. Once the user clicks on the software interface to start sampling, the 16kHz reference clock transmitted to the line scan camera does not start immediately, but waits until the rising or falling edge of the frame synchronization signal to trigger the 16kHz reference clock of the line scan camera.
  • Verilog code is used:
  • v_sync is the 29.4Hz frame synchronization signal shown in Figure 14
  • camera_start is the status register for the user to turn on and off the camera
  • camera_trigger is the trigger clock sent to the line scan camera.
  • the code example is the rising edge trigger of v_sync (posedge v_sync), and the other case is the falling edge trigger (negedge v_sync).
  • the 16kHz reference clock is sent to the line scan camera, otherwise, the line scan camera always gets a low level and is in the sampling waiting state.
  • Sampling here is defined as sending image data from the camera to the receiving device such as PC, GPU, DSP, or other devices.
  • the trigger difference between rising edge and falling edge is as shown in Figure 14.
  • the rising edge is triggered, the first and second units of every 34 subframe elements are the data in the return area and need to be eliminated.
  • the falling edge is triggered, the 33rd and 34th units of every 34 subframe elements are the data in the return area and need to be eliminated.
  • the frequency of the reference line clock can also be adjusted, from 16kHz to 20kHz or down to 15kHz, etc., which are all parameters that can be changed.
  • the size of the subframe element can also be adjusted. For example, the above 1000 Hz can be changed to 500 Hz, each sub-frame element has 32 lines. It can also be other sub-frame element sampling frequencies.

Abstract

Disclosed are a method and a system for image stabilization based on an improved line scan imaging system, The system for image stabilization comprises a line scan ophthalmoscope (LSO) imaging system, the LSO imaging system comprising an orthogonal galvanometric scanner, wherein the orthogonal galvanometric scanner generates orthogonal scan surfaces at a fundus and is capable of adjusting the scanning surfaces to any position in a 360-degree space; and is configured for achieving fundus optical tracking inside the LSO optical system by means of an intelligent control algorithm while the LSO optical system performs two-dimensional fundus scanning. A closed-loop fundus optical tracking system can be established, and the line scan imaging system can be controlled using the closed-loop tracking system, thus achieving high-speed, stable and precise control.

Description

一种基于改进的线扫描成像系统的稳像方法及系统Image stabilization method and system based on improved line scan imaging system 技术领域Technical field
本发明涉及激光眼底目标跟踪及成像技术,尤其涉及一种基于改进的线扫描成像系统的稳像方法及系统。The invention relates to laser fundus target tracking and imaging technology, in particular to an image stabilization method and system based on an improved line scan imaging system.
背景技术Background technique
现有的基于线扫描眼底相机(Line Scan Ophthalmoscope,LSO)成像系统的目标跟踪技术,如卡尔·蔡司(Carl Zeiss)的成像系统,其是以一帧图像作为一个单位进行计算眼底目标的运动量,但是存在控制系统有至少一帧的时间延迟,因而会导致跟踪精度降低的缺陷。并且,现有LSO的目标跟踪信号方式完全是数字式的,从图像提取该信号时,由于LSO内部缺少光学闭环控制措施,还会导致眼底运动信号的计算不是很可靠。The existing target tracking technology based on the Line Scan Ophthalmoscope (LSO) imaging system, such as the Carl Zeiss imaging system, uses one frame of image as a unit to calculate the amount of movement of the fundus target. However, there is a defect that the control system has a time delay of at least one frame, which results in a decrease in tracking accuracy. Moreover, the target tracking signal method of the existing LSO is completely digital. When extracting the signal from the image, the lack of optical closed-loop control measures inside the LSO will also cause the calculation of the fundus movement signal to be unreliable.
发明内容Summary of the invention
有鉴于此,本发明的主要目的在于提供一种基于改进的线扫描成像系统的稳像方法及系统,旨在克服现有LSO成像系统固有的光学和控制缺陷问题,大幅度提高其在临床应用中的稳定性、精确度、成像效率。In view of this, the main purpose of the present invention is to provide an image stabilization method and system based on an improved line scan imaging system, which aims to overcome the inherent optical and control defects of the existing LSO imaging system and greatly improve its clinical application Stability, accuracy, and imaging efficiency in the medium.
为达到上述目的,本发明的技术方案是这样实现的:In order to achieve the above objective, the technical solution of the present invention is achieved as follows:
一种基于改进的线扫描成像系统的稳像系统,包括一个线扫描眼底相机LSO成像系统,所述LSO成像系统中还包括正交振镜扫描装置,用于在眼底产生正交扫描面,能够将所述扫描面调整到360度空间的任一位置;以及用于结合智能控制算法实现LSO光学系统在二维眼底扫描的同时进行LSO内部的眼底光学跟踪。An image stabilization system based on an improved line scan imaging system, including a line scan fundus camera LSO imaging system. The LSO imaging system also includes an orthogonal galvanometer scanning device for generating an orthogonal scan surface on the fundus. The scanning surface is adjusted to any position in the 360-degree space; and used to combine with the intelligent control algorithm to realize the LSO optical system to perform two-dimensional fundus scanning while simultaneously performing the fundus optical tracking inside the LSO.
其中,所述正交振镜扫描装置为由第一反射镜SM11和第二反射镜SM12 组成的双镜结构,或正交双向振动的微机电系统MEMS扫描镜,或者其它正交双向振动反射镜组成。Wherein, the orthogonal galvanometer scanning device is a dual-mirror structure composed of a first mirror SM11 and a second mirror SM12, or a MEMS scanning mirror of a micro-electromechanical system that vibrates orthogonally and bidirectionally, or other orthogonal bidirectional vibrating mirrors composition.
所述正交振镜扫描装置结合智能控制算法实现LSO光学系统在二维眼底扫描的同时进行LSO内部的眼底光学跟踪,所述稳像系统存在如下关系:The orthogonal galvanometer scanning device combined with an intelligent control algorithm realizes that the LSO optical system performs fundus optical tracking inside the LSO while scanning the two-dimensional fundus. The image stabilization system has the following relationship:
(x t+1,y t+1)=(x t,y t)+g(Δx t,Δy t)      (1) (x t+1 ,y t+1 )=(x t ,y t )+g(Δx t ,Δy t ) (1)
其中,(x t,y t)代表当前采样时刻在第一反射镜SM11和第二反射镜SM12上的控制指令,其等效于各自的运动偏移量;(Δx t,Δy t)代表从线扫描相机记录下的图像目标帧和参考帧的相对运动量;g代表闭环控制系统的增益;(x t+1,y t+1)代表现有信号施加给第一反射镜SM11和第二反射镜SM12的下一组新的指令,其等效于运动偏移量。 Among them, (x t , y t ) represents the control commands on the first mirror SM11 and the second mirror SM12 at the current sampling moment, which are equivalent to their respective motion offsets; (Δx t , Δy t ) represents the slave The relative motion of the image target frame and the reference frame recorded by the line scan camera; g represents the gain of the closed-loop control system; (x t+1 ,y t+1 ) represents the existing signal applied to the first mirror SM11 and the second reflection The next set of new commands of the mirror SM12 is equivalent to the movement offset.
一种基于改进的线扫描成像系统的稳像方法,包括如下步骤:An image stabilization method based on an improved line scan imaging system includes the following steps:
A、在线扫描眼底相机LSO成像系统中增设正交振镜扫描装置,利用所述正交振镜扫描装置在眼底产生正交扫描面,使所述扫描面能够调整到360度空间的任一位置;A. An orthogonal galvanometer scanning device is added to the online scanning fundus camera LSO imaging system. The orthogonal galvanometer scanning device is used to generate an orthogonal scanning surface on the fundus, so that the scanning surface can be adjusted to any position in a 360-degree space ;
B、将所述正交振镜扫描装置结合智能控制算法实现LSO光学系统在二维眼底扫描的同时进行LSO内部的眼底光学跟踪。B. Combining the orthogonal galvanometer scanning device with an intelligent control algorithm to realize the LSO optical system to perform the fundus optical tracking inside the LSO while scanning the two-dimensional fundus.
一种基于改进的线扫描成像系统的稳像系统,还包括旋转装置,用于将产生线光源的柱面镜L13以及与之耦合的线扫描相机设置在360度空间可控旋转的支架上,使线可控光源在360度空间的任一位置旋转。An image stabilization system based on an improved line scan imaging system, further comprising a rotating device for setting the cylindrical mirror L13 that generates the line light source and the line scan camera coupled with it on a 360-degree space controllable rotating bracket, Make the line controllable light source rotate at any position in 360-degree space.
作为一种实施方式,将锯齿波作为第一反射镜SM11和第二反射镜SM12的驱动信号基,设旋转角为θ,将每个反射镜应得的幅度乘到各自的基信号上,则式(1)可更新为:As an embodiment, the sawtooth wave is used as the driving signal base of the first mirror SM11 and the second mirror SM12, and the rotation angle is set to θ, and the amplitude due to each mirror is multiplied by the respective base signal, then Equation (1) can be updated as:
(x t+1,y t+1t+1)=(x t,y tt)+g(Δx t,Δy t,Δθ t)     (2) (x t+1 ,y t+1t+1 )=(x t ,y tt )+g(Δx t ,Δy t ,Δθ t ) (2)
其中,θ t为该闭环控制系统施加在旋转支架上的角度;(x t,y t)为施加在第一反射镜SM11和第二反射镜SM12上的平移量,(x t,y t)还是叠加在每个反射镜各自的用于产生扫描信号上的平移量;(x t,y tt)为当前采样时刻在第 一反射镜SM11和第二反射镜SM12以及旋转支架上的控制指令,其等效于各自的运动偏移量和旋转角度;(Δx t,Δy t,Δθ t)为从线扫描相机记录下来的图像目标帧和参考帧的相对运动量;g是闭环控制系统的增益;(x t+1,y t+1t+1)为现有信号施加给第一反射镜SM11和第二反射镜SM12以及柱面镜L13和与之耦合的线扫描相机的旋转支架的下一组新的指令,其等效于运动偏移量和旋转角度。 Among them, θ t is the angle imposed by the closed-loop control system on the rotating support; (x t ,y t ) is the translational amount imposed on the first mirror SM11 and the second mirror SM12, (x t ,y t ) It is still superimposed on the translation amount of each mirror used to generate the scanning signal; (x t , y t , θ t ) is the current sampling time on the first mirror SM11 and the second mirror SM12 and the rotating bracket Control instructions, which are equivalent to their respective movement offsets and rotation angles; (Δx t , Δy t , Δθ t ) is the relative movement of the image target frame and the reference frame recorded from the line scan camera; g is the closed-loop control system (X t+1 ,y t+1t+1 ) is the current signal applied to the first mirror SM11 and the second mirror SM12 as well as the cylindrical mirror L13 and the line scan camera coupled with it The next set of new instructions for rotating the bracket is equivalent to the movement offset and rotation angle.
一种基于改进的线扫描成像系统的稳像系统的稳像方法,包括如下步骤:An image stabilization method of an image stabilization system based on an improved line scan imaging system includes the following steps:
A、在线扫描眼底相机LSO成像系统中增设正交振镜扫描装置,利用所述正交振镜扫描装置在眼底产生正交扫描面,使所述扫描面能够调整到360度空间的任一位置;A. An orthogonal galvanometer scanning device is added to the online scanning fundus camera LSO imaging system. The orthogonal galvanometer scanning device is used to generate an orthogonal scanning surface on the fundus, so that the scanning surface can be adjusted to any position in a 360-degree space ;
B、将产生线光源的柱面镜L13以及与之耦合的线扫描相机安装在一个360度的可控旋转支架上,使得线扩展光源可以出现在360度空间的任何一个位置旋转;B. Mount the cylindrical mirror L13 that generates the line light source and the line scan camera coupled with it on a 360-degree controllable rotating bracket, so that the line-expanded light source can be rotated at any position in the 360-degree space;
C、将所述正交振镜扫描装置结合智能控制算法实现LSO光学系统在二维眼底扫描的同时进行LSO内部的眼底光学跟踪。C. Combining the orthogonal galvanometer scanning device with an intelligent control algorithm to realize the LSO optical system to perform the fundus optical tracking inside the LSO while scanning the two-dimensional fundus.
本发明基于改进的线扫描成像系统的稳像方法及系统,具有如下有益效果:The present invention is based on an improved image stabilization method and system of a line scan imaging system, and has the following beneficial effects:
1)通过在LSO成像系统内部建立一个闭环的眼底光学跟踪系统,利用该闭环跟踪控制系统控制线扫描成像系统,从而达到高速、稳定、精确控制的目的。1) By establishing a closed-loop fundus optical tracking system inside the LSO imaging system, the closed-loop tracking control system is used to control the line scan imaging system, so as to achieve the purpose of high-speed, stable and precise control.
2)能够利用LSO闭环控制系统得到眼底运动信号,通过事先标定好的空间变换关系,去控制另外一个或者多个光学系统实现相应的眼底目标跟踪目的。2) The LSO closed-loop control system can be used to obtain the fundus movement signal, and through the pre-calibrated spatial transformation relationship, to control another one or more optical systems to achieve the corresponding fundus target tracking purpose.
3)根据每一帧的图像里,每一根扫描线到达主机系统的先后顺序,把一帧图像按时间顺序划分成多个亚帧元,每个亚帧元包含一根到多根扫描线。根据每个亚帧元到达主机系统的先后顺序,实时计算每个亚帧元包含的眼底 运动信息,然后立即反馈到跟踪器件,比如高速倾斜反射镜和旋转台等。采用这种倍频的方式可以大幅度提高目标跟踪的空间精度和时间带宽。3) According to the order in which each scan line arrives at the host system in each frame of the image, a frame of image is divided into multiple sub-frame elements in chronological order, and each sub-frame element contains one or more scan lines . According to the order in which each sub-frame element arrives at the host system, the fundus movement information contained in each sub-frame element is calculated in real time, and then immediately fed back to the tracking device, such as a high-speed tilt mirror and a rotating table. Using this frequency multiplication method can greatly improve the spatial accuracy and time bandwidth of target tracking.
附图说明Description of the drawings
图1为现有线扫描眼底相机的光学结构示意图;Figure 1 is a schematic diagram of the optical structure of a conventional line scan fundus camera;
图2为用于控制扫描反射镜SM的锯齿波示意图;Figure 2 is a schematic diagram of a sawtooth wave used to control the scanning mirror SM;
图3为根据图1所示线扫描眼底相机光学系统得到的眼底图像示意图;3 is a schematic diagram of a fundus image obtained according to the optical system of the line scan fundus camera shown in FIG. 1;
图4为现有线扫描成像系统的示意图,包含一个不带光学跟踪的主LSO成像系统集成一个辅OCT成像系统;Figure 4 is a schematic diagram of an existing line scan imaging system, including a main LSO imaging system without optical tracking integrated with a secondary OCT imaging system;
图5为本发明基于线扫描成像系统的稳像系统得到的以帧为单位从图像中计算眼底的运动量示意图;Fig. 5 is a schematic diagram of calculating the amount of fundus movement from an image in a frame unit obtained by the image stabilization system based on the line scan imaging system of the present invention;
图6为本发明实施例改进的具备内部光学跟踪的LSO光学系统示意图;6 is a schematic diagram of an improved LSO optical system with internal optical tracking according to an embodiment of the present invention;
图7为图6所示改进的LSO光学系统中两个倾斜反射镜SM11和SM12的工作状态示意图;FIG. 7 is a schematic diagram of the working state of two inclined mirrors SM11 and SM12 in the improved LSO optical system shown in FIG. 6;
图8为通过改变反射镜SM11和SM12的偏移量调整成像面在360度空间的位置状态示意图;FIG. 8 is a schematic diagram of adjusting the position of the imaging surface in a 360-degree space by changing the offset of the mirrors SM11 and SM12;
图9为旋转装置用于旋转柱面镜L13产生的线光源以及与之耦合的线扫描相机在360度空间的位置示意图;9 is a schematic diagram of the position of the line light source generated by the rotating cylindrical lens L13 and the line scan camera coupled with the rotating device in a 360-degree space;
图10为旋转柱面镜产生一个任意旋转角的线光源以及与之相关的扫描面的状态示意图;FIG. 10 is a schematic diagram of a state where a rotating cylindrical mirror generates a line light source with an arbitrary rotation angle and a scanning surface related to it;
图11为本发明实施例一种自带闭环光学跟踪的主LSO成像系统集成另外一个辅成像系统原理示意图;11 is a schematic diagram of the principle of integrating a main LSO imaging system with closed-loop optical tracking into another auxiliary imaging system according to an embodiment of the present invention;
图12为本发明实施例采用倍频技术降低眼底计算的时间延迟的示意图;12 is a schematic diagram of using frequency doubling technology to reduce the time delay of fundus calculation in an embodiment of the present invention;
图13为扫描(反射)镜SM11扫描信号以及亚帧元的分割方式示意图;FIG. 13 is a schematic diagram of the scanning (reflecting) mirror SM11 scanning signal and the division mode of sub-frame elements;
图14为线扫描系统的扫描信号和同步信号示意图;Figure 14 is a schematic diagram of scanning signals and synchronization signals of a line scanning system;
图15为一种合成了线基准时钟和帧同步信号,用于触发线扫描相机的 信号。Figure 15 is a signal that combines a line reference clock and a frame synchronization signal to trigger a line scan camera.
具体实施方式Detailed ways
下面结合附图及本发明的实施例对本发明作进一步详细的说明。The present invention will be further described in detail below in conjunction with the drawings and embodiments of the present invention.
图1为现有线扫描眼底相机的光学结构示意图。FIG. 1 is a schematic diagram of the optical structure of a conventional line scan fundus camera.
如图1所示,从点光源L11发出的光线经过透镜L12准直,通过柱面镜(Cylinder Lens)L13将面光源转换成线光源,然后继续中继到准直透镜L14。这里,柱面镜L13的安装方向决定了线光源在空间的扩展方向(详见图9和图10),透镜L12、透镜L13、透镜L14一定程度上决定了线光源在眼底的照明(扩展)尺寸。经所述透镜L14发出的光,一部分透过分光镜(BS),到达扫描反射镜(Steering Mirror or Scanning Mirror,SM);另一部分透过分光镜(BS)到达准直透镜L17,然后经过一组滤波器(FILTER),达到线扫描相机(Line Scan Camera)。As shown in FIG. 1, the light emitted from the point light source L11 is collimated by the lens L12, the surface light source is converted into a line light source through a cylinder lens (Cylinder Lens) L13, and then it is relayed to the collimating lens L14. Here, the installation direction of the cylindrical lens L13 determines the expansion direction of the line light source in space (see Figures 9 and 10 for details), and the lens L12, lens L13, and lens L14 determine to a certain extent the line light source's illumination (expansion) in the fundus size. Part of the light emitted by the lens L14 passes through the beam splitter (BS) and reaches the scanning mirror (Steering Mirror or Scanning Mirror, SM); the other part passes through the beam splitter (BS) to the collimating lens L17, and then passes through a Group filter (FILTER), reach line scan camera (Line Scan Camera).
其中,扫描反射镜SM的作用是在线光源的正交方向产生周期扫描,光线通过两个准直变焦透镜L15和L16在眼(Eye)底产生一个二维的扫描空间。所述扫描反射镜(SM)的运动轨迹一般呈图2所示的锯齿波。Among them, the function of the scanning mirror SM is to generate periodic scanning in the orthogonal direction of the line light source, and the light passes through two collimating zoom lenses L15 and L16 to generate a two-dimensional scanning space at the bottom of the eye (Eye). The motion track of the scanning mirror (SM) generally presents a sawtooth wave as shown in FIG. 2.
图2为用于控制扫描反射镜(SM)的锯齿波示意图。锯齿波的频率决定成像系统的图像帧频,而锯齿波的振幅大小则决定扫描方向的光学视场尺寸。Figure 2 is a schematic diagram of a sawtooth wave used to control a scanning mirror (SM). The frequency of the sawtooth wave determines the image frame rate of the imaging system, and the amplitude of the sawtooth wave determines the size of the optical field of view in the scanning direction.
如图2所示,该锯齿波的中心不一定总是在锯齿波零位置。锯齿波的中心偏移量实际上决定了扫描视场的中心位置。在光学设计允许的范围内,支持用户通过调节锯齿波的中心偏移量来控制扫描视场的中心位置。As shown in Figure 2, the center of the sawtooth wave is not always at the zero position of the sawtooth wave. The center offset of the sawtooth wave actually determines the center position of the scanning field of view. Within the range allowed by the optical design, users are supported to control the center position of the scanning field of view by adjusting the center offset of the sawtooth wave.
参考图1,当眼底受点光源L11发出的光激发,返回的信号经同样的光学路径,从分光镜BS反射到准直透镜L17,再经过一组滤波器(FILTER),达到线扫描相机(Line Scan Camera)。其中,从眼底返回的信号,可以是反射信号、可以是荧光信号,也可以是其他信号;还可以是同时到达所述线 扫描相机的其他多种信号。Referring to Figure 1, when the fundus is excited by the light emitted by the point light source L11, the returned signal is reflected from the beam splitter BS to the collimating lens L17 through the same optical path, and then passes through a set of filters (FILTER) to reach the line scan camera ( Line Scan Camera). Among them, the signal returned from the fundus may be a reflected signal, a fluorescent signal, or other signals; it may also be a variety of other signals that reach the line scan camera at the same time.
图3为根据图1所示线扫描眼底相机光学系统得到的眼底图像示意图。即利用图1所示线扫描眼底相机得到的眼底图像示意图。3 is a schematic diagram of a fundus image obtained according to the optical system of the line scan fundus camera shown in FIG. 1. That is, the schematic diagram of the fundus image obtained by the line scan fundus camera shown in FIG. 1.
图4为现有线扫描成像系统的系统示意图,包含一个不带光学稳像(或者跟踪)的主LSO成像系统和集成的一个辅助光相干断层扫描仪(OCT)成像系统。Fig. 4 is a system schematic diagram of an existing line scan imaging system, including a main LSO imaging system without optical image stabilization (or tracking) and an integrated auxiliary optical coherence tomography (OCT) imaging system.
如图4所示,该主LSO成像系统,即图1所示的成像系统。较佳地,该主LSO成像系统在临床上应用时,会搭载一个根据本发明实施例自定义的辅成像系统,例如Carl Zeiss的OCT产品Cirrus,如图4所示的辅助成像系统为一个OCT装置。As shown in Figure 4, the main LSO imaging system is the imaging system shown in Figure 1. Preferably, when the main LSO imaging system is used clinically, it will be equipped with an auxiliary imaging system customized according to the embodiment of the present invention, such as the OCT product Cirrus of Carl Zeiss. The auxiliary imaging system shown in FIG. 4 is an OCT Device.
图4所示的辅成像系统中,从第二点光源L21发出的光经准直系统(包含准直透镜L22和L23)到达正交扫描反射镜SM21和SM22,然后经过聚焦透镜L24聚焦到分色镜(Dichotic Mirror,DM)上。所述DM也位于主LSO成像系统的焦平面上。In the auxiliary imaging system shown in Figure 4, the light emitted from the second point light source L21 reaches the orthogonal scanning mirrors SM21 and SM22 through the collimating system (including the collimating lenses L22 and L23), and then it is focused to the splitting mirror through the focusing lens L24. On the Dichotic Mirror (DM). The DM is also located on the focal plane of the main LSO imaging system.
本发明实施例中,图4所示的主、辅(集成的光学)成像系统,支持同步实施二维眼底反射(或荧光)成像和三维OCT断层扫描成像。In the embodiment of the present invention, the main and auxiliary (integrated optical) imaging systems shown in FIG. 4 support simultaneous implementation of two-dimensional fundus reflection (or fluorescence) imaging and three-dimensional OCT tomographic imaging.
该主LSO成像系统的一个作用是,为辅成像系统提供眼底的定位和导航,将当前OCT的断层扫描在眼底二维空间的相应位置显示给当前用户。该主LSO成像系统的另一个作用是,通过执行预设的算法(详见下文)计算从LSO图像得到的眼底/眼球运动信息(x,y,θ)。其中,(x,y)为眼底运动的平移量,θ为旋转量。然后,将(x,y,θ)施加到辅成像系统的扫描镜SM21和SM22,实时调整扫描镜SM21和SM22的相应的空间位置,以便获取到所需眼底位置的断层扫描图像。但是,这里的(x,y,θ)获取完全是数字方式,不是通过式(1)或者式(2)所述的光学闭环实现。One function of the main LSO imaging system is to provide fundus positioning and navigation for the auxiliary imaging system, and to display the current OCT tomogram in the corresponding position of the fundus two-dimensional space to the current user. Another function of the main LSO imaging system is to calculate fundus/eye movement information (x, y, θ) obtained from the LSO image by executing a preset algorithm (see below for details). Among them, (x, y) is the amount of translation of fundus movement, and θ is the amount of rotation. Then, (x, y, θ) is applied to the scanning mirrors SM21 and SM22 of the auxiliary imaging system, and the corresponding spatial positions of the scanning mirrors SM21 and SM22 are adjusted in real time to obtain the tomographic image of the required fundus position. However, the acquisition of (x, y, θ) here is completely digital, and is not achieved through the optical closed loop described in equation (1) or equation (2).
以上所述的眼底定位和导航过程,以及眼底跟踪技术,通过主LSO的图像,应用互相关算法(cross correlation)或者其他类似算法,计算得到眼 底运动位置(x,y,θ),以此来实时调整扫描镜SM21和SM22的光学扫描位置,锁定眼底目标。这里的(x,y,θ)获取完全是数字方式,不是通过式(1)或者式(2)所述的光学闭环实现。The above-mentioned fundus positioning and navigation process, as well as fundus tracking technology, through the main LSO image, apply cross-correlation algorithm (cross correlation) or other similar algorithms to calculate the fundus movement position (x, y, θ). Adjust the optical scanning position of the scanning mirrors SM21 and SM22 in real time to lock the fundus target. The acquisition of (x, y, θ) here is entirely digital, not through the optical closed loop described in equation (1) or equation (2).
上述的眼底跟踪技术,具有以下几个特点:The above-mentioned fundus tracking technology has the following characteristics:
第一、主LSO系统仅仅通过获得类似于图3的图像,利用互相关算法(cross correlation)或者类似算法,计算数字眼底运动信息(x,y,θ)。(x,y,θ)获取完全是数字方式,不是通过式(1)或者式(2)所述的光学闭环实现。First, the main LSO system simply obtains an image similar to Fig. 3 and uses cross-correlation or similar algorithms to calculate digital fundus motion information (x, y, θ). The acquisition of (x, y, θ) is entirely digital, not through the optical closed loop described in equation (1) or equation (2).
第二、眼底跟踪仅仅发生在辅成像系统的扫描镜SM21和SM22上,主LSO系统并没有相应调整自己的光学参数来锁定眼底的LSO扫描(成像)位置。Second, the fundus tracking only occurs on the scanning mirrors SM21 and SM22 of the auxiliary imaging system. The main LSO system does not adjust its own optical parameters to lock the LSO scanning (imaging) position of the fundus accordingly.
第三、这里数字计算结果(x,y,θ)的精确度和可靠度很大程度上依赖于多方面的参数,包括眼底图像质量、正常眼底的动作包括眨眼(blink)、快速扫视(saccade)和微扫视(micro saccade)。例如,在互相关算法里,当目标图像(运动量待计算)漂移出参考图像时,也就是眼睛运动量过大时,互相关算法就不能得到准确的眼底运动信息,因而会导致辅成像系统的跟踪失败。Third, the accuracy and reliability of the numerical calculation results (x, y, θ) here are largely dependent on various parameters, including fundus image quality, normal fundus movements including blinking and saccade ) And micro saccade. For example, in the cross-correlation algorithm, when the target image (the amount of movement to be calculated) drifts out of the reference image, that is, when the amount of eye movement is too large, the cross-correlation algorithm cannot obtain accurate fundus movement information, which will lead to the tracking of the auxiliary imaging system failure.
第四、现有技术计算(x,y,θ)是以帧为单位的,如图5所示,为以帧为单位从图像中计算眼底运动量的获得的图像示意图。Fourth, the prior art calculation (x, y, θ) is based on a frame, as shown in FIG. 5, which is a schematic diagram of an image obtained by calculating the amount of fundus movement from an image in a frame unit.
参考图5,假设f 1是LSO捕捉到的第一帧图像,并且f 1被用作和定义为“参考帧”图像。在时间序列上,系统之后得到的图像是f 2,f 3,...,f n,f n+1,定义为“目标帧”图像。 Referring to FIG. 5, it is assumed that f 1 is the first frame image captured by the LSO, and f 1 is used and defined as a "reference frame" image. In the time series, the images obtained after the system are f 2 , f 3 , ..., f n , f n+1 , which are defined as "target frame" images.
在现有眼底跟踪技术中,LSO的软件程序通常在接收到一个完整的图像帧f k(k=2,3,4,...,n+1)之后,启动互相关算法(Cross Correlation)计算f k相对于f 1的空间位置(x k,y kk)。一旦算法程序得到(x k,y kk),则立即通过预先测定好的空间映射关系,将其转换到辅成像系统的扫描镜SM21和SM22上,使得扫描镜SM21和SM22锁定在需要的眼底扫描位置。 In the existing fundus tracking technology, the LSO software program usually starts the cross correlation algorithm (Cross Correlation) after receiving a complete image frame f k (k=2,3,4,...,n+1) Calculate the spatial position of f k relative to f 1 (x k , y k , θ k ). Once the algorithm program obtains (x k , y k , θ k ), it is immediately converted to the scanning mirrors SM21 and SM22 of the auxiliary imaging system through the predetermined spatial mapping relationship, so that the scanning mirrors SM21 and SM22 are locked in the required The position of the fundus scan.
但这种基于帧的计算方式,由于存在很大的时延,用(x k,y kk)控制扫描镜SM21和SM22的位置会带来较大的空间误差,也就是跟踪的空间精度不高(几十到几百微米)并且时间响应慢。其原因是,一个典型的成像系统每秒输出25~30帧图像,那么每一帧图像携带的时间延迟已经是33~40毫秒。 However, this frame-based calculation method, due to the large time delay, using (x k , y k , θ k ) to control the positions of the scanning mirrors SM21 and SM22 will bring about a large spatial error, that is, the tracking space The accuracy is not high (tens to hundreds of microns) and the time response is slow. The reason is that a typical imaging system outputs 25 to 30 frames of images per second, so the time delay carried by each frame of image is already 33 to 40 milliseconds.
例如,应用互相关算法(Cross Correlation)从图像计算眼睛运动量的前提是需要图像。如上所述,获取一帧图像已经需要33~40毫秒,再加上算法的时间,从算法得到的(x k,y kk)转化成扫描镜SM21和SM22控制信号的电子延迟,再到扫描镜SM21和SM22自身响应控制信号的机械延迟。一次完整的控制周期,从眼睛开始运动到扫描镜SM21和SM22跟踪该运动,延迟时间达到40~50毫秒是非常常见的现象。由以上分析过程可知,在所有能够带来延迟的因素里,33~40毫秒的(图像)采样延迟通常是主要延迟(dominant latency)。 For example, the prerequisite for applying the cross correlation algorithm (Cross Correlation) to calculate the amount of eye movement from the image is that the image is needed. As mentioned above, it takes 33-40 milliseconds to acquire a frame of image, plus the time of the algorithm, the (x k , y k , θ k ) obtained from the algorithm is converted into the electronic delay of the control signals of the scanning mirrors SM21 and SM22, and then The scanning mirrors SM21 and SM22 themselves respond to the mechanical delay of the control signal. A complete control cycle, from the start of the eye movement to the scanning mirror SM21 and SM22 tracking the movement, the delay time reaches 40-50 milliseconds is a very common phenomenon. From the above analysis process, it can be seen that among all the factors that can cause delay, the (image) sampling delay of 33-40 milliseconds is usually the dominant latency.
相应的,一种缩短上述时间延迟的方法是,大幅提高图像输出的帧频,比如说LSO输出200帧/秒,这样图像采样的延迟就可以降低到5毫秒。但是,要在同样的成像视场、保持同样的图像信噪比,图像系统帧频的提高带来的副作用是成像激光剂量的非线性快速提高。这在临床上是不可行的,因为激光剂量的使用受安全标准限制。Correspondingly, one way to shorten the above-mentioned time delay is to greatly increase the frame rate of image output, for example, LSO outputs 200 frames per second, so that the delay of image sampling can be reduced to 5 milliseconds. However, to maintain the same image signal-to-noise ratio in the same imaging field of view, the side effect of the increase in the frame rate of the imaging system is the rapid increase in the nonlinearity of the imaging laser dose. This is not clinically feasible because the use of laser doses is restricted by safety standards.
综上所述,现有LSO成像系统(产品)在光学、电子、控制方面的不足,使得本发明在基于图1和图4系统的基础上,在光学和电子、软件、控制几个方面能够进一步进行改进和提高。In summary, the existing LSO imaging systems (products) have deficiencies in optics, electronics, and control, so that the present invention is capable of optics, electronics, software, and control based on the systems of Figures 1 and 4 Further improvements and enhancements.
图6为本发明实施例改进的LSO光学系统示意图。Fig. 6 is a schematic diagram of an improved LSO optical system according to an embodiment of the present invention.
如图6所示,在图1所示的传统LSO光学系统上,增加了第二个倾斜反射镜。作为另一种实施方式,图6中的两个一维振镜(SM11和SM12)也可以用一个正交双向振动的微机电系统(Microelectro Mechanical Systems,MEMS)扫描镜,或者其他正交扫描反射镜替代。As shown in Figure 6, on the traditional LSO optical system shown in Figure 1, a second tilted mirror is added. As another embodiment, the two one-dimensional galvanometers (SM11 and SM12) in FIG. 6 can also use a Microelectro Mechanical Systems (MEMS) scanning mirror with orthogonal bidirectional vibration, or other orthogonal scanning reflectors. Mirror replacement.
图6中,不同于图1的是,增加了一个倾斜(反射)镜,将图1的反射 镜(SM)命名为第一反射镜SM11,将新增的反射镜命名为第二反射镜SM12。所述反射镜SM11和SM12的工作过程如图7所示。In Fig. 6, the difference from Fig. 1 is that a tilting (reflecting) mirror is added. The mirror (SM) in Fig. 1 is named the first mirror SM11, and the newly added mirror is named the second mirror SM12 . The working process of the mirrors SM11 and SM12 is shown in FIG. 7.
这里,所述第一反射镜SM11和第二反射镜SM12组成的双镜结构,或双向振动的微机电系统(MEMS)扫描镜,或者其他形式的正交扫描反射镜结构,可统称为正交振镜扫描装置。Here, the dual-mirror structure composed of the first mirror SM11 and the second mirror SM12, or a bidirectionally vibrating micro-electromechanical system (MEMS) scanning mirror, or other forms of orthogonal scanning mirror structures can be collectively referred to as orthogonal Galvo scanning device.
图7为图6所示改进的LSO光学系统中两个倾斜反射镜SM11和SM12的工作状态示意图。FIG. 7 is a schematic diagram of the working state of two inclined mirrors SM11 and SM12 in the improved LSO optical system shown in FIG. 6.
为了便于描述,首先定义一个空间参考坐标(x,y,z),如图7A所示。在只有反射镜SM11(SM1)时,参考图7B,一个线光源A入射到反射镜SM11。这里反射镜SM11的转动轴在空间坐标的x轴上,这样,反射镜SM11在y-z平面上摆动,然后在位置B产生一个二维的扫描面。参考图1所示的传统LSO成像系统,B的位置直接共轭到眼底的成像面。For ease of description, first define a spatial reference coordinate (x, y, z), as shown in Figure 7A. When there is only the mirror SM11 (SM1), referring to FIG. 7B, a line light source A is incident on the mirror SM11. Here, the rotation axis of the mirror SM11 is on the x-axis of the spatial coordinates, so that the mirror SM11 swings on the y-z plane, and then a two-dimensional scanning surface is generated at the position B. Referring to the conventional LSO imaging system shown in Figure 1, the position of B is directly conjugated to the imaging surface of the fundus.
但是,在本发明实施例中,来自位置A的线光源经反射镜SM11后,在图7C中的B位置插入第二个倾斜(反射)镜SM12。沿袭上述定义,这里反射镜SM12的转动轴在z轴上,在x-y平面摆动。However, in the embodiment of the present invention, after the linear light source from position A passes through the mirror SM11, a second tilting (reflecting) mirror SM12 is inserted at the position B in FIG. 7C. Following the above definition, here the rotation axis of the mirror SM12 is on the z-axis and swings in the x-y plane.
可以理解的是,图7A中的参考坐标(x,y,z)可以任意定义,只需保证反射镜SM11的运动轴和反射镜SM12的运动轴正交即可。It is understandable that the reference coordinates (x, y, z) in FIG. 7A can be defined arbitrarily, as long as the motion axis of the mirror SM11 and the motion axis of the mirror SM12 are orthogonal.
这种双反射镜的工作方式可以用图6所示的双镜结构来实现,比如采用两个Cambridge Technology的一维6210H振镜或6220H振镜,也可以由一个设有两个独立正交运动轴的倾斜镜来实现,比如采用PI的S-335.2SH快速倾斜镜(Tip/Tilt Mirror)。The working mode of this double mirror can be realized by the double mirror structure shown in Figure 6, for example, two Cambridge Technology one-dimensional 6210H galvanometers or 6220H galvanometers, or one with two independent orthogonal motions It can be realized by the tilt mirror of the axis, such as PI's S-335.2SH fast tilt mirror (Tip/Tilt Mirror).
将图6和图7所示联合使用反射镜SM11和SM12的作用和效果是,在LSO眼底产生的扫描面,可以通过改变反射镜SM11和SM12的偏移量,在光学系统允许的范围内,将扫描面调整到360度空间的任何一个位置。下面在图8中进一步进行说明。The function and effect of the combined use of mirrors SM11 and SM12 as shown in Figure 6 and Figure 7 is that the scanning surface generated on the fundus of the LSO can be adjusted by changing the offset of the mirrors SM11 and SM12 within the allowable range of the optical system. Adjust the scanning surface to any position in the 360-degree space. This will be further described in Figure 8 below.
图8为通过改变反射镜SM11和SM12的偏移量调整成像面在360度空 间的位置状态示意图。Fig. 8 is a schematic diagram of adjusting the position of the imaging surface in a 360-degree space by changing the offset of the mirrors SM11 and SM12.
如图8所示,控制反射镜SM12的参数在简单的情况下(复杂的控制情况参考图9及以下内容)就是一个平移量,以便调整成像面在水平方向的位置,可以用于跟踪目标在水平方向的移动。这里,控制反射镜SM11的参数一般有多个,反射镜SM11一方面作扫描,另一方面作成像面在垂直方向的平移或者目标跟踪(参考图2)。As shown in Figure 8, the parameter of controlling the mirror SM12 in simple cases (refer to Figure 9 and the following for complex control situations) is a translation amount to adjust the horizontal position of the imaging surface, which can be used to track the target Movement in the horizontal direction. Here, there are generally multiple parameters for controlling the mirror SM11. On the one hand, the mirror SM11 is used for scanning, and on the other hand, for vertical translation of the imaging surface or target tracking (refer to FIG. 2).
联合使用反射镜SM11和SM12的作用,结合智能控制算法,即可实现LSO光学系统在二维眼底扫描的同时作LSO内部的眼底光学跟踪。相关控制以及算法实现部分请参考图11以及之后的内容。Combining the functions of the mirrors SM11 and SM12, combined with the intelligent control algorithm, the LSO optical system can realize the fundus optical tracking inside the LSO while scanning the two-dimensional fundus. For related control and algorithm implementation, please refer to Figure 11 and the following content.
综上,图6构成了一个完整的闭环控制系统。从点光源L11过来的光经过反射镜SM11和SM12到达眼底是一个二维的扫描空间,从眼底被扫描的空间返回的信号再一次经过反射镜SM11和SM12的扫描到达光电探测器,这里是一个线扫描相机(Line Scan Camera),该线扫描相机用于记录从眼底返回的图像信号。In summary, Figure 6 constitutes a complete closed-loop control system. The light from the point light source L11 reaches the fundus through the mirrors SM11 and SM12, which is a two-dimensional scanning space. The signal returned from the space where the fundus is scanned is scanned by the mirrors SM11 and SM12 again to reach the photodetector, here is a Line Scan Camera, which is used to record the image signal returned from the fundus.
此外,本发明的图6之所以可以构成一个完整的闭环控制系统,是因为在启动眼底跟踪系统之后,系统存在这样一个关系式:In addition, the reason why Figure 6 of the present invention can constitute a complete closed-loop control system is because after the fundus tracking system is activated, the system has such a relationship:
(x t+1,y t+1)=(x t,y t)+g(Δx t,Δy t)     (1) (x t+1 ,y t+1 )=(x t ,y t )+g(Δx t ,Δy t ) (1)
在上式(1)中,(x t,y t)代表当前采样时刻在反射镜SM11和SM12上的控制指令(等效于各自的运动偏移量),(Δx t,Δy t)代表从线扫描相机记录下来的图像(目标帧)和参考图像(参考帧)的相对运动量,g代表闭环控制系统的增益,(x t+1,y t+1)代表现有信号施加给反射镜SM11和SM12的下一组新的指令(等效于运动偏移量)。 In the above formula (1), (x t , y t ) represents the control commands on the mirrors SM11 and SM12 (equivalent to their respective movement offsets) at the current sampling time, and (Δx t , Δy t ) represents the slave The relative motion between the image (target frame) recorded by the line scan camera and the reference image (reference frame), g represents the gain of the closed-loop control system, (x t+1 ,y t+1 ) represents the existing signal applied to the mirror SM11 And the next set of new commands of SM12 (equivalent to motion offset).
由于在进入光电探测器(这里的线扫描相机)之前,来自眼底的运动信号已经得到反射镜SM11和SM12光学补偿,所以从光电探测器得到的运动信号总是残余运动信号,就是式(1)的(Δx t,Δy t)。 Before entering the photodetector (the line scan camera here), the motion signal from the fundus has been optically compensated by mirrors SM11 and SM12, so the motion signal obtained from the photodetector is always a residual motion signal, which is equation (1)的(Δx t ,Δy t ).
以上描述的闭环控制也可以补偿眼球的旋转信号。一个方法是将图6产 生线光源的柱面镜L13以及相耦合的线扫描相机安装在一个360度的可控旋转支架上,使得线扩展光源可以出现在360度空间的任何一个位置旋转(参考图9)。The closed-loop control described above can also compensate for the rotation signal of the eyeball. One method is to install the cylindrical mirror L13 that produces the line light source in Figure 6 and the coupled line scan camera on a 360-degree controllable rotating bracket, so that the line-extended light source can be rotated at any position in the 360-degree space (reference Figure 9).
图9为旋转装置/机构用于旋转柱面镜L13产生的线光源在360度空间的位置示意图。FIG. 9 is a schematic diagram of the position of the line light source generated by the rotating cylindrical mirror L13 in the 360-degree space by the rotating device/mechanism.
如图9所示,柱面镜的轴心以及相耦合的线扫描相机(为简单起见,所述线扫描相机图中未示出)在坐标原点O位置,被安装在一个可以控制的旋转机构(粗虚线所示),在x-y平面的360度范围内可以自由旋转。光学系统的光轴在图9所示的z方向。从图9所示右侧过来的平面光源ABCD,经过柱面镜聚焦成一条线光源A'B'。柱面镜也可以安装在任意一个旋转机构上,用于产生任意一个方向的线光源A'B'。As shown in Figure 9, the axis of the cylindrical mirror and the coupled line scan camera (for simplicity, the line scan camera is not shown in the figure) are installed in a controllable rotating mechanism at the coordinate origin O position (Shown by the thick dashed line), it can rotate freely within 360 degrees of the xy plane. The optical axis of the optical system is in the z direction shown in FIG. 9. The plane light source ABCD coming from the right side as shown in Figure 9 is focused into a linear light source A'B' through a cylindrical lens. Cylindrical mirror can also be installed on any rotating mechanism to generate line light source A'B' in any direction.
转动图9所示的旋转装置,即可调整线光源A'B'在x-y平面的投影方向,并且A'B'和x轴的夹角跟旋转装置的旋转角一致,也就是θ(参考图10)。Turn the rotating device shown in Figure 9 to adjust the projection direction of the line light source A'B' on the xy plane, and the angle between A'B' and the x axis is consistent with the rotation angle of the rotating device, which is θ (refer to the figure 10).
图10为旋转柱面镜产生一个任意旋转角的线光源以及与之相关的扫描面的状态示意图。FIG. 10 is a schematic diagram of the state of a linear light source with an arbitrary rotation angle and a scanning surface related to the rotating cylindrical mirror.
如图10所示,从线光源A'B'产生如图所示的扫描面abcd,这时图6的扫描(反射)镜SM11和SM12都必须参与扫描,而不是图8所示的仅仅由扫描(反射)镜SM11参与扫描。As shown in Figure 10, the scanning surface abcd as shown in the figure is generated from the line light source A'B'. At this time, both the scanning (reflecting) mirrors SM11 and SM12 of Figure 6 must participate in the scanning, instead of just being shown in Figure 8 Scanning (reflection) mirror SM11 participates in scanning.
扫描(反射)镜SM11和SM12同时参与扫描的一种技术实现过程是,将图2所示的锯齿波作为SM11和SM12的驱动信号基(basis),然后根据图10的旋转角将每个扫描(反射)镜应得的幅度乘到各自的基信号上。如图8的定义以及图10所示,这时扫描(反射)镜SM11的扫描基得到的振幅是(A'B'/2)sin(θ),扫描(反射)镜SM12的扫描基得到的振幅是(A'B'/2)cos(θ)。需要指出的是,这种扫描方向,旋转方向的定义是随意的。Scanning (reflecting) mirrors SM11 and SM12 participate in the scanning technology at the same time. The sawtooth wave shown in Figure 2 is used as the driving signal basis of SM11 and SM12, and then each scanning is performed according to the rotation angle of Figure 10. The (reflective) mirror's due amplitude is multiplied by the respective base signal. As defined in Figure 8 and shown in Figure 10, the amplitude obtained by the scanning base of the scanning (reflection) mirror SM11 is (A'B'/2)sin(θ), and the scanning (reflection) mirror SM12 is obtained by the scanning base The amplitude is (A'B'/2)cos(θ). It should be pointed out that the definition of this scanning direction and rotation direction is arbitrary.
在这种情况下,关系式(1)则可更新为,In this case, the relationship (1) can be updated to,
(x t+1,y t+1t+1)=(x t,y tt)+g(Δx t,Δy t,Δθ t)    (2) (x t+1 ,y t+1t+1 )=(x t ,y tt )+g(Δx t ,Δy t ,Δθ t ) (2)
这里,θ t为该闭环控制系统施加在旋转支架上的角度;(x t,y t)为施加在扫描(反射)镜SM11和SM12上的平移量,同时,(x t,y t)还是叠加在扫描(反射)镜SM11和SM12各自的用于产生图10的扫描信号上的平移量。同理,上式(2)中,(x t,y tt)为当前采样时刻在反射镜SM11、SM12以及柱面镜和线扫描相机旋转支架上的控制指令(等效于各自的运动偏移量和旋转角度);(Δx t,Δy t,Δθ t)为从线扫描相机记录下来的图像(目标帧)和参考图像(参考帧)的相对运动量;g是闭环控制系统的增益;(x t+1,y t+1t+1)为现有信号施加给反射镜SM11、SM12以及柱面镜和线扫描相机旋转支架的下一组新的指令(等效于运动偏移量和旋转角度)。 Here, θ t is the angle imposed by the closed-loop control system on the rotating support; (x t , y t ) is the translation amount imposed on the scanning (reflection) mirrors SM11 and SM12, and at the same time, (x t , y t ) is still The amount of translation superimposed on each of the scanning (reflection) mirrors SM11 and SM12 for generating the scanning signal of FIG. 10. In the same way, in the above formula (2), (x t , y t , θ t ) are the control commands on the mirrors SM11, SM12 and the cylindrical mirror and the line scan camera rotating bracket (equivalent to their respective Movement offset and rotation angle); (Δx t , Δy t , Δθ t ) is the relative movement of the image (target frame) recorded from the line scan camera and the reference image (reference frame); g is the gain of the closed-loop control system ;(X t+1 ,y t+1t+1 ) is the next set of new commands applied to the mirrors SM11, SM12, cylindrical mirrors and line scan camera rotation brackets (equivalent to motion Offset and rotation angle).
上述实施例中图6~图10描述的是本发明的主LSO成像系统,集成内部的眼底光学跟踪闭环控制系统,如式(1)或者式(2)的控制方式。在此基础之上,增加一个如图4所示的辅成像系统。该辅成像系统可以是一个OCT系统,也可以用于其他目的,如眼底激光治疗系统。所述的这两部分的具体技术实现,在另外的专利申请中有详细的描述。Figures 6-10 in the above embodiments describe the main LSO imaging system of the present invention, which integrates an internal fundus optical tracking closed-loop control system, such as the control mode of formula (1) or formula (2). On this basis, an auxiliary imaging system as shown in Figure 4 is added. The auxiliary imaging system can be an OCT system, or it can be used for other purposes, such as a fundus laser treatment system. The specific technical implementation of these two parts is described in detail in another patent application.
图11为本发明实施例一种自带闭环光学跟踪的主LSO成像系统集成另外一个辅成像系统原理示意图。11 is a schematic diagram of the principle of integrating a main LSO imaging system with closed-loop optical tracking into another auxiliary imaging system according to an embodiment of the present invention.
如图11所示,左侧的主LSO成像系统集成了上半部分的另一个辅成像系统,其中左侧的主LSO成像系统自带闭环光学跟踪功能。其工作原理如下:As shown in Figure 11, the main LSO imaging system on the left integrates another auxiliary imaging system in the upper part, and the main LSO imaging system on the left has its own closed-loop optical tracking function. Its working principle is as follows:
将控制信号(x,y,θ)施加给主LSO系统的扫描(反射)镜SM11、SM12以及柱面镜L13和线扫描相机的旋转支架。所述控制信号的参数分别如带箭头的虚线所示,来自LSO内部的闭环控制系统,和式(1)式(2)的一致。这组闭环控制运动信号比起传统LSO系统的纯数字运动信号有如下优点:1)平滑;2)稳定;3)抗干扰强。The control signals (x, y, θ) are applied to the scanning (reflection) mirrors SM11, SM12 and the cylindrical mirror L13 of the main LSO system and the rotating bracket of the line scanning camera. The parameters of the control signal are as shown by the dashed line with arrows, which come from the closed-loop control system inside the LSO, and are consistent with formula (1) and formula (2). Compared with the pure digital motion signal of the traditional LSO system, this group of closed-loop control motion signals has the following advantages: 1) smooth; 2) stable; 3) strong anti-interference.
在图11中,施加给辅系统的扫描(反射)镜SM21和SM22的控制信号(x',y',θ')完全继承了上述的闭环控制信号(x,y,θ)的优点,因为(x',y',θ') 是通过空间变换(x,y,θ)得到,如式(3)所示:In Figure 11, the control signals (x', y', θ') applied to the scanning (reflection) mirrors SM21 and SM22 of the auxiliary system completely inherit the advantages of the above-mentioned closed-loop control signals (x, y, θ), because (x',y',θ') is obtained by space transformation (x,y,θ), as shown in formula (3):
(x',y',θ')=f(x',y',θ';x,y,θ)(x,y,θ)      (3)(x',y',θ')=f(x',y',θ'; x,y,θ)(x,y,θ) (3)
其中,式(3)的空间变换关系f(x',y',θ';x,y,θ)完全由光学系统的参数决定。式(3)中快速、高效、精确、全自动测量主LSO系统到辅系统的空间变换关系f(x',y',θ';x,y,θ)这里不展开论述。Among them, the spatial transformation relation f (x', y', θ'; x, y, θ) of formula (3) is completely determined by the parameters of the optical system. In formula (3), the spatial transformation relationship f(x',y',θ';x,y,θ) from the main LSO system to the auxiliary system is measured quickly, efficiently, accurately and fully automatically.
上述图6~图11描述了本发明的光学和机械实现部分。下面描述本发明实施例的控制实现部分,着重点在于如何通过算法高速计算和获得眼底位置,从而快速调整扫描(反射)镜SM11,SM12以及扫描(反射)镜SM21,SM22实现高空间精度、低时间延迟的眼底跟踪。The above-mentioned Figures 6-11 describe the optical and mechanical realization of the present invention. The following describes the control implementation part of the embodiment of the present invention, focusing on how to calculate and obtain the fundus position at high speed through algorithms, so as to quickly adjust the scanning (reflection) mirrors SM11, SM12 and the scanning (reflection) mirrors SM21, SM22 to achieve high spatial accuracy and low Time-delayed fundus tracking.
参考图5,现有的数据处理技术是以帧为单位从LSO的图像计算眼底运动的。而发明实施例中,则采用了倍频技术进行计算。Referring to FIG. 5, the existing data processing technology calculates fundus movement from the LSO image in units of frames. In the embodiment of the invention, frequency doubling technology is used for calculation.
图12为本发明实施例采用倍频技术降低眼底计算的时间延迟的示意图。FIG. 12 is a schematic diagram of using frequency doubling technology to reduce the time delay of fundus calculation in an embodiment of the present invention.
如图12所示,左侧的图像即图12A的f 1和图5中的f 1一致,仍然作为参考帧。右边的图像即图12B的f k是目标帧的任一帧图像(k>1)。本发明中将每一帧图像按照扫描相机达到的数据按照时间顺序,为了计算的方便,分成多个等间距亚帧元,如S 1,1,S 1,2,S 1,3,…,S 1,M是参考帧里的所有M个亚帧元,S k,1,S k,2,S k,3,…,S k,M是第k个目标帧里的所有M个亚帧元。 As shown in FIG. 12, f 1 the left side of the image that is consistent with FIG. 1 and FIG. 5 12A F in the still as a reference frame. The image on the right, that is, f k in FIG. 12B, is any image of the target frame (k>1). In the present invention, each frame of image is divided into a plurality of equally spaced sub-frame elements, such as S 1,1 , S 1,2 , S 1,3 ,..., according to the time sequence of the data reached by the scanning camera. For the convenience of calculation, S 1,M are all M subframes in the reference frame, Sk,1 , Sk,2 , Sk,3 ,..., Sk,M are all M subframes in the kth target frame yuan.
这里,本发明方法是将任何一帧图像在SM11的扫描方向(如上所述,通常情况下是图10所示的SM11和SM12扫描组合。为方便起见,这里仅用图8所示的SM11作为参考,以下描述一致。)分成多个等间距的亚帧元。所述等间距,表示每个亚帧元包含一样数量的扫描线。Here, the method of the present invention is to scan any frame of image in the scanning direction of SM11 (as mentioned above, usually it is the combination of SM11 and SM12 shown in Figure 10. For convenience, only SM11 shown in Figure 8 is used here as For reference, the following description is the same.) Divided into a plurality of equally spaced subframe elements. The equal spacing means that each sub-frame element contains the same number of scan lines.
图12A、图12B显示的是水平方向长条形的亚帧元,表示SM11在垂直方向扫描。如图10所示,SM11和SM12的组合可以让光学系统在360度空间的任何一个方向扫描,那么图12亚帧元的分割需要调整到相应的正交方向。为方便起见,参考图2的SM11扫描信号,所述亚帧元的分割方式参考图13。Fig. 12A and Fig. 12B show sub-frame elements in the horizontal direction, indicating that the SM11 is scanned in the vertical direction. As shown in Figure 10, the combination of SM11 and SM12 allows the optical system to scan in any direction in a 360-degree space, so the division of sub-frame elements in Figure 12 needs to be adjusted to the corresponding orthogonal direction. For convenience, refer to the SM11 scanning signal in FIG. 2, and refer to FIG. 13 for the division method of the sub-frame elements.
图13为扫描(反射)镜SM11扫描信号以及亚帧元的分割方式示意图。Fig. 13 is a schematic diagram of the scanning (reflecting) mirror SM11 scanning signal and the division of sub-frame elements.
如图13所示,垂直虚线表示每个亚帧元的时间(等效的空间)位置;实粗线表示驱动SM11(或者SM11和SM12的组合,上下文一致)扫描的锯齿波。通常情况下,锯齿波有扫描区和回程区,如图13所示。极端情况下,回程区的时间是0,那么锯齿波就变成三角波。实施过程中也可以用三角波取代锯齿波作为SM11的扫描信号,只要不损坏扫描镜SM11和SM12即可。As shown in FIG. 13, the vertical dotted line represents the time (equivalent space) position of each subframe element; the solid thick line represents the sawtooth wave that drives SM11 (or a combination of SM11 and SM12, with the same context) to scan. Normally, sawtooth wave has scan area and return area, as shown in Figure 13. In extreme cases, the time in the return zone is 0, then the sawtooth wave becomes a triangle wave. In the implementation process, a triangular wave can also be used instead of a sawtooth wave as the scanning signal of SM11, as long as the scanning mirrors SM11 and SM12 are not damaged.
本发明的另一个实施例中,采用一个Wasatch Photonics的线扫描相机(OCTOPLUS3),让该相机接收一个16kHz的触发信号。也就是把相机设置成每秒接收16000个行信号。实施例中,16kHz触发时钟从Xilinx FPGA产生(SP605),也可以从其它芯片比如DSP产生。In another embodiment of the present invention, a Wasatch Photonics line scan camera (OCTOPLUS3) is used, and the camera receives a 16kHz trigger signal. That is, the camera is set to receive 16,000 line signals per second. In the embodiment, the 16kHz trigger clock is generated from Xilinx FPGA (SP605), or it can be generated from other chips such as DSP.
本发明实施例的LSO系统,所述SM11每个周期的扫描包含544根线,其中512根线在扫描区,32根线在回程区。所以图像的帧频是:In the LSO system of the embodiment of the present invention, the SM11 scans each cycle includes 544 lines, of which 512 lines are in the scan area and 32 lines are in the return area. So the frame rate of the image is:
fps=16000/544=29.4fps=16000/544=29.4
扫描区的512根线被用于成像,也就是图12所示的图像。回程区的数据被系统自动丢弃。The 512 lines of the scanning area are used for imaging, which is the image shown in Figure 12. The data in the backhaul area is automatically discarded by the system.
以上的划分方式仅仅是本发明的一个实施方式,不同的系统可以有完全不同的划分方式。The above division method is only one embodiment of the present invention, and different systems may have completely different division methods.
在以上实施例所示的情况下,本实施例中将SM11一个完整的扫描周期划分成32(扫描)+2(回程)个子区,每个子区包含16根扫描线(或者时间单位)。如图13的垂直虚线所示,这样一个完整的周期正好是34x16=544根线。In the case shown in the above embodiment, in this embodiment, a complete scan period of the SM11 is divided into 32 (scan) + 2 (backhaul) sub-areas, and each sub-areas contains 16 scan lines (or time units). As shown by the vertical dashed line in Figure 13, such a complete cycle is exactly 34x16=544 lines.
本发明实施例的关键点在于,一旦有16根线到达相机,也就是一个亚帧元的数据就绪,该亚帧元的数据立即从相机送到主PC或者其他计算单元,比如CPU,GPU,DSP,FPGA等,本发明实施例中的处理单元采用了nVidia的图形处理器GTX1050。该16根线的亚帧元数据,对应着图12中S k,1,S k,2, S k,3,......,S k,M的其中一个位置。显然,该例子里M=32,就是每一帧图像里亚帧元的总数量。 The key point of the embodiment of the present invention is that once 16 lines arrive at the camera, that is, the data of a sub-frame element is ready, the data of the sub-frame element is immediately sent from the camera to the main PC or other computing units, such as CPU, GPU, DSP, FPGA, etc., the processing unit in the embodiment of the present invention uses nVidia graphics processor GTX1050. The sub-frame metadata of the 16 lines corresponds to one of the positions of Sk,1 , Sk,2 , Sk,3 ,..., Sk,M in FIG. 12. Obviously, in this example, M=32, which is the total number of frame elements in each frame of image.
一旦计算单元接收到最新亚帧元的数据,算法立即启动比如Cross Correlation算法计算该亚帧元相对于参考帧的位置。通常情况下,是寻找目标帧亚帧元S k,m和参考帧亚帧元S 1,m的相对位置。但是也可以是寻找目标帧亚帧元S k,m和其他参考帧亚帧元S 1,p(p≠m)的相对位置。上述具体算法实施过程已在美国专利US9406133中公开。 Once the calculation unit receives the data of the latest subframe element, the algorithm immediately starts, for example, the Cross Correlation algorithm to calculate the position of the subframe element relative to the reference frame. Normally, it is to find the relative position of the target frame subframe element S k,m and the reference frame subframe element S 1,m . However, it may also be to find the relative position of the target frame subframe element S k,m and other reference frame subframe elements S 1,p (p≠m) . The above-mentioned specific algorithm implementation process has been disclosed in US Patent No. 9406133.
采用该方法的优点在于,取得一个亚帧元S k,m的时间仅仅需要: The advantage of using this method is that the time to obtain a subframe element Sk,m only requires:
16/16000=1毫秒;16/16000=1 millisecond;
而不是等待一个完整帧的时间:Instead of waiting for a full frame:
544/16000=34毫秒。544/16000=34 milliseconds.
将Cross Correlation算法从CPU移植到nVidia GPU(GTX1050)之后,从接收到亚帧元S k,m数据到运动信号传送到SM11和SM12加上SM11和SM12的机械响应时间一共不到2毫秒。这相当于将一个周期的控制总延迟时间,从现有最好的装置能做到的(34+2)=36毫秒降低到(1+2)=3毫秒,后者是前者的1/12。 After transplanting the Cross Correlation algorithm from the CPU to the nVidia GPU (GTX1050), the mechanical response time from receiving the subframe element Sk,m data to the motion signal transmission to SM11 and SM12 plus SM11 and SM12 is less than 2 milliseconds. This is equivalent to reducing the total delay time of one cycle of control from (34+2)=36 milliseconds that the best existing device can do to (1+2)=3 milliseconds, the latter being 1/12 of the former .
现有最好的装置调整SM11(没有SM12)的频率是图像的帧频29.4Hz,本发明的装置调整SM11和SM12的频率是亚帧元的采样时间1000Hz。这就是上述的倍频技术。同样,这里的具体数字仅仅是发明里的一个示例,不同的系统不同的应用,完全可以用不同的参数来实现上述的倍频技术。The best existing device adjusts the frequency of SM11 (without SM12) is the image frame rate of 29.4 Hz, and the device of the present invention adjusts the frequency of SM11 and SM12 to the sampling time of sub-frame element 1000 Hz. This is the frequency multiplication technique mentioned above. Similarly, the specific number here is only an example in the invention. Different systems and different applications can use different parameters to achieve the above frequency multiplication technology.
与现有最好的技术相比,本发明采用将Cross Correlation算法从CPU移植到nVidia GPU(GTX1050)的技术,带来的优势是把跟踪系统的空间精度和3dB时间带宽提高了一个数量级以上。Compared with the best existing technology, the present invention adopts the technology of transplanting the Cross Correlation algorithm from the CPU to the nVidia GPU (GTX1050), which brings the advantage of improving the spatial accuracy and 3dB time bandwidth of the tracking system by more than an order of magnitude.
继续应用以上的例子,线扫描系统里亚帧元的数据采样可以通过以下方法逐步实现(参考图14)。Continuing to apply the above example, the data sampling of the frame element of the line scan system can be gradually realized by the following method (refer to Figure 14).
图14为线扫描系统的扫描信号和同步信号示意图。Fig. 14 is a schematic diagram of scanning signals and synchronization signals of a line scanning system.
如图14所示,16kHz线脉冲是FPGA产生的系统基准时钟,图13的扫描信号(即图14的上半部分)以及图14的下部分29.4Hz帧同步信号均从16kHz基准脉冲锁相得到。并且扫描信号和帧同步信号也是完全同步的,扫描信号爬升期间,帧同步信号处于低电平;扫描信号回程期间,帧同步信号处于高电平。这些信号的产生可以在FPGA或DSP或者其他电子硬件上实现。本发明实施例中则是应用Xilinx的一个FPGA开发板SP605(Spartan 6芯片)实现。As shown in Figure 14, the 16kHz line pulse is the system reference clock generated by the FPGA. The scan signal in Figure 13 (the upper part of Figure 14) and the 29.4Hz frame synchronization signal in the lower part of Figure 14 are all obtained from the 16kHz reference pulse phase-locked . In addition, the scan signal and the frame synchronization signal are also completely synchronized. During the ramp of the scan signal, the frame synchronization signal is at a low level; during the backhaul of the scan signal, the frame synchronization signal is at a high level. The generation of these signals can be implemented on FPGA or DSP or other electronic hardware. In the embodiment of the present invention, an FPGA development board SP605 (Spartan 6 chip) of Xilinx is used for implementation.
通常情况下,控制线扫描相机的数据输出方式由用户输入线扫描相机一个触发信号实现。这个触发信号是既要包含图14的16kHz基准脉冲,又要包含图14的帧同步信号,也就是两者的组合,如图15所示,就是以上所述的Wasatch Photonics线扫描相机OCTOPLUS3要求的同步触发信号。Normally, controlling the data output mode of the line scan camera is realized by the user inputting a trigger signal of the line scan camera. This trigger signal must include both the 16kHz reference pulse of Figure 14 and the frame synchronization signal of Figure 14, which is a combination of the two. As shown in Figure 15, it is required by the Wasatch Photonics line scan camera OCTOPLUS3 described above. Synchronous trigger signal.
如图15所示,显示了一种合成了线基准时钟和帧同步信号,用于触发线扫描相机的信号,但图15中所示的这种标准方法无法触发线扫描相机发送1000Hz的亚帧元数据。仅仅用图14的16kHz基准时钟,又无法保证接收到的图像和扫描信号同步。为了得到和扫描信号同步的1000Hz亚帧元图像,本发明实施例中还对现有的触发技术做了适当改进。As shown in Figure 15, it shows a signal that combines a line reference clock and a frame synchronization signal to trigger a line scan camera, but the standard method shown in Figure 15 cannot trigger a line scan camera to send a sub-frame of 1000 Hz Metadata. Only using the 16kHz reference clock of Figure 14 can not guarantee the synchronization of the received image and the scan signal. In order to obtain a 1000 Hz sub-frame elementary image synchronized with the scanning signal, the existing trigger technology is also appropriately improved in the embodiment of the present invention.
线扫描相机的触发信号仅用图14的16kHz基准时钟,缓冲区大小是16行。这就是说,线扫描相机不管帧同步的状态,一旦线扫描相机收到16行的数据,立即发送给PC。但是,本发明实施例在硬件实现上作了一个额外的同步。The trigger signal of the line scan camera only uses the 16kHz reference clock in Figure 14, and the buffer size is 16 lines. This means that the line scan camera regardless of the frame synchronization status, once the line scan camera receives 16 lines of data, it immediately sends it to the PC. However, the embodiment of the present invention makes an additional synchronization in hardware implementation.
任何一个相机都有开始和结束数据采样的状态。一旦用户点击软件界面开始采样,传送给线扫描相机的16kHz基准时钟并不是马上开始,而是等到帧同步信号的上升沿或者下降沿出现,才触发线扫描相机的16kHz基准时钟。本发明实施例中在FPGA上实现这种功能时,采用了如以下的Verilog代码:Any camera has a state to start and end data sampling. Once the user clicks on the software interface to start sampling, the 16kHz reference clock transmitted to the line scan camera does not start immediately, but waits until the rising or falling edge of the frame synchronization signal to trigger the 16kHz reference clock of the line scan camera. When implementing this function on FPGA in the embodiment of the present invention, the following Verilog code is used:
always@(posedge v_sync)beginalways@(posedge v_sync)begin
if(camera_start==1'b0)if(camera_start == 1'b0)
camera_trigger<=1'b0;camera_trigger<=1'b0;
elseelse
camera_trigger<=line_trigger_16kHz;camera_trigger<=line_trigger_16kHz;
endend
在上述FPGA代码中,v_sync是图14的29.4Hz帧同步信号,camera_start是用户开启和关闭相机的状态寄存器,camera_trigger是送给线扫描相机触发时钟。代码例子是v_sync的上升沿触发(posedge v_sync),另一种情况是设置成下降沿触发(negedge v_sync)。只有在_sync的上升沿(或者下降沿)和camera_start同时出现的时候,才把16kHz基准时钟送给线扫描相机,否则,线扫描相机一直得到一个低电平处于采样等待状态。这里的采样定义为从相机发送图像数据给接收设备比如PC、GPU、DSP、或者其他器件。In the above FPGA code, v_sync is the 29.4Hz frame synchronization signal shown in Figure 14, camera_start is the status register for the user to turn on and off the camera, and camera_trigger is the trigger clock sent to the line scan camera. The code example is the rising edge trigger of v_sync (posedge v_sync), and the other case is the falling edge trigger (negedge v_sync). Only when the rising edge (or falling edge) of _sync and camera_start appear at the same time, the 16kHz reference clock is sent to the line scan camera, otherwise, the line scan camera always gets a low level and is in the sampling waiting state. Sampling here is defined as sending image data from the camera to the receiving device such as PC, GPU, DSP, or other devices.
上升沿或者下降沿的触发区别在于,如图14所示。上升沿触发时,每34个亚帧元的第1、第2单元是返程区的数据,需要被剔除。下降沿触发时,每34个亚帧元的第33、34单元是返程区的数据,需要被剔除。The trigger difference between rising edge and falling edge is as shown in Figure 14. When the rising edge is triggered, the first and second units of every 34 subframe elements are the data in the return area and need to be eliminated. When the falling edge is triggered, the 33rd and 34th units of every 34 subframe elements are the data in the return area and need to be eliminated.
以上实施例所述的具体数字只是本发明多种实施方式的一种参数设置,不同系统不同的应用场景完全可以用不同的参数。比如说扫描区可以是1024根线,回程区是32根线,这样系统的帧频就变成16000/(1024+32)=15.2Hz。另外,根据线扫描相机的参数,也可以调整基准线时钟的频率,从16kHz提升到20kHz或者降低到15kHz等等,都是可以改变的参数。The specific number described in the above embodiment is only one parameter setting of various embodiments of the present invention, and different systems and different application scenarios can use different parameters. For example, the scanning area can be 1024 lines, and the return area is 32 lines, so the frame rate of the system becomes 16000/(1024+32)=15.2Hz. In addition, according to the parameters of the line scan camera, the frequency of the reference line clock can also be adjusted, from 16kHz to 20kHz or down to 15kHz, etc., which are all parameters that can be changed.
亚帧元的大小同样也可以调整。比如说以上的1000Hz可以改变成500Hz每个亚帧元有32根线。也可以是其它亚帧元采样频率。The size of the subframe element can also be adjusted. For example, the above 1000 Hz can be changed to 500 Hz, each sub-frame element has 32 lines. It can also be other sub-frame element sampling frequencies.
以上所述,仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。The above are only the preferred embodiments of the present invention, and are not used to limit the protection scope of the present invention.

Claims (7)

  1. 一种基于改进的线扫描成像系统的稳像系统,包括一个线扫描眼底相机LSO成像系统,其特征在于,所述LSO成像系统中还包括正交振镜扫描装置,用于在眼底产生正交扫描面,能够将所述扫描面调整到360度空间的任一位置;以及用于结合智能控制算法实现LSO光学系统在二维眼底扫描的同时进行LSO内部的眼底光学跟踪。An image stabilization system based on an improved line scan imaging system, including a line scan fundus camera LSO imaging system, characterized in that the LSO imaging system also includes an orthogonal galvanometer scanning device, used to generate orthogonal in the fundus The scanning surface can be adjusted to any position in the 360-degree space; and used to combine the intelligent control algorithm to realize the LSO optical system to perform two-dimensional fundus scanning while simultaneously performing optical tracking of the fundus inside the LSO.
  2. 根据权利要求1所述基于改进的线扫描成像系统的稳像系统,其特征在于,所述正交振镜扫描装置为由第一反射镜(SM11)和第二反射镜(SM12)组成的双镜结构,或正交双向振动的微机电系统MEMS扫描镜,或者由其他正交双向振动反射镜组成的结构。The image stabilization system based on the improved line scan imaging system according to claim 1, wherein the orthogonal galvanometer scanning device is a double mirror composed of a first mirror (SM11) and a second mirror (SM12). Mirror structure, or MEMS scanning mirror with orthogonal bidirectional vibration, or a structure composed of other orthogonal bidirectional vibration mirrors.
  3. 根据权利要求2所述基于改进的线扫描成像系统的稳像系统,其特征在于,所述正交振镜扫描装置结合智能控制算法实现LSO光学系统在二维眼底扫描的同时进行LSO内部的眼底光学跟踪,所述稳像系统存在如下关系:The image stabilization system based on the improved line scan imaging system according to claim 2, wherein the orthogonal galvanometer scanning device combined with an intelligent control algorithm realizes that the LSO optical system performs two-dimensional fundus scanning while simultaneously scanning the fundus inside the LSO For optical tracking, the image stabilization system has the following relationships:
    (x t+1,y t+1)=(x t,y t)+g(Δx t,Δy t)            (1) (x t+1 ,y t+1 )=(x t ,y t )+g(Δx t ,Δy t ) (1)
    其中,(x t,y t)代表当前采样时刻在第一反射镜(SM11)和第二反射镜(SM12)上的控制指令,其等效于各自的运动偏移量;(Δx t,Δy t)代表从线扫描相机记录下的图像目标帧和参考帧的相对运动量;g代表闭环控制系统的增益;(x t+1,y t+1)代表现有信号施加给第一反射镜(SM11)和第二反射镜(SM12)的下一组新的指令,其等效于运动偏移量。 Among them, (x t ,y t ) represents the control commands on the first mirror (SM11) and the second mirror (SM12) at the current sampling time, which are equivalent to their respective motion offsets; (Δx t ,Δy t ) represents the relative motion between the image target frame and the reference frame recorded from the line scan camera; g represents the gain of the closed-loop control system; (x t+1 ,y t+1 ) represents the existing signal applied to the first mirror ( The next set of new commands for SM11) and the second mirror (SM12) are equivalent to the movement offset.
  4. 一种基于改进的线扫描成像系统的稳像方法,其特征在于,包括如下步骤:An image stabilization method based on an improved line scan imaging system is characterized in that it comprises the following steps:
    A、在线扫描眼底相机LSO成像系统中增设正交振镜扫描装置,利用所述正交振镜扫描装置在眼底产生正交扫描面,使所述扫描面能够调整到360度空间的任一位置;A. An orthogonal galvanometer scanning device is added to the online scanning fundus camera LSO imaging system. The orthogonal galvanometer scanning device is used to generate an orthogonal scanning surface on the fundus, so that the scanning surface can be adjusted to any position in a 360-degree space ;
    B、将所述正交振镜扫描装置结合智能控制算法实现LSO光学系统在二 维眼底扫描的同时进行LSO内部的眼底光学跟踪。B. Combine the orthogonal galvanometer scanning device with an intelligent control algorithm to realize the LSO optical system to perform the fundus optical tracking inside the LSO while scanning the two-dimensional fundus.
  5. 一种包括权利要求1~3任一项所述基于改进的线扫描成像系统的稳像系统,其特征在于,还包括旋转装置,用于将产生线光源的柱面镜(L13)以及与之耦合的线扫描相机设置在360度空间可控旋转的支架上,使线可控光源在360度空间的任一位置旋转。An image stabilization system based on the improved line scan imaging system according to any one of claims 1 to 3, characterized in that it also includes a rotating device for connecting a cylindrical mirror (L13) that generates a line light source and the same The coupled line scan camera is arranged on a 360-degree space controllable rotating bracket, so that the line controllable light source can rotate at any position in the 360-degree space.
  6. 根据权利要求5所述基于改进的线扫描成像系统的稳像系统,其特征在于,将锯齿波作为第一反射镜(SM11)和第二反射镜(SM12)的驱动信号基,设旋转角为θ,将每个反射镜应得的幅度乘到各自的基信号上,则式(1)可更新为:The image stabilization system based on the improved line scan imaging system according to claim 5, wherein the sawtooth wave is used as the driving signal base of the first mirror (SM11) and the second mirror (SM12), and the rotation angle is θ, multiplying the due amplitude of each mirror to its respective base signal, then formula (1) can be updated as:
    (x t+1,y t+1t+1)=(x t,y tt)+g(Δx t,Δy t,Δθ t)        (2) (x t+1 ,y t+1t+1 )=(x t ,y tt )+g(Δx t ,Δy t ,Δθ t ) (2)
    其中,θ t为该闭环控制系统施加在旋转支架上的角度;(x t,y t)为施加在第一反射镜(SM11)和第二反射镜(SM12)上的平移量,(x t,y t)还是叠加在每个反射镜各自的用于产生扫描信号上的平移量;(x t,y tt)为当前采样时刻在第一反射镜(SM11)和第二反射镜(SM12)以及柱面镜(L13)和与之耦合的线扫描相机的旋转支架上的控制指令,其等效于各自的运动偏移量和旋转角度;(Δx t,Δy t,Δθ t)为从线扫描相机记录下来的图像目标帧和参考帧的相对运动量;g是闭环控制系统的增益;(x t+1,y t+1t+1)为现有信号施加给第一反射镜(SM11),第二反射镜(SM12),以及柱面镜(L13)和与之耦合的线扫描相机的旋转支架的下一组新的指令,其等效于运动偏移量和旋转角度。 Among them, θ t is the angle applied by the closed-loop control system on the rotating bracket; (x t ,y t ) is the translation amount applied on the first mirror (SM11) and the second mirror (SM12), (x t , y t ) or the amount of translation superimposed on each mirror to generate the scan signal; (x t , y t , θ t ) is the current sampling time between the first mirror (SM11) and the second mirror (SM12) and the control commands on the rotating bracket of the cylindrical mirror (L13) and the line scan camera coupled with it, which are equivalent to the respective movement offset and rotation angle; (Δx t , Δy t , Δθ t ) Is the relative motion between the image target frame and the reference frame recorded by the line scan camera; g is the gain of the closed-loop control system; (x t+1 ,y t+1t+1 ) is the existing signal applied to the first The next set of new instructions for the mirror (SM11), the second mirror (SM12), and the cylindrical mirror (L13) and the rotation bracket of the line scan camera coupled with it, which is equivalent to the movement offset and rotation angle.
  7. 一种根据权利要求5所述基于改进的线扫描成像系统的稳像系统的稳像方法,其特征在于,包括如下步骤:An image stabilization method for an image stabilization system based on an improved line scan imaging system according to claim 5, characterized in that it comprises the following steps:
    A、在线扫描眼底相机LSO成像系统中增设正交振镜扫描装置,利用所述正交振镜扫描装置在眼底产生正交扫描面,使所述扫描面能够调整到360度空间的任一位置;A. An orthogonal galvanometer scanning device is added to the online scanning fundus camera LSO imaging system. The orthogonal galvanometer scanning device is used to generate an orthogonal scanning surface on the fundus, so that the scanning surface can be adjusted to any position in a 360-degree space ;
    B、将产生线光源的柱面镜(L13)以及与之耦合的线扫描相机安装在一 个360度的可控旋转支架上,使得线扩展光源可以出现在360度空间的任何一个位置旋转;B. Mount the cylindrical mirror (L13) that generates the line light source and the line scan camera coupled with it on a 360-degree controllable rotating bracket, so that the line-expanded light source can be rotated at any position in the 360-degree space;
    C、将所述正交振镜扫描装置结合智能控制算法实现LSO光学系统在二维眼底扫描的同时进行LSO内部的眼底光学跟踪。C. Combining the orthogonal galvanometer scanning device with an intelligent control algorithm to realize the LSO optical system to perform the fundus optical tracking inside the LSO while scanning the two-dimensional fundus.
PCT/CN2019/085503 2019-04-25 2019-05-05 Method and system for image stabilization based on improved line scan imaging system WO2020215361A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910339900.1A CN109924943A (en) 2019-04-25 2019-04-25 A kind of digital image stabilization method and system based on improved Line-scanning Image Acquisition System
CN201910339900.1 2019-04-25

Publications (1)

Publication Number Publication Date
WO2020215361A1 true WO2020215361A1 (en) 2020-10-29

Family

ID=66990991

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/085503 WO2020215361A1 (en) 2019-04-25 2019-05-05 Method and system for image stabilization based on improved line scan imaging system

Country Status (2)

Country Link
CN (1) CN109924943A (en)
WO (1) WO2020215361A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022175736A1 (en) * 2021-02-22 2022-08-25 Alcon Inc. Tracking of retinal traction through digital image correlation
US11880128B2 (en) 2021-07-27 2024-01-23 Vista Innotech Limited Non-sensor type closed-loop stabilization control algorithm and application circuit thereof

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110301886B (en) * 2019-06-28 2020-11-27 南京博视医疗科技有限公司 Optical system for real-time closed-loop control of fundus camera and implementation method thereof
CN110215184B (en) * 2019-06-28 2020-11-20 南京博视医疗科技有限公司 Closed-loop control system and method of fundus camera
CN110200584B (en) * 2019-07-03 2022-04-29 南京博视医疗科技有限公司 Target tracking control system and method based on fundus imaging technology
CN110200585B (en) * 2019-07-03 2022-04-12 南京博视医疗科技有限公司 Laser beam control system and method based on fundus imaging technology

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011234750A (en) * 2010-04-30 2011-11-24 Canon Inc Optical coherence tomographic imaging device, and processing method therefor
CN102499634A (en) * 2011-10-26 2012-06-20 中国科学院光电技术研究所 Living human eye retina dynamic imaging device with image stabilizing function and method
CN102885612A (en) * 2012-02-14 2013-01-23 苏州微清医疗器械有限公司 Fundus imaging equipment for clinical diagnosis
CN103429142A (en) * 2011-03-30 2013-12-04 卡尔蔡司医疗技术股份公司 Systems and methods for efficiently obtaining measurements of the human eye using tracking
CN103750814A (en) * 2013-12-31 2014-04-30 苏州微清医疗器械有限公司 Fundus scanning imaging device
JP2016198214A (en) * 2015-04-08 2016-12-01 株式会社トプコン Ocular fundus imaging method and ocular fundus imaging device

Family Cites Families (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE2106268C3 (en) * 1971-02-10 1975-12-18 Messerschmitt-Boelkow-Blohm Gmbh, 8000 Muenchen Method and device for line-by-line image recording of an object
US6191862B1 (en) * 1999-01-20 2001-02-20 Lightlab Imaging, Llc Methods and apparatus for high speed longitudinal scanning in imaging systems
US6615072B1 (en) * 1999-02-04 2003-09-02 Olympus Optical Co., Ltd. Optical imaging device
JP4573943B2 (en) * 2000-04-20 2010-11-04 キヤノン株式会社 Optical scanning optical device and image forming apparatus using the same
US20070291277A1 (en) * 2006-06-20 2007-12-20 Everett Matthew J Spectral domain optical coherence tomography system
CN102008289A (en) * 2010-12-08 2011-04-13 苏州六六宏医疗器械有限公司 Aberration compensation fundus microscope based on automatic optimization algorithm
US20120257166A1 (en) * 2011-04-07 2012-10-11 Raytheon Company Portable self-retinal imaging device
US8857988B2 (en) * 2011-07-07 2014-10-14 Carl Zeiss Meditec, Inc. Data acquisition methods for reduced motion artifacts and applications in OCT angiography
CN202568206U (en) * 2012-02-14 2012-12-05 苏州微清医疗器械有限公司 Retina three-dimensional imaging device
CN202654103U (en) * 2012-02-14 2013-01-09 苏州微清医疗器械有限公司 Fundus imaging device for clinical diagnosis
US20130229620A1 (en) * 2012-03-05 2013-09-05 Daniel X. Hammer Enhanced Sensitivity Line Field Detection
US9241626B2 (en) * 2013-03-14 2016-01-26 Carl Zeiss Meditec, Inc. Systems and methods for improved acquisition of ophthalmic optical coherence tomography data
CN203483396U (en) * 2013-04-07 2014-03-19 苏州微清医疗器械有限公司 Fundus imaging device
US9913580B2 (en) * 2013-09-19 2018-03-13 Canon Kabushiki Kaisha Apparatus, method, and non-transitory medium for optical stabilization and digital image registration in scanning light ophthalmoscopy
US9406133B2 (en) * 2014-01-21 2016-08-02 University Of Rochester System and method for real-time image registration
WO2016011043A1 (en) * 2014-07-14 2016-01-21 University Of Rochester Real-time laser modulation and delivery in opthalmic devices for scanning, imaging, and laser treatment of the eye
US9867538B2 (en) * 2016-03-21 2018-01-16 Canon Kabushiki Kaisha Method for robust eye tracking and ophthalmologic apparatus therefor
EP3439535A1 (en) * 2016-04-06 2019-02-13 Carestream Dental Technology Topco Limited Hybrid oct and surface contour dental imaging
JP2018102677A (en) * 2016-12-27 2018-07-05 キヤノン株式会社 Imaging apparatus
CN108490604A (en) * 2018-03-29 2018-09-04 中国科学院自动化研究所 Mating plate illumination imaging systems and method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011234750A (en) * 2010-04-30 2011-11-24 Canon Inc Optical coherence tomographic imaging device, and processing method therefor
CN103429142A (en) * 2011-03-30 2013-12-04 卡尔蔡司医疗技术股份公司 Systems and methods for efficiently obtaining measurements of the human eye using tracking
CN102499634A (en) * 2011-10-26 2012-06-20 中国科学院光电技术研究所 Living human eye retina dynamic imaging device with image stabilizing function and method
CN102885612A (en) * 2012-02-14 2013-01-23 苏州微清医疗器械有限公司 Fundus imaging equipment for clinical diagnosis
CN103750814A (en) * 2013-12-31 2014-04-30 苏州微清医疗器械有限公司 Fundus scanning imaging device
JP2016198214A (en) * 2015-04-08 2016-12-01 株式会社トプコン Ocular fundus imaging method and ocular fundus imaging device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022175736A1 (en) * 2021-02-22 2022-08-25 Alcon Inc. Tracking of retinal traction through digital image correlation
US11950969B2 (en) 2021-02-22 2024-04-09 Alcon Inc. Tracking of retinal traction through digital image correlation
US11880128B2 (en) 2021-07-27 2024-01-23 Vista Innotech Limited Non-sensor type closed-loop stabilization control algorithm and application circuit thereof

Also Published As

Publication number Publication date
CN109924943A (en) 2019-06-25

Similar Documents

Publication Publication Date Title
WO2020215361A1 (en) Method and system for image stabilization based on improved line scan imaging system
WO2020215360A1 (en) Optical image stabilization method and system based on line scan ophthalmoscope imaging system
JP6541243B2 (en) Improvement on the scanning laser offsalmoscope or on the scanning laser offsalmoscope
Crane The Purkinje image eyetracker, image stabilization, and related forms of stimulus manipulation
US10117576B2 (en) System, method and computer accessible medium for determining eye motion by imaging retina and providing feedback for acquisition of signals from the retina
JP2012525184A (en) Improvement of scanning ophthalmoscope or improvement on scanning ophthalmoscope
US20220155599A1 (en) Eye accommodation distance measuring device and method for head-mounted display, and head-mounted display
CN110200585B (en) Laser beam control system and method based on fundus imaging technology
CN102824161A (en) Ophthalmologic OCT (Optical Coherence Tomography) system and ophthalmologic OCT imaging method
JP4055590B2 (en) Image display device
US20200064613A1 (en) Resonant scanner interoperation with movable stage
WO2020215358A1 (en) Method for calculating fundus oculi target motion amount of line scan imaging system
CN210228108U (en) Optical image stabilization system based on line scanning imaging system
US20160213245A1 (en) Tomographic image capturing apparatus, method for capturing tomographic image, program, and storage medium
CN110301886B (en) Optical system for real-time closed-loop control of fundus camera and implementation method thereof
CN110200582A (en) A kind of laser beam control system and its method based on fundus imaging technology
JP2000098027A (en) Laser radar equipment
JP2003344781A (en) Sampling clock generating device
CN112731345B (en) Vibration-resistant type area array sweep frequency distance measurement/thickness measurement device and method with active optical anti-shake function
JP2004184699A (en) Confocal microscope
JPS6152850A (en) Eyeball refraction force measuring apparatus
CN219475378U (en) Built-in coaxial laser reflection optical imaging structure
CN110215184B (en) Closed-loop control system and method of fundus camera
CN110200584B (en) Target tracking control system and method based on fundus imaging technology
EP1905348A1 (en) Ophthalmologic observation apparatus

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19926671

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19926671

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 19926671

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 02/06/2022)

122 Ep: pct application non-entry in european phase

Ref document number: 19926671

Country of ref document: EP

Kind code of ref document: A1